]> git.pld-linux.org Git - packages/hwloc.git/blame - hwloc.spec
- updated to 1.10.0
[packages/hwloc.git] / hwloc.spec
CommitLineData
ad5914df 1# TODO: CUDA >= 30.20, NVML/nvidia-ml on bcond?
fe9dbd5e 2# NOTES (as of 1.10):
33daa92c
JB
3# - kerrighed library is only checked for; kerrighed support in hwloc uses /proc filesystem
4# - myriexpress (open-mx) library is only checked for, but not used by hwloc code
5# (just in one test); in binary packages only interface header is included
8c44f071 6Summary: Portable Hardware Locality
ad5914df 7Summary(pl.UTF-8): Przenośna lokalizacja sprzętu
8c44f071 8Name: hwloc
fe9dbd5e 9Version: 1.10.0
8c44f071
TP
10Release: 1
11License: BSD
12Group: Applications/System
fe9dbd5e
JB
13Source0: http://www.open-mpi.org/software/hwloc/v1.10/downloads/%{name}-%{version}.tar.bz2
14# Source0-md5: c0502d93b1b8800cde28f84010bccfe0
8c44f071 15URL: http://www.open-mpi.org/projects/hwloc/
ad5914df
JB
16BuildRequires: OpenCL-devel
17BuildRequires: OpenGL-devel
8c44f071 18BuildRequires: cairo-devel
ad5914df
JB
19BuildRequires: libXNVCtrl-devel
20BuildRequires: libibverbs-devel
21BuildRequires: libltdl-devel
22BuildRequires: libstdc++-devel
23BuildRequires: libxml2-devel >= 2.0
24BuildRequires: ncurses-devel
8c44f071 25BuildRequires: numactl-devel
ad5914df 26BuildRequires: pkgconfig >= 1:0.9.0
8c44f071 27BuildRequires: xorg-lib-libX11-devel
ad5914df
JB
28BuildRequires: xorg-lib-libXext-devel
29BuildRequires: xorg-lib-libpciaccess-devel
8c44f071
TP
30BuildRequires: xorg-proto-xproto-devel
31Requires: %{name}-libs = %{version}-%{release}
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35The Portable Hardware Locality (hwloc) software package provides a
36portable abstraction (across OS, versions, architectures, ...) of the
37hierarchical topology of modern architectures, including NUMA memory
38nodes, sockets, shared caches, cores and simultaneous multithreading.
39It also gathers various system attributes such as cache and memory
40information. It primarily aims at helping applications with gathering
41information about modern computing hardware so as to exploit it
42accordingly and efficiently.
43
ad5914df
JB
44%description -l pl.UTF-8
45Pakiet HWLOC (Portable Hardware Locality) zapewnia przenośną (między
46systemami operacyjnymi, werjami, architekturami...) abstrakcję
47hierarchicznej topologii współczesnych architektur, w tym węzłów z
48pamięcią NUMA, gniazd, współdzielonych pamięci podręcznych, rdzeni i
49wielowątkowości. Gromadzi też różne właściwości systemów, takie jak
50informacje o pamięci głównej i podręcznej. Głównym celem jest pomoc
51aplikacjom w gromadzeniu informacji o współczesnym sprzęcie
52obliczeniowym w celu jego właściwego i wydajnego wykorzystania.
53
8c44f071 54%package libs
ad5914df
JB
55Summary: Portable Hardware Locality (hwloc) library
56Summary(pl.UTF-8): Biblioteka przenośnej lokalizacji sprzętu (hwloc)
8c44f071
TP
57Group: Libraries
58
59%description libs
ad5914df
JB
60Portable Hardware Locality (hwloc) library.
61
62%description libs -l pl.UTF-8
63Biblioteka przenośnej lokalizacji sprzętu (hwloc).
8c44f071
TP
64
65%package devel
ad5914df
JB
66Summary: Header files for hwloc library
67Summary(pl.UTF-8): Pliki nagłówkowe biblioteki hwloc
8c44f071
TP
68Group: Development/Libraries
69Requires: %{name}-libs = %{version}-%{release}
7b061da2 70Requires: libltdl-devel
ad5914df 71Requires: numactl-devel
8c44f071
TP
72
73%description devel
ad5914df
JB
74Header files for hwloc library.
75
76%description devel -l pl.UTF-8
77Pliki nagłówkowe biblioteki hwloc.
8c44f071
TP
78
79%prep
80%setup -q
81
82%build
ad5914df
JB
83%configure \
84 --enable-plugins \
85 --disable-silent-rules
86%{__make}
8c44f071
TP
87
88%install
89rm -rf $RPM_BUILD_ROOT
90
91%{__make} install \
92 DESTDIR=$RPM_BUILD_ROOT
93
ad5914df
JB
94%{__rm} $RPM_BUILD_ROOT%{_libdir}/libhwloc.la \
95 $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
8c44f071 96
fe9dbd5e
JB
97# packaged as %doc
98%{__rm} $RPM_BUILD_ROOT%{_docdir}/hwloc/hwloc*.pdf
99
8c44f071
TP
100%clean
101rm -rf $RPM_BUILD_ROOT
102
103%post libs -p /sbin/ldconfig
104%postun libs -p /sbin/ldconfig
105
106%files
107%defattr(644,root,root,755)
ad5914df 108%attr(755,root,root) %{_bindir}/hwloc-*
8c44f071 109%attr(755,root,root) %{_bindir}/lstopo
ad5914df
JB
110%attr(755,root,root) %{_bindir}/lstopo-no-graphics
111%dir %{_libdir}/%{name}
112%attr(755,root,root) %{_libdir}/%{name}/hwloc_opencl.so
113%attr(755,root,root) %{_libdir}/%{name}/hwloc_pci.so
114%attr(755,root,root) %{_libdir}/%{name}/hwloc_xml_libxml.so
8c44f071 115%{_datadir}/%{name}
fe9dbd5e 116%{_desktopdir}/hwloc-ls.desktop
ad5914df 117%{_mandir}/man1/hwloc-*.1*
8c44f071 118%{_mandir}/man1/lstopo.1*
ad5914df
JB
119%{_mandir}/man1/lstopo-no-graphics.1*
120%{_mandir}/man7/hwloc.7*
8c44f071
TP
121
122%files libs
123%defattr(644,root,root,755)
ad5914df
JB
124%doc AUTHORS COPYING NEWS README
125%attr(755,root,root) %{_libdir}/libhwloc.so.*.*.*
126%attr(755,root,root) %ghost %{_libdir}/libhwloc.so.5
8c44f071
TP
127
128%files devel
129%defattr(644,root,root,755)
ad5914df
JB
130%doc doc/doxygen-doc/html doc/doxygen-doc/hwloc-a4.pdf
131%attr(755,root,root) %{_libdir}/libhwloc.so
132%{_pkgconfigdir}/hwloc.pc
133%{_includedir}/hwloc
134%{_includedir}/hwloc.h
8c44f071
TP
135%{_mandir}/man3/HWLOC_*.3*
136%{_mandir}/man3/hwloc_*.3*
137%{_mandir}/man3/hwlocality_*.3*
This page took 0.081834 seconds and 4 git commands to generate.