2024-01-06 05:30:37 +01:00
|
|
|
Name: libqrupdate
|
2024-01-06 05:30:38 +01:00
|
|
|
Version: 1.1.5
|
|
|
|
Release: 1mamba
|
2024-01-06 05:30:37 +01:00
|
|
|
Summary: A Fortran library for fast updates of QR and Cholesky decompositions
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 05:30:38 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://gitlab.mpi-magdeburg.mpg.de/koehlerm/qrupdate-ng
|
|
|
|
Source: https://gitlab.mpi-magdeburg.mpg.de/koehlerm/qrupdate-ng.git/v%{version}/qrupdate-ng-%{version}.tar.bz2
|
2024-01-06 05:30:37 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 05:30:38 +01:00
|
|
|
BuildRequires: gcc-fortran
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libblas-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: liblapack-devel
|
|
|
|
BuildRequires: libopenblas-devel
|
|
|
|
%ifnarch arm aarch64
|
|
|
|
BuildRequires: libquadmath-devel
|
|
|
|
%endif
|
2024-01-06 05:30:37 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: gcc-fortran
|
|
|
|
BuildRequires: libblas-devel
|
|
|
|
BuildRequires: liblapack-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
qrupdate is a Fortran library for fast updates of QR and Cholesky decompositions.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 05:30:38 +01:00
|
|
|
%setup -q -n qrupdate-ng-%{version}
|
|
|
|
#sed -i 's|$(PREFIX)/lib/|$(DESTDIR)%{_libdir}/|g' src/Makefile
|
2024-01-06 05:30:37 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 05:30:38 +01:00
|
|
|
%cmake -d build
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
#% make FFLAGS="%{optflags} -fimplicit-none -funroll-loops" solib
|
|
|
|
#% make test
|
2024-01-06 05:30:37 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 05:30:38 +01:00
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
#make install-shlib LIBDIR=%{_libdir} PREFIX="%{buildroot}"
|
2024-01-06 05:30:37 +01:00
|
|
|
|
2024-01-06 05:30:38 +01:00
|
|
|
## fixup strange shared library permissions
|
|
|
|
#chmod 755 %{buildroot}%{_libdir}/*.so*
|
2024-01-06 05:30:37 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libqrupdate.so.*
|
2024-01-06 05:30:38 +01:00
|
|
|
%doc LICENSE
|
2024-01-06 05:30:37 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libqrupdate.so
|
2024-01-06 05:30:38 +01:00
|
|
|
%dir %{_libdir}/cmake/qrupdate
|
|
|
|
%{_libdir}/cmake/qrupdate/qrupdate*.cmake
|
|
|
|
%{_libdir}/pkgconfig/qrupdate.pc
|
|
|
|
%doc README.md
|
2024-01-06 05:30:37 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:30:38 +01:00
|
|
|
* Thu May 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.5-1mamba
|
|
|
|
- update to 1.1.5
|
|
|
|
|
2024-01-06 05:30:37 +01:00
|
|
|
* Fri Sep 19 2014 Davide Madrisan <davide.madrisan@gmail.com> 1.1.2-2mamba
|
|
|
|
- use the openmamaba build options (%%optflags)
|
|
|
|
- run 'make test'
|
|
|
|
|
|
|
|
* Thu Sep 18 2014 Davide Madrisan <davide.madrisan@gmail.com> 1.1.2-1mamba
|
|
|
|
- package created using the webbuild interface
|