Initial commit (#814071)

f38
Bohuslav Kabrda 13 years ago
parent b1c6445324
commit 8201c2457a

1
.gitignore vendored

@ -0,0 +1 @@
/aruba-0.4.11.gem

@ -0,0 +1,32 @@
--- specifications/aruba-0.4.11.gemspec.orig 2012-04-19 08:35:59.000000000 +0200
+++ specifications/aruba-0.4.11.gemspec 2012-04-19 08:38:14.294458217 +0200
@@ -20,8 +20,7 @@
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<cucumber>, [">= 1.1.1"])
- s.add_runtime_dependency(%q<childprocess>, [">= 0.2.3"])
+ s.add_runtime_dependency(%q<childprocess>, [">= 0.2.0"])
- s.add_runtime_dependency(%q<ffi>, [">= 1.0.11"])
s.add_runtime_dependency(%q<rspec>, [">= 2.7.0"])
s.add_development_dependency(%q<bcat>, [">= 0.6.1"])
s.add_development_dependency(%q<rdiscount>, [">= 1.6.8"])
@@ -28,8 +28,7 @@
s.add_development_dependency(%q<rake>, [">= 0.9.2"])
else
s.add_dependency(%q<cucumber>, [">= 1.1.1"])
- s.add_dependency(%q<childprocess>, [">= 0.2.3"])
+ s.add_dependency(%q<childprocess>, [">= 0.2.0"])
- s.add_dependency(%q<ffi>, [">= 1.0.11"])
s.add_dependency(%q<rspec>, [">= 2.7.0"])
s.add_dependency(%q<bcat>, [">= 0.6.1"])
s.add_dependency(%q<rdiscount>, [">= 1.6.8"])
@@ -37,8 +37,7 @@
end
else
s.add_dependency(%q<cucumber>, [">= 1.1.1"])
- s.add_dependency(%q<childprocess>, [">= 0.2.3"])
+ s.add_dependency(%q<childprocess>, [">= 0.2.0"])
- s.add_dependency(%q<ffi>, [">= 1.0.11"])
s.add_dependency(%q<rspec>, [">= 2.7.0"])
s.add_dependency(%q<bcat>, [">= 0.6.1"])
s.add_dependency(%q<rdiscount>, [">= 1.6.8"])

@ -0,0 +1,101 @@
# Generated from aruba-0.4.11.gem by gem2rpm -*- rpm-spec -*-
%global gem_name aruba
%global rubyabi 1.9.1
Summary: CLI Steps for Cucumber, hand-crafted for you in Aruba
Name: rubygem-%{gem_name}
Version: 0.4.11
Release: 2%{?dist}
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)
URL: http://github.com/cucumber/aruba
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
Patch0: aruba-downgrade-childprocess-dependency.patch
Requires: ruby(abi) = %{rubyabi}
Requires: ruby(rubygems)
Requires: rubygem(cucumber) >= 1.1.1
Requires: rubygem(childprocess) >= 0.2.0
# Doesn't work with ffi 1.0.10, see https://github.com/cucumber/aruba/issues/114
Conflicts: rubygem(ffi) = 1.0.10
Requires: rubygem(rspec) >= 2.7.0
BuildRequires: ruby(abi) = %{rubyabi}
BuildRequires: rubygems-devel
BuildRequires: ruby
BuildRequires: rubygem(cucumber) >= 1.1.1
BuildRequires: rubygem(childprocess) >= 0.2.0
BuildConflicts: rubygem(ffi) = 1.0.10
BuildRequires: rubygem(rspec) >= 2.7.0
# used in one of the features
BuildRequires: bc
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
%description
Aruba is Cucumber extension for Command line applications written
in any programming language.
%package doc
Summary: Documentation for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
Documentation for %{name}
%prep
%setup -q -c -T
mkdir -p .%{gem_dir}
gem install --local --install-dir .%{gem_dir} \
--force %{SOURCE0}
pushd .%{gem_dir}
%patch0 -p0
popd
%build
%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%check
pushd .%{gem_instdir}
cucumber
rspec spec
popd
%files
%dir %{gem_instdir}
%doc %{gem_instdir}/LICENSE
%{gem_libdir}
%exclude %{gem_instdir}/.*
%exclude %{gem_instdir}/config
%exclude %{gem_cache}
%{gem_spec}
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/History.md
%doc %{gem_instdir}/README.md
%{gem_instdir}/Gemfile
%{gem_instdir}/Rakefile
%{gem_instdir}/%{gem_name}.gemspec
%{gem_instdir}/cucumber.yml
%{gem_instdir}/features
%{gem_instdir}/spec
%{gem_instdir}/templates
%changelog
* Thu Apr 19 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.4.11-2
- Remove the ffi dependency and add conflicts with the problematic version.
* Fri Feb 24 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.4.11-1
- Initial package

@ -0,0 +1 @@
011fbe6cf90c0d66db10f46dfc161cc1 aruba-0.4.11.gem
Loading…
Cancel
Save