## 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-clipman Version: 0.2.8 Release: %autorelease Summary: GTK GUI for cliphist License: MIT URL: https://github.com/nwg-piotr/nwg-clipman Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: desktop-file-utils Requires: cliphist Requires: hicolor-icon-theme Requires: gobject-introspection Requires: gtk3 Requires: gtk-layer-shell Requires: python3-gobject %description This program is a part of the nwg-shell project. Nwg-clipman is a GTK3-based GUI for Senan Kelly's cliphist. It provides access to previously copied items, as well as management of the clipboard history from a window opened on gtk-layer-shell. The program is intended for use with sway, Hyprland and other wlroots-based Wayland compositors. %prep %autosetup -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l nwg_clipman install -D -m0644 -t %{buildroot}%{_datadir}/applications %{name}.desktop install -D -m0644 -t %{buildroot}%{_datadir}/icons/hicolor/scalable/apps %{name}.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}/%{name}* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %changelog ## START: Generated by rpmautospec * Tue May 12 2026 John Doe - 0.2.8-1 - Uncommitted changes ## END: Generated by rpmautospec