Update to sagemath 6.5

This commit is contained in:
pcpa 2015-04-03 20:10:52 -03:00
parent 48c70ab672
commit baae9bd2a8
23 changed files with 299 additions and 174 deletions

View file

@ -20,11 +20,11 @@
%global conway_polynomials_pkg conway_polynomials-0.4
%global elliptic_curves_pkg elliptic_curves-0.7
%global flintqs_pkg flintqs-20070817
%global graphs_pkg graphs-20120404
%global graphs_pkg graphs-20130920
%global pexpect_pkg pexpect-2.0
%global polytopes_db_pkg polytopes_db-20120220
%global rubiks_pkg rubiks-20070912
%global sagenb_pkg sagenb-0.11.1
%global sagenb_pkg sagenb-0.11.4
%global sagetex_pkg sagetex-2.3.4
%global SAGE_ROOT %{_libdir}/sagemath
@ -38,8 +38,8 @@
Name: sagemath
Group: Applications/Engineering
Summary: A free open-source mathematics software system
Version: 6.4.1
Release: 4%{?dist}
Version: 6.5
Release: 1%{?dist}
# The file ${SAGE_ROOT}/COPYING.txt is the upstream license breakdown file
# Additionally, every $files section has a comment with the license name
# before files with that license
@ -142,6 +142,9 @@ Patch22: %{name}-sympy.patch
# Fix a name clash with NTL
Patch23: %{name}-ntl.patch
# Temporary patch: http://trac.sagemath.org/ticket/17657
Patch24: %{name}-parallel.patch
BuildRequires: 4ti2
BuildRequires: atlas-devel
BuildRequires: cddlib-tools
@ -399,6 +402,16 @@ BuildArch: noarch
%description doc
This package contains the documentation infrastructure for %{name}.
#------------------------------------------------------------------------
%package doc-ca
Summary: Catalan documentation files for %{name}
Group: Documentation
Requires: %{name}-doc = %{version}-%{release}
BuildArch: noarch
%description doc-ca
This package contains the Catalan %{name} documentation.
#------------------------------------------------------------------------
%package doc-de
Summary: German documentation files for %{name}
@ -429,6 +442,16 @@ BuildArch: noarch
%description doc-fr
This package contains the French %{name} documentation.
#------------------------------------------------------------------------
%package doc-hu
Summary: Hungarian documentation files for %{name}
Group: Documentation
Requires: %{name}-doc = %{version}-%{release}
BuildArch: noarch
%description doc-hu
This package contains the Hungarian %{name} documentation.
#------------------------------------------------------------------------
%package doc-it
Summary: Italian documentation files for %{name}
@ -590,6 +613,7 @@ popd
%patch5
%patch6
%patch7
%patch8
%patch9
%patch10
@ -610,6 +634,7 @@ popd
%patch21
%patch22
%patch23
%patch24
sed -e 's|@@SAGE_ROOT@@|%{SAGE_ROOT}|' \
-e 's|@@SAGE_DOC@@|%{SAGE_DOC}|' \
@ -739,7 +764,7 @@ pushd src
ln -sf libcsage.so.0 %{buildroot}%{_libdir}/libcsage.so
# install documentation sources
rm -fr $SAGE_DOC/{common,en,fr}
cp -far doc/{common,de,en,fr,pt,ru,tr} $SAGE_DOC
cp -far doc/{common,ca,de,en,fr,hu,it,pt,ru,tr} $SAGE_DOC
popd
#------------------------------------------------------------------------
@ -1176,6 +1201,12 @@ exit 0
%dir %{SAGE_DOC}/output
%dir %{SAGE_DOC}/output/html
#------------------------------------------------------------------------
%files doc-ca
# GPLv2+
%{SAGE_DOC}/ca
%{SAGE_DOC}/output/html/ca
#------------------------------------------------------------------------
%files doc-de
# GPLv2+
@ -1194,9 +1225,16 @@ exit 0
%{SAGE_DOC}/fr
%{SAGE_DOC}/output/html/fr
#------------------------------------------------------------------------
%files doc-hu
# GPLv2+
%{SAGE_DOC}/nu
%{SAGE_DOC}/output/html/hu
#------------------------------------------------------------------------
%files doc-it
# GPLv2+
%{SAGE_DOC}/it
%{SAGE_DOC}/output/html/it
#------------------------------------------------------------------------
@ -1304,6 +1342,11 @@ exit 0
########################################################################
%changelog
* Fri Apr 3 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 6.5-1
- Update to sagemath 6.5
- Add new Catalan and Hungarian doc subpackages
- Add customizations to not need a patched pari
* Sat Feb 7 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 6.4.1-4
- Rebuild with a functional jsmol interface (#1190356)