Name: libqrupdate Version: 1.1.2 Release: 2mamba Summary: A Fortran library for fast updates of QR and Cholesky decompositions Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://qrupdate.sourceforge.net/ Source: http://downloads.sourceforge.net/qrupdate/qrupdate-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: gcc-fortran BuildRequires: libblas-devel BuildRequires: liblapack-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %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 %setup -q -n qrupdate-%{version} sed -i 's|$(PREFIX)/lib/|$(DESTDIR)%{_libdir}/|g' src/Makefile %build %make FFLAGS="%{optflags} -fimplicit-none -funroll-loops" solib %make test %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" make install-shlib LIBDIR=%{_libdir} PREFIX="%{buildroot}" # fixup strange shared library permissions chmod 755 %{buildroot}%{_libdir}/*.so* %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libqrupdate.so.* %doc COPYING %files devel %defattr(-,root,root) %{_libdir}/libqrupdate.so %doc ChangeLog README %changelog * Fri Sep 19 2014 Davide Madrisan 1.1.2-2mamba - use the openmamaba build options (%%optflags) - run 'make test' * Thu Sep 18 2014 Davide Madrisan 1.1.2-1mamba - package created using the webbuild interface