SPECS: gtk2-theme-engine-qt.spec - up to 0.8 - cmake used to build

rotom rotom at pld-linux.org
Thu Nov 8 10:59:34 CET 2007


Author: rotom                        Date: Thu Nov  8 09:59:34 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.8
- cmake used to build

---- Files affected:
SPECS:
   gtk2-theme-engine-qt.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/gtk2-theme-engine-qt.spec
diff -u SPECS/gtk2-theme-engine-qt.spec:1.21 SPECS/gtk2-theme-engine-qt.spec:1.22
--- SPECS/gtk2-theme-engine-qt.spec:1.21	Thu Jun 21 19:10:50 2007
+++ SPECS/gtk2-theme-engine-qt.spec	Thu Nov  8 10:59:29 2007
@@ -1,22 +1,17 @@
 # $Revision$, $Date$
-# TODO
-# - kde control panel applet doesn't get found
-#   (recheck - probably caused by old -dt patch which added NotShowIn=KDE instead of OnlyShowIn)
 Summary:	A GTK+ theme engine that uses Qt for drawing
 Summary(pl.UTF-8):	Silnik graficzny wykorzystujący Qt do rysowania kontrolek GTK+
 Name:		gtk2-theme-engine-qt
-Version:	0.7
+Version:	0.8
 Release:	1
 License:	GPL
 Group:		Themes/GTK+
 Source0:	http://people.freedesktop.org/~davidsansome/gtk-qt-engine-%{version}.tar.bz2
-# Source0-md5:	27ca211621f38c45b1c4c9e9ef1f84b0
-Patch0:		kde-ac260-lt.patch
-Patch1:		kde-ac260.patch
-Patch2:		kde-am110.patch
+# Source0-md5:	9fe75b7765b6a5b49901fcd6f4f4aa4b
 URL:		http://gtk-qt.ecs.soton.ac.uk/
 BuildRequires:	autoconf
 BuildRequires:	automake
+BuildRequires:	cmake
 BuildRequires:	gtk+2-devel >= 1:2.0.0
 BuildRequires:	kdelibs-devel
 BuildRequires:	libbonoboui-devel
@@ -35,15 +30,11 @@
 
 %prep
 %setup -q -n gtk-qt-engine
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-
-%{__make} -f admin/Makefile.common cvs
 
 %build
-export QTLIB=%{_libdir}
-%configure
+cmake \
+    -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+    .
 %{__make}
 
 %install
@@ -54,20 +45,21 @@
 
 # proper category
 sed -i 's/Categories=.*/Categories=X-KDE-settings-looknfeel;/' \
-	$RPM_BUILD_ROOT%{_desktopdir}/kcmgtk-xdg.desktop
+	$RPM_BUILD_ROOT%{_desktopdir}/kcmgtk.desktop
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.la
 
+%find_lang gtkqtengine --with-kde
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f gtkqtengine.lang
 %defattr(644,root,root,755)
 %doc AUTHORS
 %attr(755,root,root) %{_libdir}/gtk-2.0/*/engines/*.so
 %{_datadir}/themes/Qt
-%{_datadir}/gtk-qt-engine
-%{_desktopdir}/*.desktop
+%{_desktopdir}/kcmgtk.desktop
 %{_libdir}/kde3/kcm_kcmgtk.la
 %attr(755,root,root) %{_libdir}/kde3/kcm_kcmgtk.so
 
@@ -77,6 +69,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2007-11-08 09:59:29  rotom
+- up to 0.8
+- cmake used to build
+
 Revision 1.21  2007-06-21 17:10:50  wolf
 - url
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gtk2-theme-engine-qt.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list