[packages/ruby-pusher-client] new, version 0.6.2

glen glen at pld-linux.org
Mon Apr 18 20:51:29 CEST 2016


commit 41826be5b15c8ccfb7ea3569f55a14db21715659
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Apr 18 21:50:39 2016 +0300

    new, version 0.6.2
    
    created with:
     gem fetch pusher-client -v 0.6.2
     gem2rpm *.gem -o ruby-pusher-client.spec

 ruby-pusher-client.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
---
diff --git a/ruby-pusher-client.spec b/ruby-pusher-client.spec
new file mode 100644
index 0000000..22f2547
--- /dev/null
+++ b/ruby-pusher-client.spec
@@ -0,0 +1,51 @@
+#
+# Conditional build:
+%bcond_with	tests		# build without tests
+
+%define	pkgname	pusher-client
+Summary:	Client for consuming WebSockets from pusher.com
+Name:		ruby-%{pkgname}
+Version:	0.6.2
+Release:	1
+License:	MIT
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	a1bdd906062e16b0b43c57eca897c407
+URL:		http://github.com/pusher/pusher-ruby-client
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires:	ruby-bundler
+BuildRequires:	ruby-rake
+BuildRequires:	ruby-rspec
+%endif
+Requires:	ruby-json
+Requires:	ruby-websocket < 2
+Requires:	ruby-websocket >= 1.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Client for consuming WebSockets from <http://pusher.com>.
+
+%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-pusher-client.git/commitdiff/41826be5b15c8ccfb7ea3569f55a14db21715659



More information about the pld-cvs-commit mailing list