2024-01-05 17:34:34 +01:00
|
|
|
Name: ruby-ronn-ng
|
2024-04-17 23:19:01 +02:00
|
|
|
Version: 0.10.1
|
2024-06-08 10:53:14 +02:00
|
|
|
Release: 2mamba
|
2024-01-05 17:34:34 +01:00
|
|
|
Summary: Manual page formatter that generates man pages from markdown
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/apjanke/ronn-ng
|
|
|
|
Source: https://rubygems.org/downloads/ronn-ng-%{version}.gem
|
|
|
|
Patch0: ruby-ronn-ng-0.9.1-ruby-mustache-1.1.1.patch
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: ruby-devel
|
|
|
|
Requires: ruby
|
|
|
|
Requires: ruby-kramdown
|
2024-06-08 10:53:14 +02:00
|
|
|
Requires: ruby-kramdown-parser-gfm
|
2024-01-05 17:34:34 +01:00
|
|
|
Requires: ruby-mustache
|
|
|
|
Requires: ruby-nokogiri
|
|
|
|
|
|
|
|
%description
|
|
|
|
Manual page formatter that generates man pages from markdown.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
|
|
|
|
|
|
|
|
gem install --no-user-install --ignore-dependencies -i "%{buildroot}$gemdir" -n "%{buildroot}/usr/bin" %{SOURCE0}
|
|
|
|
|
|
|
|
rm -rf %{buildroot}${gemdir}/cache
|
|
|
|
|
|
|
|
install -D -m644 ronn-ng-%{version}/man/ronn.1 %{buildroot}%{_mandir}/man1/ronn.1
|
|
|
|
install -D -m644 ronn-ng-%{version}/man/ronn-format.7 %{buildroot}%{_mandir}/man7/ronn-format.7
|
|
|
|
|
|
|
|
install -D -m644 ronn-ng-%{version}/completion/bash/ronn %{buildroot}%{_datadir}/bash-completion/completions/ronn
|
|
|
|
install -D -m644 ronn-ng-%{version}/completion/zsh/_ronn %{buildroot}%{_datadir}/zsh/site-functions/_ronn
|
|
|
|
|
2024-04-17 23:19:01 +02:00
|
|
|
#patch -d %{buildroot}${gemdir}/specifications -i %{PATCH0}
|
2024-01-05 17:34:34 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/ronn
|
|
|
|
%dir %{_libdir}/ruby/gems/*/doc/ronn-ng-%{version}
|
|
|
|
%{_libdir}/ruby/gems/*/doc/ronn-ng-%{version}/*
|
|
|
|
%dir %{_libdir}/ruby/gems/*/gems/ronn-ng-%{version}
|
|
|
|
%{_libdir}/ruby/gems/*/gems/ronn-ng-%{version}/*
|
|
|
|
%{_libdir}/ruby/gems/*/specifications/ronn-ng-%{version}.gemspec
|
|
|
|
%{_datadir}/bash-completion/completions/ronn
|
|
|
|
%{_datadir}/zsh/site-functions/_ronn
|
|
|
|
%{_mandir}/man1/ronn.1*
|
|
|
|
%{_mandir}/man7/ronn-format.7*
|
|
|
|
%doc ronn-ng-%{version}/AUTHORS ronn-ng-%{version}/LICENSE.txt
|
|
|
|
|
|
|
|
%changelog
|
2024-06-08 10:53:14 +02:00
|
|
|
* Fri Jun 07 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.1-2mamba
|
|
|
|
- require ruby-kramdown-parser-gfm
|
|
|
|
|
2024-04-17 23:19:01 +02:00
|
|
|
* Wed Apr 17 2024 Automatic Build System <autodist@openmamba.org> 0.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:34:34 +01:00
|
|
|
* Sat Apr 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-1mamba
|
|
|
|
- package created using the webbuild interface
|