Author: aredridel Date: Sun Jul 10 01:40:21 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - added
---- Files affected: SPECS: ruby-edje.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/ruby-edje.spec diff -u /dev/null SPECS/ruby-edje.spec:1.1 --- /dev/null Sun Jul 10 03:40:21 2005 +++ SPECS/ruby-edje.spec Sun Jul 10 03:40:16 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 edje library +Name: ruby-edje +Version: 0 +Release: 1 +License: Ruby's +Group: Development/Languages +Source0: ruby-edje.tar.gz +# Source0-md5: 63e27b8f8be6c377e57466bd495a71c1 +URL: http://code-monkey.de/projects/ruby-efl.html +BuildRequires: rake +BuildRequires: ruby +BuildRequires: ruby-devel +BuildRequires: edje-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-edje +Group: Development/Libraries +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description devel +Header files for ruby-edje. +%endif + +%prep +%setup -q -n ruby-edje + +%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}/edje +%endif + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2005/07/10 01:40:16 aredridel +- added + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
