]> git.pld-linux.org Git - packages/wxmacmolplt.git/commitdiff
- add icon and desktop with desktop.patch
authorlisu <lisu@pld-linux.org>
Thu, 26 Nov 2009 13:02:49 +0000 (13:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    wxmacmolplt.spec -> 1.3

wxmacmolplt.spec

index 21b9320bdec585d7e1c5723c6cfb4f24d46135b6..3664433e3abe20ab1d138603749ff2b1a63a1497 100644 (file)
@@ -7,6 +7,7 @@ License:        GPL v2+
 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
@@ -25,6 +26,7 @@ molekularnych oraz drgań swobodnych (wibracji).
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__aclocal}
@@ -37,9 +39,14 @@ molekularnych oraz drgań swobodnych (wibracji).
 %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
 
@@ -48,4 +55,6 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS README
 %attr(755,root,root) %{_bindir}/wxmacmolplt
 %{_datadir}/wxmacmolplt
+%{_desktopdir}/wxmacmolplt.desktop
+%{_pixmapsdir}/wxmacmolplt.png
 %{_mandir}/man1/wxmacmolplt.1*
This page took 0.123258 seconds and 4 git commands to generate.