|
|
|
@ -2,20 +2,16 @@
|
|
|
|
|
%global gem_name ronn-ng
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 0.10.1
|
|
|
|
|
Version: 0.9.1
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: Builds man pages from Markdown
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/apjanke/ronn-ng
|
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
|
# git clone https://github.com/apjanke/ronn-ng.git && cd ronn-ng
|
|
|
|
|
# git archive -v -o ronn-ng-0.10.1-test.tar.gz v0.10.1 test/
|
|
|
|
|
Source1: %{gem_name}-%{version}-test.tar.gz
|
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
|
BuildRequires: ruby
|
|
|
|
|
BuildRequires: rubygem(kramdown)
|
|
|
|
|
BuildRequires: rubygem(kramdown-parser-gfm)
|
|
|
|
|
BuildRequires: rubygem(mustache)
|
|
|
|
|
BuildRequires: rubygem(nokogiri)
|
|
|
|
|
BuildRequires: rubygem(test-unit)
|
|
|
|
@ -26,7 +22,7 @@ Provides: rubygem-ronn = %{version}-%{release}
|
|
|
|
|
Obsoletes: rubygem-ronn < 0.7.3-20
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Ronn-NG builds manuals in HTML and Unix man page format from Markdown.
|
|
|
|
|
Ronn builds manuals in HTML and Unix man page format from Markdown.
|
|
|
|
|
|
|
|
|
|
The source format includes all of Markdown but has a more rigid structure and
|
|
|
|
|
syntax extensions for features commonly found in man pages (definition lists,
|
|
|
|
@ -42,7 +38,13 @@ BuildArch: noarch
|
|
|
|
|
Documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{gem_name}-%{version} -b 1
|
|
|
|
|
%setup -q -n %{gem_name}-%{version}
|
|
|
|
|
|
|
|
|
|
# Upstream specifies mustache==0.7, but we have 1.1 and it seems to work fine...
|
|
|
|
|
%gemspec_remove_dep -g mustache "~> 0.7"
|
|
|
|
|
|
|
|
|
|
# TODO: file upstream
|
|
|
|
|
chmod -x lib/ronn.rb
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# Create the gem as gem install only works on a gem file
|
|
|
|
@ -74,20 +76,19 @@ install -Dt %{buildroot}/usr/share/zsh/site-functions/ -m 0644 %{buildroot}%{gem
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
|
cp -a %{_builddir}/test test
|
|
|
|
|
|
|
|
|
|
ruby -Itest -e 'Dir.glob "./test/test_*.rb", &method(:require)'
|
|
|
|
|
ruby -Ilib:test -e 'Dir.glob "./test/test_*.rb", &method(:require)'
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
|
%{_bindir}/ronn
|
|
|
|
|
%{gem_instdir}/CHANGES
|
|
|
|
|
%{gem_instdir}/INSTALLING.md
|
|
|
|
|
%license %{gem_instdir}/LICENSE.txt
|
|
|
|
|
%{gem_instdir}/bin
|
|
|
|
|
%exclude %{gem_instdir}/completion
|
|
|
|
|
%{gem_instdir}/config.ru
|
|
|
|
|
%{gem_libdir}
|
|
|
|
|
%exclude %{gem_instdir}/completion
|
|
|
|
|
%exclude %{gem_instdir}/man
|
|
|
|
|
%exclude %{gem_cache}
|
|
|
|
|
%{gem_spec}
|
|
|
|
@ -100,43 +101,19 @@ popd
|
|
|
|
|
%files doc
|
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
|
%doc %{gem_instdir}/AUTHORS
|
|
|
|
|
%doc %{gem_instdir}/CHANGELOG.md
|
|
|
|
|
%{gem_instdir}/Gemfile
|
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
|
%{gem_instdir}/ronn-ng.gemspec
|
|
|
|
|
%{gem_instdir}/test
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.10.1-4
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.1-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.10.1-3
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 08 2024 Vít Ondruch <vondruch@redhat.com> - 0.10.1-1
|
|
|
|
|
- Update to Ronn-NG 0.10.1
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Sep 08 2022 Vít Ondruch <vondruch@redhat.com> - 0.9.1-6
|
|
|
|
|
- Fix FTBFS due to Ruby 3.1 / Psych 4.0 test incompatibility.
|
|
|
|
|
Resolves: rhbz#2113704
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.1-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|