Author: uzsolt Date: Sat Jan 24 21:55:11 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - initial
---- Files affected: SPECS: lua-oocairo.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/lua-oocairo.spec diff -u /dev/null SPECS/lua-oocairo.spec:1.1 --- /dev/null Sat Jan 24 22:55:11 2009 +++ SPECS/lua-oocairo.spec Sat Jan 24 22:55:06 2009 @@ -0,0 +1,62 @@ +# $Revision$, $Date$ +Summary: This module provides access to the Cairo vector graphics library from within Lua +Summary(hu.UTF-8): Ezzel a modullal a Cairo grafikus könyvtárhoz férhetsz hozzá Lua-ból +Name: lua-oocairo +Version: 1.2 +Release: 0.1 +License: MIT +Group: Development/Languages +Source0: http://www.daizucms.org/lua/library/oocairo/download/%{name}-%{version}.tar.gz +# Source0-md5: db932466e55228332875e24aeefbfb01 +URL: http://www.daizucms.org/lua/library/oocairo/ +BuildRequires: cairo-devel +BuildRequires: lua51-devel +BuildRequires: sed >= 4.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module provides access to the Cairo vector graphics library from +within Lua. + +%description -l hu.UTF-8 +Ezzel a modullal a Cairo grafikus könyvtárhoz férhetsz hozzá Lua-ból. + +%prep +%setup -q +%{__sed} -i "s...@lua5\.1@lu...@g ; s...@^\(LIBTOOL :=.*\)@\1 --tag=CC@ ; s...@^prefix.*@PREFIX=%{_prefix}@" Makefile + +%build +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_libdir}/lua/5.1 +install -d $RPM_BUILD_ROOT%{_mandir}/man3 +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/images +install .libs/liblua-oocairo.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/lua/5.1/oocairo.so +install doc/*.3 $RPM_BUILD_ROOT%{_mandir}/man3 +install examples/*.lua $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +install examples/images/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/images + + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README TODO +%{_libdir}/lua/5.1/oocairo.so +%{_mandir}/man3/* +%dir %{_examplesdir}/%{name}-%{version} +%dir %{_examplesdir}/%{name}-%{version}/images +%{_examplesdir}/%{name}-%{version}/*.lua +%{_examplesdir}/%{name}-%{version}/images/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <feedb...@pld-linux.org> +All persons listed below can be reached at <cvs_login>@pld-linux.org +$Log$ +Revision 1.1 2009/01/24 21:55:06 uzsolt +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit