Compare commits
No commits in common. "rawhide" and "f31" have entirely different histories.
5 changed files with 89 additions and 103 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,6 +1,3 @@
|
|||
/ZeGrapher-3.0.1.tar.gz
|
||||
/ZeGrapher-3.0.2.tar.gz
|
||||
/ZeGrapher-3.1.tar.gz
|
||||
/ZeGrapher-3.1.1.tar.gz
|
||||
/zegrapher-70d26fb.tar.gz
|
||||
/ZeCalculator-v0.12.3.tar.gz
|
||||
|
|
|
|||
30
0001-Fix-issues-with-appdata-file.patch
Normal file
30
0001-Fix-issues-with-appdata-file.patch
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
From eb3d66976eb15e285990024136459b24ac4bd964 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m@gmail.com>
|
||||
Date: Wed, 11 Oct 2017 11:48:16 +0200
|
||||
Subject: [PATCH] Fix issues with appdata file
|
||||
|
||||
---
|
||||
ZeGrapher.appdata.xml | 5 ++---
|
||||
1 file changed, 2 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/ZeGrapher.appdata.xml b/ZeGrapher.appdata.xml
|
||||
index c9c20ea..2742984 100644
|
||||
--- a/ZeGrapher.appdata.xml
|
||||
+++ b/ZeGrapher.appdata.xml
|
||||
@@ -15,11 +15,10 @@
|
||||
<p>
|
||||
Here is what Zegrapher v3.0 can offer you:<br/>
|
||||
<ul>
|
||||
- <li>Visualize up to six functions simultaneously. All the usual functions can be called: they're all written on a virtual keyboard. <br/>
|
||||
- On a given function, others can be called, so it is possible to associate or compose functions.</li>
|
||||
+ <li>Visualize up to six functions simultaneously. All the usual functions can be called: they're all written on a virtual keyboard. On a given function, others can be called, so it is possible to associate or compose functions.</li>
|
||||
<li>Numerical sequence plotting, they can be defined by a recurrent relation or explicitly.</li>
|
||||
<li>Parametric equation plotting. The curves can be animated, with adjustable smoothness (frame rate) and speed (ms per step).</li>
|
||||
- <li>Experimental data plot and polynomial fit (regression). Data can be imported/exported from a CSV file.
|
||||
+ <li>Experimental data plot and polynomial fit (regression). Data can be imported/exported from a CSV file.</li>
|
||||
<li>Parametric plot for functions, sequences and parametric equations: the parameter symbol to use is "k".</li>
|
||||
<li>Plot tangents: they can be moved and resized simply with the mouse.</li>
|
||||
<li>Plot derivatives and antiderviatives.</li>
|
||||
--
|
||||
2.24.1
|
||||
|
||||
59
changelog
59
changelog
|
|
@ -1,59 +0,0 @@
|
|||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Aug 24 19:22:32 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 3.1.1-1
|
||||
- Update to 3.1.1 (#1854049)
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jan 11 20:40:10 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 3.1-1
|
||||
- Update to 3.1 (#1787890)
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sun Feb 18 2018 Robert-André Mauchin <zebob.m@gmail.com> - 3.0.2-4
|
||||
- Add missing BR for gcc-c++
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.0.2-2
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Wed Oct 11 2017 Robert-André Mauchin <zebob.m@gmail.com> - 3.0.2-1
|
||||
- Upstream release 3.0.2
|
||||
|
||||
* Tue Sep 26 2017 Robert-André Mauchin <zebob.m@gmail.com> - 3.0.1-2
|
||||
- Added patches to fix permissions, fix desktop file, add appdata and add install method
|
||||
|
||||
* Mon Sep 25 2017 Robert-André Mauchin <zebob.m@gmail.com> - 3.0.1-1
|
||||
- Initial package.
|
||||
3
sources
3
sources
|
|
@ -1,2 +1 @@
|
|||
SHA512 (zegrapher-70d26fb.tar.gz) = 6c6c955e4bf9c85a2dec8cf00d62f825cb3d5fce5afcf47fbbf08bba1b9f56e65e48d209d7de477f2d94d347ecfa95d48b6391418d9f1f81091d443e392d8f5d
|
||||
SHA512 (ZeCalculator-v0.12.3.tar.gz) = a939c4dceb47a5d9cd0268e458c8e7c8833fc58b5daaeab5d76cbf7e7800b87f4388782be50feebb16a70181c8b0f5677db4e1219a3861ce0789e6a826d6cdbd
|
||||
SHA512 (ZeGrapher-3.1.tar.gz) = 5d102fae0da5757085abc3ed6a65475fecbc8190979236ac28a28cc72c3c782882c9ac5fb64ead8198cdf6d9f02dd9df97b4fb84f513938602d5ad368fcddc32
|
||||
|
|
|
|||
|
|
@ -1,35 +1,24 @@
|
|||
%global gitdate 20260105
|
||||
%global commit 70d26fbca881b99a0a58c16f3802339e38c924eb
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global altname ZeGrapher
|
||||
|
||||
Name: zegrapher
|
||||
Summary: Free and opensource math graphing software
|
||||
Version: 3.1.1^%{gitdate}git%{shortcommit}
|
||||
Release: %autorelease
|
||||
License: AGPL-3.0-or-later
|
||||
Version: 3.1
|
||||
Release: 1%{?dist}
|
||||
License: GPLv3+
|
||||
|
||||
URL: https://www.zegrapher.com/
|
||||
Source0: https://github.com/AdelKS/ZeGrapher/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
||||
Source1: https://github.com/AdelKS/ZeCalculator/archive/v0.12.3/ZeCalculator-v0.12.3.tar.gz
|
||||
Source0: https://github.com/AdelKS/%{altname}/archive/v%{version}/%{altname}-%{version}.tar.gz
|
||||
|
||||
# https://github.com/AdelKS/ZeGrapher/issues/14
|
||||
Patch0: 0001-Fix-issues-with-appdata-file.patch
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: meson
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake(Qt6Core)
|
||||
BuildRequires: cmake(Qt6Gui)
|
||||
BuildRequires: cmake(Qt6Widgets)
|
||||
BuildRequires: cmake(Qt6Network)
|
||||
BuildRequires: cmake(Qt6Svg)
|
||||
BuildRequires: cmake(Qt6Quick)
|
||||
BuildRequires: cmake(Qt6Qml)
|
||||
BuildRequires: cmake(Qt6QuickWidgets)
|
||||
|
||||
BuildRequires: pkgconfig(Qt5)
|
||||
BuildRequires: pkgconfig(Qt5WebKit)
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libappstream-glib
|
||||
|
||||
# License: AGPL-3.0-or-later
|
||||
Provides: bundled(zecalculator) = 0.12.3
|
||||
|
||||
%description
|
||||
ZeGrapher is a plotting program for functions, sequences, parametric equations,
|
||||
and tabular data. It has been designed to be as easy to use as possible.
|
||||
|
|
@ -42,34 +31,64 @@ is also possible.
|
|||
Plots can be exported in various image formats and as PDF files.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -C
|
||||
mkdir -p subprojects/zecalculator
|
||||
tar xf %{SOURCE1} -C subprojects/zecalculator --strip-components=1
|
||||
%autosetup -p1 -n %{altname}-%{version}
|
||||
sed -i 's|^QMAKE_LFLAGS_RELEASE = -s|QMAKE_LFLAGS_RELEASE =|' ZeGrapher.pro
|
||||
|
||||
sed -i "s|meson.project_version()|'%{version}'|" meson.build
|
||||
# https://github.com/AdelKS/ZeGrapher/pull/15
|
||||
find . -type f -executable -exec chmod 0644 "{}" +;
|
||||
|
||||
%build
|
||||
%meson --buildtype=debugoptimized -Dtest=true
|
||||
%meson_build
|
||||
mkdir build && cd build
|
||||
%qmake_qt5 ../ PREFIX=%{_prefix}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
%make_install INSTALL_ROOT=%{buildroot} -C build
|
||||
|
||||
%find_lang %{altname} --with-qt
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{altname}.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{altname}.appdata.xml
|
||||
|
||||
%meson_test
|
||||
|
||||
%files
|
||||
%files -f %{altname}.lang
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/ZeGrapher
|
||||
%{_datadir}/applications/ZeGrapher.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/ZeGrapher.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/ZeGrapher.svg
|
||||
%{_datadir}/metainfo/ZeGrapher.metainfo.xml
|
||||
%{_bindir}/%{altname}
|
||||
%{_datadir}/appdata/%{altname}.appdata.xml
|
||||
%{_datadir}/applications/%{altname}.desktop
|
||||
%{_datadir}/icons/hicolor/128x128/apps/%{altname}.png
|
||||
%dir %{_datadir}/%{altname}
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
* Sat Jan 11 20:40:10 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 3.1-1
|
||||
- Update to 3.1 (#1787890)
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sun Feb 18 2018 Robert-André Mauchin <zebob.m@gmail.com> - 3.0.2-4
|
||||
- Add missing BR for gcc-c++
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.0.2-2
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Wed Oct 11 2017 Robert-André Mauchin <zebob.m@gmail.com> - 3.0.2-1
|
||||
- Upstream release 3.0.2
|
||||
|
||||
* Tue Sep 26 2017 Robert-André Mauchin <zebob.m@gmail.com> - 3.0.1-2
|
||||
- Added patches to fix permissions, fix desktop file, add appdata and add install method
|
||||
|
||||
* Mon Sep 25 2017 Robert-André Mauchin <zebob.m@gmail.com> - 3.0.1-1
|
||||
- Initial package.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue