[packages/ruby-addressable] new, version 2.3.4

glen glen at pld-linux.org
Wed Jun 19 23:21:14 CEST 2013


commit 1189f9f4614159bbaad0de6cd3d8f6a5daca311b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jun 20 00:04:58 2013 +0300

    new, version 2.3.4
    
    created with gem2rpm

 ruby-addressable.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
---
diff --git a/ruby-addressable.spec b/ruby-addressable.spec
new file mode 100644
index 0000000..82a38ee
--- /dev/null
+++ b/ruby-addressable.spec
@@ -0,0 +1,49 @@
+#
+# Conditional build:
+%bcond_with	tests		# build without tests
+
+%define	pkgname	addressable
+Summary:	Improved URI/URL Implementation
+Name:		ruby-%{pkgname}
+Version:	2.3.4
+Release:	1
+License:	Apache License 2.0
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	8f65a872503163a710f69b0fa2e9c4e3
+URL:		http://addressable.rubyforge.org/
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires:	ruby-launchy >= 0.3.2
+BuildRequires:	ruby-rake >= 0.7.3
+BuildRequires:	ruby-rspec >= 2.9.0
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Addressable is a replacement for the URI implementation that is part of
+Ruby's standard library. It more closely conforms to the relevant RFCs and
+adds support for IRIs and URI templates.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%build
+%if %{with tests}
+rspec spec/
+%endif
+
+%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.md CHANGELOG.md LICENSE.txt
+%{ruby_vendorlibdir}/%{pkgname}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-addressable.git/commitdiff/1189f9f4614159bbaad0de6cd3d8f6a5daca311b



More information about the pld-cvs-commit mailing list