2 # - kde control panel applet doesn't get found
3 # (recheck - probably caused by old -dt patch which added NotShowIn=KDE instead of OnlyShowIn)
4 Summary: A GTK+ theme engine that uses Qt for drawing
5 Summary(pl): Silnik graficzny wykorzystuj±cy Qt do rysowania kontrolek GTK+
6 Name: gtk2-theme-engine-qt
11 Source0: http://people.freedesktop.org/~davidsansome/gtk-qt-engine-%{version}.tar.bz2
12 # Source0-md5: 27ca211621f38c45b1c4c9e9ef1f84b0
13 Patch0: kde-ac260-lt.patch
14 Patch1: kde-ac260.patch
15 Patch2: kde-am110.patch
16 URL: http://www.freedesktop.org/Software/gtk-qt
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: gtk+2-devel >= 1:2.0.0
20 BuildRequires: kdelibs-devel
21 BuildRequires: libbonoboui-devel
22 BuildRequires: pkgconfig
23 BuildRequires: qt-devel
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 This GTK+ theme engine uses the currently selected Qt style to do it's
28 drawing. Basically, it makes your GTK+ apps look like Qt ones.
31 Ten silnik graficzny do rysowania kontrolek GTK+ u¿ywa aktualnie
32 wybranego stylu Qt. Inaczej mówi±c - sprawia, ¿e aplikacje GTK+
33 wygl±daj± jak aplikacje Qt.
36 %setup -q -n gtk-qt-engine
41 %{__make} -f admin/Makefile.common cvs
44 export QTLIB=%{_libdir}
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 sed -i 's/Categories=.*/Categories=X-KDE-settings-looknfeel;/' \
56 $RPM_BUILD_ROOT%{_desktopdir}/kcmgtk-xdg.desktop
58 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.la
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_libdir}/gtk-2.0/*/engines/*.so
68 %{_datadir}/gtk-qt-engine
69 %{_desktopdir}/*.desktop
70 %{_libdir}/kde3/kcm_kcmgtk.la
71 %attr(755,root,root) %{_libdir}/kde3/kcm_kcmgtk.so