diff --git a/kf5-kservice.spec b/kf5-kservice.spec index f7551f0..aa57741 100644 --- a/kf5-kservice.spec +++ b/kf5-kservice.spec @@ -2,7 +2,7 @@ Name: kf5-%{framework} Version: 5.12.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE Frameworks 5 Tier 3 solution for advanced plugin and service introspection License: GPLv2+ and LGPLv2+ @@ -17,6 +17,9 @@ URL: http://www.kde.org %endif Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz +# Fedora customizations to the menu categories +Patch0: kservice-5.12.0-xdg-menu.patch + BuildRequires: kf5-rpm-macros BuildRequires: extra-cmake-modules BuildRequires: qt5-qtbase-devel @@ -47,6 +50,7 @@ developing applications that use %{name}. %prep %setup -q -n %{framework}-%{version} +%patch0 -p1 -b .xdg-menu %build @@ -90,6 +94,9 @@ mkdir -p %{buildroot}%{_kf5_datadir}/kservicetypes5 %changelog +* Sat Aug 15 2015 Kevin Kofler - 5.12.0-2 +- forward-port our xdg-menu patch from kdelibs 4 + * Fri Jul 10 2015 Rex Dieter - 5.12.0-1 - 5.12.0 diff --git a/kservice-5.12.0-xdg-menu.patch b/kservice-5.12.0-xdg-menu.patch new file mode 100644 index 0000000..7388535 --- /dev/null +++ b/kservice-5.12.0-xdg-menu.patch @@ -0,0 +1,75 @@ +diff -ur kservice-5.12.0/src/kbuildsycoca/applications.menu kservice-5.12.0-xdg-menu/src/kbuildsycoca/applications.menu +--- kservice-5.12.0/src/kbuildsycoca/applications.menu 2015-07-05 11:13:00.000000000 +0200 ++++ kservice-5.12.0-xdg-menu/src/kbuildsycoca/applications.menu 2015-08-16 00:29:20.823019434 +0200 +@@ -31,29 +31,31 @@ + Core + KDE + ++ X-Red-Hat-Base + + X-SuSE-YaST +- X-KDE-settings-hardware +- X-KDE-settings-accessibility +- X-KDE-settings-components +- X-KDE-settings-desktop +- X-KDE-settings-looknfeel +- X-KDE-settings-network +- X-KDE-settings-webbrowsing +- X-KDE-settings-peripherals +- X-KDE-settings-hardware +- X-KDE-settings-power +- X-KDE-settings-security +- X-KDE-settings-sound +- X-KDE-settings-system +- X-KDE-information +- kde-kcm_knetworkconfmodule_ss.desktop +- kde-medianotifications.desktop +- kde-audioencoding.desktop + + + + ++ System Settings ++ SystemConfig.directory ++ ++ ++ System ++ Settings ++ X-Red-Hat-ServerConfig ++ ++ ++ ++ Server ++ ServerConfig.directory ++ ++ X-Red-Hat-ServerConfig ++ ++ ++ ++ + Development + kf5-development.directory + +@@ -369,7 +371,11 @@ + Settingsmenu + kf5-settingsmenu.directory + +- Settings ++ ++ Settings ++ System ++ X-Red-Hat-ServerConfig ++ + + + +@@ -378,7 +384,9 @@ + + + System ++ Settings + X-KDE-More ++ X-Red-Hat-ServerConfig + + +