]> git.pld-linux.org Git - packages/gtk2-theme-engine-qt.git/blob - 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
1 # TODO
2 # - kde control panel applet doesn't get found
3 Summary:        A GTK+ theme engine that uses Qt for drawing
4 Summary(pl):    Silnik graficzny wykorzystuj±cy Qt do rysowania kontrolek GTK+
5 Name:           gtk2-theme-engine-qt
6 Version:        0.6
7 Release:        2
8 License:        GPL
9 Group:          Themes/GTK+
10 Source0:        http://www.freedesktop.org/~davidsansome/gtk-qt-engine-%{version}.tar.bz2
11 # Source0-md5:  9c02c95a6e8d304b1f2801429759e1c0
12 Patch0:         %{name}-black-menus.patch
13 Patch1:         %{name}-kcm-fixinstallationdir.patch
14 # don't dup GTK-QT in kde menu(s)
15 Patch2:         %{name}-dt.patch
16 # segfault in libqtengine.so drawing notebook
17 # https://bugs.freedesktop.org/show_bug.cgi?id=3919
18 Patch3:         %{name}-notebook.patch
19 URL:            http://www.freedesktop.org/Software/gtk-qt
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  gtk+2-devel >= 1:2.0.0
23 BuildRequires:  kdelibs-devel
24 BuildRequires:  libbonoboui-devel
25 BuildRequires:  pkgconfig
26 BuildRequires:  qt-devel
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 This GTK+ theme engine uses the currently selected Qt style to do it's
31 drawing. Basically, it makes your GTK+ apps look like Qt ones.
32
33 %description -l pl
34 Ten silnik graficzny do rysowania kontrolek GTK+ u¿ywa aktualnie
35 wybranego stylu Qt. Inaczej mówi±c - sprawia, ¿e aplikacje GTK+
36 wygl±daj± jak aplikacje Qt.
37
38 %prep
39 %setup -q -n gtk-qt-engine-%{version}
40 %patch0 -p1
41 %patch1 -p0
42 %patch2 -p1
43 %patch3 -p1
44
45 %{__make} -f admin/Makefile.common cvs
46
47 %build
48 export QTLIB=%{_libdir}
49 %configure
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 # proper category
59 sed -i 's/Categories=.*/Categories=X-KDE-settings-looknfeel;/' \
60         $RPM_BUILD_ROOT%{_desktopdir}/kcmgtk-xdg.desktop
61
62 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.la
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc AUTHORS
70 %attr(755,root,root) %{_libdir}/gtk-2.0/*/engines/*.so
71 %{_datadir}/themes/Qt
72 %{_datadir}/gtk-qt-engine/
73 %{_desktopdir}/*.desktop
74 %{_libdir}/kde3/kcm_kcmgtk.la
75 %attr(755,root,root) %{_libdir}/kde3/kcm_kcmgtk.so
This page took 0.024319 seconds and 3 git commands to generate.