]> git.pld-linux.org Git - packages/hwloc.git/blame - hwloc.spec
- initial PLD release
[packages/hwloc.git] / hwloc.spec
CommitLineData
8c44f071
TP
1Summary: Portable Hardware Locality
2Name: hwloc
3Version: 1.3
4Release: 1
5License: BSD
6Group: Applications/System
7Source0: http://www.open-mpi.org/software/hwloc/v1.3/downloads/%{name}-%{version}.tar.bz2
8# Source0-md5: e3ba4029ff4956727431495b642d1afb
9URL: http://www.open-mpi.org/projects/hwloc/
10BuildRequires: cairo-devel
11BuildRequires: libxml2-devel
12BuildRequires: numactl-devel
13BuildRequires: pciutils-devel
14BuildRequires: xorg-lib-libX11-devel
15BuildRequires: xorg-proto-xproto-devel
16Requires: %{name}-libs = %{version}-%{release}
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20The Portable Hardware Locality (hwloc) software package provides a
21portable abstraction (across OS, versions, architectures, ...) of the
22hierarchical topology of modern architectures, including NUMA memory
23nodes, sockets, shared caches, cores and simultaneous multithreading.
24It also gathers various system attributes such as cache and memory
25information. It primarily aims at helping applications with gathering
26information about modern computing hardware so as to exploit it
27accordingly and efficiently.
28
29%package libs
30Summary: %{name} library
31Group: Libraries
32
33%description libs
34%{name} library.
35
36%package devel
37Summary: Header files for %{name} library
38Group: Development/Libraries
39Requires: %{name}-libs = %{version}-%{release}
40
41%description devel
42Header files for %{name} library.
43
44%prep
45%setup -q
46
47%build
48%configure
49%{__make} V=1
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
56
57%{__rm} %{_libdir}/lib%{name}.la
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%post libs -p /sbin/ldconfig
63%postun libs -p /sbin/ldconfig
64
65%files
66%defattr(644,root,root,755)
67%attr(755,root,root) %{_bindir}/%{name}-*
68%attr(755,root,root) %{_bindir}/lstopo
69%{_datadir}/%{name}
70%{_mandir}/man1/%{name}-*.1*
71%{_mandir}/man1/lstopo.1*
72%{_mandir}/man7/%{name}.7*
73
74%files libs
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
79
80%files devel
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*
This page took 0.099489 seconds and 4 git commands to generate.