]> git.pld-linux.org Git - packages/test-kitchen.git/commitdiff
new, version 1.0.0.beta.3
authorElan Ruusamäe <glen@delfi.ee>
Wed, 25 Sep 2013 18:15:19 +0000 (21:15 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 25 Sep 2013 18:15:19 +0000 (21:15 +0300)
test-kitchen.spec [new file with mode: 0644]

diff --git a/test-kitchen.spec b/test-kitchen.spec
new file mode 100644 (file)
index 0000000..2e310a7
--- /dev/null
@@ -0,0 +1,74 @@
+#
+# Conditional build:
+%bcond_with    tests           # build without tests
+
+%define                rel             1
+%define                subver  beta.3
+Summary:       A Chef convergence integration test harness
+Name:          test-kitchen
+Version:       1.0.0
+Release:       0.%{subver}.%{rel}
+License:       Apache v2.0
+Group:         Development/Languages
+Source0:       http://rubygems.org/downloads/%{name}-%{version}.%{subver}.gem
+# Source0-md5: f93168613f72fcca512a0e23d546461f
+URL:           https://github.com/opscode/test-kitchen
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+BuildRequires: sed >= 4.0
+%if %{with tests}
+BuildRequires: ruby-aruba < 1
+BuildRequires: ruby-aruba >= 0.5
+BuildRequires: ruby-bundler < 2
+BuildRequires: ruby-bundler >= 1.3
+BuildRequires: ruby-cane
+BuildRequires: ruby-countloc
+BuildRequires: ruby-fakefs
+BuildRequires: ruby-guard-cucumber
+BuildRequires: ruby-guard-minitest
+BuildRequires: ruby-maruku
+BuildRequires: ruby-minitest < 5
+BuildRequires: ruby-minitest >= 4.7
+BuildRequires: ruby-mocha
+BuildRequires: ruby-rake
+BuildRequires: ruby-simplecov
+BuildRequires: ruby-tailor
+BuildRequires: ruby-yard
+%endif
+Requires:      ruby-celluloid
+Requires:      ruby-mixlib-shellout
+Requires:      ruby-net-scp
+Requires:      ruby-net-ssh
+Requires:      ruby-pry
+Requires:      ruby-rubygems > 1.3.1
+Requires:      ruby-safe_yaml < 0.10
+Requires:      ruby-safe_yaml >= 0.9.5
+Requires:      ruby-thor
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Chef convergence integration test harness.
+
+%prep
+%setup -q
+%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md CHANGELOG.md LICENSE
+%attr(755,root,root) %{_bindir}/kitchen
+%{ruby_vendorlibdir}/kitchen.rb
+%{ruby_vendorlibdir}/kitchen
+# FIXME should be in subdir of this package, or unvendored
+%dir %{ruby_vendorlibdir}/vendor
+%{ruby_vendorlibdir}/vendor/hash_recursive_merge.rb
This page took 0.122794 seconds and 4 git commands to generate.