[packages/ruby-omnibus: 1/2] new version 1.0.4
glen
glen at pld-linux.org
Tue Jun 18 22:39:56 CEST 2013
commit 0265c41c21adf0a219a81d7af965e7afaba4d81c
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jun 18 23:38:48 2013 +0300
new version 1.0.4
created with gem2rpm
ruby-omnibus.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
---
diff --git a/ruby-omnibus.spec b/ruby-omnibus.spec
new file mode 100644
index 0000000..0663a52
--- /dev/null
+++ b/ruby-omnibus.spec
@@ -0,0 +1,55 @@
+#
+# Conditional build:
+%bcond_with tests # build without tests
+
+%define pkgname omnibus
+Summary: Omnibus helps you build self-installing, full-stack software builds
+Name: ruby-%{pkgname}
+Version: 1.0.4
+Release: 1
+License: Apache v2.0
+Group: Development/Languages
+Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: 4ae9235161a1553a87abca21f6672414
+URL: https://github.com/opscode/omnibus-ruby
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+BuildRequires: sed >= 4.0
+%if %{with tests}
+BuildRequires: ruby-rspec
+BuildRequires: ruby-rspec_junit_formatter
+%endif
+Requires: ruby-fpm < 0.5
+Requires: ruby-fpm >= 0.4.33
+Requires: ruby-mixlib-config < 1.2
+Requires: ruby-mixlib-config >= 1.1.2
+Requires: ruby-mixlib-shellout < 2
+Requires: ruby-mixlib-shellout >= 1.0
+Requires: ruby-ohai >= 0.6.12
+Requires: ruby-rake >= 0.9
+Requires: ruby-thor >= 0.16.0
+Requires: ruby-uber-s3
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Omnibus helps you build self-installing, full-stack software builds.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+%{__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)
+%attr(755,root,root) %{_bindir}/omnibus
+%{ruby_vendorlibdir}/%{pkgname}.rb
+%{ruby_vendorlibdir}/%{pkgname}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-omnibus.git/commitdiff/bfd280ba0d2e076f9c4ebe129c81ba65491300c9
More information about the pld-cvs-commit
mailing list