commit eb939053bcc04e8cd33272adfc54782b027e85eb
Author: Elan Ruusamäe <[email protected]>
Date:   Thu Aug 4 08:36:43 2016 +0300

    new, version 1.8.17
    
    created with gem2rpm-0.11.3

 ruby-dpl.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
---
diff --git a/ruby-dpl.spec b/ruby-dpl.spec
new file mode 100644
index 0000000..4bac25a
--- /dev/null
+++ b/ruby-dpl.spec
@@ -0,0 +1,54 @@
+#
+# Conditional build:
+%bcond_with    tests           # build without tests
+
+%define        pkgname dpl
+Summary:       deploy tool
+Name:          ruby-%{pkgname}
+Version:       1.8.17
+Release:       1
+License:       MIT
+Group:         Development/Languages
+Source0:       http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: 0a2850f9b69f87583b92716b35b4cc49
+URL:           https://github.com/travis-ci/dpl
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+BuildRequires: sed >= 4.0
+%if %{with tests}
+BuildRequires: ruby-coveralls
+BuildRequires: ruby-json = 1.8.1
+BuildRequires: ruby-rake
+BuildRequires: ruby-rspec < 3.1
+BuildRequires: ruby-rspec >= 3.0.0
+BuildRequires: ruby-rspec-its
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+deploy tool abstraction for clients.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+%{__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 %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/dpl
+%{ruby_vendorlibdir}/%{pkgname}
+%{ruby_specdir}/%{pkgname}-%{version}.gemspec
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-dpl.git/commitdiff/eb939053bcc04e8cd33272adfc54782b027e85eb

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to