[packages/ruby-ipaddress] new, version 0.8.0
glen
glen at pld-linux.org
Sun Apr 14 15:07:07 CEST 2013
commit 690f39119dac0366005dcbbdad07016468f34baf
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Apr 14 16:06:29 2013 +0300
new, version 0.8.0
created with gem2rpm
ruby-ipaddress.spec | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
---
diff --git a/ruby-ipaddress.spec b/ruby-ipaddress.spec
new file mode 100644
index 0000000..448c8dd
--- /dev/null
+++ b/ruby-ipaddress.spec
@@ -0,0 +1,37 @@
+%define pkgname ipaddress
+Summary: IPv4/IPv6 addresses manipulation library
+Name: ruby-%{pkgname}
+Version: 0.8.0
+Release: 1
+License: Distributable
+Group: Development/Languages
+Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: c1b274b056650390689360c9856f2180
+URL: http://github.com/bluemonk/ipaddress
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+IPAddress is a Ruby library designed to make manipulation of IPv4 and
+IPv6 addresses both powerful and simple. It mantains a layer of
+compatibility with Ruby's own IPAddr, while addressing many of its
+issues.
+
+%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)
+%doc README.rdoc CHANGELOG.rdoc LICENSE
+%{ruby_vendorlibdir}/ipaddress.rb
+%{ruby_vendorlibdir}/ipaddress
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-ipaddress.git/commitdiff/690f39119dac0366005dcbbdad07016468f34baf
More information about the pld-cvs-commit
mailing list