- fix build requirement to allow build on SLE-11
- recompress source file to bzip2 format to allow build on SLE-11 - add missing %%post and %%postun scriptlets OBS-URL: https://build.opensuse.org/package/show/science/pari?expand=0&rev=3
This commit is contained in:
parent
0da44fdcbb
commit
67d474711d
3
pari-2.5.0.tar.bz2
Normal file
3
pari-2.5.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:095229af7c263034614494fd553263a8852a4d33aa9864427e83c0296eb6b66b
|
||||||
|
size 2212739
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6efa4948dbdf82f4a26631b46a3154a01fa8ba2111304cc47b0629ad432a1b12
|
|
||||||
size 1875552
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 26 22:13:05 UTC 2012 - scorot@free.fr
|
||||||
|
|
||||||
|
- fix build requirement to allow build on SLE-11
|
||||||
|
- recompress source file to bzip2 format to allow build on SLE-11
|
||||||
|
- add missing %%post and %%postun scriptlets
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 26 08:52:28 UTC 2011 - jengelh@medozas.de
|
Mon Sep 26 08:52:28 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
13
pari.spec
13
pari.spec
@ -24,9 +24,9 @@ Summary: Computer Algebra System for fast computations in Number Theory
|
|||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
URL: http://pari.math.u-bordeaux.fr/
|
URL: http://pari.math.u-bordeaux.fr/
|
||||||
|
|
||||||
Source: %name-%version.tar.xz
|
Source: %name-%version.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: gmp-devel, readline-devel, pkgconfig(x11), xz
|
BuildRequires: gmp-devel, readline-devel, xorg-x11-devel
|
||||||
BuildRequires: fltk-devel, libqt4-devel
|
BuildRequires: fltk-devel, libqt4-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -90,7 +90,12 @@ make %{?_smp_mflags} all \
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot";
|
b="%buildroot";
|
||||||
|
%if 0%{sles_version} <= 11
|
||||||
|
%makeinstall
|
||||||
|
%else
|
||||||
%make_install
|
%make_install
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
# Put library in the right spot and fix the SO version abuse
|
# Put library in the right spot and fix the SO version abuse
|
||||||
if [ -L "$b/%_libdir/libpari-gmp.so.3" ]; then
|
if [ -L "$b/%_libdir/libpari-gmp.so.3" ]; then
|
||||||
@ -101,6 +106,10 @@ ln -fs libpari-gmp.so.3 "$b/%_libdir/libpari-gmp-%version.so";
|
|||||||
ln -fs libpari-gmp-%version.so "$b/%_libdir/libpari-gmp.so";
|
ln -fs libpari-gmp-%version.so "$b/%_libdir/libpari-gmp.so";
|
||||||
ln -fs libpari-gmp-%version.so "$b/%_libdir/libpari.so";
|
ln -fs libpari-gmp-%version.so "$b/%_libdir/libpari.so";
|
||||||
|
|
||||||
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files gp
|
%files gp
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_bindir/*
|
%_bindir/*
|
||||||
|
Loading…
Reference in New Issue
Block a user