Accepting request 905955 from science
OBS-URL: https://build.opensuse.org/request/show/905955 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/giac?expand=0&rev=2
This commit is contained in:
commit
30b7f37f72
22
giac.changes
22
giac.changes
@ -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>
|
||||
|
||||
|
27
giac.spec
27
giac.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,8 +18,8 @@
|
||||
|
||||
%bcond_with cocoa
|
||||
Name: giac
|
||||
%define tarver 1.5.0-85
|
||||
Version: %( echo %{tarver} | sed 's/-/./' )
|
||||
%define tarver 1.7.0-13
|
||||
Version: %( echo %{tarver} | sed 's/-/./' )
|
||||
%define mainver %( echo %{tarver} | sed 's/-.*//' )
|
||||
%define soname 0
|
||||
Release: 0
|
||||
@ -29,10 +29,10 @@ Group: Productivity/Scientific/Math
|
||||
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
|
||||
BuildRequires: bison
|
||||
BuildRequires: byacc
|
||||
BuildRequires: flex
|
||||
BuildRequires: blas-devel
|
||||
BuildRequires: byacc
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: flex
|
||||
BuildRequires: fltk-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc-fortran
|
||||
@ -66,8 +66,6 @@ BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xext)
|
||||
BuildRequires: pkgconfig(xft)
|
||||
BuildRequires: pkgconfig(xinerama)
|
||||
Requires(post): %install_info_prereq
|
||||
Requires(preun): %install_info_prereq
|
||||
%if !%{with cocoa}
|
||||
BuildRequires: pkgconfig(ao)
|
||||
%endif
|
||||
@ -129,6 +127,9 @@ usage of giac, a computer algebra system.
|
||||
find . -type f -iname '.*' -delete
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} >= 1550
|
||||
export CXXFLAGS+=' -std=c++14'
|
||||
%endif
|
||||
%configure \
|
||||
--enable-gui \
|
||||
--enable-static=no
|
||||
@ -155,6 +156,7 @@ chmod a+x %{buildroot}%{_datadir}/%{name}/doc/pari/gphtml
|
||||
# fix script-without-shebang
|
||||
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/groebner/*
|
||||
chmod a-x %{buildroot}%{_datadir}/%{name}/examples/lewisw/fermat_gcd_1var
|
||||
chmod a-x %{buildroot}%{_datadir}/%{name}/examples/lewisw/fermat_gcd_mod_1var
|
||||
# fix spurious-executable-perm
|
||||
@ -171,16 +173,6 @@ rm %{buildroot}%{_docdir}/giac/Makefile.am
|
||||
|
||||
%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
|
||||
%postun -n lib%{name}%{soname} -p /sbin/ldconfig
|
||||
|
||||
@ -220,6 +212,7 @@ fi
|
||||
%{_datadir}/icons/hicolor/*/mimetypes/*xcas.png
|
||||
%{_datadir}/pixmaps/xcas.xpm
|
||||
%{_datadir}/applications/xcas.desktop
|
||||
%{_datadir}/metainfo/*.xml
|
||||
|
||||
%files -n lib%{name}%{soname}
|
||||
%license COPYING
|
||||
|
@ -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
3
giac_1.7.0-13.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d365059b895ef065f437720aca05140b87d22cec918fcc4ebbee087ca665dc93
|
||||
size 86447065
|
Loading…
Reference in New Issue
Block a user