Accepting request 157809 from science
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/157809 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pari?expand=0&rev=3
This commit is contained in:
commit
3385069872
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 6 20:10:01 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Restore original library filename after confirming with upstream
|
||||||
|
(This change is transparent to all users)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 29 19:09:42 UTC 2012 - jengelh@inai.de
|
Thu Nov 29 19:09:42 UTC 2012 - jengelh@inai.de
|
||||||
|
|
||||||
|
36
pari.spec
36
pari.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pari
|
# spec file for package pari
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,23 +15,28 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: pari
|
Name: pari
|
||||||
%define lname libpari-gmp3
|
%define lname libpari-gmp3
|
||||||
Version: 2.5.3
|
Version: 2.5.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Group: Productivity/Scientific/Math
|
|
||||||
Summary: Computer Algebra System for fast computations in Number Theory
|
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/
|
Group: Productivity/Scientific/Math
|
||||||
|
Url: http://pari.math.u-bordeaux.fr/
|
||||||
|
|
||||||
#DL-URL: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.3.tar.gz
|
#DL-URL: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.3.tar.gz
|
||||||
Source: %name-%version.tar.xz
|
Source: %name-%version.tar.xz
|
||||||
Source2: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.3.changelog
|
Source2: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.3.changelog
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: gmp-devel, readline-devel
|
BuildRequires: fltk-devel
|
||||||
BuildRequires: fltk-devel, libqt4-devel, xz
|
BuildRequires: gmp-devel
|
||||||
|
BuildRequires: libqt4-devel
|
||||||
|
BuildRequires: readline-devel
|
||||||
|
BuildRequires: xz
|
||||||
%if 0%{?suse_version} >= 1220
|
%if 0%{?suse_version} >= 1220
|
||||||
BuildRequires: libX11-devel, xorg-x11-proto-devel
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: xorg-x11-proto-devel
|
||||||
%else
|
%else
|
||||||
BuildRequires: xorg-x11-devel
|
BuildRequires: xorg-x11-devel
|
||||||
%endif
|
%endif
|
||||||
@ -101,15 +106,6 @@ cp "%{S:2}" .;
|
|||||||
b="%buildroot";
|
b="%buildroot";
|
||||||
make install DESTDIR="$b";
|
make install DESTDIR="$b";
|
||||||
|
|
||||||
# Put library in the right spot and fix the SO version abuse
|
|
||||||
if [ -L "$b/%_libdir/libpari-gmp.so.3" ]; then
|
|
||||||
rm -f "$b/%_libdir/libpari-gmp.so.3";
|
|
||||||
fi;
|
|
||||||
mv "$b/%_libdir/libpari-gmp.so.%version" "$b/%_libdir/libpari-gmp.so.3";
|
|
||||||
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.so";
|
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
@ -122,15 +118,19 @@ ln -fs libpari-gmp-%version.so "$b/%_libdir/libpari.so";
|
|||||||
%_mandir/man*/*
|
%_mandir/man*/*
|
||||||
%doc %name-%version.changelog
|
%doc %name-%version.changelog
|
||||||
|
|
||||||
|
#
|
||||||
|
# See
|
||||||
|
# http://pari.math.u-bordeaux.fr/archives/pari-dev-1211/msg00006.html
|
||||||
|
# for details on the SO versioning.
|
||||||
|
#
|
||||||
%files -n libpari-gmp3
|
%files -n libpari-gmp3
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/*.so.*
|
%_libdir/libpari-gmp.so.%version
|
||||||
%_libdir/libpari-gmp-%version.so
|
%_libdir/libpari-gmp.so.3
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_includedir/pari
|
%_includedir/pari
|
||||||
%_libdir/libpari.so
|
%_libdir/libpari.so
|
||||||
%_libdir/libpari-gmp.so
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user