SPECS: snowballz.spec - added .desktop - workaround for missing ic...

arvenil arvenil at pld-linux.org
Mon Oct 15 00:49:31 CEST 2007


Author: arvenil                      Date: Sun Oct 14 22:49:31 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added .desktop
- workaround for missing icon
- release 1

---- Files affected:
SPECS:
   snowballz.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/snowballz.spec
diff -u SPECS/snowballz.spec:1.6 SPECS/snowballz.spec:1.7
--- SPECS/snowballz.spec:1.6	Mon Oct 15 00:23:00 2007
+++ SPECS/snowballz.spec	Mon Oct 15 00:49:26 2007
@@ -1,7 +1,4 @@
 # $Revision$, $Date$
-# TODO:
-# - icon
-#
 # NOTE:
 # - this software use own GooeyPy with own modifications and new features
 #   so it can't use GooeyPy from package (python-GooeyPy.spec)
@@ -9,12 +6,12 @@
 Summary(pl.UTF-8):	Zabawna, darmowa gra komputerowa w śnieżki
 Name:		snowballz
 Version:	0.9.5.1
-Release:	0.1
+Release:	1
 License:	GPL v2+
 Group:		X11/Applications/Games
 Source0:	http://joey101.net/snowballz/files/%{name}-%{version}.tar.gz
 # Source0-md5:	197e3281cc85f9fe89a45c622e08ba0d
-# Source 1:        %{name}.desktop
+Source1:	%{name}.desktop
 URL:		http://joey101.net/snowballz/
 BuildRequires:	rpm-pythonprov
 Requires:	python
@@ -56,7 +53,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_bindir}}
+install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_bindir},%{_desktopdir},%{_pixmapsdir}}
 
 cat <<'EOF' >$RPM_BUILD_ROOT%{_bindir}/%{name}
 #!/bin/sh
@@ -71,6 +68,10 @@
 cp -fr plugins	 $RPM_BUILD_ROOT%{_datadir}/%{name}
 cp -f *.py	 $RPM_BUILD_ROOT%{_datadir}/%{name}
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+# workaround for missing icon
+install data/igloo.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+
 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
 %py_postclean
@@ -83,8 +84,8 @@
 %doc AUTHORS README.txt
 %attr(755,root,root) %{_bindir}/%{name}
 %{_datadir}/%{name}
-#%{_desktopdir}/%{name}.desktop
-#%{_pixmapsdir}/%{name}.png
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -92,6 +93,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2007/10/14 22:49:26  arvenil
+- added .desktop
+- workaround for missing icon
+- release 1
+
 Revision 1.6  2007/10/14 22:23:00  arvenil
 - up to 0.9.5.1
 - removed BR: python-GooeyPy and include gooeypy dir (see NOTE)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/snowballz.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list