SPECS: knights.spec - added desktop patch

qboosh qboosh at pld-linux.org
Sun Nov 5 14:05:53 CET 2006


Author: qboosh                       Date: Sun Nov  5 13:05:53 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added desktop patch

---- Files affected:
SPECS:
   knights.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/knights.spec
diff -u SPECS/knights.spec:1.8 SPECS/knights.spec:1.9
--- SPECS/knights.spec:1.8	Tue Aug 17 13:46:12 2004
+++ SPECS/knights.spec	Sun Nov  5 14:05:46 2006
@@ -10,6 +10,7 @@
 # Source0-md5:	b04574568b9bc3982b934328ee63fb74
 Source1:	http://dl.sourceforge.net/knights/knights-themepack-0.5.9.tar.gz
 # Source1-md5:	ece32b73d43e16b997423c219dcda21d
+Patch0:		%{name}-desktop.patch
 URL:		http://www.knights-chess.com/
 BuildRequires:	arts-devel
 BuildRequires:	automake
@@ -52,12 +53,14 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 kde_appsdir="%{_desktopdir}"; export kde_appsdir
 kde_htmldir="%{_kdedocdir}"; export kde_htmldir
 cp -f /usr/share/automake/config.sub admin/config.sub
-%configure
+%configure \
+	--with-qt-libraries=%{_libdir}
 %{__make}
 
 %install
@@ -71,7 +74,6 @@
 mv $RPM_BUILD_ROOT%{_datadir}/apps/knights/themes/{knights-themepack/*.tar.gz,}
 rm -rf $RPM_BUILD_ROOT%{_datadir}/apps/knights/themes/knights-themepack
 mv $RPM_BUILD_ROOT%{_desktopdir}/{Games/Board/,}knights.desktop
-echo "Categories=Qt;KDE;Game;BoardGame;" >> $RPM_BUILD_ROOT%{_desktopdir}/knights.desktop
 
 %find_lang %{name} --with-kde
 
@@ -105,6 +107,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2006/11/05 13:05:46  qboosh
+- added desktop patch
+
 Revision 1.8  2004/08/17 11:46:12  qboosh
 - removed invalid defines
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/knights.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list