Sisyphus repository
Last update: 28 october 2020 | SRPMs: 17698 | Visits: 19499238
en ru br
ALT Linux repos
S:2.0.10-alt1

Group :: Documentation
RPM: asciidoctor

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define        pkgname asciidoctor
%define        gemname asciidoctor

Name:          %pkgname
Version:       2.0.10
Release:       alt1
Summary:       A fast text processor and publishing toolchain for converting AsciiDoc content to different formats
License:       MIT
Group:         Documentation
Url:           https://github.com/asciidoctor/asciidoctor
%vcs           https://github.com/asciidoctor/asciidoctor.git
Packager:      Gordeev Mikhail <obirvalger at altlinux.org>
BuildArch:     noarch

Source:        %name-%version.tar
Patch1:        asciidoctor-1.5.6.1-alt-fix-DATA_PATH.patch
BuildRequires(pre): rpm-build-ruby
# BuildRequires: nokogiri

%description
Asciidoctor is a fast text processor and publishing toolchain for converting
AsciiDoc content to HTML5, DocBook 5 (or 4.5) and other formats.


%package       -n gem-%pkgname
Summary:       Library files for %gemname gem
Group:         Development/Ruby
BuildArch:     noarch

%description   -n gem-%pkgname
Library files for %gemname gem.


%package       -n gem-%pkgname-doc
Summary:       Documentation files for %gemname gem
Group:         Development/Documentation
BuildArch:     noarch
Obsoletes:     %pkgname-doc
Provides:      %pkgname-doc

%description   -n gem-%pkgname-doc
Documentation files for %gemname gem.


%prep
%setup
#%patch1 -p1

%build
%ruby_build

%install
%ruby_install

%check
%ruby_test

%files
%doc README*
%_bindir/%pkgname
%_mandir/%pkgname.1.xz

%files         -n gem-%pkgname
%ruby_gemlibdir
%ruby_gemspec

%files         -n gem-%pkgname-doc
%ruby_gemdocdir

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin