diff --git a/ukui-window-switch.spec b/ukui-window-switch.spec index d24c7f6c9300808d1235c173797f954352922197..ee8fd2929f25403126ad9639462475b34c8c22d4 100644 --- a/ukui-window-switch.spec +++ b/ukui-window-switch.spec @@ -1,6 +1,6 @@ Name: ukui-window-switch Version: 4.0.0.0 -Release: 1 +Release: 2 Summary: Front of the window switch License: GPL-2+ and BSD-2-clause and BSD-3-clause URL: http://www.ukui.org @@ -43,24 +43,14 @@ BuildRequires: qt5-qttools-devel icons) when the window is switching (press Alt+Tab key). %prep -%setup -q -%patch01 -p1 -%patch02 -p1 +%autosetup -p1 %build -mkdir build && pushd build -%cmake .. -%{make_build} -popd +%cmake +%{cmake_build} %install -rm -rf $RPM_BUILD_ROOT -pushd build -%{make_install} DESTDIR=%{buildroot} -popd - -%clean -rm -rf $RPM_BUILD_ROOT +%{cmake_install} %files %{_bindir}/ukui-window-switch @@ -70,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/kwin/tabbox/thumbnail_grid/metadata.desktop %changelog +* Tue Nov 26 2024 Funda Wang - 4.0.0.0-2 +- adopt to new cmake macro + * Thu Mar 28 2024 huayadong - 4.0.0.0-1 - update version to 4.0.0.0