You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arpack/arpack.spec

220 lines
7.0 KiB

%global commit b0f7a6008f37f913e97f67c826fc37fa9758f626
%global shortcommit %(c=%{commit}; echo ${c:0:7})
11 years ago
Name: arpack
Version: 3.5.0
Release: 1%{dist}
11 years ago
Summary: Fortran 77 subroutines for solving large scale eigenvalue problems
11 years ago
License: BSD
URL: https://github.com/opencollab/arpack-ng
8 years ago
#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
11 years ago
BuildRequires: gcc-gfortran
BuildRequires: atlas-devel
BuildRequires: libtool
11 years ago
Provides: arpack-ng = %{version}-%{release}
Provides: arpack-ng%{?_isa} = %{version}-%{release}
17 years ago
%description
ARPACK is a collection of Fortran 77 subroutines designed to solve large
scale eigenvalue problems.
17 years ago
The package is designed to compute a few eigenvalues and corresponding
eigenvectors of a general n by n matrix A. It is most appropriate for
large sparse or structured matrices A where structured means that a
matrix-vector product w <- Av requires order n rather than the usual
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).
17 years ago
%package devel
11 years ago
Summary: Files needed for developing arpack based applications
Requires: arpack%{?_isa} = %{version}-%{release}
11 years ago
Provides: arpack-ng-devel = %{version}-%{release}
Provides: arpack-ng-devel%{?_isa} = %{version}-%{release}
17 years ago
%description devel
ARPACK is a collection of Fortran 77 subroutines designed to solve
17 years ago
large scale eigenvalue problems. This package contains the so
library links used for building arpack based applications.
%package doc
11 years ago
Summary: Examples for the use of arpack
BuildArch: noarch
%description doc
This package contains examples for the use of arpack.
17 years ago
%package static
11 years ago
Summary: Static library for developing arpack based applications
Requires: arpack-devel%{?_isa} = %{version}-%{release}
11 years ago
Provides: arpack-ng-static = %{version}-%{release}
Provides: arpack-ng-static%{?_isa} = %{version}-%{release}
17 years ago
%description static
ARPACK is a collection of Fortran 77 subroutines designed to solve
17 years ago
large scale eigenvalue problems. This package contains the static
library and so links used for building arpack based applications.
17 years ago
%prep
%autosetup -n arpack-ng-%{version} -p 1
autoreconf -vif
17 years ago
17 years ago
%build
11 years ago
export F77=gfortran
%if 0%{?fedora} || 0%{?rhel} >= 7
%global atlaslib -L%{_libdir}/atlas -ltatlas
%else
%global atlaslib -L%{_libdir}/atlas -lf77blas -latlas
%endif
11 years ago
%configure --enable-shared --enable-static \
--with-blas="%{atlaslib}" \
--with-lapack="%{atlaslib}"
%make_build
17 years ago
%install
%make_install
# Get rid of .la files
rm -r %{buildroot}%{_libdir}/*.la
%check
%make_build check
pushd EXAMPLES ; make clean ; popd
17 years ago
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
17 years ago
%files
%doc CHANGES README
%license COPYING
17 years ago
%{_libdir}/libarpack.so.*
17 years ago
%files devel
11 years ago
%{_libdir}/pkgconfig/arpack.pc
17 years ago
%{_libdir}/libarpack.so
%files doc
%doc EXAMPLES/ DOCUMENTS/
%doc CHANGES README
%license COPYING
17 years ago
%files static
%{_libdir}/libarpack.a
17 years ago
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sat Jan 28 2017 Björn Esser <besser82@fedoraproject.org> - 3.4.0-2
- Rebuilt for GCC-7
8 years ago
* Thu Sep 29 2016 Orion Poplawski <orion@cora.nwra.com> - 3.4.0-1
- Update to 3.4.0
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-2.b0f7a60git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Oct 19 2015 Dominik Mierzejewski <rpm@greysector.net> - 3.3.0-1.b0f7a600git
- Update to 3.3.0
- BR: libtool and call autoreconf
- simplify some conditions
* Mon Sep 21 2015 Susi Lehtola <jussilehtola@fedoraproject.org> - 3.2.0-1.8fc8fbe3git
- Update source URL.
- Update to 3.2.0.
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Mar 06 2015 Dominik Mierzejewski <rpm@greysector.net> - 3.1.5-1
- update to 3.1.5
- fix source URL
- example binary is no longer installed by default
- enable tests
- don't duplicate documentation and examples in -devel
- clean binaries in EXAMPLES after running testsuite
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
11 years ago
* Sat Sep 21 2013 Orion Poplawski <orion@cora.nwra.com> - 3.1.3-2
- Rebuild for atlas 3.10 using threaded library
11 years ago
* Thu Sep 05 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 3.1.3-1
- Update to 3.1.3.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Dec 13 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 3.0.1-1
- Change sources to arpack-ng, which provides an up-to-date version of ARPACK.
- Include examples and documentation in a new -doc package.
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
15 years ago
* Wed Jul 7 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 2.1-12
- Bump spec to fix update path.
* Wed Apr 7 2010 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.1-11
- Change license to BSD (see RH bugs #234191 and #578873).
* Wed Sep 24 2008 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 2.1-10
- fix libarpack.so: undefined reference to `etime_' with recent gfortran
* Mon Aug 25 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.1-9
- Patch0 and %%patch make recent rpm silenty fail.
17 years ago
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.1-8
- fix license tag
17 years ago
* Wed Oct 24 2007 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 2.1-7
- apply Frederic Hecht's patch for eigenvalue bug
- move static libs to separate package
* Mon Mar 26 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.1-6
- Add license and clarification note
- Add lapack support
* Thu Nov 9 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.1-4
- Freshen up for submitting to fedora extras.
- Fix permissions of so file.
- Add forgotten ldconfig
- Remove dot from summaries.
* Wed Jul 16 2003 Axel Thimm <Axel.Thimm@ATrpms.net>
- Initial build.