824f443
# Tests excluded
5adb72f
# See https://xcas.univ-grenoble-alpes.fr/forum/viewtopic.php?f=19&t=1733
824f443
%bcond_with check
824f443
c96a51e
%bcond_without flexiblas
c96a51e
5adb72f
# giac does not support LTO
5adb72f
%define _lto_cflags %{nil}
5adb72f
05a80c7
%global subversion .13
c93f5b1
c93f5b1
Name:          giac
c93f5b1
Summary:       Computer Algebra System, Symbolic calculus, Geometry
Antonio Trande 03f781c
Version:       1.7.0%{subversion}
e02076f
Release:       2%{?dist}
c93f5b1
# LGPLv3+: src/Fl_GDI_Printer.cxx, src/Flv_List.cc, src/Flv_Table.cc
c93f5b1
# BSD: src/tinymt32*
5adb72f
# MIT: libmicropython.a
5adb72f
License:       GPLv3+ and MIT
c93f5b1
URL:           http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
c93f5b1
## Source package is downloaded from
c93f5b1
## http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/
a429f92
## and re-packed without non-free FR documentation by giac-makesrc script.
edb6346
Source0:       %{name}-%{version}.tar.gz
c93f5b1
Source1:       %{name}-makesrc.sh
316adc4
2b21873
# Recent math.h adds an iszero macro, but giac has an iszero function
2b21873
Patch0:        %{name}-iszero.patch
c93f5b1
3aed5bd
# Deal with LTO compromised configure test
5adb72f
Patch1:        %{name}-config.patch
3aed5bd
5adb72f
# Use Fedora compiler flags
5adb72f
Patch2:        %{name}-1.6.0-fix_micropy_compiler_flags.patch
5adb72f
4be4ac9
# Adapt to cocoalib 0.99700
4be4ac9
Patch3:        %{name}-cocoalib.patch
4be4ac9
5adb72f
BuildRequires: autoconf, libtool
5adb72f
BuildRequires: python3-devel
c93f5b1
BuildRequires: readline-devel
c93f5b1
BuildRequires: gettext-devel
c93f5b1
BuildRequires: gcc-c++
4be4ac9
BuildRequires: make
e02076f
BuildRequires: cliquer-devel
b5c0efa
BuildRequires: cocoalib-devel
b5c0efa
BuildRequires: glpk-devel
c93f5b1
BuildRequires: gmp-devel
c197b9f
BuildRequires: gmp-ecm-devel
c93f5b1
BuildRequires: gsl-devel
c197b9f
BuildRequires: libnauty-devel
b5c0efa
BuildRequires: mpfr-devel
c93f5b1
BuildRequires: ntl-devel
c93f5b1
BuildRequires: pari-devel
c96a51e
%if %{with flexiblas}
5adb72f
BuildRequires: flexiblas-devel
c96a51e
%else
5adb72f
BuildRequires: blas-devel, lapack-devel
c96a51e
%endif
c93f5b1
BuildRequires: mpfi-devel
c93f5b1
BuildRequires: mesa-libGL-devel
b5c0efa
BuildRequires: libao-devel
c197b9f
BuildRequires: libcurl-devel
c93f5b1
BuildRequires: libpng-devel
c93f5b1
BuildRequires: libjpeg-devel
c197b9f
BuildRequires: libsamplerate-devel
c93f5b1
BuildRequires: fltk-devel
c93f5b1
BuildRequires: libXinerama-devel
c93f5b1
BuildRequires: desktop-file-utils
c93f5b1
BuildRequires: libappstream-glib
c93f5b1
c93f5b1
Provides: bundled(tinymt32)
c93f5b1
5adb72f
# The micropython inside is a custom port with
5adb72f
# addtional built-in modules that are linked to giac.
5adb72f
Provides: libmicropython-static = 1.12
5adb72f
Provides: libgiac-static = 1.6.0
5adb72f
Provides: libxcas-static = 1.6.0
5adb72f
edb6346
%global majver %(cut -d. -f1-3 <<< %{version})
edb6346
c93f5b1
%description
c93f5b1
Giac is a Computer Algebra System made by Bernard Parisse. It  provides 
c93f5b1
features from the C/C++ libraries PARI, NTL (arithmetic), GSL (numerics), 
c93f5b1
GMP (big integers), MPFR (bigfloats) and also
c93f5b1
  - Efficient algorithms for multivariate polynomial operations 
c93f5b1
        (product, GCD, factorization, groebner bases),
c93f5b1
  - Symbolic computations: solver, simplifications, limits/series, integration,
c93f5b1
  - Linear algebra with numerical or symbolic coefficients.
c93f5b1
  - Partial Maple and TI compatibility.
c93f5b1
  - It has interfaces in texmacs and sagemath.
c93f5b1
fe62418
It consists of:
c93f5b1
   - a C++ library (libgiac)
c93f5b1
   - a command line interpreter (icas/giac)
c93f5b1
   - an FLTK-based GUI (xcas) with interactive geometry and formal spreadsheets.
c93f5b1
c93f5b1
####################
c93f5b1
%package devel
c93f5b1
Summary: C++ development files for libgiac
c93f5b1
Requires: %{name}%{?_isa} = %{version}-%{release}
c7d0b60
Requires: fltk-devel%{?_isa}
c7d0b60
Requires: gsl-devel%{?_isa}
c7d0b60
Requires: mpfi-devel%{?_isa}
c7d0b60
Requires: ntl-devel%{?_isa}
c93f5b1
c93f5b1
%description devel
c93f5b1
Development files for libgiac.
c93f5b1
c93f5b1
####################
c93f5b1
%package doc
c7d0b60
Summary: Detailed html documentation for Giac/Xcas
c93f5b1
BuildArch: noarch
c93f5b1
BuildRequires: hevea
5adb72f
BuildRequires: tex(latex), texinfo, texinfo-tex, texlive-stmaryrd
c93f5b1
c93f5b1
# Javascript provided
c93f5b1
Provides: bundled(CodeMirror)
c93f5b1
Provides: bundled(FileSaver.js)
c93f5b1
c93f5b1
License:   GPLv3+ and GFDL
c93f5b1
%description doc
c93f5b1
The detailled html documentation and examples for giac and xcas. It is directly
c93f5b1
accessible from xcas in many ways (browser, context search, thematic indexes).
c93f5b1
It is strongly recommended for xcas usage. Note that the french part has been 
c93f5b1
removed from the original source due to non free Licence.
c93f5b1
c93f5b1
####################
c93f5b1
%package xcas
c93f5b1
# The name Xcas is better known than the name giac itself, 
c93f5b1
#     so many users will search for the name xcas instead of giac or giac-gui. 
c93f5b1
Summary: GUI application for Giac
c93f5b1
Provides: xcas = %{version}-%{release}
c93f5b1
Requires: %{name}%{?_isa} = %{version}-%{release}
c93f5b1
Requires: hicolor-icon-theme
c93f5b1
c93f5b1
%description xcas
c93f5b1
Xcas is the Fltk graphic user interface to the computer algebra system giac. 
c93f5b1
It supports formal computations, interactive 2D geometry, 3D plotting, 
c93f5b1
spreadsheets with formal calculus and a Logo mode. There is also a programming 
c93f5b1
editor, and many ways to consult the html help.
c93f5b1
c93f5b1
####################
c93f5b1
%package -n pgiac
c93f5b1
Summary:   Perl script for the computer algebra system Giac
c93f5b1
URL:       http://melusine.eu.org/syracuse/giac/pgiac
c93f5b1
BuildArch: noarch
ee64e4d
BuildRequires: perl-generators
c93f5b1
Requires:  %{name} = %{version}-%{release}
c93f5b1
c93f5b1
%description -n pgiac
c93f5b1
The pgiac command is a perl script to mix Latex documents
c93f5b1
with Giac computations.
c93f5b1
c93f5b1
%prep
790c841
%autosetup -p0 -n %{name}-%{majver}
c93f5b1
c93f5b1
# Remove local intl (already bundled in fedora)
c93f5b1
rm -rf intl/*.h
c93f5b1
rm -rf intl/*.cc
c93f5b1
c93f5b1
# Remove unecessary files and force the rebuild of info. 
c93f5b1
rm -f doc/pari/gphtml
c93f5b1
rm -f doc/*/texinfo.tex
c93f5b1
rm -f doc/*/giac_*.info
c93f5b1
c93f5b1
# Some files in the upstream source have unnecessary executable rights
c93f5b1
chmod -x src/*.h
c93f5b1
chmod -x src/*.cc
c93f5b1
find examples -type f -name '*.xws' -exec chmod -x '{}' \;
c93f5b1
find examples -type f -name '*.cas' -exec chmod -x '{}' \;
c93f5b1
find examples -type f -name '*.cxx' -exec chmod -x '{}' \;
c93f5b1
chmod -x examples/lewisw/fermat*
c93f5b1
# Clean backups in doc
c93f5b1
find doc -name *~ -delete
c93f5b1
c93f5b1
# Unbundle texinfo file
c93f5b1
sed -i 's|config/texinfo.tex|%{_datadir}/texmf/tex/texinfo/texinfo.tex|g' Makefile.in
c93f5b1
rm -f config/texinfo.tex
c93f5b1
c93f5b1
# Remove hidden files
c93f5b1
rm -f examples/Exemples/demo/._*
c93f5b1
rm -f examples/Exemples/analyse/._*
c93f5b1
c96a51e
%if %{with flexiblas}
06a9abe
sed -e 's|LIB(blas|LIB(flexiblas|g' -e 's|LIB(lapack|LIB(flexiblas|g' \
06a9abe
 -e 's|-lgslcblas|-lflexiblas|' -i configure.ac
c96a51e
%endif
c96a51e
5adb72f
# Prepare Micropython lib's License
5adb72f
cp -p micropython-1.12/LICENSE micropython-1.12/micropython-LICENSE
5adb72f
Antonio Trande 03f781c
# Update configure.ac obsolete macros
Antonio Trande 03f781c
autoupdate -vf
Antonio Trande 03f781c
Antonio Trande 03f781c
# Re-configuration
5adb72f
autoreconf -ivf
5adb72f
5adb72f
%build
5adb72f
export CXXFLAGS="-std=gnu++14 %build_cxxflags"
5adb72f
export CFLAGS="%build_cflags"
5adb72f
%configure --enable-static=yes --with-included-gettext=no --enable-nls=yes \
c93f5b1
 --enable-tommath=no --enable-debug=no --enable-gc=no --enable-sscl=no \
c93f5b1
 --enable-dl=yes --enable-gsl=yes --enable-lapack=yes --enable-pari=yes \
c93f5b1
 --enable-ntl=yes --enable-gmpxx=yes --enable-cocoa=autodetect \
c93f5b1
 --enable-gui=yes --disable-rpath
c93f5b1
c93f5b1
# The --disable-rpath option of configure was not enough to get rid of the hardcoded libdir
c93f5b1
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
c93f5b1
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
c93f5b1
c93f5b1
# Fix unused-direct-shlib-dependency with libgslcblas.so.0 and libgfortran.so.3
c93f5b1
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
c93f5b1
5adb72f
export CXXFLAGS="-std=gnu++14 %build_cxxflags"
5adb72f
export CFLAGS_FEDORA="%build_cflags"
5adb72f
export LDFLAGS_FEDORA="%build_ldflags"
668d82a
%make_build V=1
c93f5b1
c93f5b1
# Rebuild giac_*.info and Convert info file to utf-8
c93f5b1
(cd doc ; make)
c93f5b1
for i in doc/*/giac_*.info doc/en/html_* ; do 
c93f5b1
   iconv -f ISO-8859-1 -t UTF-8 -o $i.new $i && \
c93f5b1
   touch -r $i $i.new && \
c93f5b1
   mv $i.new $i
c93f5b1
done
c93f5b1
#
c93f5b1
c93f5b1
%install
416e976
%make_install
c93f5b1
5adb72f
# Install libmicropython.a library
5adb72f
install -pm 644 libmicropython.a %{buildroot}%{_libdir}/
5adb72f
5adb72f
# Install libxcas.a library
5adb72f
install -pm 644 src/.libs/libxcas.a %{buildroot}%{_libdir}/
5adb72f
install -pm 644 src/.libs/libgiac.a %{buildroot}%{_libdir}/
5adb72f
c93f5b1
cp -p src/tinymt32_license.h LICENSE.tinymt32
c93f5b1
c93f5b1
# Remove unwanted files.
c93f5b1
rm -f %{buildroot}%{_infodir}/dir
c93f5b1
rm -rf %{buildroot}%{_datadir}/application-registry
Antonio Trande 03f781c
c93f5b1
# The .la is still built despite the built of libgiac.a has been disabled
c93f5b1
rm -f %{buildroot}%{_libdir}/libgiac.la 
Antonio Trande 03f781c
c93f5b1
# I have tried to remove the empty files in the setup stage, it was not a good idea
c93f5b1
#   because make install will then require hevea as an extra (and big) dependancy and I guess
c93f5b1
#   that it will recreate those empty files, so it's better to delete them here.
c93f5b1
find %{buildroot} -size 0 -delete
Antonio Trande 03f781c
c93f5b1
# Obsolete symbolic link
c93f5b1
rm -f %{buildroot}%{_bindir}/xcasnew
c93f5b1
#
Antonio Trande 03f781c
Antonio Trande 03f781c
# Remove wasm file (??) with Bad Magic Number
Antonio Trande 03f781c
rm -f %{buildroot}%{_docdir}/giacwasm.wasm
Antonio Trande 03f781c
c93f5b1
# Mime package was not installed.
c93f5b1
install -pm 644 -D debian/giac.sharedmimeinfo \
c93f5b1
                     %{buildroot}%{_datadir}/mime/packages/giac.xml
c93f5b1
#
c93f5b1
Antonio Trande 03f781c
# Check appdata file
Antonio Trande 03f781c
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml
c93f5b1
#
c93f5b1
c93f5b1
# Add extra pdf docs. (NB: make dvi gives only the same doc in dvi format)
c93f5b1
install -pm 644 -t %{buildroot}%{_datadir}/giac/doc doc/en/cas*.pdf
c93f5b1
install -pm 644 -t %{buildroot}%{_datadir}/giac/doc/en doc/en/*.pdf
c93f5b1
install -pm 644 -t %{buildroot}%{_datadir}/giac/doc/el doc/el/*.pdf
c93f5b1
install -pm 644 -t %{buildroot}%{_datadir}/giac/doc/es doc/es/*.pdf
c93f5b1
c50a34d
# Symlinks used by QCAS and giacpy
cb748d3
mkdir -p %{buildroot}%{_datadir}/giac/doc/fr
cb748d3
ln -sf -T %{_datadir}/giac/doc/aide_cas %{buildroot}%{_datadir}/giac/doc/fr/aide_cas
bde66ab
ln -sf -T %{_datadir}/giac/doc/aide_cas %{buildroot}%{_datadir}/giac/doc/en/aide_cas
bde66ab
ln -sf -T %{_datadir}/giac/doc/en/casinter/index.html %{buildroot}%{_datadir}/giac/doc/en/casinter/casinter.html
bde66ab
ln -sf -T %{_datadir}/giac/doc/en/cascmd_en/index.html %{buildroot}%{_datadir}/giac/doc/en/cascmd_en/cascmd_en.html
ff68274
c93f5b1
#
c93f5b1
# DOC Files (1-4):
c93f5b1
#   1) Man: 
c93f5b1
# 
c93f5b1
mkdir -p %{buildroot}%{_mandir}/man1
c93f5b1
install -pm 644 debian/giac.1 %{buildroot}%{_mandir}/man1
c93f5b1
install -pm 644 debian/cas_help.1 %{buildroot}%{_mandir}/man1
c93f5b1
install -pm 644 debian/pgiac.1 %{buildroot}%{_mandir}/man1
c93f5b1
c93f5b1
#      Add a link for FR env users to have the english help instead of a page 
c93f5b1
#      not found.
c93f5b1
mkdir -p %{buildroot}%{_datadir}/giac/doc/fr
c93f5b1
(cd %{buildroot}%{_datadir}/giac/doc/fr ; ln -s ../en/cascmd_en cascmd_fr )
c93f5b1
c93f5b1
%find_lang %{name} 
Antonio Trande 28d0c28
desktop-file-install --vendor="" --remove-key=Encoding \
Antonio Trande 28d0c28
                     --set-key=Version --set-value=1.0 \
Antonio Trande 28d0c28
                     --dir=%{buildroot}%{_datadir}/applications/ \
Antonio Trande 28d0c28
                     %{buildroot}%{_datadir}/applications/xcas.desktop
c93f5b1
c93f5b1
# Create a list of files non required at runtime by icas nor xcas
c93f5b1
#      that are under %%{_datadir}/giac/doc for packaging in giac-doc
c93f5b1
#      a) The non required files at runtime in %%{_datadir}/giac/doc/[a-z]{2}
c93f5b1
find  %{buildroot}%{_datadir}/giac/doc -maxdepth 2 -type f| \
c93f5b1
             grep  -E "%{_datadir}/giac/doc/[a-z]{2}/" | \
c93f5b1
             grep  -v -E "%{_datadir}/giac/doc/[a-z]{2}/keywords$" | \
c93f5b1
             grep  -v -E "%{_datadir}/giac/doc/[a-z]{2}/xcasmenu$" | \
c93f5b1
             grep  -v -E "%{_datadir}/giac/doc/[a-z]{2}/xcasex$" | \
c93f5b1
             sed -e "s:%{buildroot}::" >giacdoclist
c93f5b1
#      b) Add the files under doc
c93f5b1
find  %{buildroot}%{_datadir}/giac/doc -maxdepth 1 -type f| \
c93f5b1
             grep  -v -E "%{_datadir}/giac/doc/aide_cas$" | \
c93f5b1
             sed -e "s:%{buildroot}::" >>giacdoclist
c93f5b1
c93f5b1
#      c) Add the dir under %%{_datadir}/giac/doc/[a-z]{2}
c93f5b1
find  %{buildroot}%{_datadir}/giac/doc -maxdepth 2 -type d| \
c93f5b1
             grep  -E "%{_datadir}/giac/doc/[a-z]{2}/" | \
c93f5b1
             grep  -v -E "%{_datadir}/giac/doc$" | \
c93f5b1
             grep  -v -E "%{_datadir}/giac/doc/[a-z]{2}$" | \
c93f5b1
             sed -e "s:%{buildroot}::" | \
c93f5b1
             sed -e "s:$:/:" >>giacdoclist
c93f5b1
#      d) Add all the doc subdir different from %%{_datadir}/giac/doc/[a-z]{2}
c93f5b1
find  %{buildroot}%{_datadir}/giac/doc -maxdepth 1 -type d| \
c93f5b1
             grep  -v -E "%{_datadir}/giac/doc$" | \
c93f5b1
             grep  -v -E "%{_datadir}/giac/doc/[a-z]{2}$" | \
c93f5b1
             sed -e "s:%{buildroot}::" | \
c93f5b1
             sed -e "s:$:/:" >>giacdoclist
c93f5b1
#      e) Add all the links but aide_cas
c93f5b1
find  %{buildroot}%{_datadir}/giac/doc -maxdepth 2 -type l| \
c93f5b1
             grep  -v -E "%{_datadir}/giac/doc/aide_cas$" | \
c93f5b1
             sed -e "s:%{buildroot}::" >>giacdoclist
c93f5b1
824f443
%if %{with check}
c93f5b1
%check
c93f5b1
export LD_LIBRARY_PATH=../src/.libs
c93f5b1
make -C check check
824f443
%endif
c93f5b1
c93f5b1
%files -f %{name}.lang
5adb72f
%license COPYING micropython-1.12/micropython-LICENSE
c93f5b1
%license LICENSE.tinymt32
c93f5b1
%{_bindir}/icas
c93f5b1
%{_bindir}/giac
37cc527
%{_bindir}/hevea2mml
c93f5b1
%{_bindir}/*_help
c93f5b1
%{_libdir}/libgiac.so.*
5adb72f
%{_libdir}/libgiac.a
5adb72f
%{_libdir}/libmicropython.a
5adb72f
%{_libdir}/libxcas.a
c93f5b1
#    The following files are required at runtime by icas AND xcas. 
c93f5b1
#       (Ex: if LANG is fr, alea(5) should give an INT)
c93f5b1
#       Moreover, without aide_cas the keywords files are not found in icas 
c93f5b1
#       and xcas. Additionally xcas uses it for tab completions.
c93f5b1
%{_datadir}/giac/doc/*/keywords
c93f5b1
%{_datadir}/giac/aide_cas
c93f5b1
%{_datadir}/giac/doc/aide_cas
c93f5b1
# The dirs shared
c93f5b1
%dir %{_datadir}/giac
c93f5b1
%dir %{_datadir}/giac/doc
c93f5b1
#
c93f5b1
%dir %{_datadir}/giac/doc/de
c93f5b1
%dir %{_datadir}/giac/doc/el
c93f5b1
%dir %{_datadir}/giac/doc/en
c93f5b1
%dir %{_datadir}/giac/doc/es
c93f5b1
%dir %{_datadir}/giac/doc/fr
c93f5b1
%dir %{_datadir}/giac/doc/pt
c93f5b1
%dir %{_datadir}/giac/doc/zh
c93f5b1
#
bc72a83
%{_infodir}/giac_*.info.*
c93f5b1
%{_mandir}/man1/giac*
c93f5b1
%{_mandir}/man1/*_help*
c93f5b1
c93f5b1
# The gui files
c93f5b1
%files xcas
c93f5b1
%{_bindir}/xcas
c93f5b1
# The dirs shared
c93f5b1
%dir %{_datadir}/giac
c93f5b1
%dir %{_datadir}/giac/doc
c93f5b1
#
c93f5b1
%dir %{_datadir}/giac/doc/de
c93f5b1
%dir %{_datadir}/giac/doc/el
c93f5b1
%dir %{_datadir}/giac/doc/en
c93f5b1
%dir %{_datadir}/giac/doc/es
c93f5b1
%dir %{_datadir}/giac/doc/fr
c93f5b1
%dir %{_datadir}/giac/doc/pt
c93f5b1
%dir %{_datadir}/giac/doc/zh
c93f5b1
#
c93f5b1
# Required at runtime. (additional menu)
c93f5b1
%{_datadir}/giac/doc/*/xcasmenu
c93f5b1
%{_datadir}/giac/doc/*/xcasex
c93f5b1
c93f5b1
#    Files under dirs shared with other packages
c93f5b1
%{_datadir}/applications/xcas.desktop
Antonio Trande 03f781c
%{_metainfodir}/xcas.metainfo.xml
c93f5b1
%{_datadir}/mime/packages/giac.xml
c93f5b1
%{_datadir}/pixmaps/xcas.xpm
c93f5b1
%{_datadir}/icons/hicolor/*/apps/xcas.png
c93f5b1
%{_datadir}/icons/hicolor/*/mimetypes/application-x-xcas.png
c93f5b1
c93f5b1
%files -n pgiac
c93f5b1
%{_bindir}/pgiac
c93f5b1
%{_mandir}/man1/pgiac*
c93f5b1
c93f5b1
%files devel
c93f5b1
%{_includedir}/giac/
c93f5b1
%{_libdir}/libgiac.so
c93f5b1
c93f5b1
# DOC Files
c93f5b1
%files doc -f giacdoclist
c93f5b1
#   3) As we have removed the FR doc, more than 2/3 of the following files are 
c93f5b1
#      for the EN doc, so it is meaningfull to put all the GPL doc together.   
c93f5b1
#
c93f5b1
# a GPLv3  COPYING file
c93f5b1
%doc README
c93f5b1
%license COPYING
c93f5b1
#    4) Warning about *.xws:
c93f5b1
#     - All the .xws files are examples of sessions saved from xcas. They are
c93f5b1
#       not text files and they *must not* be converted to UTF-8 or any other
c93f5b1
#       character encoding.
c93f5b1
#     - The .cas and .cxx files are giac code and function. They are text files
c93f5b1
#
c93f5b1
#   NB: %%{_docdir}/giac is in  the -filsystem package 
c93f5b1
%{_docdir}/giac/*
c93f5b1
#     Add all the files that are in %%{_datadir}/giac but not giac/aide_cas 
c93f5b1
#     and not those in giac/doc/
c93f5b1
%dir %{_datadir}/giac
c93f5b1
%dir %{_docdir}/giac
c93f5b1
%dir %{_datadir}/giac/doc
c93f5b1
# The dirs shared
c93f5b1
#
c93f5b1
%dir %{_datadir}/giac/doc/de
c93f5b1
%dir %{_datadir}/giac/doc/el
c93f5b1
%dir %{_datadir}/giac/doc/en
c93f5b1
%dir %{_datadir}/giac/doc/es
c93f5b1
%dir %{_datadir}/giac/doc/fr
c93f5b1
%dir %{_datadir}/giac/doc/pt
c93f5b1
%dir %{_datadir}/giac/doc/zh
c93f5b1
#
c93f5b1
%{_datadir}/giac/examples/
c93f5b1
c93f5b1
%changelog
e02076f
* Thu Jun 17 2021 Jerry James <loganjerry@gmail.com> - 1.7.0.13-2
e02076f
- Rebuild for cocoalib 0.99713
e02076f
- Build with cliquer support
e02076f
05a80c7
* Sat Jun 12 2021 Antonio Trande <sagitter@fedoraproject.org> 1.7.0.13-1
05a80c7
- Update to 1.7.0 sub-13
05a80c7
Antonio Trande 03f781c
* Thu Mar 25 2021 Antonio Trande <sagitter@fedoraproject.org> 1.7.0.1-1
Antonio Trande 03f781c
- Update to 1.7.0 sub-1
Antonio Trande 03f781c
- Remove wasm file with bad magic number
Antonio Trande 03f781c
- Obsolete old appdata file
Antonio Trande 03f781c
Antonio Trande 28d0c28
* Thu Mar 25 2021 Antonio Trande <sagitter@fedoraproject.org> 1.6.0.25-5
Antonio Trande 28d0c28
- Fix Version tag in desktop file
Antonio Trande 28d0c28
- Fix rhbz#1943048
Antonio Trande 28d0c28
06a9abe
* Wed Feb 17 2021 Jerry James <loganjerry@gmail.com> - 1.6.0.25-4
06a9abe
- Rebuild for cocoalib 0.99712
06a9abe
- Work harder to avoid depending on libgslcblas
06a9abe
81a218c
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0.25-3
81a218c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
81a218c
4be4ac9
* Mon Nov  9 2020 Jerry James <loganjerry@gmail.com> - 1.6.0.25-2
4be4ac9
- Rebuild for pari 2.13.0
4be4ac9
- Bring back (modified) cocoalib patch, still needed for cocoalib support
4be4ac9
5adb72f
* Wed Oct 21 2020 Antonio Trande <sagitter@fedoraproject.org> 1.6.0.25-1
5adb72f
- Update to 1.6.0 sub-25
5adb72f
- Patch configure.ac instead of configure.in
5adb72f
c96a51e
* Thu Aug 27 2020 Iñaki Úcar <iucar@fedoraproject.org> - 1.6.0.7-5
c96a51e
- https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
c96a51e
2b2db2f
* Tue Aug 18 2020 Jeff Law <law@redhat.com> - 1.6.0.7-4
2b2db2f
- Force C++14 as this code is not C++17 ready
2b2db2f
a099127
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0.7-3
a099127
- Second attempt - Rebuilt for
a099127
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a099127
9954ee0
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0.7-2
9954ee0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9954ee0
ff0e8e0
* Sun Jul 19 2020 Antonio Trande <sagitter@fedoraproject.org> 1.6.0.7-1
ff0e8e0
- Update to 1.6.0 sub-7
ff0e8e0
3aed5bd
* Tue Jun 30 2020 Jeff Law <law@redhat.com> - 1.5.0.85-4
3aed5bd
- Fix broken configure test compromised by LTO
3aed5bd
1b27315
* Tue Jun  2 2020 Jerry James <loganjerry@gmail.com> - 1.5.0.85-3
1b27315
- Rebuild for nauty 2.7.1
1b27315
c197b9f
* Fri Mar 20 2020 Jerry James <loganjerry@gmail.com> - 1.5.0.85-2
c197b9f
- Rebuild for CoCoAlib 0.99700
c197b9f
- Add cocoalib patch
c197b9f
- Build with gmp-ecm, libcurl, libsamplerate, and nauty support
c197b9f
a68c51d
* Tue Feb 04 2020 Antonio Trande <sagitter@fedoraproject.org> 1.5.0.85-1
a68c51d
- Update to 1.5.0 sub-85
a68c51d
90ecdc0
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0.75-4
90ecdc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
90ecdc0
93139aa
* Thu Jan  9 2020 Jerry James <loganjerry@gmail.com> - 1.5.0.75-3
50d4c23
- Rebuild for ntl 11.4.3
50d4c23
120b2e2
* Sat Dec  7 2019 Jerry James <loganjerry@gmail.com> - 1.5.0.75-2
120b2e2
- Rebuild for CoCoAlib 0.99650 again
120b2e2
b614420
* Thu Nov 28 2019 Antonio Trande <sagitter@fedoraproject.org> 1.5.0.75-1
b614420
- Update to 1.5.0 sub-75
b614420
- Drop cocoalib patch
b614420
266afef
* Wed Nov 27 2019 Jerry James <loganjerry@gmail.com> - 1.5.0.63-4
266afef
- Rebuild for CoCoAlib 0.99650
266afef
b7724a4
* Fri Oct 11 2019 Jerry James <loganjerry@gmail.com> - 1.5.0.63-3
b7724a4
- Rebuild for mpfr 4
b7724a4
2d716ed
* Tue Sep 24 2019 Jerry James <loganjerry@gmail.com> - 1.5.0.63-2
2d716ed
- Rebuild for ntl 11.3.4
2d716ed
ec17fa2
* Sat Sep 14 2019 Antonio Trande <sagitter@fedoraproject.org> 1.5.0.63-1
ec17fa2
- Update to 1.5.0 sub-63
ec17fa2
047f778
* Tue Aug 20 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.5.0.53-3
047f778
- Rebuilt for GSL 2.6.
047f778
e168694
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0.53-2
e168694
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e168694
73a256f
* Sat May 18 2019 Antonio Trande <sagitter@fedoraproject.org> 1.5.0.53-1
73a256f
- Update to 1.5.0 sub-53
73a256f
bc72a83
* Wed Apr 24 2019 Björn Esser <besser82@fedoraproject.org> - 1.5.0.35-4
bc72a83
- Remove hardcoded gzip suffix from GNU info pages
bc72a83
92324af
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.0.35-3
92324af
- Rebuild for readline 8.0
92324af
0ade5c6
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0.35-2
0ade5c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0ade5c6
37cc527
* Mon Jan 14 2019 Antonio Trande <sagitter@fedoraproject.org> 1.5.0.35-1
37cc527
- Update to 1.5.0 sub-35
37cc527
3d7a5a7
* Sat Oct 13 2018 Jerry James <loganjerry@gmail.com> - 1.5.0.3-2
3d7a5a7
- Rebuild for ntl 11.3.0
3d7a5a7
790c841
* Wed Oct 10 2018 Antonio Trande <sagitter@fedoraproject.org> 1.5.0.3-1
790c841
- Update to 1.5.0 sub-3
790c841
062a744
* Fri Aug 10 2018 Jerry James <loganjerry@gmail.com> - 1.4.9.59-5
062a744
- Rebuild for CoCoAlib 0.99600, ntl 11.2.1, and pari 2.11.0
062a744
e1fdb66
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.9.59-4
e1fdb66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e1fdb66
b5c0efa
* Tue Jul  3 2018 Jerry James <loganjerry@gmail.com> - 1.4.9.59-3
b5c0efa
- Build with CoCoAlib, glpk, and libao support
b5c0efa
- Remove scriptlets that call install-info
b5c0efa
af98520
* Sat Jun  2 2018 Jerry James <loganjerry@gmail.com> - 1.4.9.59-2
af98520
- Rebuild for libfplll 5.2.1 and mpfi 1.5.3
af98520
cc34221
* Fri May 18 2018 Antonio Trande <sagitter@fedoraproject.org> 1.4.9.59-1
cc34221
- Update to 1.4.9 sub-59
cc34221
- Tests still disabled (some of them fail again)
cc34221
5818f4f
* Wed Mar 28 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.9.45-5
5818f4f
- Build on all arches (tests now pass)
5818f4f
ae22a57
* Fri Feb 16 2018 Antonio Trande <sagitter@fedoraproject.org> - 1.4.9.45-4
ae22a57
- Use %%ldconfig_scriptlets
ae22a57
c554e25
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.9.45-3
c554e25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c554e25
5adb72f
* Sat Feb 03 2018 Antonio Trande <sagitter@fedoraproject.org> 1.4.9.45-2
e3648b2
- Re-set previous ldconfig scripts
e3648b2
5adb72f
* Sat Feb 03 2018 Antonio Trande <sagitter@fedoraproject.org> 1.4.9.45-1
9c84012
- Update to 1.4.9 sub-45
9c84012
- Use %%ldconfig_scriptlets
9c84012
206e5fb
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.4.9.43-2
206e5fb
- Remove obsolete scriptlets
206e5fb
5adb72f
* Sun Dec 24 2017 Antonio Trande <sagitter@fedoraproject.org> 1.4.9.43-1
6bdb8d4
- Update to 1.4.9 sub-43
6bdb8d4
5adb72f
* Thu Dec 21 2017 Antonio Trande <sagitter@fedoraproject.org> 1.4.9.41-3
cb748d3
- Symlink restored
cb748d3
5adb72f
* Thu Dec 21 2017 Antonio Trande <sagitter@fedoraproject.org> 1.4.9.41-2
615417f
- Undo latest symlink changes
615417f
5adb72f
* Sun Dec 17 2017 Antonio Trande <sagitter@fedoraproject.org> 1.4.9.41-1
c50a34d
- Update to 1.4.9 sub-41
c50a34d
- Appdata file moved into metainfo shared data directory
c50a34d
5adb72f
* Sat Dec 02 2017 Antonio Trande <sagitter@fedoraproject.org> 1.4.9.33-1
bde66ab
- Update to 1.4.9 sub-33
bde66ab
- Fix symlinks
bde66ab
5adb72f
* Fri Dec 01 2017 Antonio Trande <sagitter@fedoraproject.org> 1.4.9.29-2
ff68274
- Make symlinks used by QCAS
ff68274
5adb72f
* Thu Nov 30 2017 Antonio Trande <sagitter@fedoraproject.org> 1.4.9.29-1
668d82a
- Update to 1.4.9 sub-29
668d82a
edb6346
* Thu Sep 28 2017 Jerry James <loganjerry@gmail.com> - 1.2.3.57-1
edb6346
- Rebuild for ntl 10.5.0
edb6346
- Fix versioning scheme
edb6346
a48a504
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-9.57
a48a504
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a48a504
5adb72f
* Thu Jul 27 2017 Antonio Trande <sagitter@fedoraproject.org> 1.2.3-8.57
5903fa2
- Update to 1.2.3 sub-57
5903fa2
ce23ecf
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-7.49
ce23ecf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ce23ecf
955b6cd
* Thu Jul 13 2017 Petr Pisar <ppisar@redhat.com> - 1.2.3-6.49
5903fa2
- perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
955b6cd
5adb72f
* Sun Jun 11 2017 Antonio Trande <sagitter@fedoraproject.org> 1.2.3-5.49
3513dbc
- Update to 1.2.3 sub-49
3513dbc
8234c70
* Sun May 14 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.3-4.43
8234c70
- Bump Release so upgrade path works
8234c70
5adb72f
* Fri May 12 2017 Antonio Trande <sagitter@fedoraproject.org> 1.2.3-1.43
6597d87
- Update to 1.2.3 sub-43
6597d87
6597d87
* Wed Apr 05 2017 Jerry James <loganjerry@gmail.com> - 1.2.3-3.25
c7d0b60
- Rebuild for ntl 10.3.0
c7d0b60
- Make EVR greater than 1.2.3-3.13
c7d0b60
5adb72f
* Sun Feb 19 2017 Antonio Trande <sagitter@fedoraproject.org> 1.2.3-1.25
416e976
- Update to 1.2.3 sub-25
416e976
b3ec0f4
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-3.13
b3ec0f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b3ec0f4
2060387
* Sat Jan 21 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.3-2.13
2060387
- Adjust release so it's newer than the previous rev
2060387
5adb72f
* Wed Jan 18 2017 Antonio Trande <sagitter@fedoraproject.org> 1.2.3-1.13
3f113bc
- Update to 1.2.3 sub-13
3f113bc
Igor Gnatenko f7a53b8
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.2.3-2.9
Igor Gnatenko f7a53b8
- Rebuild for readline 7.x
Igor Gnatenko f7a53b8
5adb72f
* Thu Jan 05 2017 Antonio Trande <sagitter@fedoraproject.org> 1.2.3-1.9
2273a23
- Update to 1.2.3 sub-9
2273a23
- Conformed to new rules for scriptlets
2273a23
5adb72f
* Sun Dec 25 2016 Antonio Trande <sagitter@fedoraproject.org> 1.2.2-14.105
2986d87
- Update to subversion 105
2986d87
2986d87
* Fri Dec 02 2016 Paul Howarth <paul@city-fan.org> 1.2.2-13.103
6caa2bc
- Rebuild for pari 2.9.0
6caa2bc
5adb72f
* Tue Nov 15 2016 Antonio Trande <sagitter@fedoraproject.org> 1.2.2-12.103
a429f92
- Update to subversion 103
a429f92
2b21873
* Thu Oct 20 2016 Jerry James <loganjerry@gmail.com> 1.2.2-11.85
2b21873
- Rebuild for ntl 10.1.0
2b21873
- Add -iszero patch to fix breakage with recent glibc versions
2b21873
5adb72f
* Tue Sep 27 2016 Antonio Trande <sagitter@fedoraproject.org>  1.2.2-10.85
824f443
- Update to subversion 85
824f443
824f443
* Mon Sep 05 2016 Jerry James <loganjerry@gmail.com> 1.2.2-9.75
6062531
- Rebuild for ntl 9.11.0
6062531
824f443
* Mon Jul 25 2016 Jerry James <loganjerry@gmail.com> 1.2.2-8.75
2964532
- Rebuild for ntl 9.10.0
2964532
5adb72f
* Fri Jul 15 2016 Antonio Trande <sagitter@fedoraproject.org>  1.2.2-7.75
ca30830
- Update to subversion 75
ca30830
5adb72f
* Thu Jul 07 2016 Antonio Trande <sagitter@fedoraproject.org>  1.2.2-6.63
fe62418
- Exclude s390x
fe62418
5adb72f
* Sat Jul 02 2016 Antonio Trande <sagitter@fedoraproject.org>  1.2.2-5.63
fe62418
- Fix directories ownership
c93f5b1
- Exclude PPC and aarch64
c93f5b1
5adb72f
* Thu Jun 30 2016 Antonio Trande <sagitter@fedoraproject.org>  1.2.2-4.63
c93f5b1
- Update to subversion 63
c93f5b1
- Add libXinerama BR
c93f5b1
- Fix co-owning of documentation sub-directories
c93f5b1
- Fix appdata file
c93f5b1
- Add Provides tags
c93f5b1
5adb72f
* Thu May 19 2016 Antonio Trande <sagitter@fedoraproject.org>  1.2.2-3.45
c93f5b1
- Source tarball repacked without non-free docs
c93f5b1
- Licenses combined in GPLv3+ only
c93f5b1
5adb72f
* Fri May 13 2016 Antonio Trande <sagitter@fedoraproject.org>  1.2.2-2
c93f5b1
- Fix required package of pgiac
c93f5b1
5adb72f
* Fri May 13 2016 Antonio Trande <sagitter@fedoraproject.org>  1.2.2-1
c93f5b1
- Update to 1.2.2
c93f5b1
- pgiac script packaged separately
c93f5b1
- Fix cSolveorder check
c93f5b1
- Update scriptlets
c93f5b1
- Add appdata file
c93f5b1
- Excluded PPC and aarch64
c93f5b1
- Drop the filesystem sub-package
c93f5b1
c93f5b1
* Sun Jul  6 2014  Frederic Han <han@math.jussieu.fr>  1.1.1-1
c93f5b1
- Update to current stable upstream version. Remove obsolete patches.
c93f5b1
- Add mpfi-devel dependency. (New feature in 1.1.1)
c93f5b1
- Add requires of hicolor-icon-theme instead of owning dirs.
c93f5b1
 
c93f5b1
* Sun Apr 27 2014 Frederic Han <han@math.jussieu.fr>  1.1.0-1
c93f5b1
- Let the doc package be independent of the binary packages. So create 
c93f5b1
  a filesystem package containing the shared directories
c93f5b1
c93f5b1
* Wed Apr 16 2014 Frederic Han <han@math.jussieu.fr>  1.1.0-1
c93f5b1
- Dont delete  intl/Makefile to avoid Makefile and configure modif/rebuilt
c93f5b1
- Create a file list: giacdocfile for giac/doc files that are not needed
c93f5b1
  at runtime
c93f5b1
- Remove %%dir %%{_datadir}/mime and %%dir %%{_datadir}/mime/packages from 
c93f5b1
  giac-xcas package list
c93f5b1
c93f5b1
* Mon Apr 14 2014 Frederic Han <han@math.jussieu.fr>  1.1.0-1
c93f5b1
- Add tinymt32 License in %%doc, and LGPLv2+ tag 
c93f5b1
- Add gettext-devel in BR and disable included intl
c93f5b1
- removed doc/*/texinfo.tex, add BR texinfo, and rebuild *.info with 
c93f5b1
  the system texinfo.tex file for License clarity, also convert them to utf-8
c93f5b1
- Add missing %%dir in %%files xcas  and %%files
c93f5b1
- Fix unused-direct-shlib-dependency for libgiac
c93f5b1
- Remove x perms in examples, clean backup files
c93f5b1
- Move the mime and desktop updates to %%post xcas and %%postun xcas
c93f5b1
- Add a warning to *not* try to convert .xws files to UTF-8
c93f5b1
c93f5b1
* Fri Apr 11 2014 Frederic Han <han@math.jussieu.fr>  1.1.0-1
c93f5b1
- Initial version 
c93f5b1
- Found GPLv3 and v2 files in 1.1.0 sources. So package the GPLv3 LICENSE.
c93f5b1
- Put GPLv3+ tag on the -doc package according to 1.1.1.
c93f5b1
- Rename the package giac-gui to giac-xcas.
c93f5b1
- Add a check patch and make check.
c93f5b1
- Some files of %%{_datadir}/giac are need at runtime. So, 
c93f5b1
  add them in the main or -xcas package filelist.
c93f5b1
- Move all the %%{_docdir}/giac files except LICENSE to the -doc package
c93f5b1
- Add extra pdf doc found in source archive.
c93f5b1
- Untabify spec file.
c93f5b1
- remove the README patch to keep the original 1.1.0 unchanged. add a README.fedora
c93f5b1
  to explain the License evolution of giac non FR doc.
c93f5b1
- Improve giac.1 manpage.