[eigen2] BR: sparsehash-devel SuperLU-devel, .spec cleanup
Rex Dieter
rdieter at fedoraproject.org
Tue Jun 24 14:45:05 UTC 2014
commit 96dc8ed1de070476f9435538f018c95bec415386
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Tue Jun 24 09:45:06 2014 -0500
BR: sparsehash-devel SuperLU-devel, .spec cleanup
eigen2.spec | 26 +++++++++-----------------
1 files changed, 9 insertions(+), 17 deletions(-)
---
diff --git a/eigen2.spec b/eigen2.spec
index c7d17ca..d1cda4b 100644
--- a/eigen2.spec
+++ b/eigen2.spec
@@ -7,8 +7,7 @@ Name: eigen2
Summary: A lightweight C++ template library for vector and matrix math
Epoch: 1
Version: 2.0.17
-Release: 6%{?dist}
-Group: System Environment/Libraries
+Release: 7%{?dist}
License: GPLv2+ or LGPLv3+
URL: http://eigen.tuxfamily.org/
%if 0%{?snap:1}
@@ -16,7 +15,6 @@ Source0: http://bitbucket.org/eigen/eigen/get/default.tar.bz2
%else
Source0: http://bitbucket.org/eigen/eigen/get/%{version}%{?pre:-%{pre}}.tar.bz2
%endif
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: cmake
@@ -33,28 +31,27 @@ BuildRequires: tetex-latex
%if 0%{?_with_check:1}
BuildRequires: blas-devel
BuildRequires: gsl-devel
-# can't use until undefined symbols are fixed: http://bugzilla.redhat.com/475411
+BuildRequires: sparsehash-devel
+# needs work, currently assumes /usr/include/superlu, not /usr/include/SuperLU
+BuildRequires: SuperLU-devel
%if 0%{?fedora} > 11
BuildRequires: suitesparse-devel
%endif
BuildRequires: qt4-devel
#-- Could NOT find TAUCS (missing: TAUCS_INCLUDES TAUCS_LIBRARIES)
-#-- Could NOT find SUPERLU (missing: SUPERLU_INCLUDES SUPERLU_LIBRARIES)
-#-- Could NOT find GOOGLEHASH (missing: GOOGLEHASH_INCLUDES)
%endif
%description
-%{summary}
+%{summary}.
%package devel
Summary: A lightweight C++ template library for vector and matrix math
-Group: Development/Libraries
# -devel subpkg only atm, compat with other distros
Provides: %{name} = %{version}-%{release}
# not *strictly* a -static pkg, but the results are the same
Provides: %{name}-static = %{version}-%{release}
%description devel
-%{summary}
+%{summary}.
%prep
@@ -62,7 +59,6 @@ Provides: %{name}-static = %{version}-%{release}
%build
-
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake} %{?_with_check} ..
@@ -77,8 +73,6 @@ make %{?_smp_mflags} doc -C %{_target_platform}
%install
-rm -rf %{buildroot}
-
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
@@ -90,12 +84,7 @@ test "$(pkg-config --modversion eigen2)" = "%{version}"
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files devel
-%defattr(-,root,root,-)
%doc COPYING COPYING.LESSER
%doc %{_target_platform}/doc/html/
%{_datadir}/pkgconfig/eigen2.pc
@@ -103,6 +92,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Jun 24 2014 Rex Dieter <rdieter at fedoraproject.org> 1:2.0.17-7
+- BR: sparsehash-devel SuperLU-devel, .spec cleanup
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:2.0.17-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list