SPECS: ruby-epsilon.spec (NEW) - added

aredridel aredridel at pld-linux.org
Mon Sep 5 08:38:05 CEST 2005


Author: aredridel                    Date: Mon Sep  5 06:38:05 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

---- Files affected:
SPECS:
   ruby-epsilon.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ruby-epsilon.spec
diff -u /dev/null SPECS/ruby-epsilon.spec:1.1
--- /dev/null	Mon Sep  5 08:38:05 2005
+++ SPECS/ruby-epsilon.spec	Mon Sep  5 08:37:59 2005
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+%define	ruby_rubylibdir	%(ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
+%define	ruby_archdir	%(ruby -r rbconfig -e 'print Config::CONFIG["archdir"]')
+%define	ruby_ridir	%(ruby -r rbconfig -e 'include Config; print File.join(CONFIG["datadir"], "ri", CONFIG["ruby_version"], "system")')
+%define	ruby_version	%(ruby -r rbconfig -e 'print Config::CONFIG["ruby_version"]')
+Summary:	Epsilon thumbnail library for Ruby
+Name:		ruby-epsilon
+Version:	0.0.0
+Release:	1
+License:	Ruby License
+Group:		Development/Languages
+Source0:	http://theinternetco.net/projects/ruby/%{name}-%{version}.tar.gz
+# Source0-md5:	3acc9bcf826b29019931fbebc8f4b069
+URL:	http://theinternetco.net/projects/ruby/ruby-epsilon
+BuildRequires:	epsilon-devel
+BuildRequires:	ruby
+BuildRequires:	ruby-devel
+Requires:	ruby
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ruby-xattr is an extension to use the fast E17 epsilon thumbnailer.
+
+%prep
+%setup -q
+
+%build
+ruby extconf.rb
+%{__make}
+rdoc --op rdoc *.c
+rdoc --ri --op ri *.c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_ridir}}
+
+%{__make} install \
+	archdir=$RPM_BUILD_ROOT%{ruby_archdir} \
+	sitearchdir=$RPM_BUILD_ROOT%{ruby_archdir}
+
+cp -a ri/ri/* $RPM_BUILD_ROOT%{ruby_ridir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc rdoc
+%{ruby_archdir}/*
+%{ruby_ridir}/Epsilon
+
+%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  2005/09/05 06:37:59  aredridel
+- added
+
================================================================



More information about the pld-cvs-commit mailing list