Author: aredridel Date: Sat Aug 28 15:43:10 2010 GMT Module: packages Tag: HEAD ---- Log message: - added
---- Files affected: packages/ruby-grit: ruby-grit.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/ruby-grit/ruby-grit.spec diff -u /dev/null packages/ruby-grit/ruby-grit.spec:1.1 --- /dev/null Sat Aug 28 17:43:10 2010 +++ packages/ruby-grit/ruby-grit.spec Sat Aug 28 17:43:05 2010 @@ -0,0 +1,60 @@ +# $Revision$, $Date$ + +%define gitrev 7609e74 +%define gitauthor mojombo + +Summary: Ruby interface to Git +Name: ruby-grit +Version: 2.2.0 +Release: 1 +License: MIT +Group: Development/Tools +Source0: http://download.github.com/%{gitauthor}-grit-v%{version}-0-g%{gitrev}.tar.gz +# Source0-md5: 5e6a2d136de6c66059d439f3e2a41b55 +URL: http://grit.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}-grit-%{gitrev} +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/grit.rb +/usr/lib/ruby/1.8/grit + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2010/08/28 15:43:05 aredridel +- added + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
