diff --git a/v1.12.5.tar.gz b/1.13.1.tar.gz similarity index 58% rename from v1.12.5.tar.gz rename to 1.13.1.tar.gz index 1befe9b8ef93a43b03af2d3735c3417c5f100615..7b3694b4f61d4d663a83a66e408e04c8d3b4d8cc 100644 Binary files a/v1.12.5.tar.gz and b/1.13.1.tar.gz differ diff --git a/azote.spec b/azote.spec index 583a22305513f1f7e214679bacabf9d242fd3aa0..f6a3920b08a80b1b178e466ac0470bc4a062ba85 100644 --- a/azote.spec +++ b/azote.spec @@ -1,5 +1,5 @@ Name: azote -Version: 1.12.5 +Version: 1.13.1 Release: 1 BuildArch: noarch Summary: Wallpaper and color manager for Sway, i3 and some other WMs @@ -9,7 +9,7 @@ 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/refs/tags/v%{version}.tar.gz +Source0: %{url}/archive/refs/tags/%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: python3 @@ -44,11 +44,10 @@ window managers, on Arch Linux, Void Linux, Debian and Fedora. %install %py3_install -# not sure why setup.py doesn't do this, but: -install -p -D dist/%{name} %{buildroot}/%{_bindir}/%{name} -desktop-file-edit --set-icon %{_datadir}/%{name}/%{name}.svg dist/%{name}.desktop +# desktop-file-edit --set-icon %{_datadir}/%{name}/%{name}.svg dist/%{name}.desktop 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 && @@ -61,6 +60,7 @@ done %{python3_sitelib}/%{name}-*.egg-info/ %{_bindir}/%{name} %{_datadir}/%{name}/ +%{_datadir}/pixmaps/* %{_datadir}/applications/* %doc README.md @@ -68,6 +68,13 @@ done %license LICENSE LICENSE-COLORTHIEF %changelog +* Thu Nov 28 2024 liyunqing - 1.13.1-1 +- Upgrade to version 1.13.1 + Fixed path to the helper image used when creating a thumbnail for images with non-standard aspect ratios. + fixed SyntaxWarning for invalid escape sequence in main.py + adjustment to the current imagemagick version + Added Italian translation; + * Mon Mar 04 2024 liweigang - 1.12.5-1 - update to version 1.12.5