commit arpack-ng for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package arpack-ng for openSUSE:Factory checked in at 2016-06-07 23:46:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/arpack-ng (Old) and /work/SRC/openSUSE:Factory/.arpack-ng.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "arpack-ng" Changes: -------- --- /work/SRC/openSUSE:Factory/arpack-ng/arpack-ng.changes 2014-12-16 14:48:51.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.arpack-ng.new/arpack-ng.changes 2016-06-07 23:46:49.000000000 +0200 @@ -1,0 +2,14 @@ +Tue May 31 15:21:21 UTC 2016 - ronisbr@gmail.com + +- Update to version 3.3.0 + * Rename pdlamch to pdlamch10 to avoid symbol collision with + Scalapack 2.0.2 in MPI context. + * General improvements on the build system. + * libparpack links against libarpack (instead of doing a static + link). + * Reverts using {d,s}lahqr from lapack 2. + * Use dlahqr from lapack 3 instead of dlaqrb. +- Run spec-cleaner. +- Minor improvements in the .spec file. + +------------------------------------------------------------------- Old: ---- arpack-ng-3.2.0.tar.gz New: ---- arpack-ng-3.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ arpack-ng.spec ++++++ --- /var/tmp/diff_new_pack.B1DMfB/_old 2016-06-07 23:46:50.000000000 +0200 +++ /var/tmp/diff_new_pack.B1DMfB/_new 2016-06-07 23:46:50.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package arpack-ng # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,17 +18,15 @@ %define libname libarpack2 %define plibname libparpack2 -%define major 2 +%define major 3 %define minor 0 - %if 0%{?sles_version} %define _mpi openmpi mvapich2 %else %define _mpi openmpi %endif - Name: arpack-ng -Version: 3.2.0 +Version: 3.3.0 Release: 0 Summary: Fortran77 subroutines for solving large scale eigenvalue problems License: BSD-3-Clause @@ -36,17 +34,18 @@ Url: https://github.com/opencollab/arpack-ng Source0: https://github.com/opencollab/arpack-ng/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: baselibs.conf -Obsoletes: arpack < %{version} -Provides: arpack = %{version} +BuildRequires: autoconf BuildRequires: blas-devel BuildRequires: gcc-fortran BuildRequires: lapack-devel +BuildRequires: libtool +BuildRequires: openmpi-devel +BuildRequires: pkg-config +Obsoletes: arpack < %{version} +Provides: arpack = %{version} %if 0%{?sles_version} BuildRequires: mvapich2-devel %endif -BuildRequires: openmpi-devel -BuildRequires: pkg-config -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ARPACK is a collection of Fortran77 subroutines designed to solve @@ -70,7 +69,6 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. - %package -n %{libname} Summary: Files needed for developing arpack based applications Group: System/Libraries @@ -82,7 +80,6 @@ large scale eigenvalue problems. This package contains the so library links used for building arpack based applications. - %package -n parpack-openmpi Summary: Development files for %{name} Group: Development/Libraries/Other @@ -95,7 +92,6 @@ Arpack-ng is the successor of the legacy Arpack. It is fully compatible with Arpack. - %package -n parpack-openmpi-devel Summary: Development files for %{name} Group: Development/Libraries/Parallel @@ -108,7 +104,6 @@ The %{name}-openmpi-devel package contains libraries and header files for developing applications that use %{name}. - %package -n %{plibname}-openmpi Summary: Files needed for developing arpack based applications Group: System/Libraries @@ -120,7 +115,6 @@ large scale eigenvalue problems. This package contains the so library links used for building arpack based applications. - %if 0%{?sles_version} %package -n parpack-mvapich2 Summary: Development files for %{name} @@ -146,7 +140,6 @@ The %{name}-mvapich2-devel package contains libraries and header files for developing applications that use %{name}. - %package -n %{plibname}-mvapich2 Summary: Files needed for developing arpack based applications Group: System/Libraries @@ -165,28 +158,37 @@ cp -r EXAMPLES examples -for i in %_mpi +for i in %{_mpi} do mkdir arpack-ng-$i cp -ap "$@" arpack-ng-$i done %build +sh bootstrap %configure --disable-static make %{?_smp_mflags} -for i in %_mpi +for i in %{_mpi} do -cd arpack-ng-$i + pushd arpack-ng-$i + export F77=%{_libdir}/mpi/gcc/$i/bin/mpif77 export MPIF77=%{_libdir}/mpi/gcc/$i/bin/mpif77 - export LD_LIBRARY_PATH=%{_libdir}/mpi/gcc/$i/%_lib - %define _prefix /usr/%_lib/mpi/gcc/\$i + export LD_LIBRARY_PATH=%{_libdir}/mpi/gcc/$i/%{_lib} + %define _prefix /usr/%{_lib}/mpi/gcc/\$i + + sh bootstrap %configure --disable-static \ --enable-mpi make %{?_smp_mflags} -cd .. + + # `make check` is necessary to build the test programs for PARPACK. + # TODO: Verify if we really want to include those tests in the package. + make check + + popd done # Set prefix to default value @@ -194,40 +196,52 @@ %install %make_install -find %{buildroot} -name '*.la' -exec rm -f {} ';' +find %{buildroot} -type f -name "*.la" -delete -print -for i in %_mpi +for i in %{_mpi} do - cd arpack-ng-$i - make install DESTDIR=%{buildroot} - rm -rf %{buildroot}%{_libdir}/mpi/gcc/$i/%_lib/libarpack.* - cd .. + pushd arpack-ng-$i + + make %{?_smp_mflags} DESTDIR=%{buildroot} install + rm -rf %{buildroot}%{_libdir}/mpi/gcc/$i/%{_lib}/libarpack.* + + # Install the test programs. + mkdir -p %{buildroot}%{_libdir}/mpi/gcc/$i/bin/ + + pushd PARPACK/EXAMPLES/MPI + + libtool --mode=install install -Dm755 pcndrv1 %{buildroot}%{_libdir}/mpi/gcc/$i/bin/ + libtool --mode=install install -Dm755 pdndrv1 %{buildroot}%{_libdir}/mpi/gcc/$i/bin/ + libtool --mode=install install -Dm755 pdndrv3 %{buildroot}%{_libdir}/mpi/gcc/$i/bin/ + libtool --mode=install install -Dm755 pdsdrv1 %{buildroot}%{_libdir}/mpi/gcc/$i/bin/ + libtool --mode=install install -Dm755 psndrv1 %{buildroot}%{_libdir}/mpi/gcc/$i/bin/ + libtool --mode=install install -Dm755 psndrv3 %{buildroot}%{_libdir}/mpi/gcc/$i/bin/ + libtool --mode=install install -Dm755 pssdrv1 %{buildroot}%{_libdir}/mpi/gcc/$i/bin/ + libtool --mode=install install -Dm755 pzndrv1 %{buildroot}%{_libdir}/mpi/gcc/$i/bin/ + + popd + + popd done %check -make check -for i in %_mpi +make %{?_smp_mflags} check + +for i in %{_mpi} do - cd arpack-ng-$i + pushd arpack-ng-$i make check - cd .. + popd done -%clean -rm -rf %{buildroot} - %post -n %{libname} -p /sbin/ldconfig - -%postun -n%{libname} -p /sbin/ldconfig - -%post -n%{plibname}-openmpi -p /sbin/ldconfig - -%postun -n%{plibname}-openmpi -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig +%post -n %{plibname}-openmpi -p /sbin/ldconfig +%postun -n %{plibname}-openmpi -p /sbin/ldconfig %if 0%{?sles_version} -%post -n%{plibname}-mvapich2 -p /sbin/ldconfig - -%postun -n%{plibname}-mvapich2 -p /sbin/ldconfig +%post -n %{plibname}-mvapich2 -p /sbin/ldconfig +%postun -n %{plibname}-mvapich2 -p /sbin/ldconfig %endif %files -n %{libname} @@ -247,14 +261,14 @@ %files -n %{plibname}-openmpi %defattr(-,root,root,-) -%{_libdir}/mpi/gcc/openmpi/%_lib/lib*arpack.so.* +%{_libdir}/mpi/gcc/openmpi/%{_lib}/lib*arpack.so.* %files -n parpack-openmpi-devel %defattr(-,root,root,-) -%{_libdir}/mpi/gcc/openmpi/%_lib/libparpack.so -%{_libdir}/mpi/gcc/openmpi/%_lib/libparpack.la -%dir %{_libdir}/mpi/gcc/openmpi/%_lib/pkgconfig -%{_libdir}/mpi/gcc/openmpi/%_lib/pkgconfig/*.pc +%{_libdir}/mpi/gcc/openmpi/%{_lib}/libparpack.so +%{_libdir}/mpi/gcc/openmpi/%{_lib}/libparpack.la +%dir %{_libdir}/mpi/gcc/openmpi/%{_lib}/pkgconfig +%{_libdir}/mpi/gcc/openmpi/%{_lib}/pkgconfig/*.pc %if 0%{?sles_version} %files -n parpack-mvapich2 @@ -263,14 +277,14 @@ %files -n %{plibname}-mvapich2 %defattr(-,root,root,-) -%{_libdir}/mpi/gcc/mvapich2/%_lib/libparpack.so.* +%{_libdir}/mpi/gcc/mvapich2/%{_lib}/libparpack.so.* %files -n parpack-mvapich2-devel %defattr(-,root,root,-) -%{_libdir}/mpi/gcc/mvapich2/%_lib/libparpack.so -%{_libdir}/mpi/gcc/mvapich2/%_lib/libparpack.la -%dir %{_libdir}/mpi/gcc/openmpi/%_lib/pkgconfig -%{_libdir}/mpi/gcc/mvapich2/%_lib/pkgconfig/*.pc +%{_libdir}/mpi/gcc/mvapich2/%{_lib}/libparpack.so +%{_libdir}/mpi/gcc/mvapich2/%{_lib}/libparpack.la +%dir %{_libdir}/mpi/gcc/openmpi/%{_lib}/pkgconfig +%{_libdir}/mpi/gcc/mvapich2/%{_lib}/pkgconfig/*.pc %endif %changelog ++++++ arpack-ng-3.2.0.tar.gz -> arpack-ng-3.3.0.tar.gz ++++++ ++++ 64864 lines of diff (skipped)
participants (1)
-
root@hilbert.suse.de