package created using the webbuild interface [release 0.9.1-1mamba;Sat Apr 23 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 17:34:34 +01:00
parent 68881809b4
commit c62c76f03c
4 changed files with 87 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# ruby-ronn-ng
Manual page formatter that generates man pages from markdown.

BIN
ronn-ng-0.9.1.gem Normal file

Binary file not shown.

View File

@ -0,0 +1,21 @@
--- ronn-ng-0.9.1.gemspec 2020-07-01 14:00:43.366500117 +0700
+++ ronn-ng-0.9.1.gemspec 2020-07-01 14:01:16.024325361 +0700
@@ -29,7 +29,7 @@
if s.respond_to? :add_runtime_dependency then
s.add_runtime_dependency(%q<kramdown>.freeze, ["~> 2.1"])
- s.add_runtime_dependency(%q<mustache>.freeze, ["~> 0.7", ">= 0.7.0"])
+ s.add_runtime_dependency(%q<mustache>.freeze, ["~> 1.0"])
s.add_runtime_dependency(%q<nokogiri>.freeze, ["~> 1.9", ">= 1.9.0"])
s.add_development_dependency(%q<rack>.freeze, ["~> 2.0", ">= 2.0.6"])
s.add_development_dependency(%q<rake>.freeze, ["~> 12.3", ">= 12.3.0"])
@@ -38,7 +38,7 @@
s.add_development_dependency(%q<test-unit>.freeze, ["~> 3.2", ">= 3.2.7"])
else
s.add_dependency(%q<kramdown>.freeze, ["~> 2.1"])
- s.add_dependency(%q<mustache>.freeze, ["~> 0.7", ">= 0.7.0"])
+ s.add_dependency(%q<mustache>.freeze, ["~> 1.0"])
s.add_dependency(%q<nokogiri>.freeze, ["~> 1.9", ">= 1.9.0"])
s.add_dependency(%q<rack>.freeze, ["~> 2.0", ">= 2.0.6"])
s.add_dependency(%q<rake>.freeze, ["~> 12.3", ">= 12.3.0"])

64
ruby-ronn-ng.spec Normal file
View File

@ -0,0 +1,64 @@
Name: ruby-ronn-ng
Version: 0.9.1
Release: 1mamba
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
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
patch -d %{buildroot}${gemdir}/specifications -i %{PATCH0}
%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
* Sat Apr 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-1mamba
- package created using the webbuild interface