1- Vendor: Microsoft Corporation
2- Distribution: Azure Linux
31%global gem_name rouge
42
53Name: rubygem-%{gem_name }
6- Version: 3.26 .0
7- Release: 3 %{?dist }
4+ Version: 4.4 .0
5+ Release: 2 %{?dist }
86Summary: Pure-ruby colorizer based on pygments
9- License: MIT and BSD
7+ # From LICENSE file
8+ # SPDX confirmed
9+ License: MIT AND BSD-2-Clause
10+ Vendor: Microsoft Corporation
11+ Distribution: Azure Linux
1012URL: http://rouge.jneen.net/
11- Source0: https://github.com/rouge-ruby/rouge/archive/refs/tags/v%{version }.tar.gz#/%{gem_name}-%{version}.tar.gz
13+ Source0: https://github.com/rouge-ruby/%{gem_name }/archive/refs/tags/v%{version }.tar.gz#/%{name}-%{version}.tar.gz
14+ Source10: spec_helper_assert.rb
15+ Source11: bundler.rb
1216BuildRequires: ruby(release)
1317BuildRequires: rubygems-devel
14- BuildRequires: ruby >= 2.0
1518BuildRequires: help2man
19+ BuildRequires: rubygem(minitest)
20+ BuildRequires: rubygem(rake)
21+
1622BuildArch: noarch
1723
1824%description
@@ -27,10 +33,15 @@ BuildArch: noarch
2733Documentation for %{name }.
2834
2935%prep
30- %setup -q -n %{gem_name }-%{version }
36+ %autosetup -n %{gem_name }-%{version }
37+
38+ cp -a spec ..
39+ mkdir FAKE
40+ cp -a %{SOURCE11 } FAKE/
41+ cp -pa %{SOURCE10 } spec/
3142
3243%build
33- gem build %{gem_name }
44+ gem build %{gem_name }.gemspec
3445%gem_install
3546
3647%install
@@ -46,32 +57,100 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
4657export GEM_PATH= "%{buildroot }%{gem_dir }:%{gem_dir }"
4758
4859mkdir -p %{buildroot }%{_mandir }/man1
49-
5060help2man -N -s1 -o %{buildroot }%{_mandir }/man1/rougify.1 \
5161 %{buildroot }%{_bindir }/rougify
5262
63+ rm -f %{buildroot }%{gem_cache }
64+ pushd %{buildroot }%{gem_instdir }
65+ rm -rf \
66+ Gemfile \
67+ %{gem_name }.gemspec \
68+ %{nil }
69+ popd
70+
71+ %check
72+ find spec -name \* _spec.rb -print0 | \
73+ sort --zero-terminated | \
74+ xargs --null ruby -Ilib:FAKE \
75+ -r./spec/spec_helper \
76+ -r./spec/spec_helper_assert \
77+ -r rake/rake_test_loader \
78+ %{nil }
79+
5380%files
81+ %dir %{gem_instdir }
5482%license %{gem_instdir }/LICENSE
83+ %{gem_libdir }
84+ %exclude %{gem_libdir }/%{gem_name }/demos
5585%{_bindir }/rougify
56- %{_mandir }/man1/rougify.1*
57- %dir %{gem_instdir }
5886%{gem_instdir }/bin
59- %exclude %{gem_instdir }/rouge.gemspec
60- %{gem_libdir }
61- %exclude %{gem_cache }
87+ %{_mandir }/man1/rougify.1*
6288%{gem_spec }
6389
6490%files doc
6591%doc %{gem_docdir }
66- %{gem_instdir }/Gemfile
92+ %{gem_libdir }/%{ gem_name }/demos
6793
6894%changelog
69- *
Tue Mar 22 2022 Neha Agarwal <[email protected] > -
3.26.0-3 95+ *
Tue Dec 24 2024 Akhila Guruju <[email protected] > -
4.4.0-2 96+ - Initial Azure Linux import from Fedora 41 (license: MIT).
97+ - Build from .tar.gz source
7098- License verified.
71- - Build from .tar.gz source.
7299
73- *
Fri Oct 15 2021 Pawel Winogrodzki <[email protected] > -
3.26.0-2 74- - Initial CBL-Mariner import from Fedora 32 (license: MIT).
100+ *
Fri Sep 20 2024 Mamoru TASAKA <[email protected] > -
4.4.0-1 101+ - 4.4.0
102+
103+ *
Fri Jul 19 2024 Fedora Release Engineering <[email protected] > -
4.3.0-2 104+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
105+
106+ *
Tue Jun 18 2024 Mamoru TASAKA <[email protected] > -
4.3.0-1 107+ - 4.3.0
108+
109+ *
Mon Mar 18 2024 Mamoru TASAKA <[email protected] > -
4.2.1-1 110+ - 4.2.1
111+
112+ *
Fri Jan 26 2024 Fedora Release Engineering <[email protected] > -
4.2.0-2 113+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
114+
115+ *
Wed Oct 25 2023 Mamoru TASAKA <[email protected] > -
4.2.0-1 116+ - 4.2.0
117+
118+ *
Fri Aug 18 2023 Mamoru TASAKA <[email protected] > -
4.1.3-1 119+ - 4.1.3
120+
121+ *
Fri Jul 21 2023 Fedora Release Engineering <[email protected] > -
4.1.0-2 122+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
123+
124+ *
Fri Feb 17 2023 Mamoru TASAKA <[email protected] > -
4.1.0-1 125+ - 4.1.0
126+
127+ *
Sun Feb 12 2023 Mamoru TASAKA <[email protected] > -
4.0.1-3 128+ - Execute spec test provided by the upstream
129+ - Backport upstream patch for ruby32 regex issue with hash character
130+
131+ *
Fri Jan 20 2023 Fedora Release Engineering <[email protected] > -
4.0.1-2 132+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
133+
134+ *
Wed Dec 21 2022 Mamoru TASAKA <[email protected] > -
4.0.1-1 135+ - 4.0.1
136+
137+ *
Sun Oct 9 2022 Mamoru TASAKA <[email protected] > -
4.0.0-2 138+ - 4.0.0
139+
140+ *
Sat Jul 23 2022 Fedora Release Engineering <[email protected] > -
3.26.1-3 141+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
142+
143+ *
Fri Jan 21 2022 Fedora Release Engineering <[email protected] > -
3.26.1-2 144+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
145+
146+ *
Sun Sep 19 2021 Mamoru TASAKA <[email protected] > -
3.26.1-1 147+ - 3.26.1
148+
149+ *
Fri Jul 23 2021 Fedora Release Engineering <[email protected] > -
3.26.0-3 150+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
151+
152+ *
Wed Jan 27 2021 Fedora Release Engineering <[email protected] > -
3.26.0-2 153+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
75154
76155*
Fri Dec 11 2020 Fabio Valentini <[email protected] > -
3.26.0-1 77156- Update to version 3.26.0.
@@ -88,6 +167,9 @@ help2man -N -s1 -o %{buildroot}%{_mandir}/man1/rougify.1 \
88167*
Wed Aug 12 2020 Fabio Valentini <[email protected] > -
3.22.0-1 89168- Update to version 3.22.0.
90169
170+ *
Wed Jul 29 2020 Fedora Release Engineering <[email protected] > -
3.21.0-2 171+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
172+
91173*
Wed Jul 15 2020 Fabio Valentini <[email protected] > -
3.21.0-1 92174- Update to version 3.21.0.
93175
0 commit comments