%define libname libpari Name: pari Version: 2.9.4 Release: 1mamba Summary: Number Theory-oriented Computer Algebra System Group: Applications/Mathematics Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://pari.math.u-bordeaux.fr Source0: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-%{version}.tar.gz Source1: pari.png Source2: pari.desktop License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libncurses-devel BuildRequires: libreadline-devel BuildRequires: libX11-devel BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: tetex BuildRequires: emacs-nox Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description PARI/GP is a widely used computer algebra system designed for fast computations in number theory (factorizations, algebraic number theory, elliptic curves...), but also contains a large number of other useful functions to compute with mathematical entities such as matrices, polynomials, power series, algebraic numbers, etc., and a lot of transcendental functions. PARI is also available as a C library to allow for faster computations. %package -n %{libname} Summary: Libraries for PARI/GP Group: System/Libraries %description -n %{libname} This package contains the shared library used by PARI/GP. %package -n %{libname}-devel Summary: Development files for %{name} Group: Development/Libraries Obsoletes: pari-devel Provides: pari-devel = %{?epoch:%epoch:}%{version}-%{release} Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} %description -n %{libname}-devel PARI/GP is a widely used computer algebra system designed for fast computations in number theory (factorizations, algebraic number theory, elliptic curves...), but also contains a large number of other useful functions to compute with mathematical entities such as matrices, polynomials, power series, algebraic numbers, etc., and a lot of transcendental functions. PARI is also available as a C library to allow for faster computations. This package contains static libraries and header files need for development. %prep %setup -q %build # see: config/get_config_options ./Configure --prefix=%{_prefix} --sysdatadir=%{_sysconfdir} --libdir=%{_libdir} %make all doc CFLAGS="%{optflags} -DGCC_INLINE" -j1 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall cp -R config %{buildroot}%{_datadir}/pari/ cp -R src %{buildroot}%{_datadir}/pari/ #install -D -m644 misc/gprc.dft %{buildroot}%{_sysconfdir}/gprc install -D -m644 %{S:1} \ %{buildroot}%{_datadir}/pixmaps/pari.png install -D -m644 %{S:2} \ %{buildroot}%{_datadir}/applications/%{name}.desktop %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/gp %{_bindir}/gp-* %{_bindir}/gphelp %{_bindir}/tex2mail %{_datadir}/pixmaps/pari.png %{_datadir}/applications/%{name}.desktop #%dir %{_datadir}/emacs/site-lisp/pari #%{_datadir}/emacs/site-lisp/pari/* %dir %{_datadir}/pari %{_datadir}/pari/* %{_sysconfdir}/pari.cfg %{_mandir}/man1/* %files -n %{libname} %defattr(-,root,root) %{_libdir}/libpari-gmp.so.* %files -n %{libname}-devel %defattr(-,root,root) %dir %{_includedir}/pari %{_includedir}/pari/* %{_libdir}/libpari.so %changelog * Tue Jan 09 2018 Automatic Build System 2.9.4-1mamba - automatic version update by autodist * Mon Aug 07 2017 Automatic Build System 2.9.3-1mamba - automatic version update by autodist * Thu Apr 06 2017 Automatic Build System 2.9.2-1mamba - automatic version update by autodist * Fri Dec 02 2016 Automatic Build System 2.9.1-1mamba - automatic version update by autodist * Thu Nov 03 2016 Automatic Build System 2.9.0-1mamba - automatic version update by autodist * Tue Jun 21 2016 Automatic Build System 2.7.6-1mamba - automatic version update by autodist * Tue Nov 10 2015 Automatic Build System 2.7.5-1mamba - automatic version update by autodist * Sat Jun 20 2015 Automatic Build System 2.7.4-1mamba - automatic version update by autodist * Sat Feb 21 2015 Automatic Build System 2.7.3-1mamba - automatic version update by autodist * Sat Sep 20 2014 Automatic Build System 2.7.2-1mamba - automatic version update by autodist * Sat May 17 2014 Automatic Build System 2.7.1-1mamba - automatic version update by autodist * Wed Mar 26 2014 Automatic Build System 2.7.0-1mamba - automatic version update by autodist * Fri Sep 20 2013 Automatic Build System 2.5.5-1mamba - automatic update by autodist * Wed May 15 2013 Automatic Build System 2.5.4-1mamba - automatic version update by autodist * Fri Oct 12 2012 Automatic Build System 2.5.3-1mamba - automatic version update by autodist * Sat Aug 11 2012 Automatic Build System 2.5.2-1mamba - automatic version update by autodist * Thu Apr 26 2012 Automatic Build System 2.5.1-1mamba - automatic version update by autodist * Sun Jul 24 2011 Automatic Build System 2.5.0-1mamba - automatic update to 3.0.3.0 by autodist * Thu Oct 28 2010 Silvan Calarco 2.3.5-2mamba - rebuilt without kdvi (kde3) * Mon Feb 08 2010 Automatic Build System 2.3.5-1mamba - automatic update by autodist * Tue Feb 03 2009 Silvan Calarco 2.3.4-1mamba - automatic update by autodist * Tue Oct 21 2008 Silvan Calarco 2.3.2-3mamba - fix epoch in libpari requirement (remove ':') * Wed Sep 12 2007 Aleph0 2.3.2-2mamba - moved config and src directories from %{_libdir}/pari to %{_datadir}/pari * Wed Sep 05 2007 Tiziana Ferro 2.3.2-1mamba - update to 2.3.2 * Sat Mar 10 2007 Silvan Calarco 2.3.1-1qilnx - update to version 2.3.1 by autospec * Wed May 24 2006 Davide Madrisan 2.3.0-1qilnx - update to version 2.3.0 by autospec - fixed package group - added %%post and %%postun scripts - new desktop file with french tranlations * Mon Sep 26 2005 Alessandro Ramazzina 2.1.7-1qilnx - update to version 2.1.7 by autospec * Mon Sep 26 2005 Alessandro Ramazzina 2.1.5-2qilnx - added desktop file * Wed May 06 2004 Silvan Calarco 2.1.5-1qilnx - first build