diff --git a/kdecoration-5.15.4.tar.xz b/kdecoration-5.15.4.tar.xz deleted file mode 100644 index edda55a..0000000 Binary files a/kdecoration-5.15.4.tar.xz and /dev/null differ diff --git a/kdecoration-5.24.0.tar.xz b/kdecoration-5.24.0.tar.xz new file mode 100644 index 0000000..04f04cb Binary files /dev/null and b/kdecoration-5.24.0.tar.xz differ diff --git a/kdecoration.spec b/kdecoration.spec index 915edc3..cfa1055 100644 --- a/kdecoration.spec +++ b/kdecoration.spec @@ -1,4 +1,4 @@ - +%undefine __cmake_in_source_build # uncomment to enable bootstrap mode #global bootstrap 1 @@ -9,13 +9,13 @@ %endif %endif -Name: kdecoration -Summary: A plugin-based library to create window decorations -Version: 5.15.4 -Release: 1 +Name: kdecoration +Summary: A plugin-based library to create window decorations +Version: 5.24.0 +Release: 1 -License: LGPLv2 -URL: https://cgit.kde.org/%{name}.git +License: LGPLv2 +URL: https://cgit.kde.org/%{name}.git %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 @@ -23,20 +23,22 @@ URL: https://cgit.kde.org/%{name}.git %else %global stable stable %endif -Source0: %{name}-%{version}.tar.xz +Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros BuildRequires: qt5-qtbase-devel %if 0%{?tests} -BuildRequires: dbus-x11 -BuildRequires: xorg-x11-server-Xvfb +BuildRequires: dbus-x11 +BuildRequires: xorg-x11-server-Xvfb %endif # For AutoReq cmake-filesystem -BuildRequires: cmake -BuildRequires: cmake(KF5I18n) +BuildRequires: cmake +BuildRequires: cmake(KF5I18n) +BuildRequires: cmake(KF5CoreAddons) +BuildRequires: make Requires: kf5-filesystem @@ -85,7 +87,7 @@ make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||: %ldconfig_scriptlets %files -%license COPYING.LIB +%license LICENSES/*.txt %{_kf5_libdir}/libkdecorations2.so.* %{_kf5_libdir}/libkdecorations2private.so.* %{_datadir}/locale/*/LC_MESSAGES/kdecoration.mo @@ -100,5 +102,8 @@ make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||: %changelog +* Fri Feb 11 2022 pei-jiankang - 5.24.0-1 +- update to upstream version 5.24.0 + * Fri Aug 7 2020 weidong - 5.15.4-1 - Initial release for OpenEuler