Sha256: f47d4d1eb7f869b1ea9f2df5cd6b4bffe1bec7965203d16fa97cc82bb4249e63
Contents?: true
Size: 1.89 KB
Versions: 2
Compression:
Stored size: 1.89 KB
Contents
# Generated from gem2rpm-0.5.2.gem by gem2rpm -*- rpm-spec -*- %define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") %define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) %define gemname gem2rpm %define geminstdir %{gemdir}/gems/%{gemname}-%{version} Summary: Generate rpm specfiles from gems Name: rubygem-%{gemname} Version: @VERSION@ Release: 1%{?dist} Group: Development/Languages License: GPLv2+ or Ruby URL: http://rubyforge.org/projects/gem2rpm/ Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: rubygems BuildRequires: rubygems BuildArch: noarch Provides: rubygem(%{gemname}) = %{version} %description Generate source rpms and rpm spec files from a Ruby Gem. The spec file tries to follow the gem as closely as possible, and be compliant with the Fedora rubygem packaging guidelines %prep %build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{gemdir} gem install --local --install-dir %{buildroot}%{gemdir} \ --force %{SOURCE0} mkdir -p %{buildroot}/%{_bindir} mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir} rmdir %{buildroot}%{gemdir}/bin find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x %clean rm -rf %{buildroot} %files %defattr(-, root, root, -) %{_bindir}/gem2rpm %dir %{geminstdir} %doc %{geminstdir}/AUTHORS %{geminstdir}/bin %{geminstdir}/lib %doc %{geminstdir}/README %doc %{geminstdir}/LICENSE %{geminstdir}/rubygem-gem2rpm.spec %{gemdir}/cache/%{gemname}-%{version}.gem %{gemdir}/specifications/%{gemname}-%{version}.gemspec %changelog * Tue Mar 11 2008 David Lutterkort <dlutter@redhat.com> - @VERSION@-1 - Bring in accordance with Fedora guidelines * Thu Jan 3 2008 David Lutterkort <dlutter@redhat.com> - 0.5.2-2 - Own geminstdir - Fix Source URL * Mon Dec 10 2007 David Lutterkort <dlutter@redhat.com> - 0.5.2-1 - Initial package
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gem2rpm-0.5.3 | rubygem-gem2rpm.spec |
gem2rpm-0.6.0 | rubygem-gem2rpm.spec |