packages: ruby-cloudkit/ruby-cloudkit-nogems.patch (NEW), ruby-cloudkit/rub...
aredridel
aredridel at pld-linux.org
Sun Aug 29 22:22:12 CEST 2010
Author: aredridel Date: Sun Aug 29 20:22:12 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- added
---- Files affected:
packages/ruby-cloudkit:
ruby-cloudkit-nogems.patch (NONE -> 1.1) (NEW), ruby-cloudkit.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/ruby-cloudkit/ruby-cloudkit-nogems.patch
diff -u /dev/null packages/ruby-cloudkit/ruby-cloudkit-nogems.patch:1.1
--- /dev/null Sun Aug 29 22:22:12 2010
+++ packages/ruby-cloudkit/ruby-cloudkit-nogems.patch Sun Aug 29 22:22:06 2010
@@ -0,0 +1,8 @@
+diff -ur jcrosby-cloudkit-781f4d8-o/lib/cloudkit.rb jcrosby-cloudkit-781f4d8/lib/cloudkit.rb
+--- jcrosby-cloudkit-781f4d8-o/lib/cloudkit.rb 2009-05-05 11:00:21.000000000 -0600
++++ jcrosby-cloudkit-781f4d8/lib/cloudkit.rb 2010-08-29 14:19:38.000000000 -0600
+@@ -1,4 +1,3 @@
+-require 'rubygems'
+ require 'erb'
+ require 'json'
+ require 'digest/md5'
================================================================
Index: packages/ruby-cloudkit/ruby-cloudkit.spec
diff -u /dev/null packages/ruby-cloudkit/ruby-cloudkit.spec:1.1
--- /dev/null Sun Aug 29 22:22:12 2010
+++ packages/ruby-cloudkit/ruby-cloudkit.spec Sun Aug 29 22:22:06 2010
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+
+%define gitrev a053474
+%define gitauthor jcrosby
+%define gitname cloudkit
+%define gitwtf 781f4d8
+
+Summary: Ruby interface to Git
+Name: ruby-cloudkit
+Version: 0.11.2
+Release: 1
+License: MIT
+Group: Development/Tools
+Source0: http://download.github.com/%{gitauthor}-%{gitname}-%{version}-0-g%{gitrev}.tar.gz
+# Source0-md5: 18ddfd056b4e5a4f8bbcc05ed9029364
+Patch0: %{name}-nogems.patch
+URL: http://cloudkit.rubyforge.org/
+BuildRequires: rpmbuild(macros) >= 1.277
+BuildRequires: ruby
+BuildRequires: ruby-modules
+BuildRequires: setup.rb = 3.4.1
+%{?ruby_mod_ver_requires_eq}
+#BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Grit gives you object oriented read/write access to Git repositories via Ruby.
+The main goals are stability and performance. To this end, some of the
+interactions with Git repositories are done by shelling out to the system's
+`git` command, and other interactions are done with pure Ruby reimplementations
+of core Git functionality. This choice, however, is transparent to end users,
+and you need not know which method is being used.
+
+%prep
+%setup -q -n %{gitauthor}-%{gitname}-%{gitwtf}
+%patch0 -p1
+cp %{_datadir}/setup.rb .
+ruby setup.rb config \
+ --installdirs=std
+ruby setup.rb setup
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+ruby setup.rb install \
+ --prefix=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+/usr/lib/ruby/1.8/cloudkit.rb
+/usr/lib/ruby/1.8/cloudkit
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2010/08/29 20:22:06 aredridel
+- added
+
================================================================
More information about the pld-cvs-commit
mailing list