[packages/ruby-ftw] new, version 0.0.34
glen
glen at pld-linux.org
Thu Jun 20 13:12:42 CEST 2013
commit d85b33b1b6591fb46e8e1ec48823a7772385842e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Jun 20 14:12:21 2013 +0300
new, version 0.0.34
created with gem2rpm
ruby-ftw.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
---
diff --git a/ruby-ftw.spec b/ruby-ftw.spec
new file mode 100644
index 0000000..19710b8
--- /dev/null
+++ b/ruby-ftw.spec
@@ -0,0 +1,49 @@
+#
+# Conditional build:
+%bcond_with tests # build without tests
+
+%define pkgname ftw
+Summary: Ruby FTW - For The Web. Experimentation in web clients and servers
+Name: ruby-%{pkgname}
+Version: 0.0.34
+Release: 1
+License: Apache v2.0
+Group: Development/Languages
+Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: 1ad00afe5009fdb887c70e3a107891e2
+URL: http://github.com/jordansissel/ruby-ftw
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires: ruby-minitest
+%endif
+Requires: ruby-addressable
+Requires: ruby-backports >= 2.6.2
+Requires: ruby-cabin
+Requires: ruby-http_parser.rb = 0.5.3
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+For The Web. Trying to build a solid and sane API for client and
+server web stuff. Client and Server operations for HTTP, WebSockets,
+SPDY, etc.
+
+%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)
+%{ruby_vendorlibdir}/%{pkgname}.rb
+%{ruby_vendorlibdir}/%{pkgname}
+
+# ruby-rack subpackage?
+%{ruby_vendorlibdir}/rack/handler/ftw.rb
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-ftw.git/commitdiff/d85b33b1b6591fb46e8e1ec48823a7772385842e
More information about the pld-cvs-commit
mailing list