[packages/ruby-netrc] new, version 0.7.7

glen glen at pld-linux.org
Sun Apr 14 16:17:30 CEST 2013


commit 34aea0402b7ac877457a7586023cc2248b5f73c5
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Apr 14 17:17:00 2013 +0300

    new, version 0.7.7
    
    based on fedora rubygem-netrc package
    962e9b2d07c2dd93e1476204055d69454d2f03d2

 ruby-netrc.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
---
diff --git a/ruby-netrc.spec b/ruby-netrc.spec
new file mode 100644
index 0000000..49131fe
--- /dev/null
+++ b/ruby-netrc.spec
@@ -0,0 +1,55 @@
+#
+# Conditional build:
+%bcond_without	tests		# build without tests
+
+%define	gem_name netrc
+Summary:	Library to read and write netrc files
+Name:		ruby-%{gem_name}
+Version:	0.7.7
+Release:	1
+License:	MIT
+Group:		Development/Languages
+Source0:	http://rubygems.org/gems/%{gem_name}-%{version}.gem
+# Source0-md5:	1322b2053484eec64992e00c7f71cd69
+URL:		https://github.com/geemus/netrc
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires:	rubygem-minitest
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This library can read and update netrc files, preserving formatting
+including comments and whitespace.
+
+%package doc
+Summary:	Documentation for %{name}
+Group:		Documentation
+Requires:	%{name} = %{version}-%{release}
+BuildArch:	noarch
+
+%description doc
+Documentation for %{name}
+
+%prep
+%setup -q -n %{gem_name}-%{version}
+
+%build
+%if %{with tests}
+testrb -Ilib test
+%endif
+
+%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.md LICENSE changelog.txt
+%{ruby_vendorlibdir}/netrc.rb
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-netrc.git/commitdiff/34aea0402b7ac877457a7586023cc2248b5f73c5



More information about the pld-cvs-commit mailing list