]> git.pld-linux.org Git - packages/kde4-kcm-gtk.git/commitdiff
pldize
authorElan Ruusamäe <glen@delfi.ee>
Tue, 25 Nov 2014 09:06:47 +0000 (11:06 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 25 Nov 2014 09:06:47 +0000 (11:06 +0200)
kde4-kcm-gtk.spec

index 972ec24ea7dda2d337ba8633b681d0cea7db365c..d75320fc79964ae3c831000071c3ae6b00f59451 100644 (file)
@@ -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 \
This page took 0.072283 seconds and 4 git commands to generate.