Name: nwg-displays Version: 0.3.25 Release: 1%{?dist} Summary: Output management utility for sway and Hyprland. License: MIT URL: https://github.com/nwg-piotr/nwg-displays\ Source0: https://github.com/nwg-piotr/nwg-displays/archive/refs/tags/v0.3.25.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python-build BuildRequires: python-installer BuildRequires: python-setuptools BuildRequires: python-wheel Requires: python3 Requires: python3-gobject Requires: python3-i3ipc Requires: gtk3 Requires: gtk-layer-shell %description Nwg-displays is an output management utility for sway and Hyprland Wayland compositor, inspired by wdisplays and wlay. The program is expected to: - provide an intuitive GUI to manage multiple displays; - apply settings; - save outputs configuration to a text file; - save workspace -> output assignments to a text file; - support sway and Hyprland only. %prep %autosetup -n %{name}-%{version} %build %py3_build %install %py3_install install -Dm 644 %{name}.desktop %{buildroot}/usr/share/applications/%{name}.desktop install -Dm 644 %{name}.svg %{buildroot}/usr/share/pixmaps/%{name}.svg install -Dm 644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE install -Dm 644 README.md %{buildroot}/usr/share/doc/%{name}/README.md %files %license /usr/share/licenses/%{name}/LICENSE %doc /usr/share/doc/%{name}/README.md %{python3_sitelib}/nwg_displays/ %{python3_sitelib}/nwg_displays-0.3.25-py3.13.egg-info/ %{_bindir}/nwg-displays %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.svg %changelog * Tue Apr 8 2025 Andrey Atamanov - 0.3.25-1 - Initial package