arpack-ng/arpack-ng.spec

84 lines
2.4 KiB
RPMSpec

Name: arpack-ng
Version: 3.9.1
Release: 1mamba
Summary: A collection of Fortran77 subroutines designed to solve large scale eigenvalue problems
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/opencollab/arpack-ng
Source: https://github.com/opencollab/arpack-ng.git/%{version}/arpack-ng-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: gcc-fortran
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libopenblas-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
A collection of Fortran77 subroutines designed to solve large scale eigenvalue problems.
%package -n libarpack
Group: System/Libraries
Summary: A collection of Fortran77 subroutines designed to solve large scale eigenvalue problems
%description -n libarpack
A collection of Fortran77 subroutines designed to solve large scale eigenvalue problems
This package contains shared libraries for %{name}.
%package -n libarpack-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: libarpack = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n libarpack-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libarpack -p /sbin/ldconfig
%postun -n libarpack -p /sbin/ldconfig
%files -n libarpack
%defattr(-,root,root)
%{_libdir}/libarpack.so.*
%doc COPYING
%files -n libarpack-devel
%defattr(-,root,root)
%dir %{_includedir}/arpack
%{_includedir}/arpack/*.h
%{_libdir}/libarpack.so
%dir %{_libdir}/cmake/arpackng
%{_libdir}/cmake/arpackng/arpackng*.cmake
%{_libdir}/pkgconfig/arpack.pc
%doc CHANGES README.md TODO
%changelog
* Mon Oct 16 2023 Automatic Build System <autodist@mambasoft.it> 3.9.1-1mamba
- automatic version update by autodist
* Sun Feb 12 2023 Automatic Build System <autodist@mambasoft.it> 3.9.0-1mamba
- automatic version update by autodist
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.0-1mamba
- package created using the webbuild interface