]> git.pld-linux.org Git - packages/gtk2-theme-engine-qt.git/blob - gtk2-theme-engine-qt.spec
- Do not mess in the %{datadir}/applnk dir
[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:  automake
21 BuildRequires:  gtk+2-devel >= 1:2.0.0
22 BuildRequires:  kdelibs-devel
23 BuildRequires:  libbonoboui-devel
24 BuildRequires:  pkgconfig
25 BuildRequires:  qt-devel
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 This GTK+ theme engine uses the currently selected Qt style to do it's
30 drawing. Basically, it makes your GTK+ apps look like Qt ones.
31
32 %description -l pl
33 Ten silnik graficzny do rysowania kontrolek GTK+ u¿ywa aktualnie
34 wybranego stylu Qt. Inaczej mówi±c - sprawia, ¿e aplikacje GTK+
35 wygl±daj± jak aplikacje Qt.
36
37 %prep
38 %setup -q -n gtk-qt-engine-%{version}
39 %patch0 -p1
40 %patch1 -p0
41 %patch2 -p1
42 %patch3 -p1
43
44 %{__make} -f admin/Makefile.common cvs
45
46 %build
47 export QTLIB=%{_libdir}
48 %configure
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 # proper category
58 sed -i 's/Categories=.*/Categories=X-KDE-settings-looknfeel;/' \
59         $RPM_BUILD_ROOT%{_desktopdir}/kcmgtk-xdg.desktop
60
61 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.*/engines/*.la
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc AUTHORS
69 %attr(755,root,root) %{_libdir}/gtk-2.0/2.4.*/engines/*.so
70 %{_datadir}/themes/Qt
71 %{_datadir}/gtk-qt-engine/
72 %{_desktopdir}/*.desktop
73 %{_libdir}/kde3/kcm_kcmgtk.la
74 %attr(755,root,root) %{_libdir}/kde3/kcm_kcmgtk.so
This page took 0.073304 seconds and 4 git commands to generate.