diff --git a/azote-1.8.0.tar.gz b/azote-1.8.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..9710242d1f34d1f0be3f21ecaa38fa14b407cf6e Binary files /dev/null and b/azote-1.8.0.tar.gz differ diff --git a/azote.spec b/azote.spec new file mode 100644 index 0000000000000000000000000000000000000000..5e23c3f707cb4d31dcf691fa12109eae0f9ae51e --- /dev/null +++ b/azote.spec @@ -0,0 +1,57 @@ +Name: azote +Version: 1.8.0 +Release: 1 +BuildArch: noarch +Summary: Wallpaper and color manager for Sway, i3 and some other WMs +License: GPLv3 and BSD +URL: https://github.com/nwg-piotr/azote +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: desktop-file-utils +BuildRequires: python3 +BuildRequires: python3-setuptools +BuildRequires: python3-devel + +Requires: python3-send2trash +Requires: python3-pillow +Requires: python3-gobject + +Provides: bundled(python3-colorthief) = 0.2.1 + +%description +Azote is a GTK+3 - based picture browser and background setter, as the +front-end to the swaybg (sway/Wayland) and feh (X windows) commands. It +also includes several color management tools. + +The program is confirmed to work on sway, i3, Openbox, Fluxbox and dwm +window managers, on Arch Linux, Void Linux, Debian and Fedora. + +%prep +%autosetup + +%build +%py3_build + +%install +%py3_install +# not sure why setup.py doesn't do this, but: +install -p -D dist/%{name} %{buildroot}/%{_bindir}/%{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 +desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop + +%files +%{python3_sitelib}/%{name}/ +%{python3_sitelib}/%{name}-*.egg-info/ +%{_bindir}/%{name} +%{_datadir}/%{name}/ +%{_datadir}/applications/* + +%doc README.md + +%license LICENSE LICENSE-COLORTHIEF + +%changelog +* Tue Sep 28 2021 liugang - 1.8.0-1 +- init package +