update to 1.1.5 [release 1.1.5-1mamba;Thu May 26 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 05:30:38 +01:00
parent acbaf6a0e3
commit cf1ae1dad2

View File

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