rpms/rubygem-test-spec/EL-5 rubygem-test-spec.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Lubomir Rintel
lkundrak at fedoraproject.org
Fri Jul 31 05:54:55 UTC 2009
- Previous message (by thread): rpms/perl-Mouse/devel .cvsignore, 1.10, 1.11 perl-Mouse.spec, 1.12, 1.13 sources, 1.10, 1.11
- Next message (by thread): rpms/rubygem-test-spec/devel rubygem-test-spec.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lkundrak
Update of /cvs/pkgs/rpms/rubygem-test-spec/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2445/EL-5
Modified Files:
.cvsignore sources
Added Files:
rubygem-test-spec.spec
Log Message:
Import rubygem-test-spec
--- NEW FILE rubygem-test-spec.spec ---
%global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname test-spec
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
Summary: Behaviour Driven Development interface for Test::Unit
Name: rubygem-%{gemname}
Version: 0.10.0
Release: 2%{?dist}
Group: Development/Languages
License: Ruby or GPLv2
URL: http://test-spec.rubyforge.org
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ruby(abi) = 1.8
Requires: rubygems
BuildRequires: rubygems
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}
%description
Test/spec layers an RSpec-inspired interface on top of Test::Unit, so you
can mix TDD and BDD (Behavior-Driven Development). It is a clean-room
implementation that maps most kinds of Test::Unit assertions to a
should-like syntax.
%prep
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{gemdir}
gem install --local --install-dir $RPM_BUILD_ROOT%{gemdir} \
--force --rdoc %{SOURCE0}
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
mv $RPM_BUILD_ROOT%{gemdir}/bin/* $RPM_BUILD_ROOT/%{_bindir}
rmdir $RPM_BUILD_ROOT%{gemdir}/bin
find $RPM_BUILD_ROOT%{geminstdir}/bin -type f |xargs chmod a+x
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root, -)
%{_bindir}/specrb
%dir %{geminstdir}
%dir %{geminstdir}/bin
%attr(0755,root,root) %{geminstdir}/bin/specrb
%{geminstdir}/lib
%{geminstdir}/Rakefile
%doc %{geminstdir}/examples
%doc %{geminstdir}/test
%doc %{geminstdir}/README
%doc %{geminstdir}/SPECS
%doc %{geminstdir}/ROADMAP
%doc %{geminstdir}/TODO
%doc %{gemdir}/doc/%{gemname}-%{version}
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%changelog
* Wed Jul 08 2009 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.10.0-2
- Fix up license
- Consistent use of macros
- Dependency on Ruby ABI
* Thu Jun 25 2009 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.10.0-1
- Package generated by gem2rpm
- Fix up plist
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-test-spec/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 14 Jul 2009 04:48:56 -0000 1.1
+++ .cvsignore 31 Jul 2009 05:54:55 -0000 1.2
@@ -0,0 +1 @@
+test-spec-0.10.0.gem
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-test-spec/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 14 Jul 2009 04:48:56 -0000 1.1
+++ sources 31 Jul 2009 05:54:55 -0000 1.2
@@ -0,0 +1 @@
+36ea0b3f04f95c756a459e156229ee62 test-spec-0.10.0.gem
- Previous message (by thread): rpms/perl-Mouse/devel .cvsignore, 1.10, 1.11 perl-Mouse.spec, 1.12, 1.13 sources, 1.10, 1.11
- Next message (by thread): rpms/rubygem-test-spec/devel rubygem-test-spec.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