Author: lisu Date: Mon Nov 8 13:48:36 2010 GMT Module: packages Tag: HEAD ---- Log message: - up to 1.0.93 - lua51 support - more verbose files - cleanup
---- Files affected: packages/tolua++: tolua++.spec (1.12 -> 1.13) ---- Diffs: ================================================================ Index: packages/tolua++/tolua++.spec diff -u packages/tolua++/tolua++.spec:1.12 packages/tolua++/tolua++.spec:1.13 --- packages/tolua++/tolua++.spec:1.12 Mon Feb 12 23:09:18 2007 +++ packages/tolua++/tolua++.spec Mon Nov 8 14:48:31 2010 @@ -2,14 +2,15 @@ Summary: Extended version of tolua, a tool to integrate C/C++ code with Lua Summary(pl.UTF-8): Rozszerzona wersja tolua, narzędzia integrującego kod C/C++ z Lua Name: tolua++ -Version: 1.0.4 +Version: 1.0.93 Release: 1 License: Free Group: Development/Tools Source0: http://www.codenix.com/~tolua/%{name}-%{version}.tar.bz2 -# Source0-md5: 8785100f7c9d9253cb47b530d97a32f6 +# Source0-md5: 100aa6907b8108582080b37d79c0afd7 +Patch0: %{name}-lua51.patch URL: http://www.codenix.com/~tolua/ -BuildRequires: lua50-devel >= 5.0.2-2 +BuildRequires: lua51-devel BuildRequires: scons Requires: %{name}-libs = %{version}-%{release} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -21,11 +22,7 @@ tolua is a tool that greatly simplifies the integration of C/C++ code with Lua. Based on a "cleaned" header file, tolua automatically -generates the binding code to access C/C++ features from Lua. Using -Lua-5.0 API and tag method facilities, the current version -automatically maps C/C++ constants, external variables, functions, -namespace, classes, and methods to Lua. It also provides facilities to -create Lua modules. +generates the binding code to access C/C++ features from Lua. %description -l pl.UTF-8 tolua++ jest rozszerzeniem tolua, narzędzia integrującego kod C/C++ z @@ -35,9 +32,7 @@ tolua jest narzędziem które znacznie upraszcza integracje kodu C/C++ z Lua. Bazując na "oczyszczonych" plikach nagłówkowych tolua automatycznie generuje kod umożliwiający Lua dostęp do struktur i -funkcji C/C++. Dzięki użyciu API Lua 5.0, bieżąca wersja automatycznie -mapuje stałe, zewnętrzne zmienne, funkcje, przestrzenie nazw, klasy i -metody z C/C++ do Lua. Umożliwia również tworzenie modułów Lua. +funkcji C/C++. %package libs Summary: tolua++ dynamic library @@ -64,14 +59,12 @@ %prep %setup -q +%patch0 -p1 %build -scons \ - CC="%{__cc}" \ - LUA="%{_prefix}" \ - CCFLAGS="%{rpmcflags} -fPIC -I/usr/include/lua50" +%scons -%{__cc} src/lib/tolua_{event,is,map,push,to}.o -shared -llua50 -llualib50 -ldl -lm -o lib/libtolua++.so +%{__cc} src/lib/tolua_{event,is,map,push,to}.o -shared -llua51 -ldl -lm -o lib/libtolua++.so %{__cc} -o bin/tolua++ src/bin/toluabind.o src/bin/tolua.o -Llib -ltolua++ %install @@ -91,16 +84,17 @@ %files %defattr(644,root,root,755) %doc README doc/* -%attr(755,root,root) %{_bindir}/* -%{_includedir}/* +%attr(755,root,root) %{_bindir}/tolua++ +%{_includedir}/tolua++.h %files libs %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/lib*.so +%attr(755,root,root) %{_libdir}/libtolua++.so %files static %defattr(644,root,root,755) -%{_libdir}/lib*.a +%{_libdir}/libtolua++.a +/usr/lib/libtolua++_static.a %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -108,6 +102,12 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.13 2010/11/08 13:48:31 lisu +- up to 1.0.93 +- lua51 support +- more verbose files +- cleanup + Revision 1.12 2007/02/12 22:09:18 glen - tabs in preamble ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tolua++/tolua++.spec?r1=1.12&r2=1.13&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
