[metis] Initial import (#920518).
Antonio Trande
sagitter at fedoraproject.org
Sun Mar 31 19:44:01 UTC 2013
commit 2d350d0107d9624327af4ca531fdfc6f4e7fa979
Author: sagitter <anto.trande at gmail.com>
Date: Sun Mar 31 21:43:26 2013 +0200
Initial import (#920518).
metis.spec | 34 ++++++++++------------------------
1 files changed, 10 insertions(+), 24 deletions(-)
---
diff --git a/metis.spec b/metis.spec
index abc8788..5f9d1ac 100644
--- a/metis.spec
+++ b/metis.spec
@@ -1,6 +1,6 @@
Name: metis
Version: 5.0.3
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Serial Graph Partitioning and Fill-reducing Matrix Ordering
License: ASL 2.0 and BSD and LGPLv2+
Group: Development/Libraries
@@ -29,7 +29,6 @@ BuildRequires: cmake28
Conflicts: cmake < 2.8
%else
BuildRequires: cmake >= 2.8
-BuildRequires: perl-Carp
%endif
BuildRequires: openmpi-devel
@@ -107,11 +106,7 @@ LD_PRELOAD=%{buildroot}%{_libdir}/lib%{name}.so.0 \
help2man --version-option="%{version}" -n "Partitions a graph into a specified number of parts." \
-N --output="gpmetis.1" -h -help %{buildroot}%{_bindir}/gpmetis
-##This command seems not acceptable for ndmetis
-#LD_PRELOAD=%{buildroot}%{_libdir}/lib%{name}.so.0 \
-#help2man --version-option="%{version}" \
-# -n "Computes a fill-reducing ordering of the vertices of the graph using multilevel nested dissection." \
-# -N --output="ndmetis.1" -h -help %{buildroot}%{_bindir}/ndmetis
+## Can't get manpage from ndmetis. Use 'ndmetis -h' command
LD_PRELOAD=%{buildroot}%{_libdir}/lib%{name}.so.0 \
help2man --version-option="%{version}" -n "Partitions a mesh into a specified number of parts." \
@@ -121,38 +116,25 @@ LD_PRELOAD=%{buildroot}%{_libdir}/lib%{name}.so.0 \
help2man --version-option="%{version}" -n "Converts a mesh into a graph that is compatible with METIS." \
-N --output="m2gmetis.1" -h -help %{buildroot}%{_bindir}/m2gmetis
-##There is no help page for graphchk
-#LD_PRELOAD=%{buildroot}%{_libdir}/lib%{name}.so.0 \
-#help2man --version-option="%{version}" -n "Checks the graph for format correctness and consistency." \
-# -N --output="graphchk.1" -h -help %{buildroot}%{_bindir}/graphchk
-
-##There is no complete help page for cmpfillin
-#LD_PRELOAD=%{buildroot}%{_libdir}/lib%{name}.so.0 \
-#help2man -n "cmpfillin" \
-# --version-option="%{version}" -N --output=cmpfillin.1 -h -help %{buildroot}%{_bindir}/cmpfillin
-
%else
+LD_PRELOAD=%{buildroot}%{_libdir}/lib%{name}.so.0 \
help2man --version-string="%{version}" -n "Partitions a graph into a specified number of parts." \
-N --output="gpmetis.1" --no-discard-stderr --help-option="-help" %{buildroot}%{_bindir}/gpmetis
+LD_PRELOAD=%{buildroot}%{_libdir}/lib%{name}.so.0 \
help2man --version-string="%{version}" \
-n "Computes a fill-reducing ordering of the vertices of the graph using multilevel nested dissection." \
-N --output="ndmetis.1" --no-discard-stderr --help-option="-help" %{buildroot}%{_bindir}/ndmetis
+LD_PRELOAD=%{buildroot}%{_libdir}/lib%{name}.so.0 \
help2man --version-string="%{version}" -n "Partitions a mesh into a specified number of parts." \
-N --output="mpmetis.1" --no-discard-stderr --help-option="-help" %{buildroot}%{_bindir}/mpmetis
+LD_PRELOAD=%{buildroot}%{_libdir}/lib%{name}.so.0 \
help2man --version-string="%{version}" -n "Converts a mesh into a graph that is compatible with METIS." \
-N --output="m2gmetis.1" --no-discard-stderr -h "-help" %{buildroot}%{_bindir}/m2gmetis
-##There is no help page for graphchk
-#help2man --version-string="%{version}" -n "Checks the graph for format correctness and consistency." \
-# -N --output="graphchk.1" --no-discard-stderr --help-option="-help" %{buildroot}%{_bindir}/graphchk
-
-##There is no complete help page for cmpfillin
-#help2man -n "cmpfillin" --version-string="%{version}" -N --output=cmpfillin.1 --no-discard-stderr \
-# --help-option="-help" %{buildroot}%{_bindir}/cmpfillin
%endif
mkdir -p %{buildroot}%{_mandir}/man1
@@ -175,6 +157,10 @@ popd
%{_libdir}/lib%{name}.so
%changelog
+* Sun Mar 31 2013 Antonio Trande <sagitter at fedoraproject.org> - 5.0.3-10
+- Removed BR 'perl-Carp' (Bug 926996)
+- Added LD_PRELOAD before help2man tasks to fix manpage shared_lib_error
+
* Sun Mar 24 2013 Antonio Trande <sagitter at fedoraproject.org> - 5.0.3-9
- Added BR 'perl-Carp' for Fedora
- Excluded manpage creation for 'cmpfillin' and 'graphchk' commands
More information about the scm-commits
mailing list