[packages/ruby-fuzzyurl] new, version 0.8.0

glen glen at pld-linux.org
Wed Jun 1 22:32:40 CEST 2016


commit 081497af2dbe47734a36f0d89cb342ae00757577
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jun 1 23:31:53 2016 +0300

    new, version 0.8.0
    
    created with gem2rpm

 ruby-fuzzyurl.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
---
diff --git a/ruby-fuzzyurl.spec b/ruby-fuzzyurl.spec
new file mode 100644
index 0000000..cad611e
--- /dev/null
+++ b/ruby-fuzzyurl.spec
@@ -0,0 +1,50 @@
+#
+# Conditional build:
+%bcond_with	tests		# build without tests
+
+%define	pkgname	fuzzyurl
+Summary:	A library for non-strict parsing, construction, and wildcard-matching of URLs
+Name:		ruby-%{pkgname}
+Version:	0.8.0
+Release:	1
+License:	MIT
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	28edf07678a73ce1252a9a394b5fe502
+URL:		https://github.com/gamache/fuzzyurl.rb
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires:	ruby-minitest >= 4.7.0
+BuildRequires:	ruby-mocha >= 0.13.3
+BuildRequires:	ruby-pry
+BuildRequires:	ruby-rake >= 10.0.4
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A library for non-strict parsing, construction, and wildcard-matching
+of URLs.
+
+%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-fuzzyurl.git/commitdiff/081497af2dbe47734a36f0d89cb342ae00757577



More information about the pld-cvs-commit mailing list