You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
193 lines
5.4 KiB
193 lines
5.4 KiB
# Generated from aruba-0.4.11.gem by gem2rpm -*- rpm-spec -*-
|
|
%global gem_name aruba
|
|
|
|
Summary: CLI Steps for Cucumber, hand-crafted for you in Aruba
|
|
Name: rubygem-%{gem_name}
|
|
Version: 0.14.7
|
|
Release: 2%{?dist}
|
|
# 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
|
|
BuildRequires: ruby(release)
|
|
BuildRequires: rubygems-devel
|
|
BuildRequires: ruby
|
|
BuildRequires: rubygem(cucumber) >= 1.3.19
|
|
BuildRequires: rubygem(childprocess) >= 0.5.6
|
|
BuildRequires: rubygem(ffi) >= 1.9.10
|
|
BuildRequires: rubygem(rspec) >= 3
|
|
BuildRequires: rubygem(contracts) >= 0.9
|
|
BuildRequires: rubygem(thor) >= 0.19
|
|
# For full %%check, the below is needed
|
|
# BuildRequires: rubygem(aruba-rspec)
|
|
# BuildRequires: rubygem(fuubar)
|
|
# 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}
|
|
Requires: %{name} = %{version}-%{release}
|
|
BuildArch: noarch
|
|
|
|
%description doc
|
|
Documentation for %{name}
|
|
|
|
%prep
|
|
%setup -q -c -T
|
|
|
|
# Gem repack
|
|
TOPDIR=$(pwd)
|
|
mkdir tmpunpackdir
|
|
pushd tmpunpackdir
|
|
|
|
gem unpack %{SOURCE0}
|
|
cd %{gem_name}-%{version}
|
|
|
|
gem specification -l --ruby %{SOURCE0} > %{gem_name}.gemspec
|
|
|
|
# Allow childprocess 0.5.6
|
|
sed -i \
|
|
-e '/add_runtime_dependency.*childprocess/s|>= 0.6.3|>= 0.5.6|' \
|
|
%{gem_name}.gemspec
|
|
|
|
gem build %{gem_name}.gemspec
|
|
mv %{gem_name}-%{version}.gem $TOPDIR
|
|
|
|
popd
|
|
rm -rf tmpunpackdir
|
|
|
|
%build
|
|
%gem_install
|
|
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
cp -a .%{gem_dir}/* \
|
|
%{buildroot}%{gem_dir}/
|
|
|
|
rm -f %{buildroot}%{gem_cache}
|
|
pushd %{buildroot}%{gem_instdir}
|
|
rm -rf \
|
|
.[^.]* \
|
|
Gemfile \
|
|
Rakefile \
|
|
appveyor.yml \
|
|
%{gem_name}.gemspec \
|
|
cucumber.yml \
|
|
config/ \
|
|
fixtures/ \
|
|
spec/ \
|
|
script/ \
|
|
%{nil}
|
|
|
|
%check
|
|
pushd .%{gem_instdir}
|
|
cucumber || true
|
|
rspec spec || true
|
|
popd
|
|
|
|
|
|
%files
|
|
%dir %{gem_instdir}
|
|
%doc %{gem_instdir}/LICENSE
|
|
%doc %{gem_instdir}/README.md
|
|
%{gem_libdir}
|
|
%{gem_instdir}/bin/
|
|
%exclude %{gem_instdir}/config
|
|
%{gem_spec}
|
|
|
|
%files doc
|
|
%doc %{gem_docdir}
|
|
%doc %{gem_instdir}/CONTRIBUTING.md
|
|
%doc %{gem_instdir}/History.md
|
|
%doc %{gem_instdir}/TODO.md
|
|
%{gem_instdir}/doc/
|
|
%{gem_instdir}/features/
|
|
%{gem_instdir}/templates/
|
|
|
|
%changelog
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.7-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Tue Jan 29 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.7-1
|
|
- 0.14.7
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.6-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Mon Jul 2 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.6-1
|
|
- 0.14.6
|
|
|
|
* Fri Apr 6 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.5-1
|
|
- 0.14.5
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.3-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Sun Dec 31 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.3-1
|
|
- 0.14.3
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Mon Jan 2 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.2-1
|
|
- 0.14.2
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Thu Jan 15 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.6.2-1
|
|
- 0.6.2
|
|
|
|
* Mon Sep 1 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.6.1-1
|
|
- 0.6.1
|
|
|
|
* Wed Aug 13 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.6.0-1
|
|
- 0.6.0
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Wed May 14 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.4-1
|
|
- 0.5.4
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Mon Apr 22 2013 Josef Stribny <jstribny@redhat.com> - 0.5.2-1
|
|
- Update to aruba 0.5.2
|
|
|
|
* Sat Feb 23 2013 Vít Ondruch <vondruch@redhat.com> - 0.4.11-6
|
|
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
|
* Mon Feb 18 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 0.4.11-5
|
|
- Disable tests that do not actually test anything (patch from upstream).
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.11-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.11-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* 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
|