pari/pari.spec

250 lines
8.9 KiB
RPMSpec
Raw Normal View History

%define libname libpari
Name: pari
Version: 2.17.1
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
BuildRequires: libgmp-devel
BuildRequires: libreadline-devel
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
./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}"
%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
* Wed Dec 25 2024 Automatic Build System <autodist@openmamba.org> 2.17.1-1mamba
- automatic version update by autodist
* Tue Oct 01 2024 Automatic Build System <autodist@openmamba.org> 2.17.0-1mamba
- automatic version update by autodist
* Sat Feb 24 2024 Automatic Build System <autodist@openmamba.org> 2.15.5-1mamba
- automatic version update by autodist
* Tue Jul 11 2023 Automatic Build System <autodist@mambasoft.it> 2.15.4-1mamba
- automatic version update by autodist
* Wed Mar 15 2023 Automatic Build System <autodist@mambasoft.it> 2.15.3-1mamba
- automatic version update by autodist
* Sat Dec 31 2022 Automatic Build System <autodist@mambasoft.it> 2.15.2-1mamba
- automatic version update by autodist
* Sun Nov 06 2022 Automatic Build System <autodist@mambasoft.it> 2.15.1-1mamba
- automatic version update by autodist
* Wed Sep 21 2022 Automatic Build System <autodist@mambasoft.it> 2.15.0-1mamba
- automatic version update by autodist
* Wed Apr 06 2022 Automatic Build System <autodist@mambasoft.it> 2.13.4-1mamba
- automatic version update by autodist
* Tue Oct 26 2021 Automatic Build System <autodist@mambasoft.it> 2.13.3-1mamba
- automatic version update by autodist
* Fri Jun 25 2021 Automatic Build System <autodist@mambasoft.it> 2.13.2-1mamba
- automatic version update by autodist
* Tue Jan 26 2021 Automatic Build System <autodist@mambasoft.it> 2.13.1-1mamba
- automatic version update by autodist
* Tue Nov 03 2020 Automatic Build System <autodist@mambasoft.it> 2.13.0-1mamba
- automatic version update by autodist
* Sat Apr 18 2020 Automatic Build System <autodist@mambasoft.it> 2.11.4-1mamba
- automatic version update by autodist
* Wed Mar 04 2020 Automatic Build System <autodist@mambasoft.it> 2.11.3-1mamba
- automatic version update by autodist
* Mon May 13 2019 Automatic Build System <autodist@mambasoft.it> 2.11.2-1mamba
- automatic version update by autodist
* Tue Dec 04 2018 Automatic Build System <autodist@mambasoft.it> 2.11.1-1mamba
- automatic version update by autodist
* Sat Aug 04 2018 Automatic Build System <autodist@mambasoft.it> 2.11.0-1mamba
- automatic version update by autodist
* Sat May 19 2018 Automatic Build System <autodist@mambasoft.it> 2.9.5-1mamba
- automatic version update by autodist
* Tue Jan 09 2018 Automatic Build System <autodist@mambasoft.it> 2.9.4-1mamba
- automatic version update by autodist
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 2.9.3-1mamba
- automatic version update by autodist
* Thu Apr 06 2017 Automatic Build System <autodist@mambasoft.it> 2.9.2-1mamba
- automatic version update by autodist
* Fri Dec 02 2016 Automatic Build System <autodist@mambasoft.it> 2.9.1-1mamba
- automatic version update by autodist
* Thu Nov 03 2016 Automatic Build System <autodist@mambasoft.it> 2.9.0-1mamba
- automatic version update by autodist
* Tue Jun 21 2016 Automatic Build System <autodist@mambasoft.it> 2.7.6-1mamba
- automatic version update by autodist
* Tue Nov 10 2015 Automatic Build System <autodist@mambasoft.it> 2.7.5-1mamba
- automatic version update by autodist
* Sat Jun 20 2015 Automatic Build System <autodist@mambasoft.it> 2.7.4-1mamba
- automatic version update by autodist
* Sat Feb 21 2015 Automatic Build System <autodist@mambasoft.it> 2.7.3-1mamba
- automatic version update by autodist
* Sat Sep 20 2014 Automatic Build System <autodist@mambasoft.it> 2.7.2-1mamba
- automatic version update by autodist
* Sat May 17 2014 Automatic Build System <autodist@mambasoft.it> 2.7.1-1mamba
- automatic version update by autodist
* 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