1 Summary: Portable Hardware Locality
6 Group: Applications/System
7 Source0: http://www.open-mpi.org/software/hwloc/v1.3/downloads/%{name}-%{version}.tar.bz2
8 # Source0-md5: e3ba4029ff4956727431495b642d1afb
9 URL: http://www.open-mpi.org/projects/hwloc/
10 BuildRequires: cairo-devel
11 BuildRequires: libxml2-devel
12 BuildRequires: numactl-devel
13 BuildRequires: pciutils-devel
14 BuildRequires: xorg-lib-libX11-devel
15 BuildRequires: xorg-proto-xproto-devel
16 Requires: %{name}-libs = %{version}-%{release}
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The Portable Hardware Locality (hwloc) software package provides a
21 portable abstraction (across OS, versions, architectures, ...) of the
22 hierarchical topology of modern architectures, including NUMA memory
23 nodes, sockets, shared caches, cores and simultaneous multithreading.
24 It also gathers various system attributes such as cache and memory
25 information. It primarily aims at helping applications with gathering
26 information about modern computing hardware so as to exploit it
27 accordingly and efficiently.
30 Summary: %{name} library
37 Summary: Header files for %{name} library
38 Group: Development/Libraries
39 Requires: %{name}-libs = %{version}-%{release}
42 Header files for %{name} library.
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT
57 %{__rm} %{_libdir}/lib%{name}.la
60 rm -rf $RPM_BUILD_ROOT
62 %post libs -p /sbin/ldconfig
63 %postun libs -p /sbin/ldconfig
66 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_bindir}/%{name}-*
68 %attr(755,root,root) %{_bindir}/lstopo
70 %{_mandir}/man1/%{name}-*.1*
71 %{_mandir}/man1/lstopo.1*
72 %{_mandir}/man7/%{name}.7*
75 %defattr(644,root,root,755)
76 %{_pkgconfigdir}/%{name}.pc
77 %attr(755,root,root) %{_libdir}/lib%{name}.so.*.*.*
78 %attr(755,root,root) %ghost %{_libdir}/lib%{name}.so.4
81 %defattr(644,root,root,755)
82 %doc doc/doxygen-doc/html doc/doxygen-doc/%{name}-*.pdf
83 %attr(755,root,root) %{_libdir}/lib%{name}.so
84 %{_includedir}/%{name}
85 %{_includedir}/%{name}.h
86 %{_mandir}/man3/HWLOC_*.3*
87 %{_mandir}/man3/hwloc_*.3*
88 %{_mandir}/man3/hwlocality_*.3*