[packages/kde4-kcm-gtk] pldize

glen glen at pld-linux.org
Tue Nov 25 10:06:58 CET 2014


commit 43c64a6c8525d654909d2dc80341d7cbee872c45
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 25 11:06:47 2014 +0200

    pldize

 kde4-kcm-gtk.spec | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/kde4-kcm-gtk.spec b/kde4-kcm-gtk.spec
index 972ec24..d75320f 100644
--- a/kde4-kcm-gtk.spec
+++ b/kde4-kcm-gtk.spec
@@ -4,16 +4,19 @@ Version:	0.5.3
 Release:	1
 License:	GPL v2+
 Group:		X11/Applications
-URL:		https://launchpad.net/kcm-gtk
 Source0:	http://launchpad.net/kcm-gtk/0.5.x/%{version}/+download/kcm-gtk_%{version}.orig.tar.gz
 # Source0-md5:	b49e2df3cce3bcb8c6dc96e7af73716d
 Patch1:		kcm-gtk-0.5.3-settings_category.patch
+URL:		https://launchpad.net/kcm-gtk
 Patch2:		kcm-gtk-0.5.3-gtkrc_setenv.patch
 Patch3:		kcm-gtk-0.5.3-fix-de.patch
 Patch4:		kubuntu_01_xsettings_kipc.patch
+BuildRequires:	cmake
 BuildRequires:	gettext
 BuildRequires:	kde4-kdelibs-devel >= 4.8
+BuildRequires:	sed >= 4.0
 Requires:	kde4-kdebase-runtime
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This is a System Settings configuration module for configuring the
@@ -21,23 +24,20 @@ appearance of GTK apps in KDE.
 
 %prep
 %setup -q -n kcm-gtk-%{version}
-%patch1 -p1 -b .settings_category
-%patch2 -p1 -b .gtkrc_setenv
-%patch3 -p1 -b .fix-de
-%patch4 -p1 -b .xsettings_kipc
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 # fixup for kde-4.5+, see http://bugzilla.redhat.com/628381
-sed -i.kde45 -e 's|^X-KDE-System-Settings-Parent-Category=appearance$|X-KDE-System-Settings-Parent-Category=application-appearance|' \
-  kcmgtk.desktop
+sed -i.kde45 -e 's|^X-KDE-System-Settings-Parent-Category=appearance$|X-KDE-System-Settings-Parent-Category=application-appearance|' kcmgtk.desktop
 
 %build
 install -d build
 cd build
-%{cmake} ..
-
+%cmake ..
 %{__make}
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kcm-gtk.git/commitdiff/43c64a6c8525d654909d2dc80341d7cbee872c45



More information about the pld-cvs-commit mailing list