[packages/ruby-fog] new, version 1.7.0

glen glen at pld-linux.org
Sun May 5 16:05:55 CEST 2013


commit 31b2bffe77d30b77ece283079b3e21e19221affe
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun May 5 17:05:30 2013 +0300

    new, version 1.7.0
    
    created with gem2rpm

 ruby-fog.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
---
diff --git a/ruby-fog.spec b/ruby-fog.spec
new file mode 100644
index 0000000..4f15993
--- /dev/null
+++ b/ruby-fog.spec
@@ -0,0 +1,57 @@
+#
+# Conditional build:
+%bcond_without	tests		# build without tests
+
+%define	pkgname	fog
+Summary:	Brings clouds to you
+Name:		ruby-%{pkgname}
+Version:	1.7.0
+Release:	0.1
+License:	MIT
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	be753f15f70e78952fd65a2ea72792b7
+URL:		http://github.com/fog/fog
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+BuildRequires:	sed >= 4.0
+Requires:	ruby-builder
+Requires:	ruby-excon < 1
+Requires:	ruby-excon >= 0.14
+Requires:	ruby-formatador < 0.3
+Requires:	ruby-formatador >= 0.2.0
+Requires:	ruby-mime-types
+Requires:	ruby-multi_json < 2
+Requires:	ruby-multi_json >= 1.0
+Requires:	ruby-net-scp >= 1.0.4
+Requires:	ruby-net-ssh >= 2.1.3
+Requires:	ruby-nokogiri < 1.6
+Requires:	ruby-nokogiri >= 1.5.0
+Requires:	ruby-ruby-hmac
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Ruby cloud services library. Supports all major cloud providers
+including AWS, Rackspace, Linode, Blue Box, StormOnDemand, and many
+others. Full support for most AWS services including EC2, S3,
+CloudWatch, SimpleDB, ELB, and RDS.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/fog
+%{ruby_vendorlibdir}/%{pkgname}.rb
+%{ruby_vendorlibdir}/%{pkgname}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-fog.git/commitdiff/31b2bffe77d30b77ece283079b3e21e19221affe



More information about the pld-cvs-commit mailing list