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

Matthew Kent mkent at fedoraproject.org
Fri Nov 27 06:31:45 UTC 2009


Author: mkent

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

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



--- NEW FILE import.log ---
rubygem-RubyInline-3_8_3-4_magoazul:HEAD:rubygem-RubyInline-3.8.3-4.magoazul.src.rpm:1259303441


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

%global rubyabi 1.8

Summary: Write foreign code within your ruby code
Name: rubygem-%{gemname}
Version: 3.8.3
Release: 4%{?dist}
Group: Development/Languages
License: MIT
URL: http://www.zenspider.com/ZSS/Products/RubyInline/
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: rubygem(ZenTest)
Requires: gcc, ruby-devel
Requires: ruby(rubygems)
Requires: ruby(abi) = %{rubyabi}
BuildRequires: ruby(rubygems)
BuildRequires: ruby(abi) = %{rubyabi}
BuildRequires(check): rubygem(ZenTest), ruby-devel, rubygem(rake), rubygem(hoe)
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}

%description
Inline allows you to write foreign code within your ruby code. It
automatically determines if the code in question has changed and
builds it only when necessary. The extensions are then automatically
loaded into the class/module that defines it.

%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}/

# These are all over the map - some executable that shouldn't be, needless
# shebangs, etc. Drop all the shebangs and set a standard permission.
find %{buildroot}%{geminstdir} -type f | \
  xargs -n 1 sed -i  -e '/^#!\/usr\/.*\/ruby.*/d'
# Ships with extremely tight permissions, bring them inline with other gems
find %{buildroot}%{geminstdir} -type f | \
  xargs chmod 0644

%clean
rm -rf %{buildroot}

%check
pushd .%{geminstdir}
rake test

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

%files doc
%defattr(-,root,root,-)
%{geminstdir}/Rakefile
%{geminstdir}/test
%{geminstdir}/demo
%{geminstdir}/example2.rb
%{geminstdir}/example.rb
%{geminstdir}/tutorial
%{gemdir}/doc/%{gemname}-%{version}

%changelog
* Thu Nov 26 2009 Matthew Kent <mkent at magoazul.com> - 3.8.3-4
- Add Requires for gcc and ruby-devel, library useless without them.

* Thu Nov 26 2009 Matthew Kent <mkent at magoazul.com> - 3.8.3-3
- Drop redundant BR for gcc (#540791)
- Leave examples as upstream intended (#540791)

* Mon Nov 23 2009 Matthew Kent <mkent at magoazul.com> - 3.8.3-2
- Remove unused ruby_sitelib macro

* Mon Nov 16 2009 Matthew Kent <mkent at magoazul.com> - 3.8.3-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-RubyInline/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	27 Nov 2009 05:32:40 -0000	1.1
+++ .cvsignore	27 Nov 2009 06:31:45 -0000	1.2
@@ -0,0 +1 @@
+RubyInline-3.8.3.gem


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-RubyInline/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	27 Nov 2009 05:32:40 -0000	1.1
+++ sources	27 Nov 2009 06:31:45 -0000	1.2
@@ -0,0 +1 @@
+c97bff68caa44d89133e766f5fc871bb  RubyInline-3.8.3.gem




More information about the fedora-extras-commits mailing list