]> git.pld-linux.org Git - packages/kde4-kcm-gtk.git/blob - kde4-kcm-gtk.spec
pldize
[packages/kde4-kcm-gtk.git] / kde4-kcm-gtk.spec
1 Summary:        Configure the appearance of GTK apps in KDE
2 Name:           kde4-kcm-gtk
3 Version:        0.5.3
4 Release:        1
5 License:        GPL v2+
6 Group:          X11/Applications
7 Source0:        http://launchpad.net/kcm-gtk/0.5.x/%{version}/+download/kcm-gtk_%{version}.orig.tar.gz
8 # Source0-md5:  b49e2df3cce3bcb8c6dc96e7af73716d
9 Patch1:         kcm-gtk-0.5.3-settings_category.patch
10 URL:            https://launchpad.net/kcm-gtk
11 Patch2:         kcm-gtk-0.5.3-gtkrc_setenv.patch
12 Patch3:         kcm-gtk-0.5.3-fix-de.patch
13 Patch4:         kubuntu_01_xsettings_kipc.patch
14 BuildRequires:  cmake
15 BuildRequires:  gettext
16 BuildRequires:  kde4-kdelibs-devel >= 4.8
17 BuildRequires:  sed >= 4.0
18 Requires:       kde4-kdebase-runtime
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This is a System Settings configuration module for configuring the
23 appearance of GTK apps in KDE.
24
25 %prep
26 %setup -q -n kcm-gtk-%{version}
27 %patch1 -p1
28 %patch2 -p1
29 %patch3 -p1
30 %patch4 -p1
31
32 # fixup for kde-4.5+, see http://bugzilla.redhat.com/628381
33 sed -i.kde45 -e 's|^X-KDE-System-Settings-Parent-Category=appearance$|X-KDE-System-Settings-Parent-Category=application-appearance|' kcmgtk.desktop
34
35 %build
36 install -d build
37 cd build
38 %cmake ..
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 %{__make} -C build install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %find_lang kcm_gtk
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files -f kcm_gtk.lang
52 %defattr(644,root,root,755)
53 %doc Changelog
54 %attr(755,root,root) %{_libdir}/kde4/kcm_gtk.so
55 %{_iconsdir}/kcm_gtk.png
56 %{_datadir}/kde4/services/kcmgtk.desktop
This page took 0.089463 seconds and 3 git commands to generate.