SPECS: poldek.spec - added desktop file and icon - icon by Karol K...

arvenil arvenil at pld-linux.org
Mon Jan 7 23:17:08 CET 2008


Author: arvenil                      Date: Mon Jan  7 22:17:08 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added desktop file and icon
- icon by Karol Kreński (mimooh) <mimooh at inf.sgsp.edu.pl> adapted as icon by me;
  source: http://www.inf.sgsp.edu.pl/pub/MALUNKI_DUZE/ROZNE_DUZE/poldek.xcf.gz

---- Files affected:
SPECS:
   poldek.spec (1.302 -> 1.303) 

---- Diffs:

================================================================
Index: SPECS/poldek.spec
diff -u SPECS/poldek.spec:1.302 SPECS/poldek.spec:1.303
--- SPECS/poldek.spec:1.302	Sun Dec 30 23:06:58 2007
+++ SPECS/poldek.spec	Mon Jan  7 23:17:03 2008
@@ -10,7 +10,7 @@
 %define	ver_rpm	4.4.9-1
 #
 %define		_snap	20070703.00
-%define		_rel	10
+%define		_rel	11
 Summary:	RPM packages management helper tool
 Summary(pl.UTF-8):	Pomocnicze narzędzie do zarządzania pakietami RPM
 Name:		poldek
@@ -23,6 +23,10 @@
 Source1:	%{name}.conf
 Source2:	%{name}-multilib.conf
 Source3:	%{name}-aliases.conf
+%if %{with imode}
+Source4:	%{name}.desktop
+Source5:	%{name}.png
+%endif
 Patch1:		%{name}-vserver-packages.patch
 Patch2:		%{name}-config.patch
 Patch3:		%{name}-multilib.patch
@@ -233,6 +237,13 @@
 
 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/aliases.conf
 
+%if %{with imode}
+# add desktop file and icon
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+install %{SOURCE5} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+%endif
+
 # get rid of non-pld sources
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/{rh,fedora}-source.conf
 # include them in %doc
@@ -327,6 +338,10 @@
 %{_mandir}/man1/%{name}*
 %lang(pl) %{_mandir}/pl/man1/%{name}*
 %{_infodir}/poldek.info*
+%if %{with imode}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
+%endif
 
 %if !%{with static}
 %files libs
@@ -358,6 +373,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.303  2008-01-07 22:17:03  arvenil
+- added desktop file and icon
+- icon by Karol Kreński (mimooh) <mimooh at inf.sgsp.edu.pl> adapted as icon by me;
+  source: http://www.inf.sgsp.edu.pl/pub/MALUNKI_DUZE/ROZNE_DUZE/poldek.xcf.gz
+
 Revision 1.302  2007-12-30 22:06:58  glen
 - rel 10
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/poldek.spec?r1=1.302&r2=1.303&f=u



More information about the pld-cvs-commit mailing list