[packages/capistrano] new, version 3.4.0
glen
glen at pld-linux.org
Mon Mar 14 11:26:26 CET 2016
commit 982b35fba0a295a6a13022040384c070e79fb8ab
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Mar 14 12:25:59 2016 +0200
new, version 3.4.0
created with gem2rpm
capistrano.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
---
diff --git a/capistrano.spec b/capistrano.spec
new file mode 100644
index 0000000..b9e5c5d
--- /dev/null
+++ b/capistrano.spec
@@ -0,0 +1,57 @@
+#
+# Conditional build:
+%bcond_with tests # build without tests
+
+Summary: distributed application deployment system
+Name: capistrano
+Version: 3.4.0
+Release: 0.1
+License: MIT
+Group: Development
+Source0: http://rubygems.org/downloads/%{name}-%{version}.gem
+# Source0-md5: bca5e780742bb8ea95cf6fb0803edf58
+URL: http://capistranorb.com/
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+BuildRequires: sed >= 4.0
+%if %{with tests}
+BuildRequires: ruby-mocha
+BuildRequires: ruby-rspec
+%endif
+Requires: ruby-i18n
+Requires: ruby-rake >= 10.0.0
+Requires: ruby-sshkit < 2
+Requires: ruby-sshkit >= 1.3
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Capistrano is a utility and framework for executing commands in
+parallel on multiple remote machines, via SSH.
+
+%prep
+%setup -q
+%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+
+%build
+# write .gemspec
+%__gem_helper spec
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir},%{_bindir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
+cp -p %{name}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/cap
+%attr(755,root,root) %{_bindir}/capify
+%{ruby_vendorlibdir}/%{name}.rb
+%{ruby_vendorlibdir}/%{name}
+%{ruby_vendorlibdir}/Capfile
+%{ruby_specdir}/%{name}-%{version}.gemspec
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/capistrano.git/commitdiff/982b35fba0a295a6a13022040384c070e79fb8ab
More information about the pld-cvs-commit
mailing list