packages: ruby-sanitize/ruby-sanitize.spec (NEW) - added

aredridel aredridel at pld-linux.org
Sat Aug 28 19:54:59 CEST 2010


Author: aredridel                    Date: Sat Aug 28 17:54:59 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added

---- Files affected:
packages/ruby-sanitize:
   ruby-sanitize.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ruby-sanitize/ruby-sanitize.spec
diff -u /dev/null packages/ruby-sanitize/ruby-sanitize.spec:1.1
--- /dev/null	Sat Aug 28 19:54:59 2010
+++ packages/ruby-sanitize/ruby-sanitize.spec	Sat Aug 28 19:54:54 2010
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+
+%define gitrev d88227e
+%define gitauthor rgrove
+%define gitproject sanitize
+
+Summary:	Ruby interface to Git
+Name:		ruby-sanitize
+Version:	1.2.1
+Release:	1
+License:	MIT
+Group:		Development/Tools
+Source0:	http://download.github.com/%{gitauthor}-%{gitproject}-release-%{version}-0-g%{gitrev}.tar.gz
+# Source0-md5:	da84a9359ecaf5eac7a9cea3c2572d99
+URL:		http://sanitize.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}-%{gitproject}-%{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)
+%{ruby_rubylibdir}/sanitize.rb
+%{ruby_rubylibdir}/sanitize
+
+%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/28 17:54:54  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list