Dominique Leuenberger 2021-07-13 20:37:18 +00:00 committed by Git OBS Bridge
commit 30b7f37f72
4 changed files with 35 additions and 20 deletions

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Sun Jun 27 22:33:21 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.7.0.13:
* polynomial system solver optimizations (rational univariate
representation computation and real root isolation).
- Changes from version 1.7.0:
* Javascript interpreter added: QuickJS.
- Changes from version 1.6.17:
* Compatibility with calculators (KhiCAS sessions for Numworks,
TI nspire CX).
* Inclusion of a MicroPython interpreter (with builtin modules
for teaching), you can switch interpreter by typing python or
xcas in an empty commandline.
- Changes from version 1.6.0:
* Improved FFT over finite field, half-GCD implementation.
- Enforce '-std=c++14' for openSUSE >= 1550 to build with gcc 11,
as giac codebase isn't C++17 ready.
- Fix a few more script-without-shebang issues.
- Drop install_info post scriptlets and associated BuildRequires;
these have been managed by file triggers for a while now.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 25 10:57:20 UTC 2020 - Jan Engelhardt <jengelh@inai.de> Fri Sep 25 10:57:20 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package giac # spec file for package giac
# #
# Copyright (c) 2020 SUSE LLC. # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%bcond_with cocoa %bcond_with cocoa
Name: giac Name: giac
%define tarver 1.5.0-85 %define tarver 1.7.0-13
Version: %( echo %{tarver} | sed 's/-/./' ) Version: %( echo %{tarver} | sed 's/-/./' )
%define mainver %( echo %{tarver} | sed 's/-.*//' ) %define mainver %( echo %{tarver} | sed 's/-.*//' )
%define soname 0 %define soname 0
@ -29,10 +29,10 @@ Group: Productivity/Scientific/Math
URL: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html URL: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
Source: http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_%{tarver}.tar.gz Source: http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_%{tarver}.tar.gz
BuildRequires: bison BuildRequires: bison
BuildRequires: byacc
BuildRequires: flex
BuildRequires: blas-devel BuildRequires: blas-devel
BuildRequires: byacc
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: flex
BuildRequires: fltk-devel BuildRequires: fltk-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gcc-fortran BuildRequires: gcc-fortran
@ -66,8 +66,6 @@ BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xft) BuildRequires: pkgconfig(xft)
BuildRequires: pkgconfig(xinerama) BuildRequires: pkgconfig(xinerama)
Requires(post): %install_info_prereq
Requires(preun): %install_info_prereq
%if !%{with cocoa} %if !%{with cocoa}
BuildRequires: pkgconfig(ao) BuildRequires: pkgconfig(ao)
%endif %endif
@ -129,6 +127,9 @@ usage of giac, a computer algebra system.
find . -type f -iname '.*' -delete find . -type f -iname '.*' -delete
%build %build
%if 0%{?suse_version} >= 1550
export CXXFLAGS+=' -std=c++14'
%endif
%configure \ %configure \
--enable-gui \ --enable-gui \
--enable-static=no --enable-static=no
@ -155,6 +156,7 @@ chmod a+x %{buildroot}%{_datadir}/%{name}/doc/pari/gphtml
# fix script-without-shebang # fix script-without-shebang
chmod a-x %{buildroot}%{_datadir}/%{name}/examples/Exemples/*/*.xws chmod a-x %{buildroot}%{_datadir}/%{name}/examples/Exemples/*/*.xws
chmod a-x %{buildroot}%{_datadir}/%{name}/examples/geo/*.cas chmod a-x %{buildroot}%{_datadir}/%{name}/examples/geo/*.cas
chmod a-x %{buildroot}%{_datadir}/%{name}/examples/groebner/*
chmod a-x %{buildroot}%{_datadir}/%{name}/examples/lewisw/fermat_gcd_1var chmod a-x %{buildroot}%{_datadir}/%{name}/examples/lewisw/fermat_gcd_1var
chmod a-x %{buildroot}%{_datadir}/%{name}/examples/lewisw/fermat_gcd_mod_1var chmod a-x %{buildroot}%{_datadir}/%{name}/examples/lewisw/fermat_gcd_mod_1var
# fix spurious-executable-perm # fix spurious-executable-perm
@ -171,16 +173,6 @@ rm %{buildroot}%{_docdir}/giac/Makefile.am
%fdupes -s %{buildroot}%{_datadir} %fdupes -s %{buildroot}%{_datadir}
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}_es.info%{ext_info}
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}_us.info%{ext_info}
%preun
if [ $1 -eq 0 ]; then
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}_es.info%{ext_info}
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}_us.info%{ext_info}
fi
%post -n lib%{name}%{soname} -p /sbin/ldconfig %post -n lib%{name}%{soname} -p /sbin/ldconfig
%postun -n lib%{name}%{soname} -p /sbin/ldconfig %postun -n lib%{name}%{soname} -p /sbin/ldconfig
@ -220,6 +212,7 @@ fi
%{_datadir}/icons/hicolor/*/mimetypes/*xcas.png %{_datadir}/icons/hicolor/*/mimetypes/*xcas.png
%{_datadir}/pixmaps/xcas.xpm %{_datadir}/pixmaps/xcas.xpm
%{_datadir}/applications/xcas.desktop %{_datadir}/applications/xcas.desktop
%{_datadir}/metainfo/*.xml
%files -n lib%{name}%{soname} %files -n lib%{name}%{soname}
%license COPYING %license COPYING

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:301bcd7c24c4fadaacfa7679916b3967701a16abcf55cc4af2b187055d7e2c0e
size 78258049

3
giac_1.7.0-13.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d365059b895ef065f437720aca05140b87d22cec918fcc4ebbee087ca665dc93
size 86447065