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

aredridel aredridel at pld-linux.org
Mon Aug 29 05:42:39 CEST 2005


Author: aredridel                    Date: Mon Aug 29 03:42:39 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

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

---- Diffs:

================================================================
Index: SPECS/ruby-exif.spec
diff -u /dev/null SPECS/ruby-exif.spec:1.1
--- /dev/null	Mon Aug 29 05:42:39 2005
+++ SPECS/ruby-exif.spec	Mon Aug 29 05:42:33 2005
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+%define	ruby_archdir	%(ruby -r rbconfig -e 'print Config::CONFIG["archdir"]')
+%define	ruby_rubylibdir	%(ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
+Summary:	EXIF module for Ruby
+Summary(pl):	Moduł EXIF dla Ruby
+Name:		ruby-exif
+Version:	0.1
+Release:	1
+License:	Ruby's
+Group:		Development/Languages
+Source0:	http://www.asobitari.nu/program/exif.zip
+# Source0-md5:	53b7ad45772bbf4bdb638dfc14682a0c
+URL:		http://www.asobitari.nu/program/exif.html
+BuildRequires:	ruby-devel
+BuildRequires:	setup.rb
+Requires:	ruby
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+EXIF module for Ruby.
+
+%description -l pl
+Moduł EXIF dla Ruby.
+
+%prep
+%setup -c -q
+
+%build
+mkdir lib
+mv *exif*.rb lib/
+cp /usr/share/setup.rb .
+ruby setup.rb config \
+	--rbdir=%{ruby_rubylibdir} \
+	--sodir=%{ruby_archdir}
+ruby setup.rb setup
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{_examplesdir}/%{name}-%{version}}
+
+ruby setup.rb install --prefix=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{ruby_rubylibdir}/ruby-exif.rb
+
+%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/08/29 03:42:33  aredridel
+- added
+
================================================================



More information about the pld-cvs-commit mailing list