Built on EPEL7
This commit is contained in:
parent
071a2b48b9
commit
1a0f19f67a
19
metis.spec
19
metis.spec
@ -1,6 +1,6 @@
|
|||||||
Name: metis
|
Name: metis
|
||||||
Version: 5.1.0
|
Version: 5.1.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Serial Graph Partitioning and Fill-reducing Matrix Ordering
|
Summary: Serial Graph Partitioning and Fill-reducing Matrix Ordering
|
||||||
License: ASL 2.0 and BSD and LGPLv2+
|
License: ASL 2.0 and BSD and LGPLv2+
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -24,7 +24,7 @@ Patch2: %{name}-width-datatype.patch
|
|||||||
## This patch sets up GKREGEX, GKRAND, libsuffix options to the Makefiles
|
## This patch sets up GKREGEX, GKRAND, libsuffix options to the Makefiles
|
||||||
Patch4: %{name}-GKREGEX-GKRAND-LIBSUFFIX-fix.patch
|
Patch4: %{name}-GKREGEX-GKRAND-LIBSUFFIX-fix.patch
|
||||||
|
|
||||||
%if 0%{?rhel}
|
%if 0%{?el6}
|
||||||
BuildRequires: cmake28
|
BuildRequires: cmake28
|
||||||
Conflicts: cmake < 2.8
|
Conflicts: cmake < 2.8
|
||||||
%else
|
%else
|
||||||
@ -68,7 +68,7 @@ fi
|
|||||||
# Build metis
|
# Build metis
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
%if 0%{?rhel}
|
%if 0%{?el6}
|
||||||
%cmake28 \
|
%cmake28 \
|
||||||
%else
|
%else
|
||||||
%cmake \
|
%cmake \
|
||||||
@ -101,7 +101,7 @@ pushd build
|
|||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
## Generate manpages from binaries
|
## Generate manpages from binaries
|
||||||
%if 0%{?rhel}
|
%if 0%{?el6}
|
||||||
LD_PRELOAD=%{buildroot}%{_libdir}/lib%{name}.so.0 \
|
LD_PRELOAD=%{buildroot}%{_libdir}/lib%{name}.so.0 \
|
||||||
help2man --version-option="%{version}" -n "Partitions a graph into a specified number of parts." \
|
help2man --version-option="%{version}" -n "Partitions a graph into a specified number of parts." \
|
||||||
-N --output="gpmetis.1" -h -help %{buildroot}%{_bindir}/gpmetis
|
-N --output="gpmetis.1" -h -help %{buildroot}%{_bindir}/gpmetis
|
||||||
@ -146,7 +146,12 @@ popd
|
|||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE.txt Changelog manual/manual.pdf
|
%doc Changelog manual/manual.pdf
|
||||||
|
%if 0%{?fedora}
|
||||||
|
%license LICENSE.txt
|
||||||
|
%else
|
||||||
|
%doc LICENSE.txt
|
||||||
|
%endif
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man1/*.1.gz
|
%{_mandir}/man1/*.1.gz
|
||||||
%{_libdir}/lib%{name}.so.*
|
%{_libdir}/lib%{name}.so.*
|
||||||
@ -157,6 +162,10 @@ popd
|
|||||||
%{_libdir}/lib%{name}.so
|
%{_libdir}/lib%{name}.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 15 2015 Antonio Trande <sagitter@fedoraproject.org> - 5.1.0-5
|
||||||
|
- Built on EPEL7
|
||||||
|
- Used new macro %%license
|
||||||
|
|
||||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-4
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user