packages: wxmacmolplt/wxmacmolplt.spec - add icon and desktop with desktop....

lisu lisu at pld-linux.org
Thu Nov 26 14:02:54 CET 2009


Author: lisu                         Date: Thu Nov 26 13:02:54 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add icon and desktop with desktop.patch

---- Files affected:
packages/wxmacmolplt:
   wxmacmolplt.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/wxmacmolplt/wxmacmolplt.spec
diff -u packages/wxmacmolplt/wxmacmolplt.spec:1.2 packages/wxmacmolplt/wxmacmolplt.spec:1.3
--- packages/wxmacmolplt/wxmacmolplt.spec:1.2	Thu Nov 26 13:23:50 2009
+++ packages/wxmacmolplt/wxmacmolplt.spec	Thu Nov 26 14:02:49 2009
@@ -8,6 +8,7 @@
 Group:		Applications
 Source0:	http://www.scl.ameslab.gov/~brett/MacMolPlt/download/%{name}-%{version}.tar.gz
 # Source0-md5:	26e1a2f5e5860334f29edc3b5f5c30e9
+Patch0:		%{name}-desktop.patch
 URL:		http://www.scl.ameslab.gov/~brett/MacMolPlt/
 BuildRequires:	OpenGL-GLU-devel
 BuildRequires:	OpenGL-devel
@@ -26,6 +27,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__aclocal}
@@ -38,9 +40,14 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install resources/wxmacmolplt.desktop $RPM_BUILD_ROOT%{_desktopdir}
+install resources/wxmacmolplt.png $RPM_BUILD_ROOT%{_pixmapsdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -49,6 +56,8 @@
 %doc AUTHORS README
 %attr(755,root,root) %{_bindir}/wxmacmolplt
 %{_datadir}/wxmacmolplt
+%{_desktopdir}/wxmacmolplt.desktop
+%{_pixmapsdir}/wxmacmolplt.png
 %{_mandir}/man1/wxmacmolplt.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -57,8 +66,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/11/26 13:02:49  lisu
+- add icon and desktop with desktop.patch
+
 Revision 1.2  2009/11/26 12:23:50  lisu
 - updated to 7.4
+- kill redundant BR: wxGTK2-unicode-devel
 
 Revision 1.1  2009/07/02 07:58:31  lisu
 - init
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wxmacmolplt/wxmacmolplt.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list