[packages/ruby-rspec] new, version 2.13.0
glen
glen at pld-linux.org
Sat Apr 13 21:46:42 CEST 2013
commit 3ce3a5e3686d68c02025c0d64e1e98fe224cb1fe
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Apr 13 22:46:03 2013 +0300
new, version 2.13.0
based on fedora package
04eac505c717847820e3067e46290ee5bc45a398
ruby-rspec.spec | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
---
diff --git a/ruby-rspec.spec b/ruby-rspec.spec
new file mode 100644
index 0000000..159ed1a
--- /dev/null
+++ b/ruby-rspec.spec
@@ -0,0 +1,37 @@
+%define gem_name rspec
+Summary: Behaviour driven development (BDD) framework for Ruby
+Name: ruby-%{gem_name}
+Version: 2.13.0
+Release: 1
+License: MIT
+Group: Development/Languages
+Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
+# Source0-md5: 72bb51053e955418b9e06818729ab164
+URL: http://rspec.info/
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+Requires: ruby-rspec-core >= %{version}
+Requires: ruby-rspec-expectations >= %{version}
+Requires: ruby-rspec-mocks >= %{version}
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+RSpec is a behaviour driven development (BDD) framework for Ruby.
+
+%prep
+%setup -q -n %{gem_name}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md License.txt
+%{ruby_vendorlibdir}/rspec.rb
+%{ruby_vendorlibdir}/rspec
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-rspec.git/commitdiff/3ce3a5e3686d68c02025c0d64e1e98fe224cb1fe
More information about the pld-cvs-commit
mailing list