2016-08-23 19:44:14 +00:00
|
|
|
%global gem_name rouge
|
|
|
|
|
2018-06-04 14:13:17 +00:00
|
|
|
Name: rubygem-%{gem_name}
|
2020-03-11 22:16:05 +00:00
|
|
|
Version: 3.17.0
|
2020-02-15 16:43:11 +00:00
|
|
|
Release: 1%{?dist}
|
2018-06-04 14:13:17 +00:00
|
|
|
Summary: Pure-ruby colorizer based on pygments
|
|
|
|
License: MIT and BSD
|
2016-08-23 19:44:14 +00:00
|
|
|
|
2018-06-04 14:13:17 +00:00
|
|
|
URL: http://rouge.jneen.net/
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
2016-08-23 19:44:14 +00:00
|
|
|
|
2018-06-04 14:13:17 +00:00
|
|
|
BuildRequires: ruby(release)
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: ruby >= 2.0
|
|
|
|
|
|
|
|
BuildRequires: help2man
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2016-08-23 19:44:14 +00:00
|
|
|
|
|
|
|
%description
|
2018-06-04 14:13:17 +00:00
|
|
|
Rouge aims to a be a simple, easy-to-extend drop-in replacement for pygments.
|
2016-08-23 19:44:14 +00:00
|
|
|
|
|
|
|
|
2018-06-04 14:13:17 +00:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
BuildArch: noarch
|
2016-08-23 19:44:14 +00:00
|
|
|
|
2018-06-04 14:13:17 +00:00
|
|
|
%description doc
|
|
|
|
Documentation for %{name}.
|
2016-08-23 19:44:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2018-06-04 14:13:17 +00:00
|
|
|
%setup -q -n %{gem_name}-%{version}
|
2016-08-23 19:44:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2018-06-04 14:13:17 +00:00
|
|
|
gem build ../%{gem_name}-%{version}.gemspec
|
|
|
|
|
2016-08-23 19:44:14 +00:00
|
|
|
%gem_install
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2018-06-04 14:13:17 +00:00
|
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
|
|
cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
cp -pa .%{_bindir}/* %{buildroot}%{_bindir}/
|
|
|
|
|
|
|
|
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
|
|
|
|
|
|
|
|
|
|
# Generate man page from "rougify --help" output
|
2016-08-23 19:44:14 +00:00
|
|
|
export GEM_PATH="%{buildroot}%{gem_dir}:%{gem_dir}"
|
2018-06-04 14:13:17 +00:00
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
|
|
|
|
|
help2man -N -s1 -o %{buildroot}%{_mandir}/man1/rougify.1 \
|
|
|
|
%{buildroot}%{_bindir}/rougify
|
2016-08-23 19:44:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
2018-06-04 14:13:17 +00:00
|
|
|
%license %{gem_instdir}/LICENSE
|
|
|
|
|
2016-08-23 19:44:14 +00:00
|
|
|
%{_bindir}/rougify
|
2018-06-04 14:13:17 +00:00
|
|
|
|
2016-08-23 19:44:14 +00:00
|
|
|
%{_mandir}/man1/rougify.1*
|
2018-06-04 14:13:17 +00:00
|
|
|
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
%{gem_instdir}/bin
|
|
|
|
%exclude %{gem_instdir}/rouge.gemspec
|
|
|
|
|
|
|
|
%{gem_libdir}
|
|
|
|
|
|
|
|
%exclude %{gem_cache}
|
|
|
|
|
2016-08-23 19:44:14 +00:00
|
|
|
%{gem_spec}
|
|
|
|
|
2018-06-04 14:13:17 +00:00
|
|
|
|
2016-08-23 19:44:14 +00:00
|
|
|
%files doc
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
|
2018-06-04 14:13:17 +00:00
|
|
|
%{gem_instdir}/Gemfile
|
|
|
|
|
2016-08-23 19:44:14 +00:00
|
|
|
|
|
|
|
%changelog
|
2020-03-11 22:16:05 +00:00
|
|
|
* Wed Mar 11 2020 Fabio Valentini <decathorpe@gmail.com> - 3.17.0-1
|
|
|
|
- Update to version 3.17.0.
|
|
|
|
|
2020-02-15 16:43:11 +00:00
|
|
|
* Sat Feb 15 2020 Fabio Valentini <decathorpe@gmail.com> - 3.16.0-1
|
|
|
|
- Update to version 3.16.0.
|
|
|
|
|
2020-01-30 19:16:47 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.15.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-17 09:46:46 +00:00
|
|
|
* Fri Jan 17 2020 Fabio Valentini <decathorpe@gmail.com> - 3.15.0-1
|
|
|
|
- Update to version 3.15.0.
|
|
|
|
|
2019-12-19 22:24:20 +00:00
|
|
|
* Thu Dec 19 2019 Fabio Valentini <decathorpe@gmail.com> - 3.14.0-1
|
|
|
|
- Update to version 3.14.0.
|
|
|
|
|
2019-11-16 14:11:12 +00:00
|
|
|
* Sat Nov 16 2019 Fabio Valentini <decathorpe@gmail.com> - 3.13.0-1
|
|
|
|
- Update to version 3.13.0.
|
|
|
|
|
2019-10-30 16:12:01 +00:00
|
|
|
* Wed Oct 30 2019 Fabio Valentini <decathorpe@gmail.com> - 3.12.0-1
|
|
|
|
- Update to version 3.12.0.
|
|
|
|
|
2019-10-07 18:25:48 +00:00
|
|
|
* Mon Oct 07 2019 Fabio Valentini <decathorpe@gmail.com> - 3.11.1-1
|
|
|
|
- Update to version 3.11.1.
|
|
|
|
|
2019-09-28 13:59:39 +00:00
|
|
|
* Sat Sep 28 2019 Fabio Valentini <decathorpe@gmail.com> - 3.11.0-1
|
|
|
|
- Update to version 3.11.0.
|
|
|
|
|
2019-09-05 20:44:03 +00:00
|
|
|
* Wed Sep 04 2019 Fabio Valentini <decathorpe@gmail.com> - 3.10.0-1
|
|
|
|
- Update to version 3.10.0.
|
|
|
|
|
2019-08-15 21:03:56 +00:00
|
|
|
* Thu Aug 15 2019 Fabio Valentini <decathorpe@gmail.com> - 3.8.0-1
|
|
|
|
- Update to version 3.8.0.
|
|
|
|
|
2019-07-30 08:01:40 +00:00
|
|
|
* Tue Jul 30 2019 Fabio Valentini <decathorpe@gmail.com> - 3.7.0-1
|
|
|
|
- Update to version 3.7.0.
|
|
|
|
|
2019-07-26 20:02:02 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-07-10 14:17:00 +00:00
|
|
|
* Wed Jul 10 2019 Fabio Valentini <decathorpe@gmail.com> - 3.6.0-1
|
|
|
|
- Update to version 3.6.0.
|
|
|
|
|
2019-07-02 11:20:21 +00:00
|
|
|
* Tue Jul 02 2019 Fabio Valentini <decathorpe@gmail.com> - 3.5.1-1
|
|
|
|
- Update to version 3.5.1.
|
|
|
|
|
2019-02-02 12:55:59 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-10-02 09:35:04 +00:00
|
|
|
* Tue Oct 02 2018 Fabio Valentini <decathorpe@gmail.com> - 3.3.0-1
|
|
|
|
- Update to version 3.3.0.
|
|
|
|
|
2018-08-17 11:30:53 +00:00
|
|
|
* Fri Aug 17 2018 Fabio Valentini <decathorpe@gmail.com> - 3.2.1-1
|
|
|
|
- Update to version 3.2.1.
|
|
|
|
|
2018-08-02 21:23:36 +00:00
|
|
|
* Thu Aug 02 2018 Fabio Valentini <decathorpe@gmail.com> - 3.2.0-1
|
|
|
|
- Update to version 3.2.0.
|
|
|
|
|
2018-07-14 04:42:48 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-04 14:13:17 +00:00
|
|
|
* Mon Jun 04 2018 Fabio Valentini <decathorpe@gmail.com> - 3.1.1-1
|
|
|
|
- Update to version 3.1.1.
|
|
|
|
|
2018-02-09 14:46:47 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 17:43:52 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 12:44:04 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-08-23 19:44:14 +00:00
|
|
|
* Tue Aug 23 2016 Björn Esser <fedora@besser82.io> - 1.11.1-1
|
|
|
|
- initial import (#1368850)
|
|
|
|
|
|
|
|
* Sun Aug 21 2016 Björn Esser <fedora@besser82.io> - 1.11.1-0.1
|
|
|
|
- initial rpm-release (#1368850)
|
2018-06-04 14:13:17 +00:00
|
|
|
|