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