add: waypaper (#7257) (#7274)

This commit is contained in:
Raboneko
2025-11-10 09:27:10 -08:00
committed by GitHub
parent 9ed2671a8f
commit 68f2df5736
3 changed files with 63 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "waypaper.spec"
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(pypi("waypaper"));
+56
View File
@@ -0,0 +1,56 @@
%global pypi_name waypaper
%global _desc GUI wallpaper manager for Wayland and Xorg Linux systems.
%define _python_dist_allow_version_zero 1
Name: python-%{pypi_name}
Version: 2.7
Release: 1%?dist
Summary: GUI wallpaper manager for Wayland and Xorg Linux systems
License: GPL-3.0-only
URL: https://github.com/anufrievroman/waypaper
Source0: %url/archive/refs/tags/%version.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-wheel
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
Provides: waypaper
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -n waypaper-%version
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files waypaper
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
%license LICENSE
%{_bindir}/waypaper
%{_datadir}/applications/waypaper.desktop
%{_datadir}/icons/hicolor/scalable/apps/waypaper.svg
%{_mandir}/man1/waypaper.1.gz
%dnl %python3_sitelib/__pycache__/*.cpython-*.pyc
%dnl %python3_sitelib/waypaper/subcommands/__pycache__/*.cpython-*.pyc
%changelog
* Sun Nov 09 2025 Owen Zimmerman <owen@fyralabs.com>
- Initial commit