[packages/ruby-proxifier] new, version 1.0.3

glen glen at pld-linux.org
Thu Jun 2 21:24:52 CEST 2016


commit 4f5dd7b8112ddf30602e7fa902a55ba768bbc1c4
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jun 2 22:24:37 2016 +0300

    new, version 1.0.3
    
    created with gem2rpm

 ruby-proxifier.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
---
diff --git a/ruby-proxifier.spec b/ruby-proxifier.spec
new file mode 100644
index 0000000..c85e647
--- /dev/null
+++ b/ruby-proxifier.spec
@@ -0,0 +1,47 @@
+%define	pkgname	proxifier
+Summary:	Proxifier is a gem to force ruby to use a proxy
+Name:		ruby-%{pkgname}
+Version:	1.0.3
+Release:	1
+License:	BSD-like
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	abfb31d36a2ea4feac73cd2f0363feaa
+URL:		https://github.com/samuelkadolph/ruby-proxifier
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+BuildRequires:	sed >= 4.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Proxifier adds support for HTTP or SOCKS proxies and lets you force
+TCPSocket to use proxies.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+
+%build
+# write .gemspec
+%__gem_helper spec
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir},%{_bindir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
+cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/pirb
+%attr(755,root,root) %{_bindir}/pruby
+%{ruby_vendorlibdir}/proxifier.rb
+%{ruby_vendorlibdir}/proxifier
+%dir %{ruby_vendorlibdir}/uri
+%{ruby_vendorlibdir}/uri/socks.rb
+%{ruby_specdir}/%{pkgname}-%{version}.gemspec
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-proxifier.git/commitdiff/4f5dd7b8112ddf30602e7fa902a55ba768bbc1c4



More information about the pld-cvs-commit mailing list