## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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/nwg-piotr/%{name} %global sys_name nwg_panel Name: nwg-panel Version: 0.10.13 %forgemeta Release: %autorelease Summary: GTK3-based panel for sway and Hyprland Wayland compositors BuildArch: noarch License: MIT URL: %{forgeurl} Source0: %{forgesource} BuildRequires: desktop-file-utils BuildRequires: python3-devel BuildRequires: systemd-rpm-macros Requires: gtk-layer-shell Requires: gtk3 Requires: python3-gobject Requires: python3-i3ipc Requires: python3-dasbus Requires: wlr-randr Recommends: /usr/bin/pactl Recommends: brightnessctl Recommends: playerctl Recommends: python3-psutil %description This application is a part of the nwg-shell project. Nwg-panel is a GTK3-based panel for sway and Hyprland Wayland compositors. The panel is equipped with a graphical configuration program that frees the user from the need to manually edit configuration files. %prep %forgeautosetup -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{sys_name} install -Dpm 0644 %{name}.svg -t %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ install -Dpm 0644 nwg-shell.svg -t %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ install -Dpm 0755 %{name}-config.desktop -t %{buildroot}%{_datadir}/applications/ install -Dpm 0644 %{name}.service -t %{buildroot}%{_userunitdir}/ %check desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %post %systemd_user_post %{name}.service %preun %systemd_user_preun %{name}.service %postun %systemd_user_postun_with_restart %{name}.service %files -f %{pyproject_files} %doc README.md %{_bindir}/%{name} %{_bindir}/%{name}-config %{_bindir}/nwg-dwl-interface %{_bindir}/nwg-processes %{_datadir}/applications/%{name}-config.desktop %{_datadir}/icons/hicolor/scalable/apps/*.svg %{_userunitdir}/%{name}.service %changelog ## START: Generated by rpmautospec * Wed May 13 2026 Yaakov Selkowitz - 0.10.13-1 - Update to 0.10.13, modernize spec * Mon Jun 06 2022 Artem Polishchuk - 0.7.0-1 - chore(update): 0.7.0 * Fri May 13 2022 Artem Polishchuk - 0.6.4-1 - chore(update): 0.6.4 * Wed Apr 13 2022 Artem Polishchuk - 0.6.3-1 - chore(update): 0.6.3 * Thu Mar 17 2022 Artem Polishchuk - 0.6.2-1 - chore(update): 0.6.2 * Tue Feb 01 2022 Artem Polishchuk - 0.6.1-1 - chore(update): 0.6.1 * Sat Jan 29 2022 Artem Polishchuk - 0.6.0-1 - chore(update): 0.6.0 (Pre-release for Rawhide only) * Wed Jan 26 2022 Artem Polishchuk - 0.5.8-1 - chore(update): 0.5.8 * Thu Jan 20 2022 Fedora Release Engineering - 0.5.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Jan 16 2022 Artem Polishchuk - 0.5.7-1 - chore(update): 0.5.7 * Sun Jan 09 2022 Artem Polishchuk - 0.5.6-1 - chore(update): 0.5.6 * Thu Dec 30 2021 Artem Polishchuk - 0.5.3-1 - chore(update): 0.5.3 * Tue Dec 14 2021 Artem Polishchuk - 0.5.2-1 - chore(update): 0.5.2 * Mon Dec 13 2021 Artem Polishchuk - 0.5.1-1 - chore(update): 0.5.1 * Tue Nov 16 2021 Artem Polishchuk - 0.5.0-1 - chore(update): 0.5.0 * Mon Aug 23 2021 Artem Polishchuk - 0.4.3-1 - build(update): 0.4.3 * Fri Jul 30 2021 Artem Polishchuk - 0.4.2-1 - build(update): 0.4.2 * Thu Jul 29 2021 Artem Polishchuk - 0.4.1-1 - build(update): 0.4.1 * Mon Jul 26 2021 Artem Polishchuk - 0.4.0-1 - build(update): 0.4.0 * Thu Jul 22 2021 Fedora Release Engineering - 0.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jul 19 2021 Artem Polishchuk - 0.3.3-1 - build(update): 0.3.3 * Wed Jun 09 2021 Artem Polishchuk - 0.3.2-1 - build(update): 0.3.2 * Fri Jun 04 2021 Python Maint - 0.3.1-2 - Rebuilt for Python 3.10 * Thu May 06 2021 Artem Polishchuk - 0.3.1-1 - build(update): 0.3.1 * Fri Apr 16 2021 Artem Polishchuk - 0.2.3-1 - build(update): 0.2.3 * Tue Apr 06 2021 Artem Polishchuk - 0.2.1-1 - Initial package ## END: Generated by rpmautospec