2024-01-05 17:32:44 +01:00
|
|
|
%define gemdir %(ruby -rrubygems -e'puts Gem.default_dir')
|
|
|
|
%define gemname %(echo %{name} | sed "s|^ruby-||")
|
|
|
|
Name: ruby-asciidoctor
|
2024-02-22 08:54:15 +01:00
|
|
|
Version: 2.0.21
|
2024-01-05 17:32:45 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 17:32:44 +01:00
|
|
|
Summary: An implementation of AsciiDoc in Ruby
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://asciidoctor.org
|
|
|
|
Source: https://rubygems.org/downloads/asciidoctor-%{version}.gem
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:32:44 +01:00
|
|
|
BuildRequires: ruby-devel >= 3.2
|
|
|
|
Requires: ruby >= %{ruby_version}
|
2024-01-05 17:32:44 +01:00
|
|
|
Provides: asciidoctor
|
|
|
|
|
|
|
|
%description
|
|
|
|
An implementation of AsciiDoc in Ruby.
|
|
|
|
|
|
|
|
#% debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -a0
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
gem install --no-user-install --ignore-dependencies -i "%{buildroot}%{gemdir}" \
|
|
|
|
-n "%{buildroot}%{_bindir}" "%{SOURCE0}"
|
|
|
|
|
|
|
|
install -D -m0644 %{gemname}-%{version}/man/asciidoctor.1 %{buildroot}%{_mandir}/man1/asciidoctor.1
|
|
|
|
|
|
|
|
rm %{buildroot}%{gemdir}/cache/%{gemname}-%{version}.gem
|
|
|
|
rm -rf %{buildroot}%{gemdir}/gems/%{gemname}-%{version}/man
|
|
|
|
rm -rf %{buildroot}%{gemdir}/doc/%{gemname}-%{version}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/asciidoctor
|
|
|
|
%dir %{gemdir}/gems/%{gemname}-%{version}
|
|
|
|
%{gemdir}/gems/%{gemname}-%{version}/*
|
|
|
|
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
|
2024-01-05 17:32:44 +01:00
|
|
|
%{_libdir}/ruby/gems/*/gems/%{gemname}-%{version}/.yardopts
|
2024-01-05 17:32:44 +01:00
|
|
|
%{_mandir}/man1/asciidoctor.1*
|
|
|
|
%doc %{gemname}-%{version}/LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-02-22 08:54:15 +01:00
|
|
|
* Wed Feb 21 2024 Automatic Build System <autodist@openmamba.org> 2.0.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:32:45 +01:00
|
|
|
* Thu May 18 2023 Automatic Build System <autodist@mambasoft.it> 2.0.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:32:44 +01:00
|
|
|
* Wed Jan 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.18-3mamba
|
|
|
|
- rebuilt with ruby 3.2.0
|
|
|
|
|
2024-01-05 17:32:44 +01:00
|
|
|
* Mon Oct 17 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.18-2mamba
|
|
|
|
- fix duplicated files packaged with different paths causing an installation error
|
|
|
|
|
|
|
|
* Sun Oct 16 2022 Automatic Build System <autodist@mambasoft.it> 2.0.18-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:32:44 +01:00
|
|
|
* Thu Jan 06 2022 Automatic Build System <autodist@mambasoft.it> 2.0.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:32:44 +01:00
|
|
|
* Wed Aug 04 2021 Automatic Build System <autodist@mambasoft.it> 2.0.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:32:44 +01:00
|
|
|
* Sat Jun 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.15-1mamba
|
|
|
|
- package created using the webbuild interface
|