SPECS (DEVEL): neveredit.spec - .desktop, icon

lisu lisu at pld-linux.org
Thu Dec 18 10:42:58 CET 2008


Author: lisu                         Date: Thu Dec 18 09:42:58 2008 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- .desktop, icon

---- Files affected:
SPECS:
   neveredit.spec (1.14.2.4 -> 1.14.2.5) 

---- Diffs:

================================================================
Index: SPECS/neveredit.spec
diff -u SPECS/neveredit.spec:1.14.2.4 SPECS/neveredit.spec:1.14.2.5
--- SPECS/neveredit.spec:1.14.2.4	Thu Dec 18 10:27:34 2008
+++ SPECS/neveredit.spec	Thu Dec 18 10:42:53 2008
@@ -9,6 +9,8 @@
 Group:		X11/Applications
 Source0:	http://dl.sourceforge.net/neveredit/%{name}-%{version}%{_beta}.tar.gz
 # Source0-md5:	c768b17e501807da1d36a2039affb15d
+Source1:	%{name}.desktop
+Source2:	%{name}.png
 URL:		http://openknights.sourceforge.net/
 BuildRequires:	python-devel >= 1:2.5
 BuildRequires:	rpm-pythonprov
@@ -43,11 +45,15 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 %{__python} setup.py install \
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -55,6 +61,8 @@
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README*
 %attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
 %{py_sitescriptdir}/neveredit
 %{py_sitescriptdir}/*.egg-info
 
@@ -64,6 +72,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14.2.5  2008/12/18 09:42:53  lisu
+- .desktop, icon
+
 Revision 1.14.2.4  2008/12/18 09:27:34  lisu
 - and remove old GTK2.patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/neveredit.spec?r1=1.14.2.4&r2=1.14.2.5&f=u



More information about the pld-cvs-commit mailing list