SPECS: gplflash.spec - add .desktop entry

glen glen at pld-linux.org
Mon Aug 15 21:37:25 CEST 2005


Author: glen                         Date: Mon Aug 15 19:37:25 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add .desktop entry

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

---- Diffs:

================================================================
Index: SPECS/gplflash.spec
diff -u SPECS/gplflash.spec:1.6 SPECS/gplflash.spec:1.7
--- SPECS/gplflash.spec:1.6	Fri Aug 12 00:39:06 2005
+++ SPECS/gplflash.spec	Mon Aug 15 21:37:20 2005
@@ -3,11 +3,13 @@
 Summary(pl):	Biblioteka renderująca animacje Flash
 Name:		gplflash
 Version:	0.4.13
-Release:	2.4
+Release:	2.6
 License:	GPL
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/gplflash/%{name}-%{version}.tar.bz2
 # Source0-md5:	1b14c21094eb07416842ac0f5298b3f1
+Source1:	%{name}.desktop
+Source2:	%{name}.png
 Patch0:		%{name}-link.patch
 URL:		http://gplflash.sourceforge.net/
 BuildRequires:	XFree86-devel
@@ -120,6 +122,10 @@
 # include in -devel and -static instead?
 rm -f $RPM_BUILD_ROOT%{_libdir}/browser-plugins/libnpflash.{l,}a
 
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/swfplayer.desktop
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/swfplayer.png
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -157,6 +163,8 @@
 %doc AUTHORS NEWS README TODO
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%{_desktopdir}/*
+%{_pixmapsdir}/*
 
 %files devel
 %defattr(644,root,root,755)
@@ -178,6 +186,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2005/08/15 19:37:20  glen
+- add .desktop entry
+
 Revision 1.6  2005/08/11 22:39:06  glen
 - merged from DEVEL: one package for all browsers using triggers
 
================================================================

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




More information about the pld-cvs-commit mailing list