Update to 3.5.0 (#1451525)

Drop stuff needed for el5
Update spec-file to recent guidelines
epel9
Björn Esser 8 years ago
parent 3efdd4510a
commit aee624e853

1
.gitignore vendored

@ -6,3 +6,4 @@ patch.tar.gz
/arpack-ng-8fc8fbe34991b97fb4326d7d34c3ff37c94cc770.tar.gz /arpack-ng-8fc8fbe34991b97fb4326d7d34c3ff37c94cc770.tar.gz
/arpack-ng-b0f7a6008f37f913e97f67c826fc37fa9758f626.tar.gz /arpack-ng-b0f7a6008f37f913e97f67c826fc37fa9758f626.tar.gz
/arpack-ng-3.4.0.tar.gz /arpack-ng-3.4.0.tar.gz
/arpack-ng-3.5.0.tar.gz

@ -1,12 +1,13 @@
%global commit b0f7a6008f37f913e97f67c826fc37fa9758f626 %global commit b0f7a6008f37f913e97f67c826fc37fa9758f626
%global shortcommit %(c=%{commit}; echo ${c:0:7}) %global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: arpack Name: arpack
Version: 3.4.0 Version: 3.5.0
Release: 3%{dist} Release: 1%{dist}
Summary: Fortran 77 subroutines for solving large scale eigenvalue problems Summary: Fortran 77 subroutines for solving large scale eigenvalue problems
License: BSD License: BSD
Group: Development/Libraries
URL: https://github.com/opencollab/arpack-ng 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/%{commit}/arpack-ng-%{commit}.tar.gz
Source0: https://github.com/opencollab/arpack-ng/archive/%{version}/arpack-ng-%{version}.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: atlas-devel
BuildRequires: libtool BuildRequires: libtool
Provides: arpack-ng = %{version}-%{release} Provides: arpack-ng = %{version}-%{release}
Provides: arpack-ng%{?_isa} = %{version}-%{release}
%description %description
ARPACK is a collection of Fortran 77 subroutines designed to solve large 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 algorithmic variant of the Arnoldi process called the Implicitly
Restarted Arnoldi Method (IRAM). Restarted Arnoldi Method (IRAM).
%package devel %package devel
Summary: Files needed for developing arpack based applications Summary: Files needed for developing arpack based applications
Group: Development/Libraries Requires: arpack%{?_isa} = %{version}-%{release}
Requires: arpack = %{version}-%{release}
Provides: arpack-ng-devel = %{version}-%{release} Provides: arpack-ng-devel = %{version}-%{release}
Provides: arpack-ng-devel%{?_isa} = %{version}-%{release}
%description devel %description devel
ARPACK is a collection of Fortran 77 subroutines designed to solve ARPACK is a collection of Fortran 77 subroutines designed to solve
large scale eigenvalue problems. This package contains the so large scale eigenvalue problems. This package contains the so
library links used for building arpack based applications. library links used for building arpack based applications.
%package doc %package doc
Summary: Examples for the use of arpack Summary: Examples for the use of arpack
Group: Documentation BuildArch: noarch
%if 0%{?rhel} > 5 || 0%{?fedora}
BuildArch: noarch
%endif
%description doc %description doc
This package contains examples for the use of arpack. This package contains examples for the use of arpack.
%package static %package static
Summary: Static library for developing arpack based applications Summary: Static library for developing arpack based applications
Group: Development/Libraries Requires: arpack-devel%{?_isa} = %{version}-%{release}
Requires: arpack-devel = %{version}-%{release}
Provides: arpack-ng-static = %{version}-%{release} Provides: arpack-ng-static = %{version}-%{release}
Provides: arpack-ng-static%{?_isa} = %{version}-%{release}
%description static %description static
ARPACK is a collection of Fortran 77 subroutines designed to solve ARPACK is a collection of Fortran 77 subroutines designed to solve
large scale eigenvalue problems. This package contains the static large scale eigenvalue problems. This package contains the static
library and so links used for building arpack based applications. library and so links used for building arpack based applications.
%prep %prep
%setup -q -n arpack-ng-%{version} %autosetup -n arpack-ng-%{version} -p 1
autoreconf -vif autoreconf -vif
%build %build
export F77=gfortran export F77=gfortran
%if 0%{?fedora} || 0%{?rhel} >= 7 %if 0%{?fedora} || 0%{?rhel} >= 7
@ -74,39 +78,51 @@ export F77=gfortran
%configure --enable-shared --enable-static \ %configure --enable-shared --enable-static \
--with-blas="%{atlaslib}" \ --with-blas="%{atlaslib}" \
--with-lapack="%{atlaslib}" --with-lapack="%{atlaslib}"
make %{?_smp_mflags} %make_build
%install %install
rm -rf %{buildroot} %make_install
make install DESTDIR=%{buildroot}
# Get rid of .la files # Get rid of .la files
rm -r %{buildroot}%{_libdir}/*.la rm -r %{buildroot}%{_libdir}/*.la
%check %check
make %{?_smp_mflags} check %make_build check
pushd EXAMPLES ; make clean ; popd pushd EXAMPLES ; make clean ; popd
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%doc CHANGES COPYING %doc CHANGES README
%license COPYING
%{_libdir}/libarpack.so.* %{_libdir}/libarpack.so.*
%files devel %files devel
%{_libdir}/pkgconfig/arpack.pc %{_libdir}/pkgconfig/arpack.pc
%{_libdir}/libarpack.so %{_libdir}/libarpack.so
%files doc %files doc
%doc EXAMPLES/ DOCUMENTS/ %doc EXAMPLES/ DOCUMENTS/
%doc CHANGES README
%license COPYING
%files static %files static
%{_libdir}/libarpack.a %{_libdir}/libarpack.a
%changelog %changelog
* Sat May 20 2017 Björn Esser <besser82@fedoraproject.org> - 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 <releng@fedoraproject.org> - 3.4.0-3 * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

@ -1 +1 @@
ae9ca13f2143a7ea280cb0e2fd4bfae4 arpack-ng-3.4.0.tar.gz SHA512 (arpack-ng-3.5.0.tar.gz) = 67181c783e61d5d2214ccbfa0de8efd55148537feca30376760f7009995694f68c9fc14991306fa19ad67598497510b6e0d42b68dc56dd581dc2a798e3a4b369

Loading…
Cancel
Save