]> 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 5fd10e282916102eeb725520e518d40b41b67822..df04f9b81794f030096df651fd925e59bad2137e 100644 (file)
@@ -1,19 +1,27 @@
 # TODO
 # - kde control panel applet doesn't get found
-# - where to place the .theme?
 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.6
-Release:       0.6
+Release:       2
 License:       GPL
 Group:         Themes/GTK+
 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 >= 1:2.0.0
 BuildRequires: kdelibs-devel
+BuildRequires: libbonoboui-devel
 BuildRequires: pkgconfig
 BuildRequires: qt-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -30,8 +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
+export QTLIB=%{_libdir}
 %configure
 %{__make}
 
@@ -41,16 +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
-%{_desktopdir}/kcmgtk-xdg.desktop
This page took 0.065687 seconds and 4 git commands to generate.