[packages/ruby-git] new, version 1.2.6

glen glen at pld-linux.org
Wed Nov 20 13:14:28 CET 2013


commit f64ec6c21e96b64dfedefe2699622e90540988d6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Nov 20 14:14:11 2013 +0200

    new, version 1.2.6
    
    created with gem2rpm

 ruby-git.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
---
diff --git a/ruby-git.spec b/ruby-git.spec
new file mode 100644
index 0000000..29d244d
--- /dev/null
+++ b/ruby-git.spec
@@ -0,0 +1,46 @@
+#
+# Conditional build:
+%bcond_with	tests		# build without tests
+
+%define	pkgname	git
+Summary:	A package for using Git in Ruby code
+Name:		ruby-%{pkgname}
+Version:	1.2.6
+Release:	1
+License:	MIT
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	85605987c990e53824aed80ad6f1a2b7
+URL:		http://github.com/schacon/ruby-git
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+%if %{with tests}
+BuildRequires:	ruby-rake
+BuildRequires:	ruby-rdoc
+BuildRequires:	ruby-test-unit
+%endif
+Requires:	git-core
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ruby/Git is a Ruby library that can be used to create, read and
+manipulate Git repositories by wrapping system calls to the git
+binary.
+
+%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.md LICENSE
+%{ruby_vendorlibdir}/%{pkgname}.rb
+%{ruby_vendorlibdir}/%{pkgname}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-git.git/commitdiff/f64ec6c21e96b64dfedefe2699622e90540988d6



More information about the pld-cvs-commit mailing list