public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/azote] rawhide: spec modernization, fix BR and Requires rhbz#2377207
Date: Mon, 15 Jun 2026 06:58:17 GMT [thread overview]
Message-ID: <178150669700.1.18167480417292483935.rpms-azote-38784b609639@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/azote
Branch : rawhide
Commit : 38784b609639e47731bf8fe44f9d7c3d59870e69
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-11T20:49:22-03:00
Stats : +28/-40 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/azote/c/38784b609639e47731bf8fe44f9d7c3d59870e69?branch=rawhide
Log:
spec modernization, fix BR and Requires rhbz#2377207
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 0ca2a3a..6f6064b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,22 +1 @@
-/azote-1.7.10.tar.gz
-/azote-1.7.12.tar.gz
-/azote-1.7.14.tar.gz
-/azote-1.7.15.tar.gz
-/azote-1.8.0.tar.gz
-/azote-1.8.1.tar.gz
-/azote-1.8.2.tar.gz
-/azote-1.9.0.tar.gz
-/azote-1.9.1.tar.gz
-/azote-1.9.2.tar.gz
-/azote-1.9.3.tar.gz
-/azote-1.9.5.tar.gz
-/azote-1.9.7.tar.gz
-/azote-1.10.1.tar.gz
-/azote-1.11.0.tar.gz
-/azote-1.12.3.tar.gz
-/azote-1.12.5.tar.gz
-/azote-1.12.7.tar.gz
-/azote-1.12.9.tar.gz
-/azote-1.13.0.tar.gz
-/azote-1.15.0.tar.gz
-/azote-1.16.0.tar.gz
+/azote-*.tar.gz
diff --git a/azote.spec b/azote.spec
index 7f6999c..c416af0 100644
--- a/azote.spec
+++ b/azote.spec
@@ -11,18 +11,24 @@ Summary: Wallpaper and color manager for Sway, i3 and some other WMs
License: GPL-3.0-only and BSD-1-Clause
URL: https://github.com/nwg-piotr/azote
-Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: desktop-file-utils
-BuildRequires: python3
-BuildRequires: python3-setuptools
+BuildRequires: gobject-introspection
+BuildRequires: gtk3
+BuildRequires: python3-cairo
BuildRequires: python3-devel
+BuildRequires: python3-gobject
+BuildRequires: python3-pillow
+BuildRequires: python3-send2trash
+Requires: gtk3
+Requires: python3-cairo
Requires: python3-pillow
Requires: python3-gobject
Requires: ((feh and xrandr) if Xserver)
Requires: ((swaybg and wlr-randr) if wayfire)
-Requires: python3-cairo
+Requires: python3-xlib
Recommends: python3-pillow-jxl-plugin
Recommends: python3-send2trash
@@ -41,34 +47,37 @@ window managers, on Arch Linux, Void Linux, Debian and Fedora.
%prep
%autosetup -p1
+for lib in %{name}/*.py; do
+ sed '1{\@^#!/usr/bin/env python@d}' $lib > $lib.new &&
+ touch -r $lib $lib.new &&
+ mv $lib.new $lib
+done
+
+%generate_buildrequires
+%pyproject_buildrequires
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
-#desktop-file-edit --set-icon %{_datadir}/pixmaps/%{name}.svg dist/%{name}.desktop
+%pyproject_install
+%pyproject_save_files -l %{name}
install -p -D -m 0644 -t %{buildroot}/%{_datadir}/applications dist/%{name}.desktop
install -p -D -m 0644 -t %{buildroot}/%{_datadir}/%{name} dist/*.png dist/*.svg
install -p -D -m 0644 -t %{buildroot}/%{_datadir}/pixmaps dist/azote.svg
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
-for lib in %{buildroot}%{python3_sitelib}/%{name}/*.py; do
- sed '1{\@^#!/usr/bin/env python@d}' $lib > $lib.new &&
- touch -r $lib $lib.new &&
- mv $lib.new $lib
-done
-%files
-%{python3_sitelib}/%{name}/
-%{python3_sitelib}/%{name}-*.egg-info/
+%check
+%pyproject_check_import
+
+%files -f %{pyproject_files}
%{_bindir}/%{name}
%{_datadir}/%{name}/
-%{_datadir}/pixmaps/*
-%{_datadir}/applications/*
+%{_datadir}/pixmaps/%{name}.svg
+%{_datadir}/applications/%{name}.desktop
%doc README.md
-%license LICENSE LICENSE-COLORTHIEF
%changelog
%autochangelog
reply other threads:[~2026-06-15 6:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178150669700.1.18167480417292483935.rpms-azote-38784b609639@fedoraproject.org \
--to=filiperosset@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox