Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Till Maas
b74bf88589 2016-11-20: Retired because it depends on rubygem-flexmock, which was
retired, because it was orphaned for more than six weeks.
2016-11-20 11:30:39 +01:00
Fedora Release Engineering
82eb716aac dist-git conversion 2010-07-29 11:54:19 +00:00
Mark Chappell
b61b1d0f23 Rubygem-rake-compiler: Revert back to 0.6 for EPEL as rubygems 1.3.5 isn't
available and is required for 0.7.
2010-02-02 09:39:49 +00:00
Kevin Fenzi
38e473e7e0 Initialize branch EL-5 for rubygem-rake-compiler 2010-02-01 20:41:31 +00:00
5 changed files with 3 additions and 135 deletions

View file

@ -1 +0,0 @@
rake-compiler-0.7.0.gem

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: rubygem-rake-compiler
# $Id$
NAME := rubygem-rake-compiler
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

3
dead.package Normal file
View file

@ -0,0 +1,3 @@
2016-11-20: Retired because it depends on rubygem-flexmock, which was
retired, because it was orphaned for more than six weeks.

View file

@ -1,112 +0,0 @@
%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.7.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) >= 1.3.5
Requires: ruby(abi) = %{rubyabi}
Requires: ruby(rubygems) >= 1.3.5
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@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 Dec 10 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.7.0-1
- 0.7.0
* Wed Jul 29 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.6.0-1
- 0.6.0
* Sat Jul 25 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.5.0-2
- F-12: Mass rebuild
* Thu Jul 2 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.5.0-2
- Restore files under %%{geminstdir}/bin
* Thu Jun 11 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.5.0-1
- Initial package

View file

@ -1 +0,0 @@
bc8dbdadac79b6a30cf3aa702a3a1ead rake-compiler-0.7.0.gem