arpack-ng/arpack-ng.spec

82 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: arpack-ng
Version: 3.9.0
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
BuildRequires: libquadmath-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-ng
%{_includedir}/arpack-ng/*.h
%{_libdir}/libarpack.so
%dir %{_libdir}/cmake/arpackng
%{_libdir}/cmake/arpackng/arpackng*.cmake
%{_libdir}/pkgconfig/arpack.pc
%doc CHANGES README.md TODO
%changelog
* 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