rpms/rubygem-gem2rpm/F-8 rubygem-gem2rpm.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
David Lutterkort (lutter)
fedora-extras-commits at redhat.com
Thu May 15 21:26:34 UTC 2008
Author: lutter
Update of /cvs/pkgs/rpms/rubygem-gem2rpm/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32201/F-8
Modified Files:
.cvsignore sources
Added Files:
rubygem-gem2rpm.spec
Log Message:
Initial import
--- NEW FILE rubygem-gem2rpm.spec ---
# 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: 0.5.3
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 at redhat.com> - 0.5.3-1
- Bring in accordance with Fedora guidelines
* Thu Jan 3 2008 David Lutterkort <dlutter at redhat.com> - 0.5.2-2
- Own geminstdir
- Fix Source URL
* Mon Dec 10 2007 David Lutterkort <dlutter at redhat.com> - 0.5.2-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-gem2rpm/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 15 May 2008 16:05:54 -0000 1.1
+++ .cvsignore 15 May 2008 21:25:46 -0000 1.2
@@ -0,0 +1 @@
+gem2rpm-0.5.3.gem
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-gem2rpm/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 15 May 2008 16:05:54 -0000 1.1
+++ sources 15 May 2008 21:25:46 -0000 1.2
@@ -0,0 +1 @@
+956b232a7446412a35ffe5db2736f093 gem2rpm-0.5.3.gem
More information about the fedora-extras-commits
mailing list