## START: Set by rpmautospec ## (rpmautospec version 0.6.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global forgeurl https://github.com/gerritdevriese/%{name} Version: 0.7 %forgemeta Name: kzones Release: %autorelease Summary: KDE KWin Script for snapping windows into zones BuildArch: noarch License: GPL-3.0-or-later URL: %{forgeurl} Source0: %{forgesource} # kzones 0.7 does not work on Plasma 5. Requires: kwin >= 6.0 %description KDE KWin Script for snapping windows into zones. Handy when using a (super) ultrawide monitor, an alternative to PowerToys FancyZones and Windows 11 snap layouts. %package doc Summary: Documentation for %{name} BuildArch: noarch %description doc This package contains documentation for %{name} %prep %forgeautosetup -p1 %build # nothing to build %install install -m 0755 -vd %{buildroot}%{_datadir}/kwin/scripts/%{name} install -m 0644 -vp metadata.* %{buildroot}%{_datadir}/kwin/scripts/%{name} find contents/ -type f -exec install -m 0644 -Dvp '{}' '%{buildroot}%{_datadir}/kwin/scripts/%{name}/{}' \; %files %license LICENSE.md %{_datadir}/kwin/scripts/%{name} %files doc %doc README.md media/ %license LICENSE.md %changelog ## START: Generated by rpmautospec * Sat Jul 27 2024 John Doe - 0.7-1 - Uncommitted changes ## END: Generated by rpmautospec