Initial import (#920518).

This commit is contained in:
sagitter 2013-03-31 21:43:26 +02:00
parent 407f79cdee
commit 2d350d0107

View File

@ -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@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@fedoraproject.org> - 5.0.3-9
- Added BR 'perl-Carp' for Fedora
- Excluded manpage creation for 'cmpfillin' and 'graphchk' commands