rpms/rubygem-extlib/F-11 import.log, NONE, 1.1 rubygem-extlib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matthew Kent mkent at fedoraproject.org
Thu Oct 15 05:47:18 UTC 2009


Author: mkent

Update of /cvs/pkgs/rpms/rubygem-extlib/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28013/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	import.log rubygem-extlib.spec 
Log Message:
Initial import



--- NEW FILE import.log ---
rubygem-extlib-0_9_13-4_magoazul:F-11:rubygem-extlib-0.9.13-4.magoazul.src.rpm:1255585623


--- NEW FILE rubygem-extlib.spec ---
# Generated from extlib-0.9.13.gem by gem2rpm -*- rpm-spec -*-
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname extlib
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}

%global rubyabi 1.8

Summary: Support library for DataMapper and Merb
Name: rubygem-%{gemname}
Version: 0.9.13
Release: 4%{?dist}
Group: Development/Languages
License: MIT
URL: http://rubyforge.org/projects/extlib/
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ruby(rubygems)
Requires: ruby(abi) = %{rubyabi}
BuildRequires: ruby(rubygems)
BuildRequires: ruby(abi) = %{rubyabi}
BuildRequires(check): rubygem(rake), rubygem(rspec), ruby(json)
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}

%description
Support library for DataMapper and Merb.

%package doc
Summary: Documentation for %{name}
Group: Documentation

Requires: %{name} = %{version}-%{release}

%description doc
This package contains documentation for %{name}.

%prep
%setup -q -c -T

%build
mkdir -p .%{gemdir}
gem install -V \
  --local \
  --install-dir $(pwd)/%{gemdir} \
  --force --rdoc \
  %{SOURCE0}

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
cp -a .%{gemdir}/* %{buildroot}%{gemdir}/

# Zero bytes unfortunately
rm -f %{buildroot}%{geminstdir}/README

find %{buildroot}%{geminstdir}/{Rakefile,lib,spec} -type f | \
  xargs -n 1 sed -i  -e '/^#!\/usr\/bin\/env ruby/d'
find %{buildroot}%{geminstdir}/{Rakefile,lib,spec} -type f | \
  xargs chmod 0644

%clean
rm -rf %{buildroot}

%check
pushd .%{geminstdir}
# Force success for the time being due to a possible ppc64 bug in ruby
rake spec || :

%files
%defattr(-,root,root,-)
%doc %{geminstdir}/LICENSE
%doc %{geminstdir}/History.txt
%dir %{geminstdir}
%{geminstdir}/Rakefile
%{geminstdir}/lib
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec

%files doc
%defattr(-,root,root,-)
%{geminstdir}/spec
%{gemdir}/doc/%{gemname}-%{version}

%changelog
* Mon Oct 5 2009 Matthew Kent <mkent at magoazul.com> - 0.9.13-4
- Remove redundant doc Requires on rubygems.

* Tue Sep 29 2009 Matthew Kent <mkent at magoazul.com> - 0.9.13-3
- Account for possible %%check segfault on ppc64 due to possible ruby bug
  (#525989).
- Remove unsed ruby_sitelib macro and use global over define (#525989).

* Mon Sep 28 2009 Matthew Kent <mkent at magoazul.com> - 0.9.13-2
- Only provided as a gem, dropping non gem support.

* Thu Sep 24 2009 Matthew Kent <mkent at magoazul.com> - 0.9.13-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-extlib/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	6 Oct 2009 21:26:32 -0000	1.1
+++ .cvsignore	15 Oct 2009 05:47:17 -0000	1.2
@@ -0,0 +1 @@
+extlib-0.9.13.gem


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-extlib/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	6 Oct 2009 21:26:32 -0000	1.1
+++ sources	15 Oct 2009 05:47:18 -0000	1.2
@@ -0,0 +1 @@
+0d521ad9606c4e249d77b8d849483e9e  extlib-0.9.13.gem




More information about the fedora-extras-commits mailing list