## 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 Version: 0.5.50 Release: %autorelease Summary: Installer and meta-package for nwg-shell License: MIT URL: https://github.com/nwg-piotr/nwg-shell 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-gobject Requires: python3-i3ipc Requires: azote Requires: gtklock Requires: nwg-bar Requires: nwg-clipman Requires: nwg-displays Requires: nwg-dock Requires: nwg-drawer Requires: nwg-icon-picker Requires: nwg-look Requires: nwg-menu Requires: nwg-panel Requires: nwg-readme-browser Requires: nwg-shell-config Requires: playerctl Requires: pulseaudio-utils Requires: swappy Requires: sway Requires: swaybg Requires: swayidle Requires: SwayNotificationCenter Requires: system-backgrounds-compat Requires: typobuster Requires: wl-clipboard Requires: wlsunset %description nwg-shell is a GTK3-based shell for sway and Hyprland Wayland compositors. The project provides a common configuration tool (nwg-shell-config) that allows you to configure the system in a graphical UI, and a range of components. The nwg-shell package itself acts as a metapackage and installer of default configuration files. %prep %autosetup -p1 %if 0%{?fedora} sed -i -e 's|default.jpg|default.jxl|' nwg_shell/skel/stuff/azotebg %endif %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l nwg_shell install -D -m0644 -t %{buildroot}%{_datadir}/applications nwg-*.desktop %check # Skip %%pyproject_check_import, main code is not guarded desktop-file-validate %{buildroot}%{_datadir}/applications/nwg-*.desktop %files -f %{pyproject_files} %doc README.md %{_bindir}/%{name} %{_bindir}/%{name}-installer %{_datadir}/applications/nwg-*.desktop %changelog ## START: Generated by rpmautospec * Tue May 12 2026 John Doe - 0.5.50-1 - Uncommitted changes ## END: Generated by rpmautospec