rpms/rubygem-coderay/devel import.log, NONE, 1.1 rubygem-coderay.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jan Klepek hpejakle at fedoraproject.org
Thu Jul 16 12:54:11 UTC 2009


Author: hpejakle

Update of /cvs/pkgs/rpms/rubygem-coderay/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23820/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log rubygem-coderay.spec 
Log Message:
* Fri Jul 03 2009 Jan Klepek <jan.klepek at hp.com> - 0.8.312-3
- correct directory ownership, fixed license

* Wed Jun 24 2009 Jan Klepek <jan.klepek at hp.com> - 0.8.312-2
- consistent macro usage, rewritten description, removed term-ansicolor during install

* Sun Jun 14 2009 Jan Klepek <jan.klepek at hp.com> - 0.8.312-1
- Initial package




--- NEW FILE import.log ---
rubygem-coderay-0_8_312-3_fc11:HEAD:rubygem-coderay-0.8.312-3.fc11.src.rpm:1247748810


--- NEW FILE rubygem-coderay.spec ---
%global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname coderay
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}

Summary: Fast syntax highlighter engine for many programming languages
Name: rubygem-%{gemname}
Version: 0.8.312
Release: 3%{?dist}
Group: Development/Languages
License: LGPLv2+
URL: http://coderay.rubychan.de
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ruby(abi) = 1.8
Requires: rubygems
Requires: rubygem(term-ansicolor)
BuildRequires: rubygems
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}

%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}
mkdir -p %{buildroot}%{gemdir}
gem install --local --install-dir %{buildroot}%{gemdir} \
            --force --rdoc %{SOURCE0}
mkdir -p %{buildroot}/%{_bindir}
mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
rmdir %{buildroot}%{gemdir}/bin
rm -rf %{buildroot}/%{geminstdir}/lib/term
find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x
find %{buildroot}/%{geminstdir}/bin -type f | xargs sed -i 's/\r//' $FILES
sed -i 's/\r//' %{buildroot}/%{geminstdir}/FOLDERS
sed -i 's#\#!/usr/bin/env ruby##g' %{buildroot}/%{geminstdir}/lib/coderay/helpers/file_type.rb
sed -i 's#\#!/usr/bin/env ruby##g' %{buildroot}/%{geminstdir}/lib/coderay/token_classes.rb
chmod a-x %{buildroot}/%{geminstdir}/lib/coderay/token_classes.rb

%clean
rm -rf %{buildroot}

%files 
%defattr(-, root, root, -)
%{_bindir}/coderay
%{_bindir}/coderay_stylesheet
%dir %{geminstdir}/
%dir %{geminstdir}/lib
%{geminstdir}/bin
%{geminstdir}/lib/[cC]*
%doc %{gemdir}/doc/%{gemname}-%{version} 
%doc %{geminstdir}/FOLDERS
%doc %{geminstdir}/LICENSE
%doc %{geminstdir}/lib/README
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec


%changelog
* Fri Jul 03 2009 Jan Klepek <jan.klepek at hp.com> - 0.8.312-3
- correct directory ownership, fixed license

* Wed Jun 24 2009 Jan Klepek <jan.klepek at hp.com> - 0.8.312-2
- consistent macro usage, rewritten description, removed term-ansicolor during install

* Sun Jun 14 2009 Jan Klepek <jan.klepek at hp.com> - 0.8.312-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-coderay/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	8 Jul 2009 16:38:30 -0000	1.1
+++ .cvsignore	16 Jul 2009 12:54:11 -0000	1.2
@@ -0,0 +1 @@
+coderay-0.8.312.gem


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-coderay/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	8 Jul 2009 16:38:30 -0000	1.1
+++ sources	16 Jul 2009 12:54:11 -0000	1.2
@@ -0,0 +1 @@
+b65c6f9ca01af7f6e413a06e1edbd4cd  coderay-0.8.312.gem




More information about the fedora-extras-commits mailing list