SPECS: yakuake.spec - fix desktop file location (thanks darekr) an...

adamg adamg at pld-linux.org
Sat Dec 17 12:09:53 CET 2005


Author: adamg                        Date: Sat Dec 17 11:09:53 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix desktop file location (thanks darekr) and content

---- Files affected:
SPECS:
   yakuake.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/yakuake.spec
diff -u SPECS/yakuake.spec:1.2 SPECS/yakuake.spec:1.3
--- SPECS/yakuake.spec:1.2	Sat Dec 17 11:52:32 2005
+++ SPECS/yakuake.spec	Sat Dec 17 12:09:48 2005
@@ -3,11 +3,12 @@
 Summary:	Very powerful Quake style Konsole
 Summary(pl):	Rozbudowany emulator terminala w stylu Quake
 Version:	2.7.3
-Release:	0.1
+Release:	0.2
 License:	GPL
 Group:		X11/Applications
 Source0:	http://download.softpedia.com/linux/%{name}-%{version}.tar.bz2
 # Source0-md5:	98576f75c94f75756ef4acb18ef93a5e
+Patch0:		%{name}-desktop.patch
 URL:		http://yakuake.uv.ro/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -23,6 +24,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 cp -f /usr/share/automake/config.sub admin
@@ -37,11 +39,15 @@
 %{__make}
 
 %install
-rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT%{_desktopdir}
+
+install -d $RPM_BUILD_ROOT%{_desktopdir}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+mv -f $RPM_BUILD_ROOT{%{_datadir}/applnk/Utilities,%{_desktopdir}}/yakuake.desktop
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -49,8 +55,7 @@
 %defattr(644,root,root,755)
 %doc README NEWS COPYING AUTHORS
 %attr(755,root,root) %{_bindir}/yakuake
-#%{_menudir}/%{name}
-%{_datadir}/applnk/Utilities/yakuake.desktop
+%{_desktopdir}/*.desktop
 %{_datadir}/apps/yakuake/default/tabs.skin
 %{_datadir}/apps/yakuake/default/tabs/*.png
 %{_datadir}/apps/yakuake/default/title.skin
@@ -66,9 +71,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/12/17 11:09:48  adamg
+- fix desktop file location (thanks darekr) and content
+
 Revision 1.2  2005/12/17 10:52:32  adamg
 - dropped -po.patch stuff (mistake)
 
 Revision 1.1  2005/12/17 10:45:31  adamg
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/yakuake.spec?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list