]> git.pld-linux.org Git - packages/gtk2-theme-engine-qt.git/blobdiff - gtk2-theme-engine-qt.spec
- fix problems with autoconf 2.60 which creates configure that runs in POSIX mode
[packages/gtk2-theme-engine-qt.git] / gtk2-theme-engine-qt.spec
index 93a71ae4a765bfd4b8899347805ed9910e157ecd..df04f9b81794f030096df651fd925e59bad2137e 100644 (file)
@@ -1,18 +1,28 @@
+# TODO
+# - kde control panel applet doesn't get found
 Summary:       A GTK+ theme engine that uses Qt for drawing
 Summary(pl):   Silnik graficzny wykorzystuj±cy Qt do rysowania kontrolek GTK+
 Name:          gtk2-theme-engine-qt
-Version:       0.3
-Release:       4
+Version:       0.6
+Release:       2
 License:       GPL
 Group:         Themes/GTK+
-Source0:       http://www.freedesktop.org/Software/gtk-qt/gtk-qt-engine-%{version}.tar.bz2
-# Source0-md5: 0685783bec472b682366f213134a6b3c
-Patch0:                %{name}-qtdir.patch
+Source0:       http://www.freedesktop.org/~davidsansome/gtk-qt-engine-%{version}.tar.bz2
+# Source0-md5: 9c02c95a6e8d304b1f2801429759e1c0
+Patch0:                %{name}-black-menus.patch
+Patch1:                %{name}-kcm-fixinstallationdir.patch
+# don't dup GTK-QT in kde menu(s)
+Patch2:                %{name}-dt.patch
+# segfault in libqtengine.so drawing notebook
+# https://bugs.freedesktop.org/show_bug.cgi?id=3919
+Patch3:                %{name}-notebook.patch
 URL:           http://www.freedesktop.org/Software/gtk-qt
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: gtk+2-devel >= 2.0.0
-BuildRequires: libtool
+BuildRequires: gtk+2-devel >= 1:2.0.0
+BuildRequires: kdelibs-devel
+BuildRequires: libbonoboui-devel
+BuildRequires: pkgconfig
 BuildRequires: qt-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -28,12 +38,14 @@ wygl
 %prep
 %setup -q -n gtk-qt-engine-%{version}
 %patch0 -p1
+%patch1 -p0
+%patch2 -p1
+%patch3 -p1
+
+%{__make} -f admin/Makefile.common cvs
 
 %build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__automake}
+export QTLIB=%{_libdir}
 %configure
 %{__make}
 
@@ -43,13 +55,21 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.*/engines/*.la
+# proper category
+sed -i 's/Categories=.*/Categories=X-KDE-settings-looknfeel;/' \
+       $RPM_BUILD_ROOT%{_desktopdir}/kcmgtk-xdg.desktop
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README
-%attr(755,root,root) %{_libdir}/gtk-2.0/2.4.*/engines/*.so
+%doc AUTHORS
+%attr(755,root,root) %{_libdir}/gtk-2.0/*/engines/*.so
 %{_datadir}/themes/Qt
+%{_datadir}/gtk-qt-engine/
+%{_desktopdir}/*.desktop
+%{_libdir}/kde3/kcm_kcmgtk.la
+%attr(755,root,root) %{_libdir}/kde3/kcm_kcmgtk.so
This page took 0.034523 seconds and 4 git commands to generate.