SPECS: jigdo.spec - add desktop file and icon

megabajt megabajt at pld-linux.org
Wed Oct 11 22:39:06 CEST 2006


Author: megabajt                     Date: Wed Oct 11 20:39:06 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add desktop file and icon

---- Files affected:
SPECS:
   jigdo.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/jigdo.spec
diff -u SPECS/jigdo.spec:1.24 SPECS/jigdo.spec:1.25
--- SPECS/jigdo.spec:1.24	Wed Oct 11 17:36:53 2006
+++ SPECS/jigdo.spec	Wed Oct 11 22:39:00 2006
@@ -8,6 +8,8 @@
 Group:		Applications
 Source0:	http://atterer.net/jigdo/%{name}-%{version}.tar.bz2
 # Source0-md5:	bbc1d9ac750bb34e0748f0b57157cc72
+Source1:	%{name}.desktop
+Source2:	%{name}.png
 URL:		http://atterer.net/jigdo/
 BuildRequires:	ImageMagick-devel
 BuildRequires:	autoconf
@@ -59,10 +61,14 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/jigdo.desktop
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/jigdo.png
+
 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/COPYING
 
 %find_lang %{name}
@@ -83,6 +89,8 @@
 %attr(755,root,root) %{_bindir}/jigdo
 %{_datadir}/%{name}/pixmaps
 %{_mandir}/man1/jigdo.1*
+%{_desktopdir}/*.desktop
+%{_pixmapsdir}/*.png
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -90,6 +98,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2006/10/11 20:39:00  megabajt
+- add desktop file and icon
+
 Revision 1.24  2006/10/11 15:36:53  megabajt
 - add gtk subpackage (GTK+2 based download manager)
 - rel. 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/jigdo.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list