From aee624e85364f00f622e817021d0e2e6dc57baa6 Mon Sep 17 00:00:00 2001 From: Björn Esser Date: May 20 2017 08:39:27 +0000 Subject: Update to 3.5.0 (#1451525) Drop stuff needed for el5 Update spec-file to recent guidelines --- diff --git a/.gitignore b/.gitignore index 25068b7..d60a895 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ patch.tar.gz /arpack-ng-8fc8fbe34991b97fb4326d7d34c3ff37c94cc770.tar.gz /arpack-ng-b0f7a6008f37f913e97f67c826fc37fa9758f626.tar.gz /arpack-ng-3.4.0.tar.gz +/arpack-ng-3.5.0.tar.gz diff --git a/arpack.spec b/arpack.spec index 65ff3a3..a7a78f8 100644 --- a/arpack.spec +++ b/arpack.spec @@ -1,12 +1,13 @@ %global commit b0f7a6008f37f913e97f67c826fc37fa9758f626 %global shortcommit %(c=%{commit}; echo ${c:0:7}) + Name: arpack -Version: 3.4.0 -Release: 3%{dist} +Version: 3.5.0 +Release: 1%{dist} Summary: Fortran 77 subroutines for solving large scale eigenvalue problems + License: BSD -Group: Development/Libraries URL: https://github.com/opencollab/arpack-ng #Source0: https://github.com/opencollab/arpack-ng/archive/%{commit}/arpack-ng-%{commit}.tar.gz Source0: https://github.com/opencollab/arpack-ng/archive/%{version}/arpack-ng-%{version}.tar.gz @@ -15,6 +16,7 @@ BuildRequires: gcc-gfortran BuildRequires: atlas-devel BuildRequires: libtool Provides: arpack-ng = %{version}-%{release} +Provides: arpack-ng%{?_isa} = %{version}-%{release} %description ARPACK is a collection of Fortran 77 subroutines designed to solve large @@ -28,42 +30,44 @@ order n**2 floating point operations. This software is based upon an algorithmic variant of the Arnoldi process called the Implicitly Restarted Arnoldi Method (IRAM). + %package devel Summary: Files needed for developing arpack based applications -Group: Development/Libraries -Requires: arpack = %{version}-%{release} +Requires: arpack%{?_isa} = %{version}-%{release} Provides: arpack-ng-devel = %{version}-%{release} +Provides: arpack-ng-devel%{?_isa} = %{version}-%{release} %description devel ARPACK is a collection of Fortran 77 subroutines designed to solve large scale eigenvalue problems. This package contains the so library links used for building arpack based applications. + %package doc Summary: Examples for the use of arpack -Group: Documentation -%if 0%{?rhel} > 5 || 0%{?fedora} -BuildArch: noarch -%endif +BuildArch: noarch %description doc This package contains examples for the use of arpack. + %package static Summary: Static library for developing arpack based applications -Group: Development/Libraries -Requires: arpack-devel = %{version}-%{release} +Requires: arpack-devel%{?_isa} = %{version}-%{release} Provides: arpack-ng-static = %{version}-%{release} +Provides: arpack-ng-static%{?_isa} = %{version}-%{release} %description static ARPACK is a collection of Fortran 77 subroutines designed to solve large scale eigenvalue problems. This package contains the static library and so links used for building arpack based applications. + %prep -%setup -q -n arpack-ng-%{version} +%autosetup -n arpack-ng-%{version} -p 1 autoreconf -vif + %build export F77=gfortran %if 0%{?fedora} || 0%{?rhel} >= 7 @@ -74,39 +78,51 @@ export F77=gfortran %configure --enable-shared --enable-static \ --with-blas="%{atlaslib}" \ --with-lapack="%{atlaslib}" -make %{?_smp_mflags} +%make_build + %install -rm -rf %{buildroot} -make install DESTDIR=%{buildroot} +%make_install # Get rid of .la files rm -r %{buildroot}%{_libdir}/*.la + %check -make %{?_smp_mflags} check +%make_build check pushd EXAMPLES ; make clean ; popd -%clean -rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig + %files -%doc CHANGES COPYING +%doc CHANGES README +%license COPYING %{_libdir}/libarpack.so.* + %files devel %{_libdir}/pkgconfig/arpack.pc %{_libdir}/libarpack.so + %files doc %doc EXAMPLES/ DOCUMENTS/ +%doc CHANGES README +%license COPYING + %files static %{_libdir}/libarpack.a + %changelog +* Sat May 20 2017 Björn Esser - 3.5.0-1 +- Update to 3.5.0 (#1451525) +- Drop stuff needed for el5 +- Update spec-file to recent guidelines + * Fri Feb 10 2017 Fedora Release Engineering - 3.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 405a455..a81dc7d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ae9ca13f2143a7ea280cb0e2fd4bfae4 arpack-ng-3.4.0.tar.gz +SHA512 (arpack-ng-3.5.0.tar.gz) = 67181c783e61d5d2214ccbfa0de8efd55148537feca30376760f7009995694f68c9fc14991306fa19ad67598497510b6e0d42b68dc56dd581dc2a798e3a4b369