SPECS: pyspacewar.spec - 0.9.5 - add music and sounds directories - one .pn...

lisu lisu at pld-linux.org
Mon Mar 2 15:51:49 CET 2009


Author: lisu                         Date: Mon Mar  2 14:51:49 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.9.5
- add music and sounds directories
- one .png is needed by splash screen

---- Files affected:
SPECS:
   pyspacewar.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/pyspacewar.spec
diff -u SPECS/pyspacewar.spec:1.9 SPECS/pyspacewar.spec:1.10
--- SPECS/pyspacewar.spec:1.9	Mon Feb 16 14:40:33 2009
+++ SPECS/pyspacewar.spec	Mon Mar  2 15:51:44 2009
@@ -9,12 +9,12 @@
 Summary:	Space game with gravity
 Summary(pl.UTF-8):	Kosmiczna gra z grawitacją
 Name:		pyspacewar
-Version:	0.9.3
+Version:	0.9.5
 Release:	1
 License:	GPL v2+
 Group:		X11/Applications/Games
 Source0:	http://mg.pov.lt/pyspacewar/%{name}-%{version}.tar.gz
-# Source0-md5:	d9515eb2584efd9fa43f6fa49b9761b2
+# Source0-md5:	940de69ae0198dd053626ece20cbaeff
 Source1:	%{name}.desktop
 URL:		http://mg.pov.lt/pyspacewar/
 BuildRequires:	python-devel >= 1:2.5
@@ -46,14 +46,17 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{py_sitescriptdir}/%{name}/icons}
 
 %{__python} setup.py install \
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-install src/pyspacewar/images/%{name}-32x32.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+install src/pyspacewar/icons/pyspacewar32.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+
+# needed by splash screen
+install src/pyspacewar/icons/pyspacewar48.png $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/icons
 
 %py_postclean
 
@@ -66,8 +69,15 @@
 %attr(755,root,root) %{_bindir}/*
 %{_desktopdir}/%{name}.desktop
 %{_pixmapsdir}/%{name}.png
+%dir %{py_sitescriptdir}/%{name}
 %{py_sitescriptdir}/%{name}/*.py[co]
+%{py_sitescriptdir}/%{name}/icons/*
+%dir %{py_sitescriptdir}/%{name}/images
 %{py_sitescriptdir}/%{name}/images/*
+%dir %{py_sitescriptdir}/%{name}/music
+%{py_sitescriptdir}/%{name}/music/*
+%dir %{py_sitescriptdir}/%{name}/sounds
+%{py_sitescriptdir}/%{name}/sounds/*
 %{py_sitescriptdir}/*.egg-info
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -76,6 +86,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2009/03/02 14:51:44  lisu
+- 0.9.5
+- add music and sounds directories
+- one .png is needed by splash screen
+
 Revision 1.9  2009/02/16 13:40:33  lisu
 - python-devel >= 1:2.5 (for .egg-info)
 - add BR: rpmbuild(macros) >= 1.219 (for %%py_postclean macro)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pyspacewar.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list