]> git.pld-linux.org Git - packages/ruby-http_connection.git/commitdiff
new, version 1.4.1 auto/th/ruby-http_connection-1.4.1-1
authorElan Ruusamäe <glen@delfi.ee>
Wed, 24 Apr 2013 19:56:41 +0000 (22:56 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 24 Apr 2013 19:56:41 +0000 (22:56 +0300)
based on fedora rubygem-http_connection package
fbcaaec70ccad9b96efa9c7a8ed13314118a9a51

ruby-http_connection.spec [new file with mode: 0644]

diff --git a/ruby-http_connection.spec b/ruby-http_connection.spec
new file mode 100644 (file)
index 0000000..8b73c61
--- /dev/null
@@ -0,0 +1,36 @@
+%define        gem_name http_connection
+Summary:       RightScale's robust HTTP/S connection module
+Name:          ruby-%{gem_name}
+Version:       1.4.1
+Release:       1
+License:       MIT
+Group:         Development/Languages
+Source0:       http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
+# Source0-md5: 5329fb3e933dbf7243c2ab08c5024b6b
+URL:           https://github.com/appoxy/http_connection
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Rightscale::HttpConnection is a robust HTTP(S) library. It implements
+a retry algorithm for low-level network errors.
+
+%prep
+%setup -q -n %{gem_name}-%{version}
+
+%build
+
+%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.txt
+%{ruby_vendorlibdir}/right_http_connection.rb
This page took 0.06126 seconds and 4 git commands to generate.