rpms/rubygem-rake-compiler/F-11 rubygem-rake-compiler.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Mamoru Tasaka
mtasaka at fedoraproject.org
Thu Jul 2 05:37:00 UTC 2009
- Previous message (by thread): rpms/rubygem-rake-compiler/F-10 rubygem-rake-compiler.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/rubygem-rake-compiler/devel rubygem-rake-compiler.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mtasaka
Update of /cvs/extras/rpms/rubygem-rake-compiler/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13209/F-11
Modified Files:
.cvsignore sources
Added Files:
rubygem-rake-compiler.spec
Log Message:
Initial commit
--- NEW FILE rubygem-rake-compiler.spec ---
%global gemname rake-compiler
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
%global rubyabi 1.8
Summary: Rake-based Ruby C Extension task generator
Name: rubygem-%{gemname}
Version: 0.5.0
Release: 1%{?dist}
Group: Development/Languages
License: MIT
URL: http://rake-compiler.rubyforge.org/
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ruby(abi) = %{rubyabi}
BuildRequires: ruby(rubygems)
Requires: ruby(abi) = %{rubyabi}
Requires: ruby(rubygems)
Requires: rubygem(rake) >= 0.8.3
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}-%{release}
%description
rake-compiler aims to help Gem developers while dealing with
Ruby C extensions, simplifiying the code and reducing the duplication.
It follows *convention over configuration* and set an standarized
structure to build and package C extensions in your gems.
This is the result of expriences dealing with several Gems
that required native extensions across platforms and different
user configurations where details like portability and
clarity of code were lacking.
%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
mkdir -p .%{gemdir}
gem install \
--local \
--install-dir $(pwd)%{gemdir} \
--force \
--rdoc \
-V \
%{SOURCE0}
# rpmlint cosmetic
pushd .%{geminstdir}
sed -i -e 's|\r||' README.rdoc
find ./lib/rake -name \*.rb | xargs sed -i -e '\@/usr/bin/env at d'
popd
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
cp -a .%{gemdir}/* %{buildroot}%{gemdir}/
# Move files under %%_bindir
mkdir -p %{buildroot}/%{_bindir}
mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
rmdir %{buildroot}%{gemdir}/bin
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/rake-compiler
%dir %{geminstdir}
%doc %{geminstdir}/README.rdoc
%doc %{geminstdir}/LICENSE.txt
%doc %{geminstdir}/History.txt
%{geminstdir}/Rakefile
%{geminstdir}/cucumber.yml
%{geminstdir}/[a-z]*/
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%files doc
%defattr(-,root,root,-)
%{gemdir}/doc/%{gemname}-%{version}
%changelog
* Thu Jul 2 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.5.0-2
- Restore files under %%{geminstdir}/bin
* Thu Jun 11 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.5.0-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/rubygem-rake-compiler/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 2 Jul 2009 05:02:46 -0000 1.1
+++ .cvsignore 2 Jul 2009 05:36:30 -0000 1.2
@@ -0,0 +1 @@
+rake-compiler-0.5.0.gem
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/rubygem-rake-compiler/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 2 Jul 2009 05:02:46 -0000 1.1
+++ sources 2 Jul 2009 05:36:30 -0000 1.2
@@ -0,0 +1 @@
+8f5b763bc086ae215227d9bd9bb7a875 rake-compiler-0.5.0.gem
- Previous message (by thread): rpms/rubygem-rake-compiler/F-10 rubygem-rake-compiler.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/rubygem-rake-compiler/devel rubygem-rake-compiler.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list