]> git.pld-linux.org Git - packages/ruby-aruba.git/commitdiff
new, version 0.5.3
authorElan Ruusamäe <glen@delfi.ee>
Sun, 14 Jul 2013 10:27:37 +0000 (13:27 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 14 Jul 2013 10:27:37 +0000 (13:27 +0300)
created from fedora rugygem-aruba package
1df83c8038106e9e833b2f0f31f72bdf407ac0aa

ruby-aruba.spec [new file with mode: 0644]

diff --git a/ruby-aruba.spec b/ruby-aruba.spec
new file mode 100644 (file)
index 0000000..f5a8cd2
--- /dev/null
@@ -0,0 +1,65 @@
+#
+# Conditional build:
+%bcond_with    tests           # build without tests
+
+%define        pkgname aruba
+Summary:       CLI Steps for Cucumber, hand-crafted for you in Aruba
+Name:          rubygem-%{pkgname}
+Version:       0.5.2
+Release:       1
+Group:         Development/Languages
+# aruba itself is MIT
+# icons in templates/images are CC-BY
+# jquery.js itself is MIT or GPLv2
+# jquery.js includes sizzle.js, which is MIT or BSD or GPLv2
+License:       MIT and CC-BY and (MIT or GPLv2) and (MIT or BSD or GPLv2)
+Source0:       http://rubygems.org/gems/%{pkgname}-%{version}.gem
+# Source0-md5: e048f42c74d41f6587bfdec83bec7a31
+URL:           http://github.com/cucumber/aruba
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires: ruby-bcat >= 0.6.1
+BuildRequires: ruby-kramdown < 1
+BuildRequires: ruby-kramdown >= 0.14
+BuildRequires: ruby-rake >= 0.9.2
+BuildRequires: ruby-rspec >= 2.7.0
+%endif
+# Doesn't work with ffi 1.0.10, see https://github.com/cucumber/aruba/issues/114
+BuildConflicts:        ruby-ffi = 1.0.10
+# used in one of the features
+BuildRequires: bc
+Requires:      ruby-childprocess < 0.4
+Requires:      ruby-childprocess >= 0.3.6
+Requires:      ruby-cucumber >= 1.1.1
+Requires:      ruby-rspec-expectations >= 2.7.0
+Conflicts:     ruby-ffi = 1.0.10
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Aruba is Cucumber extension for Command line applications written in
+any programming language.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%build
+%if %{with tests}
+cucumber
+rspec spec
+%endif
+
+%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 History.md LICENSE
+%{ruby_vendorlibdir}/%{pkgname}.rb
+%{ruby_vendorlibdir}/%{pkgname}
This page took 0.085182 seconds and 4 git commands to generate.