c93f5b1
# Architectures currently not supported
c93f5b1
# http://xcas.e.ujf-grenoble.fr/XCAS/viewtopic.php?f=19&t=1723
fe62418
ExcludeArch: aarch64 ppc64 ppc64le s390x
c93f5b1
ca30830
%global subversion 75
c93f5b1
c93f5b1
Name:          giac
c93f5b1
Summary:       Computer Algebra System, Symbolic calculus, Geometry
c93f5b1
Version:       1.2.2
2964532
Release:       8.%{subversion}%{?dist}
c93f5b1
# LGPLv3+: src/Fl_GDI_Printer.cxx, src/Flv_List.cc, src/Flv_Table.cc
c93f5b1
# BSD: src/tinymt32*
c93f5b1
License:       GPLv3+
c93f5b1
Group:         Applications/Engineering
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/
c93f5b1
## and re-package without non-free FR documentation by giac-makesrc script.
c93f5b1
Source0:       %{name}-%{version}.%{subversion}.tar.gz
c93f5b1
Source1:       %{name}-makesrc.sh
c93f5b1
Source2:       xcas-appdata.xml
c93f5b1
c93f5b1
# Fix cSolveorder check
c93f5b1
Patch0:        %{name}-cSolveorder-check.patch
c93f5b1
c93f5b1
BuildRequires: readline-devel
c93f5b1
BuildRequires: gettext-devel
c93f5b1
BuildRequires: gcc-c++
c93f5b1
BuildRequires: mpfr-devel
c93f5b1
BuildRequires: gmp-devel
c93f5b1
BuildRequires: gsl-devel
c93f5b1
BuildRequires: ntl-devel
c93f5b1
BuildRequires: pari-devel
c93f5b1
BuildRequires: lapack-devel
c93f5b1
BuildRequires: mpfi-devel
c93f5b1
BuildRequires: mesa-libGL-devel
c93f5b1
BuildRequires: libpng-devel
c93f5b1
BuildRequires: libjpeg-devel
c93f5b1
BuildRequires: fltk-devel
c93f5b1
BuildRequires: libXinerama-devel
c93f5b1
BuildRequires: desktop-file-utils
c93f5b1
BuildRequires: libappstream-glib
c93f5b1
BuildRequires: tex(latex), texinfo, texinfo-tex
c93f5b1
c93f5b1
Requires(post): info
c93f5b1
Requires(preun): info
c93f5b1
c93f5b1
Provides: bundled(tinymt32)
c93f5b1
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
Group:   Development/Libraries
c93f5b1
Requires: %{name}%{?_isa} = %{version}-%{release}
c93f5b1
c93f5b1
%description devel
c93f5b1
Development files for libgiac.
c93f5b1
c93f5b1
####################
c93f5b1
%package doc
c93f5b1
Summary: Detailled html documentation for Giac/Xcas
c93f5b1
BuildArch: noarch
c93f5b1
BuildRequires: hevea
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
c93f5b1
Requires:  %{name} = %{version}-%{release}
c93f5b1
Requires:  perl
c93f5b1
c93f5b1
%description -n pgiac
c93f5b1
The pgiac command is a perl script to mix Latex documents
c93f5b1
with Giac computations.
c93f5b1
c93f5b1
%prep
c93f5b1
%setup -q
c93f5b1
%patch0 -p0
c93f5b1
c93f5b1
# Remove local intl (already bundled in fedora)
c93f5b1
rm -rf intl/*.h
c93f5b1
rm -rf intl/*.cc
c93f5b1
# NB: Problem with autoreconf: missing config/test-driver . If needed the 
c93f5b1
#     following worked
c93f5b1
# aclocal
c93f5b1
# autoconf
c93f5b1
# automake --add-missing
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
c93f5b1
%build
fe62418
export LDFLAGS="%{__global_ldflags} -Wl,--as-needed"
c93f5b1
%configure --enable-static=no --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
c93f5b1
make %{?_smp_mflags}
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
c93f5b1
make DESTDIR=%{buildroot} install
c93f5b1
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
c93f5b1
# The .la is still built despite the built of libgiac.a has been disabled
c93f5b1
rm -f %{buildroot}%{_libdir}/libgiac.la 
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
c93f5b1
find %{buildroot} -name *~ -delete
c93f5b1
# Obsolete symbolic link
c93f5b1
rm -f %{buildroot}%{_bindir}/xcasnew
c93f5b1
#
c93f5b1
# Mime package was not installed.
c93f5b1
install -pm 644 -D debian/giac.sharedmimeinfo \
c93f5b1
                     %{buildroot}%{_datadir}/mime/packages/giac.xml
c93f5b1
#
c93f5b1
c93f5b1
# Install/check appdata file.
c93f5b1
install -pm 644 -D %{SOURCE2} \
c93f5b1
                     %{buildroot}%{_datadir}/appdata/xcas.appdata.xml
c93f5b1
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.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
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} 
c93f5b1
desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications/\
c93f5b1
                       %{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
c93f5b1
%post
c93f5b1
/sbin/ldconfig
c93f5b1
/sbin/install-info %{_infodir}/%{name}_us.info %{_infodir}/dir || :
c93f5b1
/sbin/install-info %{_infodir}/%{name}_es.info %{_infodir}/dir || :
c93f5b1
c93f5b1
%preun
c93f5b1
if [ $1 = 0 ] ; then
c93f5b1
/sbin/install-info --delete %{_infodir}/%{name}_us.info %{_infodir}/dir || :
c93f5b1
/sbin/install-info --delete %{_infodir}/%{name}_es.info %{_infodir}/dir || :
c93f5b1
fi
c93f5b1
c93f5b1
%postun -p /sbin/ldconfig
c93f5b1
c93f5b1
%post xcas
c93f5b1
if [ $1 -eq 0 ] ; then
c93f5b1
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
c93f5b1
fi
c93f5b1
/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || :
c93f5b1
/usr/bin/update-desktop-database &> /dev/null || :
c93f5b1
c93f5b1
%postun xcas
c93f5b1
touch --no-create %{_datadir}/icons/hicolor
c93f5b1
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
c93f5b1
  %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
c93f5b1
fi
c93f5b1
if [ $1 -eq 0 ] ; then
c93f5b1
  /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
c93f5b1
fi
c93f5b1
/usr/bin/update-desktop-database &> /dev/null || :
c93f5b1
c93f5b1
%posttrans xcas
c93f5b1
/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
c93f5b1
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
c93f5b1
c93f5b1
%check
c93f5b1
export LD_LIBRARY_PATH=../src/.libs
c93f5b1
make -C check check
c93f5b1
c93f5b1
%files -f %{name}.lang
c93f5b1
%license COPYING
c93f5b1
%license LICENSE.tinymt32
c93f5b1
%{_bindir}/icas
c93f5b1
%{_bindir}/giac
c93f5b1
%{_bindir}/*_help
c93f5b1
%{_libdir}/libgiac.so.*
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
#
c93f5b1
%{_infodir}/giac_*.info.gz
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
c93f5b1
%{_datadir}/appdata/xcas.appdata.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
2964532
* Mon Jul 25 2016 Jerry James <loganjerry@gmail.com>  1.2.2-8.75
2964532
- Rebuild for ntl 9.10.0
2964532
ca30830
* Fri Jul 15 2016 Antonio Trande <sagitterATfedoraproject.org>  1.2.2-7.75
ca30830
- Update to subversion 75
ca30830
fe62418
* Thu Jul 07 2016 Antonio Trande <sagitterATfedoraproject.org>  1.2.2-6.63
fe62418
- Exclude s390x
fe62418
c93f5b1
* Sat Jul 02 2016 Antonio Trande <sagitterATfedoraproject.org>  1.2.2-5.63
fe62418
- Fix directories ownership
c93f5b1
- Exclude PPC and aarch64
c93f5b1
c93f5b1
* Thu Jun 30 2016 Antonio Trande <sagitterATfedoraproject.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
c93f5b1
* Thu May 19 2016 Antonio Trande <sagitterATfedoraproject.org>  1.2.2-3.45
c93f5b1
- Source tarball repacked without non-free docs
c93f5b1
- Licenses combined in GPLv3+ only
c93f5b1
c93f5b1
* Fri May 13 2016 Antonio Trande <sagitterATfedoraproject.org>  1.2.2-2
c93f5b1
- Fix required package of pgiac
c93f5b1
c93f5b1
* Fri May 13 2016 Antonio Trande <sagitterATfedoraproject.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.