rpms/rubygem-polyglot/EL-5 rubygem-polyglot.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Lubomir Rintel lkundrak at fedoraproject.org
Mon Jun 29 22:54:21 UTC 2009


Author: lkundrak

Update of /cvs/pkgs/rpms/rubygem-polyglot/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7480/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	rubygem-polyglot.spec 
Log Message:
Import ruby polyglot gem


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

Summary:        Allow hooking of language loaders for specified extensions into require
Name:           rubygem-%{gemname}
Version:        0.2.5
Release:        3%{?dist}
Group:          Development/Languages
License:        MIT
URL:            http://polyglot.rubyforge.org
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(hoe) >= 1.8.0
BuildRequires:  rubygems
BuildArch:      noarch
Provides:       rubygem(%{gemname}) = %{version}

%description
This Ruby GEM allows custom language loaders for specified file extensions
to be hooked into require.


%prep


%build


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{gemdir}
gem install --local --install-dir $RPM_BUILD_ROOT%{gemdir} \
        --force --rdoc %{SOURCE0}

# Fix permissions
chmod 644 $RPM_BUILD_ROOT%{geminstdir}/log/debug.log


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%dir %{geminstdir}
%{geminstdir}/Rakefile
%{geminstdir}/config
%{geminstdir}/lib
%{geminstdir}/log
%{geminstdir}/script
%{geminstdir}/website
%{geminstdir}/tasks
%{geminstdir}/*.rb
%doc %{geminstdir}/test
%doc %{gemdir}/doc/%{gemname}-%{version}
%doc %{geminstdir}/History.txt
%doc %{geminstdir}/License.txt
%doc %{geminstdir}/Manifest.txt
%doc %{geminstdir}/README.txt
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec


%changelog
* Fri Jun 26 2009 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.2.5-3
- Get rid of duplicate files

* Mon Jun 08 2009 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.2.5-2
- Bring tests back
- Depend on ruby(abi)
- Replace defines with globals
- Don't delete the world-writable file, fix permissions instead

* Fri Jun 05 2009 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.2.5-1
- Package generated by gem2rpm
- Remove log directory
- Don't ship tests
- Fix up License


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-polyglot/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	28 Jun 2009 18:09:31 -0000	1.1
+++ .cvsignore	29 Jun 2009 22:53:51 -0000	1.2
@@ -0,0 +1 @@
+polyglot-0.2.5.gem


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-polyglot/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	28 Jun 2009 18:09:31 -0000	1.1
+++ sources	29 Jun 2009 22:53:51 -0000	1.2
@@ -0,0 +1 @@
+3a36d65ae7aef29271ab548152ee3a95  polyglot-0.2.5.gem




More information about the fedora-extras-commits mailing list