From 2b625f36e32c2256c51383c3c5024159c01a7221 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:24:07 +0100 Subject: [PATCH] automatic version update by autodist [release 2.7.0-1mamba;Wed Mar 26 2014] --- README.md | 3 + pari.desktop | 14 +++++ pari.png | Bin 0 -> 241 bytes pari.spec | 162 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 179 insertions(+) create mode 100644 pari.desktop create mode 100644 pari.png create mode 100644 pari.spec diff --git a/README.md b/README.md index 8b01d63..5f7b1f8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # pari +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. + diff --git a/pari.desktop b/pari.desktop new file mode 100644 index 0000000..027dc5b --- /dev/null +++ b/pari.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=PariGP +GenericName=Program for number theory computations +GenericName[fr]=Programme de calcul de théorie des nombres +GenericName[it]=Programma di calcolo di teoria dei numeri +Comment=Program for number theory computations +Comment[fr]=Programme de calcul de théorie des nombres +Comment[it]=Programma di calcolo di Teoria dei Numeri +Exec=gp +Icon=/usr/share/pixmaps/pari.png +Terminal=true +Type=Application +Categories=Education;Math; diff --git a/pari.png b/pari.png new file mode 100644 index 0000000000000000000000000000000000000000..74e54becdee86f335206b731bad14069e2f76a9a GIT binary patch literal 241 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPFv5AX?b1=929&p%;ptZ+eK!R7x9 z3}+Z-GIW?I{6DypA?HUzLc;(5|2zI?2s{v<0aVIa;1OBOz`!jG!i)^F=12eq*-Jcq zUD>a4N^uJ4oQ~Mu4HSy?ba4#fxSra3khj5rhuL|*+(P?n2`%dmu=N}f3JnpMWG&Tx3?4AKdEHe9$6dL$|+=a>1Ds(^xJnI gyS@w#`KwaF7_aT|A>}}-AkZQPPgg&ebxsLQ07BJM;s5{u literal 0 HcmV?d00001 diff --git a/pari.spec b/pari.spec new file mode 100644 index 0000000..d8c567f --- /dev/null +++ b/pari.spec @@ -0,0 +1,162 @@ +%define libname libpari + +Name: pari +Version: 2.7.0 +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} + +%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}/*.so.* + +%files -n %{libname}-devel +%defattr(-,root,root) +%dir %{_includedir}/pari +%{_includedir}/pari/* +%{_libdir}/*.so + +%changelog +* 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