All pastes #92799 Raw Edit

Untitled

public text v1 · immutable
#92799 ·published 2006-07-19 22:45 UTC
rendered paste body
%define name giac
%define version 0.6.0
%define release %mkrel 1

Summary: Giac/Xcas is a free computer algebra system
Name: %{name}
Version: %{version}
Release: %{release}
# source is tar.gz
Source0: http://perso.wanadoo.fr/bernard.parisse/%{name}-%{version}.tar.bz2
Patch0: gen.cc.patch
License: GPL
Group:   Sciences/Mathematics
Url: 	http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
#Require: pari
Requires: fltk
Buildrequires: fltk-devel gsl-devel
#urpmf hash_map
Buildrequires: tetex latex2html gmp-devel bison
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot


%description
Giac/Xcas is a free computer algebra system.
It has a compatibility mode for maple, mupad and the TI89.
Xcas is an interface of Giac, a free (GPL) C++ library for computer algebra. 
 Features : 
 - CAS : arbitrary precision integer and floats, integer and polynomial
 arithmetic (gcd, extended gcd, factorisation, ...), simplification, equation
 solver, partial fraction decomposition, calculus (derivation, integration,
 limit, series expansion), linear algebra (vectors, matrices, row reduction to
 echelon form, eignevalues and eigenvectors), ... 
 - geometry(2-d and 3-d) : point, segment, line, plan, triangle, polygons,
 circles, conics, parametric curves, surfaces, intersection, tangents...
Dynamic 2-d geometry. All geometric instructions are programmable 
 - Spreadsheet : relative and absolute references, cells can contain formal
 objects (e.g 1/2, sin(x), ...), 1-d and 2-d statistics (mean, stddev,
 hgistogram, covariance, regressions, ...) 
 - Programmation : functions, local variables, tests, loops. Choice of syntax
 (C-like, Maple, Mupad, TI89). It is sometimes possible to run a Maple, MuPAD
 or TI89 without user intervention inside Xcas. Program editor. Interactive
 debugguer.

%prep
%setup -q

%patch0 -p0
%build
export CC=gcc-3.3.6
export CXX=g++-3.3.6
#If you don't want optimizations (faster compilation)
#export CXXFLAGS=-g


%configure \
	--with-x
#	-enable-gsl


%make
%install
rm -rf %{buildroot}


%makeinstall

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README TROUBLES


%changelog