SPECS: ruby-eet.spec (NEW) - NEW

sparky sparky at pld-linux.org
Mon Sep 5 13:36:10 CEST 2005


Author: sparky                       Date: Mon Sep  5 11:36:10 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- NEW

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

---- Diffs:

================================================================
Index: SPECS/ruby-eet.spec
diff -u /dev/null SPECS/ruby-eet.spec:1.1
--- /dev/null	Mon Sep  5 13:36:10 2005
+++ SPECS/ruby-eet.spec	Mon Sep  5 13:36:02 2005
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+Summary:	Ruby binding to the eet library
+Summary(pl):	Dowiązania języka Ruby do biblioteki eet
+Name:		ruby-eet
+Version:	0.1.3
+Release:	0.1
+License:	Ruby's
+Group:		Development/Languages
+Source0:	ftp://code-monkey.de/pub/ruby-eet/%{name}-%{version}.tar.gz
+# Source0-md5:	480d8c44af28099ce7c671b8a58db55a
+URL:		http://code-monkey.de/projects/ruby-eet.html
+BuildRequires:	eet-devel
+BuildRequires:	rake >= 0.5.0
+BuildRequires:	ruby-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define ruby_sitearchdir %(ruby -r rbconfig -e 'print Config::CONFIG["sitearchdir"]')
+%define ruby_sitelibdir %(ruby -r rbconfig -e 'print Config::CONFIG["sitelibdir"]')
+
+%description
+Ruby binding to the eet library.
+
+%description -l pl
+Dowiązania języka Ruby do biblioteki eet.
+
+%prep
+%setup -q
+
+%build
+CFLAGS="%{rpmcflags}" CC="%{__cc}" rake
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_sitelibdir},%{ruby_sitearchdir}}
+
+DESTDIR=$RPM_BUILD_ROOT rake install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{ruby_sitelibdir}/eet.rb
+%attr(755,root,root) %{ruby_sitearchdir}/eet_ext.so
+
+%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 11:36:02  sparky
+- NEW
+
================================================================



More information about the pld-cvs-commit mailing list