]> git.pld-linux.org Git - packages/chefdk.git/commitdiff
new, version 0.0.1
authorElan Ruusamäe <glen@delfi.ee>
Wed, 16 Apr 2014 07:02:41 +0000 (10:02 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 16 Apr 2014 07:02:41 +0000 (10:02 +0300)
see blog bost of the first release:
http://www.getchef.com/blog/2014/04/15/chef-development-kit/

seems to require newer ruby than 1.9 (syntax errors)

chefdk.spec [new file with mode: 0644]

diff --git a/chefdk.spec b/chefdk.spec
new file mode 100644 (file)
index 0000000..df742e4
--- /dev/null
@@ -0,0 +1,57 @@
+# NOTE
+# - this package by upstream is bundle (345M download, 1.5G unpacked) of all dependencies plus new tool called 'chef'
+Summary:       Chef Development Kit
+Name:          chefdk
+Version:       0.0.1
+Release:       0.1
+License:       Apache v2.0
+Group:         Networking/Admin
+Source0:       https://github.com/opscode/chef-dk/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 80f274de84f339971e7afa0de463a842
+URL:           https://github.com/opscode/chef-dk
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.673
+BuildRequires: sed >= 4.0
+%if %{with tests}
+%endif
+Requires:      berkshelf
+Requires:      chef
+Requires:      chef-spec
+Requires:      foodcritic
+Requires:      knife
+Requires:      ruby(abi) >= 2.0
+Requires:      test-kitchen
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Chef Development Kit (Chef DK) brings Chef and the development tools
+developed by the Chef Community together and acts as the consistent
+interface to this awesomeness.
+
+This awesomeness is composed of:
+- chef
+- berkshelf
+- test-kitchen
+- ChefSpec
+- foodcritic
+
+%prep
+%setup -q -n chef-dk-%{version}
+
+%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 CONTRIBUTING.md CHANGELOG.md
+%attr(755,root,root) %{_bindir}/chef
+%{ruby_vendorlibdir}/chef-dk.rb
+%{ruby_vendorlibdir}/chef-dk
This page took 0.082506 seconds and 4 git commands to generate.