epel9
sagitter 7 years ago
parent 34437c93b6
commit a03544884e

@ -8,9 +8,8 @@
Name: SuperLU
Version: 5.2.0
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Subroutines to solve sparse linear systems
%{?el5:Group: System/Libraries}
License: BSD and GPLV2+
URL: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/
@ -25,8 +24,7 @@ Patch3: %{genname}-5x-fix-testsuite.patch
# patch obtained from the debian package
Patch4: %{genname}-removemc64.patch
%{?el5:BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)}
BuildRequires: atlas-devel
BuildRequires: atlas-devel, gcc
BuildRequires: csh
%description
@ -37,9 +35,7 @@ preordering for sparsity is completely separate from the factorization.
%package devel
Summary: Header files and libraries for SuperLU development
%{?el5:Group: Development/Libraries}
Requires: %{name}%{?_isa} = %{version}-%{release}
%{?el5:Requires: pkgconfig}
%description devel
The %{name}-devel package contains the header files
@ -85,7 +81,6 @@ make %{?_smp_mflags} superlulib
make -C TESTING
%install
%{?el5:rm -rf %{buildroot}}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_includedir}/%{name}
install -p SRC/libsuperlu.so.%{libver} %{buildroot}%{_libdir}
@ -102,9 +97,6 @@ do
done
popd
%{?el5:%clean}
%{?el5:rm -rf %{buildroot}}
%ldconfig_scriptlets
%files
@ -120,6 +112,10 @@ popd
%doc DOC EXAMPLE FORTRAN
%changelog
* Wed Feb 21 2018 Antonio Trande <sagitterATfedoraproject.org> - 5.2.0-8
- Add gcc BR
- Remove el5 bits
* Thu Feb 15 2018 Antonio Trande <sagitterATfedoraproject.org> - 5.2.0-7
- Use %%ldconfig_scriptlets

Loading…
Cancel
Save