Update to sagemath 6.3

This commit is contained in:
pcpa 2014-08-15 13:30:04 -03:00
parent 86aa0a3b29
commit 886f9fabef
22 changed files with 1019 additions and 1023 deletions

View file

@ -38,8 +38,8 @@
Name: sagemath
Group: Applications/Engineering
Summary: A free open-source mathematics software system
Version: 6.2
Release: 2%{?dist}
Version: 6.3
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
@ -51,8 +51,6 @@ Source2: makecmds.sty
# not installed by jmol package, use one in sagemath jmol spkg
Source3: Jmol.js
Source4: JmolHelp.html
# from jmol-12.3.27.p2 spkg
Source5: testjava.sh
# 1. scons ignores most environment variables
# 2. scons 2.2* does not have soname support (expected for scons 2.3*)
@ -156,7 +154,7 @@ Patch24: %{name}-sympy.patch
# -k (keep-going)
Patch25: %{name}-sphinx.patch
# Edited latest version from http://trac.sagemath.org/ticket/15767
# Rediffed latest version from http://trac.sagemath.org/ticket/15767
Patch26: %{name}-pari2.7.patch
BuildRequires: 4ti2
@ -440,6 +438,16 @@ BuildArch: noarch
%description doc-fr
This package contains the French %{name} documentation.
#------------------------------------------------------------------------
%package doc-it
Summary: Italian documentation files for %{name}
Group: Documentation
Requires: %{name}-doc = %{version}-%{release}
BuildArch: noarch
%description doc-it
This package contains the Italian %{name} documentation.
#------------------------------------------------------------------------
%package doc-pt
Summary: Portuguese documentation files for %{name}
@ -614,7 +622,7 @@ popd
%patch24
%patch25
%patch26 -p1
%patch26
sed -e 's|@@SAGE_ROOT@@|%{SAGE_ROOT}|' \
-e 's|@@SAGE_DOC@@|%{SAGE_DOC}|' \
@ -749,7 +757,6 @@ popd
pushd build/pkgs/sagenb/src/%{sagenb_pkg}
rm -f %{buildroot}%{python_sitearch}/sagenb/data/sage3d/sage3d
python setup.py install --root=%{buildroot} --install-purelib=%{python_sitearch}
install -p -m0755 %{SOURCE5} $SAGE_LOCAL/bin/testjava.sh
# jmol
rm -fr %{buildroot}%{python_sitearch}/sagenb/data/jmol
mkdir -p %{buildroot}%{python_sitearch}/sagenb/data/jmol/appletweb
@ -1077,6 +1084,9 @@ rm -r %{buildroot}%{python_sitearch}/sagenb/data/sage3d
# remove cache files
rm -r %{buildroot}%{python_sitearch}/sagenb/data/.webassets-cache
# remove sage_setup
rm -r %{buildroot}%{python_sitearch}/sage_setup
# last install command
rm -fr $DOT_SAGE
@ -1127,7 +1137,6 @@ exit 0
%{SAGE_LOCAL}/bin/ecm
%{SAGE_LOCAL}/bin/gap_stamp
%{SAGE_LOCAL}/bin/sage*
%{SAGE_LOCAL}/bin/testjava.sh
%{SAGE_LOCAL}/include
%{SAGE_LOCAL}/lib
%{SAGE_LOCAL}/share
@ -1223,6 +1232,11 @@ exit 0
%{SAGE_DOC}/fr
%{SAGE_DOC}/output/html/fr
#------------------------------------------------------------------------
%files doc-it
# GPLv2+
%{SAGE_DOC}/output/html/it
#------------------------------------------------------------------------
%files doc-pt
# GPLv2+
@ -1327,6 +1341,10 @@ exit 0
########################################################################
%changelog
* Wed Aug 13 2014 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 6.3-1
- Update to sagemath 6.3 (#1095282)
- Add new doc-it Italian documentation subpackage
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild