SPECS: panda3d.spec - pl, some cleanups and files fixes (further o...

qboosh qboosh at pld-linux.org
Fri May 25 00:36:13 CEST 2007


Author: qboosh                       Date: Thu May 24 22:36:13 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, some cleanups and files fixes (further ones needed)

---- Files affected:
SPECS:
   panda3d.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/panda3d.spec
diff -u SPECS/panda3d.spec:1.1 SPECS/panda3d.spec:1.2
--- SPECS/panda3d.spec:1.1	Sun May 20 01:32:12 2007
+++ SPECS/panda3d.spec	Fri May 25 00:36:07 2007
@@ -1,16 +1,15 @@
 # $Revision$, $Date$
-#
-Summary:	Panda3D -  a library of subroutines for 3D rendering and game development.-
+Summary:	Panda3D - a library of subroutines for 3D rendering and game development
+Summary(pl.UTF-8):	Panda3D - biblioteka funkcji do renderingu i tworzenia gier 3D
 Name:		panda3d
 Version:	1.3.2
 Release:	0.1
 License:	other
-Group:		Applications
-Source0:	http://panda3d.org/download/panda3d-1.3.2/%{name}-%{version}.tar.gz
+Group:		Libraries/Python
+Source0:	http://panda3d.org/download/panda3d-%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	2332e4a625d6beb3d480aa4825b2ee89
 URL:		http://panda3d.org/
-Requires:	python
-BuildArch:	noarch
+%pyrequires_eq	python-libs
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -23,13 +22,23 @@
 short learning curve and rapid development. It is ideal whenever
 deadlines are tight and turnaround time is of the essence.
 
+%description -l pl.UTF-8
+Panda3D to silnik 3D - biblioteka funkcji do renderingu i tworzenia
+gier 3D. Biblioteka jest w C++ z zestawem dowiązań Pythona. Tworzenie
+gier przy użyciu silnika Panda3D zwykle składa się z pisania programu
+w Pythonie sterującego biblioteką Panda3D.
+
+Panda3D jest silnikiem niezwykłym w tym, że projekt skupia się na
+wspieraniu krótkiej krzywej nauki i szybkim rozwoju. Jest to idealne
+kiedy terminy są napięte, a czas jest istotny.
+
 %prep
 %setup -q
 
 %build
 %{__python} makepanda/makepanda.py \
-		--version 1.3.2 \
-		--everything
+	--version %{version} \
+	--everything
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -63,6 +72,7 @@
 
 for x in built/lib/* ; do
   base=`basename $x`
+# FIXME: should be py_sitedir
   ln -sf %{_libdir}/%{name}/$base $RPM_BUILD_ROOT%{py_dyndir}/$base
 done
 for x in $RPM_BUILD_ROOT%{_datadir}/%{name}/direct/src/* ; do
@@ -70,6 +80,7 @@
     python -c "import compileall; compileall.compile_dir('$x')"
   fi
 done
+# XXX: use py_[o]comp, py_postclean
 python -c "import compileall ; compileall.compile_dir('$RPM_BUILD_ROOT%{_datadir}/%{name}/Pmw');"
 python -c "import compileall ; compileall.compile_dir('$RPM_BUILD_ROOT%{_datadir}/%{name}/SceneEditor');"
 
@@ -82,12 +93,15 @@
 %files
 %defattr(644,root,root,755)
 %doc doc/LICENSE doc/README doc/ReleaseNotes 
+%attr(755,root,root) %{_bindir}/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/Confauto.prc
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/Config.prc
+%{_libdir}/%{name}
 %{_datadir}/%{name}
-%{_sysconfdir}/ld.so.conf.d/panda3d.conf
-%{_libdir}/*
+%{py_sitedir}/panda3d.pth
+# -devel?
 %{_includedir}/%{name}
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
-%attr(755,root,root) %{_bindir}/*
+%{_sysconfdir}/ld.so.conf.d/panda3d.conf
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -96,7 +110,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/05/24 22:36:07  qboosh
+- pl, some cleanups and files fixes (further ones needed)
+
 Revision 1.1  2007/05/19 23:32:12  wolvverine
 - init, NFY
-
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/panda3d.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list