SPECS: ruby-esmart.spec (NEW) - added
aredridel
aredridel at pld-linux.org
Sun Jul 10 03:38:52 CEST 2005
Author: aredridel Date: Sun Jul 10 01:38:52 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added
---- Files affected:
SPECS:
ruby-esmart.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/ruby-esmart.spec
diff -u /dev/null SPECS/ruby-esmart.spec:1.1
--- /dev/null Sun Jul 10 03:38:52 2005
+++ SPECS/ruby-esmart.spec Sun Jul 10 03:38:47 2005
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+%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_rubylibdir %(ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
+Summary: Ruby binding to the esmart library
+Name: ruby-esmart
+Version: 0
+Release: 1
+License: Ruby's
+Group: Development/Languages
+Source0: ruby-esmart.tar.gz
+# Source0-md5: 6cfc22dba679839fc2b6ab88314b9647
+URL: http://code-monkey.de/projects/ruby-efl.html
+BuildRequires: rake
+BuildRequires: ruby
+BuildRequires: ruby-devel
+BuildRequires: esmart-devel
+Requires: ruby
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ruby binding to the Evas library.
+
+%if 0
+%package devel
+Summary: Header files for ruby-esmart
+Group: Development/Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description devel
+Header files for ruby-esmart.
+%endif
+
+%prep
+%setup -q -n ruby-esmart
+
+%build
+rake
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_ridir}}
+
+DESTDIR=$RPM_BUILD_ROOT RUBYARCHDIR=%{ruby_archdir} rake install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{ruby_archdir}/*.so
+
+%if 0
+%files devel
+#%{ruby_archdir}/esmart
+%endif
+
+%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/07/10 01:38:47 aredridel
+- added
+
================================================================
More information about the pld-cvs-commit
mailing list