rpms/rubygem-rspec/EL-5 rubygem-rspec.spec, NONE, 1.1 sources, 1.1, 1.2

Michael Stahnke stahnma at fedoraproject.org
Thu Nov 13 20:35:09 UTC 2008


Author: stahnma

Update of /cvs/extras/rpms/rubygem-rspec/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17363/EL-5

Modified Files:
	sources 
Added Files:
	rubygem-rspec.spec 
Log Message:
Committing for all branches


--- NEW FILE rubygem-rspec.spec ---
# Generated from rspec-1.1.3.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 rspec
%define geminstdir %{gemdir}/gems/%{gemname}-%{version}

Summary: Behaviour driven development (BDD) framework for Ruby
Name: rubygem-%{gemname}
Version: 1.1.11
Release: 1%{?dist}
Group: Development/Languages
License: GPLv2+ or Ruby
URL: http://rspec.rubyforge.org
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: rubygems, ruby(abi)  = 1.8
BuildRequires: rubygems, ruby
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}

%description
RSpec is a behaviour driven development (BDD) framework for Ruby.  RSpec was
created in response to Dave Astels' article _A New Look at Test Driven
Development_ which can be read at: http://daveastels.com/index.php?p=5  RSpec
is intended to provide the features discussed in Dave's article.


%prep

%build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
gem install --local --install-dir %{buildroot}%{gemdir} \
            --force --rdoc %{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}/*
%{gemdir}/gems/%{gemname}-%{version}/
%doc %{gemdir}/doc/%{gemname}-%{version}
#%doc %{geminstdir}/*.txt
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec


%changelog
* Wed Nov 08 2008 Michael Stahnke <stahnma at fedoraproject.org> - 1.1.11-1
- New Version

* Mon Nov 03 2008 Michael Stahnke <stahnma at fedoraproject.org> - 1.1.8-3
- Updating to require ruby(abi)

* Mon Oct 13 2008 Michael Stahnke <stahnma at fedoraproject.org> - 1.1.8-1
- New version

* Wed May 14 2008 Michael Stahnke <stahnma at fedoraproject.org> - 1.1.3-1
- Initial package


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/rubygem-rspec/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Nov 2008 02:22:10 -0000	1.1
+++ sources	13 Nov 2008 20:34:38 -0000	1.2
@@ -0,0 +1 @@
+04d59c2b715fe97a5763d7abf322afbb  rspec-1.1.11.gem




More information about the fedora-extras-commits mailing list