commit af0f6fa736f8c9e3d64c3bbf0db70c268b3608db
Author: Elan Ruusamäe <[email protected]>
Date:   Sun Nov 6 23:17:22 2016 +0200

    new, version 0.5.3
    
    created with gem2rpm

 ruby-molinillo.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
---
diff --git a/ruby-molinillo.spec b/ruby-molinillo.spec
new file mode 100644
index 0000000..96f8904
--- /dev/null
+++ b/ruby-molinillo.spec
@@ -0,0 +1,48 @@
+#
+# Conditional build:
+%bcond_with    tests           # build without tests
+
+%define        pkgname molinillo
+Summary:       Provides support for dependency resolution
+Name:          ruby-%{pkgname}
+Version:       0.5.3
+Release:       1
+License:       MIT
+Group:         Development/Languages
+Source0:       http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: d6ddb7d72ba3e7c242453eacd8347adb
+URL:           https://github.com/CocoaPods/Molinillo
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires: ruby-bundler < 2
+BuildRequires: ruby-bundler >= 1.5
+BuildRequires: ruby-rake
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Provides support for dependency resolution.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%build
+# write .gemspec
+%__gem_helper spec
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{ruby_vendorlibdir}/%{pkgname}.rb
+%{ruby_vendorlibdir}/%{pkgname}
+%{ruby_specdir}/%{pkgname}-%{version}.gemspec
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-molinillo.git/commitdiff/af0f6fa736f8c9e3d64c3bbf0db70c268b3608db

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

Reply via email to