2024-01-06 08:24:07 +01:00
|
|
|
%define libname libpari
|
|
|
|
|
|
|
|
Name: pari
|
2024-02-24 15:15:19 +01:00
|
|
|
Version: 2.15.5
|
2024-01-06 08:24:07 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Number Theory-oriented Computer Algebra System
|
|
|
|
Group: Applications/Mathematics
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
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: libX11-devel
|
2024-01-06 08:24:08 +01:00
|
|
|
BuildRequires: libgmp-devel
|
|
|
|
BuildRequires: libreadline-devel
|
2024-01-06 08:24:07 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: tetex
|
|
|
|
BuildRequires: emacs-nox
|
|
|
|
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%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
|
2024-01-06 08:24:07 +01:00
|
|
|
./Configure --prefix=%{_prefix} --sysdatadir=%{_sysconfdir} --libdir=%{_libdir}
|
2024-01-06 08:24:07 +01:00
|
|
|
|
|
|
|
%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)
|
2024-01-06 08:24:07 +01:00
|
|
|
%{_libdir}/libpari-gmp.so.*
|
2024-01-06 08:24:07 +01:00
|
|
|
|
|
|
|
%files -n %{libname}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/pari
|
|
|
|
%{_includedir}/pari/*
|
2024-01-06 08:24:07 +01:00
|
|
|
%{_libdir}/libpari.so
|
2024-01-06 08:24:07 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-02-24 15:15:19 +01:00
|
|
|
* Sat Feb 24 2024 Automatic Build System <autodist@openmamba.org> 2.15.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:09 +01:00
|
|
|
* Tue Jul 11 2023 Automatic Build System <autodist@mambasoft.it> 2.15.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:09 +01:00
|
|
|
* Wed Mar 15 2023 Automatic Build System <autodist@mambasoft.it> 2.15.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Sat Dec 31 2022 Automatic Build System <autodist@mambasoft.it> 2.15.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Sun Nov 06 2022 Automatic Build System <autodist@mambasoft.it> 2.15.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Wed Sep 21 2022 Automatic Build System <autodist@mambasoft.it> 2.15.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Wed Apr 06 2022 Automatic Build System <autodist@mambasoft.it> 2.13.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Tue Oct 26 2021 Automatic Build System <autodist@mambasoft.it> 2.13.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Fri Jun 25 2021 Automatic Build System <autodist@mambasoft.it> 2.13.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Tue Jan 26 2021 Automatic Build System <autodist@mambasoft.it> 2.13.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Tue Nov 03 2020 Automatic Build System <autodist@mambasoft.it> 2.13.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Sat Apr 18 2020 Automatic Build System <autodist@mambasoft.it> 2.11.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Wed Mar 04 2020 Automatic Build System <autodist@mambasoft.it> 2.11.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Mon May 13 2019 Automatic Build System <autodist@mambasoft.it> 2.11.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Tue Dec 04 2018 Automatic Build System <autodist@mambasoft.it> 2.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Sat Aug 04 2018 Automatic Build System <autodist@mambasoft.it> 2.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Sat May 19 2018 Automatic Build System <autodist@mambasoft.it> 2.9.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Tue Jan 09 2018 Automatic Build System <autodist@mambasoft.it> 2.9.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:08 +01:00
|
|
|
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 2.9.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:07 +01:00
|
|
|
* Thu Apr 06 2017 Automatic Build System <autodist@mambasoft.it> 2.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:07 +01:00
|
|
|
* Fri Dec 02 2016 Automatic Build System <autodist@mambasoft.it> 2.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:07 +01:00
|
|
|
* Thu Nov 03 2016 Automatic Build System <autodist@mambasoft.it> 2.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:07 +01:00
|
|
|
* Tue Jun 21 2016 Automatic Build System <autodist@mambasoft.it> 2.7.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:07 +01:00
|
|
|
* Tue Nov 10 2015 Automatic Build System <autodist@mambasoft.it> 2.7.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:07 +01:00
|
|
|
* Sat Jun 20 2015 Automatic Build System <autodist@mambasoft.it> 2.7.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:07 +01:00
|
|
|
* Sat Feb 21 2015 Automatic Build System <autodist@mambasoft.it> 2.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:07 +01:00
|
|
|
* Sat Sep 20 2014 Automatic Build System <autodist@mambasoft.it> 2.7.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:07 +01:00
|
|
|
* Sat May 17 2014 Automatic Build System <autodist@mambasoft.it> 2.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:24:07 +01:00
|
|
|
* Wed Mar 26 2014 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Sep 20 2013 Automatic Build System <autodist@mambasoft.it> 2.5.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed May 15 2013 Automatic Build System <autodist@mambasoft.it> 2.5.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Oct 12 2012 Automatic Build System <autodist@mambasoft.it> 2.5.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Aug 11 2012 Automatic Build System <autodist@mambasoft.it> 2.5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 26 2012 Automatic Build System <autodist@mambasoft.it> 2.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jul 24 2011 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
|
|
|
|
- automatic update to 3.0.3.0 by autodist
|
|
|
|
|
|
|
|
* Thu Oct 28 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.5-2mamba
|
|
|
|
- rebuilt without kdvi (kde3)
|
|
|
|
|
|
|
|
* Mon Feb 08 2010 Automatic Build System <autodist@mambasoft.it> 2.3.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Feb 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.2-3mamba
|
|
|
|
- fix epoch in libpari requirement (remove ':')
|
|
|
|
|
|
|
|
* Wed Sep 12 2007 Aleph0 <aleph0@openmamba.org> 2.3.2-2mamba
|
|
|
|
- moved config and src directories from %{_libdir}/pari to %{_datadir}/pari
|
|
|
|
|
|
|
|
* Wed Sep 05 2007 Tiziana Ferro <tiziana.ferro@email.it> 2.3.2-1mamba
|
|
|
|
- update to 2.3.2
|
|
|
|
|
|
|
|
* Sat Mar 10 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-1qilnx
|
|
|
|
- update to version 2.3.1 by autospec
|
|
|
|
|
|
|
|
* Wed May 24 2006 Davide Madrisan <davide.madrisan@qilinux.it> 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 <alessandro.ramazzina@qilinux.it> 2.1.7-1qilnx
|
|
|
|
- update to version 2.1.7 by autospec
|
|
|
|
|
|
|
|
* Mon Sep 26 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.1.5-2qilnx
|
|
|
|
- added desktop file
|
|
|
|
|
|
|
|
* Wed May 06 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.5-1qilnx
|
|
|
|
- first build
|