Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
2b51a6c62b
!6 rubygem-asciidoctor在master进行升级,到2.0.18
From: @json-book 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2023-03-13 06:41:38 +00:00
json_book
041cd365ec update version 2.0.18 2023-02-28 01:06:23 +08:00
openeuler-ci-bot
51552aba23
!4 Update to 2.0.17
From: @bzg1107 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2022-06-29 01:44:36 +00:00
baizg1107
0c80fd1072 update to 2.0.17 2022-06-28 19:35:51 +08:00
openeuler-ci-bot
4c6a72ac8d !3 Update to 2.0.12
From: @ultra_planet
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-12-01 16:03:44 +08:00
lingsheng
55760e31cf Update to 2.0.12 2020-12-01 15:41:39 +08:00
openeuler-ci-bot
1b7013dbfb !2 add rubygem-asciidoctor.yaml
Merge pull request !2 from 成子晗/master
2020-05-09 17:40:58 +08:00
chengzihan2
c8919dad0b add rubygem-asciidoctor.yaml 2020-05-06 16:34:37 +08:00
openeuler-ci-bot
8a21077b7a !1 package init
Merge pull request !1 from duyyb/next_openeuler
2020-01-11 09:53:37 +08:00
duyyb
c34eb6a66d add package 2020-01-09 15:56:11 +08:00
3 changed files with 90 additions and 0 deletions

BIN
asciidoctor-2.0.18.tar.gz Normal file

Binary file not shown.

86
rubygem-asciidoctor.spec Normal file
View File

@ -0,0 +1,86 @@
%global gem_name asciidoctor
Name: rubygem-asciidoctor
Version: 2.0.18
Release: 1
Summary: An implementation of the AsciiDoc text processor and publishing
License: MIT
URL: https://github.com/asciidoctor/asciidoctor
Source0: https://github.com/asciidoctor/asciidoctor/archive/v%{version}/%{gem_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: ruby(release) rubygems-devel ruby(rubygems)
Requires: ruby(release)
Provides: asciidoctor = %{version} rubygem(asciidoctor) = %{version}
%description
Asciidoctor reads and parses text written in the AsciiDoc syntax, then feeds the parse tree to a
set of built-in converters to produce HTML5, DocBook 5 (or 4.5) or man(ual) page output. You have
the option of using your own converter or loading Tilt-supported templates to customize the generated
output or produce additional formats.
%package help
Summary: Rubygem-asciidoctor documentation
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
%description help
This package provides help documents for rubygem-asciidoctor.
%prep
%autosetup -n %{gem_name}-%{version} -p1
sed -i -e 's/#\(s\.test_files\)/\1/' %{gem_name}.gemspec
sed -i -e 's|#!/usr/bin/env ruby|#!/usr/bin/ruby|' bin/%{gem_name}
%build
gem build %{gem_name}.gemspec
%gem_install -n %{gem_name}-%{version}.gem
%check
%install
install -d %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
install -d %{buildroot}%{_bindir}
cp -a .%{_bindir}/* %{buildroot}%{_bindir}/
install -d %{buildroot}%{_mandir}/man1
cp -a .%{gem_instdir}/man/*.1 %{buildroot}%{_mandir}/man1/
%files
%{!?_licensedir:%global license %%doc}
%dir %{gem_instdir}
%exclude %{gem_cache}
%exclude %{gem_instdir}/asciidoctor.gemspec
%exclude %{gem_instdir}/man
%exclude %{gem_instdir}/test
%exclude %{gem_instdir}/features
%exclude %{gem_instdir}/LICENSE
%doc %{gem_instdir}/CHANGELOG.adoc
%doc %{gem_instdir}/README.*
%lang(de) %doc %{gem_instdir}/README-de.*
%lang(fr) %doc %{gem_instdir}/README-fr.*
%lang(jp) %doc %{gem_instdir}/README-jp.*
%lang(zh_CN) %doc %{gem_instdir}/README-zh_CN.*
%{gem_instdir}/data
%{_bindir}/*
%{gem_instdir}/bin
%{gem_libdir}
%{gem_spec}
%files help
%doc %{gem_docdir}
%{_mandir}/man1/*
%changelog
* Tue Feb 02 2023 wenchaofan <349464272@qq.com> - 2.0.18-1
- Update to 2.0.18
* Tue Dec 01 2020 lingsheng <lingsheng@huawei.com> - 2.0.12-1
- Update to 2.0.12
* Wed Jan 8 2020 duyeyu <duyeyu@huawei.com> - 1.5.6.1-5
- Package init

4
rubygem-asciidoctor.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: asciidoctor/asciidoctor
tag_prefix: "^v"
separator: "."