From 7e74ba9453241ecab850c95919f8ae8627636615 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:33:56 +0100 Subject: [PATCH] package created using the webbuild interface [release 3.8.0-1mamba;Sun Apr 11 2021] --- README.md | 2 ++ arpack-ng.spec | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 arpack-ng.spec diff --git a/README.md b/README.md index 71d76b4..05ceff9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # arpack-ng +A collection of Fortran77 subroutines designed to solve large scale eigenvalue problems. + diff --git a/arpack-ng.spec b/arpack-ng.spec new file mode 100644 index 0000000..1af95ff --- /dev/null +++ b/arpack-ng.spec @@ -0,0 +1,78 @@ +Name: arpack-ng +Version: 3.8.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 +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 +%{_includedir}/arpack/*.h +%{_libdir}/libarpack.so +%dir %{_libdir}/cmake/arpack-ng +%{_libdir}/cmake/arpack-ng/arpack-ng*.cmake +%{_libdir}/pkgconfig/arpack.pc +%doc CHANGES README.md TODO + +%changelog +* Sun Apr 11 2021 Silvan Calarco 3.8.0-1mamba +- package created using the webbuild interface