## 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: nwg-shell-config Version: 0.5.64 Release: %autorelease Summary: Output management for sway and Hyprland License: MIT URL: https://github.com/nwg-piotr/nwg-shell-config Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Patch: default-backgrounds.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: desktop-file-utils Requires: hicolor-icon-theme Requires: gobject-introspection Requires: gtk3 Requires: gtk-layer-shell Requires: libappindicator-gtk3 Requires: python3-geopy Requires: python3-gobject Requires: python3-i3ipc %description Nwg-shell-config is an output management utility for sway and Hyprland Wayland compositors, inspired by wshell-config and wlay. %prep %autosetup -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l nwg_shell_config install -D -m0644 -t %{buildroot}%{_datadir}/applications %{name}.desktop install -D -m0644 -t %{buildroot}%{_datadir}/icons/hicolor/scalable/apps nwg-*.svg %check # Skip %%pyproject_check_import, main code is not guarded desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files -f %{pyproject_files} %doc README.md %{_bindir}/nwg-* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/nwg-*.svg %changelog ## START: Generated by rpmautospec * Tue May 12 2026 John Doe - 0.5.64-1 - Uncommitted changes ## END: Generated by rpmautospec