[packages/ruby-pony] new, vesion 1.5

glen glen at pld-linux.org
Mon Sep 9 22:01:32 CEST 2013


commit c02aefaf1da99f7fe260b3b739c6ae855939bae5
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Sep 9 23:01:12 2013 +0300

    new, vesion 1.5
    
    created with gem2rpm

 ruby-pony.spec | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
---
diff --git a/ruby-pony.spec b/ruby-pony.spec
new file mode 100644
index 0000000..e91f665
--- /dev/null
+++ b/ruby-pony.spec
@@ -0,0 +1,41 @@
+#
+# Conditional build:
+%bcond_with	tests		# build without tests
+
+%define	pkgname	pony
+Summary:	The express way to send mail from Ruby
+Name:		ruby-%{pkgname}
+Version:	1.5
+Release:	1
+License:	MIT
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	9346458b526468675c345f2e9311b2a2
+URL:		http://github.com/benprew/pony
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires:	ruby-rspec >= 2.0.0
+%endif
+Requires:	ruby-mail > 2.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Send email in one command.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rdoc
+%{ruby_vendorlibdir}/%{pkgname}.rb
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-pony.git/commitdiff/c02aefaf1da99f7fe260b3b739c6ae855939bae5



More information about the pld-cvs-commit mailing list