]> git.pld-linux.org Git - packages/gtk2-theme-engine-qt.git/blob - gtk2-theme-engine-qt.spec
- updated to 0.7 (untested), removed obsolete patches
[packages/gtk2-theme-engine-qt.git] / gtk2-theme-engine-qt.spec
1 # TODO
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
7 Version:        0.7
8 Release:        1
9 License:        GPL
10 Group:          Themes/GTK+
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)
25
26 %description
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.
29
30 %description -l pl
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.
34
35 %prep
36 %setup -q -n gtk-qt-engine
37 %patch0 -p1
38 %patch1 -p1
39 %patch2 -p1
40
41 %{__make} -f admin/Makefile.common cvs
42
43 %build
44 export QTLIB=%{_libdir}
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 # proper category
55 sed -i 's/Categories=.*/Categories=X-KDE-settings-looknfeel;/' \
56         $RPM_BUILD_ROOT%{_desktopdir}/kcmgtk-xdg.desktop
57
58 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.la
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc AUTHORS
66 %attr(755,root,root) %{_libdir}/gtk-2.0/*/engines/*.so
67 %{_datadir}/themes/Qt
68 %{_datadir}/gtk-qt-engine
69 %{_desktopdir}/*.desktop
70 %{_libdir}/kde3/kcm_kcmgtk.la
71 %attr(755,root,root) %{_libdir}/kde3/kcm_kcmgtk.so
This page took 0.025413 seconds and 3 git commands to generate.