## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 Name: autotiling Version: 1.9.4 Release: %autorelease Summary: Automatically switch the window split orientation in i3 and sway License: GPL-3.0-only URL: https://github.com/nwg-piotr/autotiling Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel Requires: python3-i3ipc %description This script uses the i3ipc-python library to switch the layout splith/splitv depending on the currently focused window dimensions. It works on both sway and i3 window managers. %prep %autosetup -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l autotiling %check %pyproject_check_import %files -f %{pyproject_files} %doc CHANGELOG.md README.md %{_bindir}/%{name} %changelog ## START: Generated by rpmautospec * Fri Jul 17 2026 John Doe - 1.9.4-1 - Uncommitted changes ## END: Generated by rpmautospec