SPECS: rox-System.spec - added desktop file - rel. 0.2
megabajt
megabajt at pld-linux.org
Sat Mar 11 12:18:56 CET 2006
Author: megabajt Date: Sat Mar 11 11:18:56 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added desktop file
- rel. 0.2
---- Files affected:
SPECS:
rox-System.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/rox-System.spec
diff -u SPECS/rox-System.spec:1.1 SPECS/rox-System.spec:1.2
--- SPECS/rox-System.spec:1.1 Sat Mar 11 11:56:46 2006
+++ SPECS/rox-System.spec Sat Mar 11 12:18:46 2006
@@ -6,11 +6,12 @@
Summary: rox-System - system monitor
Name: rox-%{_name}
Version: 1.9.1
-Release: 0.1
+Release: 0.2
License: GPL v2
Group: X11/Applications
Source0: http://dl.sourceforge.net/rox/system-%{version}.tar.bz2
# Source0-md5: 5b3aa4e1905e08ea14206d894b6b5580
+Source1: %{name}.desktop
URL: http://rox.sourceforge.net/desktop/System
Requires: libgtop
Requires: python-ctypes
@@ -30,6 +31,7 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_roxdir}/%{_name}/{Help,Messages,images}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
cd %{_name}
install .DirIcon AppRun *.py *.xml $RPM_BUILD_ROOT%{_roxdir}/%{_name}
@@ -37,6 +39,9 @@
install Messages/*.gmo $RPM_BUILD_ROOT%{_roxdir}/%{_name}/Messages
install images/*.png $RPM_BUILD_ROOT%{_roxdir}/%{_name}/images
+install .DirIcon $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+sed -e "s,/lib/,/%{_lib}/," %{SOURCE1} > $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+
%py_comp $RPM_BUILD_ROOT%{_roxdir}/%{_name}
%py_ocomp $RPM_BUILD_ROOT%{_roxdir}/%{_name}
@@ -57,6 +62,8 @@
%lang(zh_CN) %{_roxdir}/%{_name}/Messages/zh_CN.gmo
%lang(zh_TW) %{_roxdir}/%{_name}/Messages/zh_TW.gmo
%{_roxdir}/%{_name}/images
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -64,6 +71,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2006/03/11 11:18:46 megabajt
+- added desktop file
+- rel. 0.2
+
Revision 1.1 2006/03/11 10:56:46 megabajt
- new
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/rox-System.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list