From 1a7f17776057d842eef85d0e7aac6b9cf9be37e9 Mon Sep 17 00:00:00 2001 From: Jeremy Sanders Date: Tue, 24 Dec 2024 12:28:13 +0000 Subject: [PATCH 01/15] Bump build for RHBZ#2333963 --- veusz.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/veusz.spec b/veusz.spec index 64a9900..9afddd3 100644 --- a/veusz.spec +++ b/veusz.spec @@ -1,6 +1,6 @@ Name: veusz Version: 3.6.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: GUI scientific plotting package License: GPL-2.0-or-later AND (LGPL-2.1-only OR GPL-3.0-only) AND PSF-2.0 AND CC0-1.0 @@ -122,6 +122,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/veusz %changelog +* Tue Dec 24 2024 Jeremy Sanders - 3.6.2-7 +- Bump for Numpy 2 (RHBZ#2333963) + * Sat Jul 20 2024 Fedora Release Engineering - 3.6.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 105c3dac1e904ee8fe45b7526947b65f5fcba099 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 14:17:42 +0000 Subject: [PATCH 02/15] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- veusz.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/veusz.spec b/veusz.spec index 9afddd3..31d78ef 100644 --- a/veusz.spec +++ b/veusz.spec @@ -1,6 +1,6 @@ Name: veusz Version: 3.6.2 -Release: 7%{?dist} +Release: 8%{?dist} Summary: GUI scientific plotting package License: GPL-2.0-or-later AND (LGPL-2.1-only OR GPL-3.0-only) AND PSF-2.0 AND CC0-1.0 @@ -122,6 +122,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/veusz %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 3.6.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Tue Dec 24 2024 Jeremy Sanders - 3.6.2-7 - Bump for Numpy 2 (RHBZ#2333963) From 3a50f7820bbd87b5982098533ee45762fbea7d8b Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 3 Jun 2025 15:53:10 +0200 Subject: [PATCH 03/15] Rebuilt for Python 3.14 --- veusz.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/veusz.spec b/veusz.spec index 31d78ef..5a7232e 100644 --- a/veusz.spec +++ b/veusz.spec @@ -1,6 +1,6 @@ Name: veusz Version: 3.6.2 -Release: 8%{?dist} +Release: 9%{?dist} Summary: GUI scientific plotting package License: GPL-2.0-or-later AND (LGPL-2.1-only OR GPL-3.0-only) AND PSF-2.0 AND CC0-1.0 @@ -122,6 +122,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/veusz %changelog +* Tue Jun 03 2025 Python Maint - 3.6.2-9 +- Rebuilt for Python 3.14 + * Sun Jan 19 2025 Fedora Release Engineering - 3.6.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 15b8f85cf4bc9554d26848569af57b317268f2f1 Mon Sep 17 00:00:00 2001 From: Jeremy Sanders Date: Sun, 15 Jun 2025 10:05:21 +0100 Subject: [PATCH 04/15] Update to Veusz 4.1 --- .gitignore | 1 + sources | 2 +- veusz.spec | 29 +++++++++++++++++++---------- 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 6beb0ae..419c7af 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,4 @@ veusz-1.8.tar.gz /veusz-3.6.tar.gz /veusz-3.6.1.tar.gz /veusz-3.6.2.tar.gz +/veusz-4.1.tar.gz diff --git a/sources b/sources index cb0b28a..e4cc620 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (veusz-3.6.2.tar.gz) = 5580171c0259415cf3de11322133fde02e244b65ffede1e83b5e6d17c8a037624860550495dc0b53c7b5e2f65b3ae6b95daa0e95f7164358e1201ffedeb13f51 +SHA512 (veusz-4.1.tar.gz) = 02e73aaa1888cad63b88fef8fd8f52a92c4cda90e253d7f628b29190b41e1672c89e5989ec3f282c3f58cc420402d4dcdf514b782e6e663a4a5b18a4a67ee308 diff --git a/veusz.spec b/veusz.spec index 5a7232e..32026d1 100644 --- a/veusz.spec +++ b/veusz.spec @@ -1,6 +1,6 @@ Name: veusz -Version: 3.6.2 -Release: 9%{?dist} +Version: 4.1 +Release: 1%{?dist} Summary: GUI scientific plotting package License: GPL-2.0-or-later AND (LGPL-2.1-only OR GPL-3.0-only) AND PSF-2.0 AND CC0-1.0 @@ -10,15 +10,20 @@ Source0: https://github.com/veusz/veusz/releases/download/veusz-%{version BuildRequires: gcc gcc-c++ BuildRequires: python3 python3-devel python3-setuptools BuildRequires: python3-numpy -BuildRequires: qt5-qtbase-devel qt5-qtsvg-devel -BuildRequires: python3-qt5 python3-qt5-devel -BuildRequires: python3-pyqt5-sip python3dist(sip) -BuildRequires: python3-h5py +BuildRequires: qt6-qtbase-devel qt6-qtsvg-devel +BuildRequires: python3-pyqt6 python3-pyqt6-devel +BuildRequires: python3-pyqt6-sip python3dist(sip) +BuildRequires: python3-h5py python3-astropy BuildRequires: python3-tomli BuildRequires: desktop-file-utils -Requires: python3dist(pyqt5-sip) >= 12.8, python3dist(pyqt5-sip) < 13 -Requires: python3-numpy python3-qt5 /usr/bin/env +Requires: python3dist(pyqt6-sip) >= 13, python3dist(pyqt6-sip) < 14 +Requires: python3-pyqt6 python3-pyqt6-sip +Requires: python3-numpy +Requires: qt6-qtsvg +Requires: /usr/bin/env +Recommends: python3-h5py python3-astropy ghostscript qt6-qtimageformats + Provides: python3-veusz # we don't want to provide private python extension libs @@ -54,7 +59,7 @@ sed -i '/^#!/d' veusz/veusz_listen.py rm -rf %{buildroot} # veusz-resource-dir: put data files in location given -%{__python3} setup.py install --skip-build --root %{buildroot} \ +%{python3} setup.py install --skip-build --root %{buildroot} \ --veusz-resource-dir=%{buildroot}/%{_datadir}/veusz \ --disable-install-examples @@ -104,7 +109,7 @@ install -p Documents/man-page/veusz.1 -m 0644 \ PYTHONPATH=%{buildroot}%{python3_sitearch} \ VEUSZ_RESOURCE_DIR=%{buildroot}%{_datadir}/veusz \ QT_QPA_PLATFORM=minimal \ - %{__python3} tests/runselftest.py + %{python3} tests/runselftest.py %files %doc README.md AUTHORS COPYING @@ -122,6 +127,10 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/veusz %changelog +* Sun Jun 15 2025 Jeremy Sanders - 4.1-1 +- Update to Veusz 4.1 +- Updates to Requires and Recommends + * Tue Jun 03 2025 Python Maint - 3.6.2-9 - Rebuilt for Python 3.14 From 0f413f059382b5d79117586cbae1244fd4992833 Mon Sep 17 00:00:00 2001 From: Jeremy Sanders Date: Sun, 15 Jun 2025 11:41:13 +0100 Subject: [PATCH 05/15] i686 doesn't have python3-astropy, so remove as builddepend --- veusz.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/veusz.spec b/veusz.spec index 32026d1..49fe572 100644 --- a/veusz.spec +++ b/veusz.spec @@ -13,7 +13,7 @@ BuildRequires: python3-numpy BuildRequires: qt6-qtbase-devel qt6-qtsvg-devel BuildRequires: python3-pyqt6 python3-pyqt6-devel BuildRequires: python3-pyqt6-sip python3dist(sip) -BuildRequires: python3-h5py python3-astropy +BuildRequires: python3-h5py BuildRequires: python3-tomli BuildRequires: desktop-file-utils From 1b52de2cc43ec7634dba3dbb75be0f682f864d74 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 20:03:48 +0000 Subject: [PATCH 06/15] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- veusz.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/veusz.spec b/veusz.spec index 49fe572..e4adfbe 100644 --- a/veusz.spec +++ b/veusz.spec @@ -1,6 +1,6 @@ Name: veusz Version: 4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GUI scientific plotting package License: GPL-2.0-or-later AND (LGPL-2.1-only OR GPL-3.0-only) AND PSF-2.0 AND CC0-1.0 @@ -127,6 +127,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/veusz %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jun 15 2025 Jeremy Sanders - 4.1-1 - Update to Veusz 4.1 - Updates to Requires and Recommends From f0dd56bb02234bda8fa14694fa96cdc2b2e861a0 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 15:21:56 +0200 Subject: [PATCH 07/15] Rebuilt for Python 3.14.0rc2 bytecode --- veusz.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/veusz.spec b/veusz.spec index e4adfbe..2592be8 100644 --- a/veusz.spec +++ b/veusz.spec @@ -1,6 +1,6 @@ Name: veusz Version: 4.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GUI scientific plotting package License: GPL-2.0-or-later AND (LGPL-2.1-only OR GPL-3.0-only) AND PSF-2.0 AND CC0-1.0 @@ -127,6 +127,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/veusz %changelog +* Fri Aug 15 2025 Python Maint - 4.1-3 +- Rebuilt for Python 3.14.0rc2 bytecode + * Fri Jul 25 2025 Fedora Release Engineering - 4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From f9d158148d53396aded7d24c931a4f2709e92399 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 15:02:05 +0200 Subject: [PATCH 08/15] Rebuilt for Python 3.14.0rc3 bytecode --- veusz.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/veusz.spec b/veusz.spec index 2592be8..c0fb12c 100644 --- a/veusz.spec +++ b/veusz.spec @@ -1,6 +1,6 @@ Name: veusz Version: 4.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GUI scientific plotting package License: GPL-2.0-or-later AND (LGPL-2.1-only OR GPL-3.0-only) AND PSF-2.0 AND CC0-1.0 @@ -127,6 +127,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/veusz %changelog +* Fri Sep 19 2025 Python Maint - 4.1-4 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 4.1-3 - Rebuilt for Python 3.14.0rc2 bytecode From 5c8b1ae3f05234541641d1292fe3751c6a3f97cf Mon Sep 17 00:00:00 2001 From: Jeremy Sanders Date: Sun, 12 Oct 2025 09:54:01 +0100 Subject: [PATCH 09/15] Update to Veusz 4.2 --- .gitignore | 1 + sources | 2 +- veusz.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 419c7af..d2e83ed 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,4 @@ veusz-1.8.tar.gz /veusz-3.6.1.tar.gz /veusz-3.6.2.tar.gz /veusz-4.1.tar.gz +/veusz-4.2.tar.gz diff --git a/sources b/sources index e4cc620..0393faa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (veusz-4.1.tar.gz) = 02e73aaa1888cad63b88fef8fd8f52a92c4cda90e253d7f628b29190b41e1672c89e5989ec3f282c3f58cc420402d4dcdf514b782e6e663a4a5b18a4a67ee308 +SHA512 (veusz-4.2.tar.gz) = e357fffa3c57932bd8f81533d31be5668bed32af6830dd5a517196160f12cd735b66608118bcc166c7c558516ee055fd3194a55d8d5b3369f65a105304a13bb3 diff --git a/veusz.spec b/veusz.spec index c0fb12c..bdb0e21 100644 --- a/veusz.spec +++ b/veusz.spec @@ -1,6 +1,6 @@ Name: veusz -Version: 4.1 -Release: 4%{?dist} +Version: 4.2 +Release: 1%{?dist} Summary: GUI scientific plotting package License: GPL-2.0-or-later AND (LGPL-2.1-only OR GPL-3.0-only) AND PSF-2.0 AND CC0-1.0 @@ -127,6 +127,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/veusz %changelog +* Sun Oct 12 2025 Jeremy Sanders - 4.2-1 +- Update to Veusz 4.2 + * Fri Sep 19 2025 Python Maint - 4.1-4 - Rebuilt for Python 3.14.0rc3 bytecode From e08602245d5f0549f7e3f7e316a35e19aaa4b3f6 Mon Sep 17 00:00:00 2001 From: Jeremy Sanders Date: Sun, 12 Oct 2025 11:36:12 +0100 Subject: [PATCH 10/15] Remove python-tomli requirement --- veusz.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/veusz.spec b/veusz.spec index bdb0e21..6e31886 100644 --- a/veusz.spec +++ b/veusz.spec @@ -1,6 +1,6 @@ Name: veusz Version: 4.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GUI scientific plotting package License: GPL-2.0-or-later AND (LGPL-2.1-only OR GPL-3.0-only) AND PSF-2.0 AND CC0-1.0 @@ -14,7 +14,6 @@ BuildRequires: qt6-qtbase-devel qt6-qtsvg-devel BuildRequires: python3-pyqt6 python3-pyqt6-devel BuildRequires: python3-pyqt6-sip python3dist(sip) BuildRequires: python3-h5py -BuildRequires: python3-tomli BuildRequires: desktop-file-utils Requires: python3dist(pyqt6-sip) >= 13, python3dist(pyqt6-sip) < 14 @@ -127,6 +126,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/veusz %changelog +* Sun Oct 12 2025 Jeremy Sanders - 4.2-2 +- Remove python3-tomli build requirement + * Sun Oct 12 2025 Jeremy Sanders - 4.2-1 - Update to Veusz 4.2 From ee9f2ab2b3d6f05044a8d0ffc406d9ebdb4abaac Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 19:53:05 +0000 Subject: [PATCH 11/15] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- veusz.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/veusz.spec b/veusz.spec index 6e31886..f443e6b 100644 --- a/veusz.spec +++ b/veusz.spec @@ -1,6 +1,6 @@ Name: veusz Version: 4.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GUI scientific plotting package License: GPL-2.0-or-later AND (LGPL-2.1-only OR GPL-3.0-only) AND PSF-2.0 AND CC0-1.0 @@ -126,6 +126,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/veusz %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 4.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Sun Oct 12 2025 Jeremy Sanders - 4.2-2 - Remove python3-tomli build requirement From 6602dc159b4aa98cd283215f3c457254c1ec655a Mon Sep 17 00:00:00 2001 From: Python Maint Date: Thu, 4 Jun 2026 09:33:19 +0200 Subject: [PATCH 12/15] Rebuilt for Python 3.15 --- veusz.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/veusz.spec b/veusz.spec index f443e6b..457dc74 100644 --- a/veusz.spec +++ b/veusz.spec @@ -1,6 +1,6 @@ Name: veusz Version: 4.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GUI scientific plotting package License: GPL-2.0-or-later AND (LGPL-2.1-only OR GPL-3.0-only) AND PSF-2.0 AND CC0-1.0 @@ -126,6 +126,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/veusz %changelog +* Thu Jun 04 2026 Python Maint - 4.2-4 +- Rebuilt for Python 3.15 + * Sat Jan 17 2026 Fedora Release Engineering - 4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 3ef2556c08555f44338d9a4373a2d1bb895bb68d Mon Sep 17 00:00:00 2001 From: Jeremy Sanders Date: Sun, 21 Jun 2026 17:11:16 +0100 Subject: [PATCH 13/15] Update to Veusz 4.2.1 --- .gitignore | 2 ++ sources | 3 +- veusz.spec | 85 ++++++++++++++++++++++++++---------------------------- 3 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.gitignore b/.gitignore index d2e83ed..ea31816 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,5 @@ veusz-1.8.tar.gz /veusz-3.6.2.tar.gz /veusz-4.1.tar.gz /veusz-4.2.tar.gz +/veusz-4.2.1.tar.gz +/remove-vectorfield-test.patch diff --git a/sources b/sources index 0393faa..b89f9c1 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (veusz-4.2.tar.gz) = e357fffa3c57932bd8f81533d31be5668bed32af6830dd5a517196160f12cd735b66608118bcc166c7c558516ee055fd3194a55d8d5b3369f65a105304a13bb3 +SHA512 (veusz-4.2.1.tar.gz) = 7433f5f7d17f0b45b2a2e3e9d85aa19dcbbdb583f75697ba0919592c99fa9cfd859f94996548b43f7ac3e9e479453041a790d4e3022bb8e699b0e421002e1d58 +SHA512 (remove-vectorfield-test.patch) = b1a05e8a50ead8ea52fec3bdcaffbf731a12ce56a66f7f7256f65ecd75126ccd27ee8f23241a6ffb6c67d62dd9eee034e1b548609448f81165be7ff2dcaf95a9 diff --git a/veusz.spec b/veusz.spec index 457dc74..806257c 100644 --- a/veusz.spec +++ b/veusz.spec @@ -1,26 +1,29 @@ Name: veusz -Version: 4.2 -Release: 4%{?dist} +Version: 4.2.1 +Release: 1%{?dist} Summary: GUI scientific plotting package License: GPL-2.0-or-later AND (LGPL-2.1-only OR GPL-3.0-only) AND PSF-2.0 AND CC0-1.0 URL: https://veusz.github.io/ Source0: https://github.com/veusz/veusz/releases/download/veusz-%{version}/veusz-%{version}.tar.gz +Patch0: remove-vectorfield-test.patch + +# see RHBZ#2491178 +ExcludeArch: s390x BuildRequires: gcc gcc-c++ -BuildRequires: python3 python3-devel python3-setuptools +BuildRequires: python3-devel BuildRequires: python3-numpy BuildRequires: qt6-qtbase-devel qt6-qtsvg-devel BuildRequires: python3-pyqt6 python3-pyqt6-devel -BuildRequires: python3-pyqt6-sip python3dist(sip) +BuildRequires: python3dist(sip) BuildRequires: python3-h5py BuildRequires: desktop-file-utils Requires: python3dist(pyqt6-sip) >= 13, python3dist(pyqt6-sip) < 14 -Requires: python3-pyqt6 python3-pyqt6-sip +Requires: python3-pyqt6 Requires: python3-numpy Requires: qt6-qtsvg -Requires: /usr/bin/env Recommends: python3-h5py python3-astropy ghostscript qt6-qtimageformats Provides: python3-veusz @@ -29,8 +32,8 @@ Provides: python3-veusz # https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering %global __provides_exclude_from ^%{python3_sitearch}/veusz/helpers/.*\\.so$ -# install docs in version specific for old releases -%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} +%generate_buildrequires +%pyproject_buildrequires %description Veusz is a 2D and 3D scientific plotting package, designed to create @@ -42,33 +45,24 @@ ternary plots, vector plots, contours, images, shapes and fitting data. 3D point, surface, volume and function plots are also supported. %prep -%setup -q -n veusz-%{version} - -find -name \*~ | xargs rm -f +%autosetup -v -n veusz-%{version} -p1 # remove shebangs from scripts which aren't installed # (veusz allows these to be executed if app isn't installed properly) sed -i '/^#!/d' veusz/veusz_main.py sed -i '/^#!/d' veusz/veusz_listen.py +# delete hidden file in docs +rm -f Documents/manual/html/.buildinfo + %build -%py3_build +%pyproject_wheel %install rm -rf %{buildroot} -# veusz-resource-dir: put data files in location given -%{python3} setup.py install --skip-build --root %{buildroot} \ - --veusz-resource-dir=%{buildroot}/%{_datadir}/veusz \ - --disable-install-examples - -# tell veusz where its resource directory is in _datadir -ln -s %{_datadir}/veusz \ - %{buildroot}%{python3_sitearch}/veusz/resources - -# tell it where to look for examples and COPYING -ln -s %{_pkgdocdir}/examples \ - %{buildroot}%{_datadir}/veusz +%pyproject_install +%pyproject_save_files veusz # install desktop file desktop-file-install \ @@ -80,22 +74,20 @@ mkdir -p %{buildroot}%{_datadir}/mime/packages/ install -p support/veusz.xml -m 0644 %{buildroot}%{_datadir}/mime/packages/ # appdata file -mkdir -p %{buildroot}%{_datadir}/appdata/ -install -p support/veusz.appdata.xml -m 0644 %{buildroot}%{_datadir}/appdata/ +install -D -p -m 0644 support/veusz.appdata.xml \ + %{buildroot}%{_metainfodir}/veusz.appdata.xml -# symlink main veusz icon into pixmaps (for desktop file) -mkdir %{buildroot}%{_datadir}/pixmaps -ln -s ../veusz/icons/veusz_48.png %{buildroot}%{_datadir}/pixmaps/veusz.png +# copy main icon into pixmaps (for desktop file) +install -D -p -m 0644 icons/veusz.png \ + %{buildroot}%{_datadir}/pixmaps/veusz.png -# also link in hicolor icons +# also copy in hicolor icons for size in 16 32 48 64 128; do - odir=%{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps - mkdir -p $odir - ln -s %{_datadir}/veusz/icons/veusz_${size}.png ${odir}/veusz.png + install -D -p -m 0644 icons/veusz_${size}.png \ + %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/veusz.png done -odir=%{buildroot}%{_datadir}/icons/hicolor/scalable/apps -mkdir -p $odir -ln -s %{_datadir}/veusz/icons/veusz.svg $odir +install -D -p -m 0644 icons/veusz.svg \ + %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/veusz.svg # install man pages mkdir -p %{buildroot}%{_mandir}/man1 @@ -103,29 +95,35 @@ install -p Documents/man-page/veusz.1 -m 0644 \ %{buildroot}%{_mandir}/man1 %check -# as the data directory hasn't got the same absolute path we have -# to define VEUSZ_RESOURCE_DIR +# emf_export relies on pyemf3 which isn't packaged +%pyproject_check_import -e veusz.document.emf_export -e veusz.examples.* PYTHONPATH=%{buildroot}%{python3_sitearch} \ - VEUSZ_RESOURCE_DIR=%{buildroot}%{_datadir}/veusz \ QT_QPA_PLATFORM=minimal \ %{python3} tests/runselftest.py %files %doc README.md AUTHORS COPYING -%doc examples %doc Documents/manual/html %{_bindir}/veusz %{_mandir}/man1/veusz.1.gz %{_datadir}/applications/veusz.desktop %{_datadir}/mime/packages/veusz.xml -%{_datadir}/appdata/veusz.appdata.xml +%{_metainfodir}/veusz.appdata.xml %{_datadir}/pixmaps/veusz.png %{_datadir}/icons/hicolor/*/apps/veusz.* -%{_datadir}/veusz -%{python3_sitearch}/veusz-*.egg-info +%{python3_sitearch}/veusz-%{version}.dist-info/ %{python3_sitearch}/veusz %changelog +* Sun Jun 21 2026 Jeremy Sanders - 4.2.1-1 +- Update to new Python packaging guidelines +- Update appdata location to _metainfodir +- Copy icons rather than symlink +- Remove line for versioned docdir +- Remove examples from documentation +- Cleanup dependencies and build dependencies +- Update to Veusz 4.2.1 + * Thu Jun 04 2026 Python Maint - 4.2-4 - Rebuilt for Python 3.15 @@ -620,4 +618,3 @@ with Python licensing * Mon Jun 19 2006 Jeremy Sanders - 0.10-2 - Renamed from python-veusz to veusz - From b4caa53a0df7028eba4410562982f5b597114703 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:27:45 +0000 Subject: [PATCH 14/15] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- veusz.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/veusz.spec b/veusz.spec index 806257c..8a67043 100644 --- a/veusz.spec +++ b/veusz.spec @@ -1,6 +1,6 @@ Name: veusz Version: 4.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GUI scientific plotting package License: GPL-2.0-or-later AND (LGPL-2.1-only OR GPL-3.0-only) AND PSF-2.0 AND CC0-1.0 @@ -115,6 +115,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/veusz %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 4.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sun Jun 21 2026 Jeremy Sanders - 4.2.1-1 - Update to new Python packaging guidelines - Update appdata location to _metainfodir From ffc0c38337458ecff7c7247f24203bf041a4f89c Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 22 Jul 2026 20:19:54 +0200 Subject: [PATCH 15/15] Rebuilt for Python 3.15.0b4 ABI change --- veusz.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/veusz.spec b/veusz.spec index 8a67043..1e81907 100644 --- a/veusz.spec +++ b/veusz.spec @@ -1,6 +1,6 @@ Name: veusz Version: 4.2.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: GUI scientific plotting package License: GPL-2.0-or-later AND (LGPL-2.1-only OR GPL-3.0-only) AND PSF-2.0 AND CC0-1.0 @@ -115,6 +115,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/veusz %changelog +* Wed Jul 22 2026 Python Maint - 4.2.1-3 +- Rebuilt for Python 3.15.0b4 ABI change + * Fri Jul 17 2026 Fedora Release Engineering - 4.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild