2012-02-06 12:51:01 +00:00
|
|
|
%global gem_name coderay
|
2009-07-16 12:54:11 +00:00
|
|
|
|
|
|
|
Summary: Fast syntax highlighter engine for many programming languages
|
2012-02-06 12:51:01 +00:00
|
|
|
Name: rubygem-%{gem_name}
|
2012-04-08 20:55:20 +00:00
|
|
|
Version: 1.0.6
|
2013-03-05 11:47:39 +00:00
|
|
|
Release: 4%{?dist}
|
2009-07-16 12:54:11 +00:00
|
|
|
Group: Development/Languages
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://coderay.rubychan.de
|
2012-02-06 12:51:01 +00:00
|
|
|
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
|
2009-07-16 12:54:11 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2013-03-05 11:47:39 +00:00
|
|
|
Requires: ruby(release)
|
2012-02-06 12:51:01 +00:00
|
|
|
Requires: ruby(rubygems)
|
2009-07-16 12:54:11 +00:00
|
|
|
Requires: rubygem(term-ansicolor)
|
2012-02-06 12:51:01 +00:00
|
|
|
BuildRequires: rubygems-devel
|
2009-07-16 12:54:11 +00:00
|
|
|
BuildArch: noarch
|
2012-02-06 12:51:01 +00:00
|
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
2009-07-16 12:54:11 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Coderay is a Ruby library for syntax highlighting. CodeRay is build to be easy
|
|
|
|
to use and intuitive, but at the same time fully featured, complete, fast and
|
|
|
|
efficient.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
2012-02-06 12:51:01 +00:00
|
|
|
mkdir -p %{buildroot}%{gem_dir}
|
2013-03-05 11:47:39 +00:00
|
|
|
%gem_install -n %{SOURCE0}
|
2009-07-16 12:54:11 +00:00
|
|
|
mkdir -p %{buildroot}/%{_bindir}
|
2012-02-06 12:51:01 +00:00
|
|
|
mv %{buildroot}%{gem_dir}/bin/* %{buildroot}/%{_bindir}
|
|
|
|
rmdir %{buildroot}%{gem_dir}/bin
|
|
|
|
rm -rf %{buildroot}/%{gem_libdir}/term
|
|
|
|
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
|
|
find %{buildroot}/%{gem_instdir}/bin -type f | xargs sed -i 's/\r//' $FILES
|
2009-07-16 12:54:11 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%{_bindir}/coderay
|
2012-02-06 12:51:01 +00:00
|
|
|
%dir %{gem_instdir}/
|
|
|
|
%dir %{gem_libdir}
|
|
|
|
%dir %{gem_instdir}/test
|
|
|
|
%{gem_instdir}/test/*
|
|
|
|
%{gem_instdir}/bin
|
|
|
|
%{gem_libdir}/[cC]*
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
%doc %{gem_instdir}/LICENSE
|
|
|
|
%doc %{gem_instdir}/Rakefile
|
|
|
|
%doc %{gem_instdir}/README_INDEX.rdoc
|
|
|
|
%{gem_cache}
|
|
|
|
%{gem_spec}
|
2009-07-16 12:54:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2013-03-05 11:47:39 +00:00
|
|
|
* Tue Mar 05 2013 Vít Ondruch <vondruch@redhat.com> - 1.0.6-4
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
|
|
2013-02-14 22:19:58 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-21 17:42:53 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-04-08 20:55:20 +00:00
|
|
|
* Sun Apr 08 2012 Jan Klepek <jan.klepek at, gmail.com> - 1.0.6-1
|
|
|
|
- Update to new version
|
|
|
|
|
2012-02-06 12:51:01 +00:00
|
|
|
* Mon Feb 06 2012 Vít Ondruch <vondruch@redhat.com> - 1.0.4-3
|
|
|
|
- Rebuilt for Ruby 1.9.3.
|
|
|
|
|
2012-01-14 03:06:15 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-17 15:42:17 +00:00
|
|
|
* Thu Nov 17 2011 Jan Klepek <jan.klepek at, gmail.com> - 1.0.4-1
|
|
|
|
- new version
|
|
|
|
|
2011-10-15 10:27:18 +00:00
|
|
|
* Sat Oct 15 2011 Jan Klepek <jan.klepek at, gmail.com> - 1.0.0-1
|
|
|
|
- new version
|
|
|
|
|
2011-07-23 09:03:17 +00:00
|
|
|
* Sat Jul 23 2011 Jan Klepek <jan.klepek at, gmail.com> - 0.9.8-1
|
|
|
|
- new version
|
|
|
|
|
2011-03-10 12:35:38 +00:00
|
|
|
* Thu Mar 10 2011 Jan Klepek <jan.klepek at, gmail.com> - 0.9.7-1
|
|
|
|
- updated to 0.9.7
|
|
|
|
|
2011-02-09 09:36:01 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.312-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2009-07-27 03:27:23 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.312-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2011-03-10 12:35:38 +00:00
|
|
|
* Fri Jul 03 2009 Jan Klepek <jan.klepekat, gmail.com> - 0.8.312-3
|
2009-07-16 12:54:11 +00:00
|
|
|
- correct directory ownership, fixed license
|
|
|
|
|
2011-03-10 12:35:38 +00:00
|
|
|
* Wed Jun 24 2009 Jan Klepek <jan.klepekat, gmail.com> - 0.8.312-2
|
2009-07-16 12:54:11 +00:00
|
|
|
- consistent macro usage, rewritten description, removed term-ansicolor during install
|
|
|
|
|
2011-03-10 12:35:38 +00:00
|
|
|
* Sun Jun 14 2009 Jan Klepek <jan.klepekat, gmail.com> - 0.8.312-1
|
2009-07-16 12:54:11 +00:00
|
|
|
- Initial package
|