Hello community, here is the log from the commit of package kcm_tablet for openSUSE:Factory checked in at 2018-01-17 21:57:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kcm_tablet (Old) and /work/SRC/openSUSE:Factory/.kcm_tablet.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kcm_tablet" Wed Jan 17 21:57:50 2018 rev:2 rq:566403 version:2.9.82 Changes: -------- --- /work/SRC/openSUSE:Factory/kcm_tablet/kcm_tablet.changes 2018-01-09 14:52:01.859071360 +0100 +++ /work/SRC/openSUSE:Factory/.kcm_tablet.new/kcm_tablet.changes 2018-01-17 21:59:08.444881036 +0100 @@ -1,0 +2,6 @@ +Tue Jan 16 12:09:29 UTC 2018 - [email protected] + +- Add Supplements: packageand(plasma5-workspace:xf86-input-wacom) +- Run spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcm_tablet.spec ++++++ --- /var/tmp/diff_new_pack.tpPkDd/_old 2018-01-17 21:59:09.156847664 +0100 +++ /var/tmp/diff_new_pack.tpPkDd/_new 2018-01-17 21:59:09.160847477 +0100 @@ -1,6 +1,7 @@ # # spec file for package kcm_tablet # +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2010 Raymond Wooninck <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -16,6 +17,7 @@ # +%define rname wacomtablet Name: kcm_tablet Version: 2.9.82 Release: 0 @@ -23,10 +25,12 @@ License: GPL-2.0+ Group: System/GUI/KDE Url: https://cgit.kde.org/wacomtablet.git/ -%define rname wacomtablet Source: https://download.kde.org/unstable/%{rname}/%{version}/%{rname}-%{version}.tar.xz # PATCH-FEATURE-UPSTREAM -Patch: Implement-hotplugging-on-Xlib.patch +Patch0: Implement-hotplugging-on-Xlib.patch +BuildRequires: extra-cmake-modules +BuildRequires: pkgconfig +BuildRequires: update-desktop-files BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5DBusAddons) @@ -44,17 +48,14 @@ BuildRequires: cmake(Qt5Qml) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5X11Extras) -BuildRequires: extra-cmake-modules BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xi) -BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xorg-wacom) -BuildRequires: update-desktop-files +BuildRequires: pkgconfig(xrandr) Requires: xf86-input-wacom >= 0.20 Recommends: %{name}-lang = %{version} Recommends: xrandr >= 1.2 - -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Supplements: packageand(plasma5-workspace:xf86-input-wacom) %description This module implements a GUI for the Wacom Linux Drivers and extends it @@ -65,9 +66,10 @@ All tablets can be set up as long as they are found with the wacom kernel module. %lang_package + %prep -%setup -n %rname-%{version} -q -%patch -p1 +%setup -q -n %{rname}-%{version} +%patch0 -p1 %build %cmake_kf5 -d build @@ -75,16 +77,16 @@ %install %kf5_makeinstall -C build - %find_lang %rname %name.lang - %find_lang plasma_applet_org.kde.%rname %name.lang + %find_lang %{rname} %{name}.lang + %find_lang plasma_applet_org.kde.%{rname} %{name}.lang %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120300 - %kf5_find_htmldocs + %{kf5_find_htmldocs} %else # %%kf5_find_htmldocs is only defined since Leap 42.3 CURDIR=`pwd` pushd %{buildroot}%{_kf5_htmldir} for i in *; do - if ! [ -d "/usr/share/locale/${i}" ]; then + if ! [ -d "%{_datadir}/locale/${i}" ]; then echo "Removing unsupported translation %{_kf5_htmldir}/${i}" rm -rf "$i" elif [ "$i" != "en" ]; then @@ -102,11 +104,9 @@ %postun %desktop_database_postun -%files lang -f %name.lang -%defattr(-,root,root) +%files lang -f %{name}.lang %files -%defattr(-,root,root) %doc AUTHORS COPYING README %doc %lang(en) %{_kf5_htmldir}/en/kcontrol %{_kf5_applicationsdir}/kde_wacom_tabletfinder.desktop
