use the openmamaba build options (%%optflags)
run 'make test' [release 1.1.2-2mamba;Fri Sep 19 2014]
This commit is contained in:
parent
257bbe1082
commit
acbaf6a0e3
@ -1,2 +1,4 @@
|
||||
# libqrupdate
|
||||
|
||||
qrupdate is a Fortran library for fast updates of QR and Cholesky decompositions.
|
||||
|
||||
|
69
libqrupdate.spec
Normal file
69
libqrupdate.spec
Normal file
@ -0,0 +1,69 @@
|
||||
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 <davide.madrisan@gmail.com>
|
||||
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 <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
|
Loading…
Reference in New Issue
Block a user