[packages/ruby-insist] new, version 0.0.5

glen glen at pld-linux.org
Tue Aug 25 14:19:34 CEST 2015


commit 3929db190c06c97997cb64aaa85a25ea604146e7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Aug 25 15:19:09 2015 +0300

    new, version 0.0.5

 ruby-insist.spec | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
---
diff --git a/ruby-insist.spec b/ruby-insist.spec
new file mode 100644
index 0000000..26cceec
--- /dev/null
+++ b/ruby-insist.spec
@@ -0,0 +1,40 @@
+%define	pkgname	insist
+Summary:	A simple block-driven assertion library for both testing and for production code
+Name:		ruby-%{pkgname}
+Version:	0.0.5
+Release:	0.1
+License:	Apache v2.0
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	b45ffe184c459491ae957e8a0b807f9b
+URL:		https://github.com/jordansissel/ruby-insist
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A simple block-driven assertion library for both testing and for
+production code.
+
+%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-insist.git/commitdiff/3929db190c06c97997cb64aaa85a25ea604146e7



More information about the pld-cvs-commit mailing list