Hi all, I have created a package review ticket for hwloc:
https://bugzilla.redhat.com/show_bug.cgi?id=606498 Once it will be approved, hwloc will become available as package in Fedora. Thanks for a great software! Jirka PS: I have attached spec file
Summary: Portable Hardware Locality - portable abstraction of hierarchical architectures Name: hwloc Version: 1.0.1 Release: 17%{?dist} License: BSD Group: Applications/System URL: http://www.open-mpi.org/projects/hwloc/ Source0: http://www.open-mpi.org/software/hwloc/v1.0/downloads/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if 0%{?rhel}==4 BuildRequires: xorg-x11-devel,libxml2-devel,evolution28-cairo-devel Requires: evolution28-cairo, xorg-x11-libs, xorg-x11-devel, glibc-devel, fontconfig-devel, freetype-devel, ncurses, libpng, libxml2-devel, zlib-devel AutoReq: no %else BuildRequires: libX11-devel,libxml2-devel,cairo-devel %endif %description The Portable Hardware Locality (hwloc) software package provides a portable abstraction (across OS, versions, architectures, ...) of the hierarchical topology of modern architectures, including NUMA memory nodes, shared caches, processor sockets, processor cores and processing units (logical processors or "threads"). It also gathers various system attributes such as cache and memory information. It primarily aims at helping applications with gathering information about modern computing hardware so as to exploit it accordingly and efficiently. hwloc may display the topology in multiple convenient formats. It also offers a powerful programming interface (C API) to gather information about the hardware, bind processes, and much more. %package devel Summary: Headers and shared development libraries for hwloc Group: Development/Libraries Requires: %{name} = %{version}-%{release} %if 0%{?rhel}==4 BuildRequires: xorg-x11-devel,libxml2-devel,evolution28-cairo-devel %else BuildRequires: libX11-devel,libxml2-devel,cairo-devel %endif %description devel Headers and shared object symbolic links for the hwloc. %prep %setup -q %build %if 0%{?rhel}==4 OUT=$(/usr/bin/find /usr/evolution28 -type d -name pkgconfig) [ ! -z "${OUT}" ] && export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${OUT}" %endif %configure sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR=%{buildroot} INSTALL="%{__install} -p" # We don't ship .la files. rm -rf $RPM_BUILD_ROOT%{_libdir}/libhwloc.la %{__mv} %{buildroot}%{_defaultdocdir}/%{name} %{buildroot}%{_defaultdocdir}/%{name}-%{version} %{__cp} AUTHORS COPYING NEWS README VERSION %{buildroot}%{_defaultdocdir}/%{name}-%{version} %{__cp} doc/hwloc-hello.c %{buildroot}%{_defaultdocdir}/%{name}-%{version} %clean %{__rm} -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root, -) %{_bindir}/%{name}* %{_bindir}/lstopo %{_mandir}/man7/%{name}* %{_mandir}/man1/%{name}* %{_mandir}/man1/lstopo* %{_prefix}/share/%{name}/%{name}.dtd %dir %{_defaultdocdir}/%{name}-%{version} %{_defaultdocdir}/%{name}-%{version}/*[^c] %{_libdir}/libhwloc*.so.* %files devel %defattr(-, root, root, -) %{_libdir}/pkgconfig/* %{_libdir}/libhwloc*.so %{_mandir}/man3/* %dir %{_includedir}/%{name} %{_includedir}/%{name}/* %{_includedir}/%{name}.h %dir %{_defaultdocdir}/%{name}-%{version} %{_defaultdocdir}/%{name}-%{version}/*c %changelog * Fri Jun 18 2010 Jirka Hladky <jhla...@redhat.com> - 1.0.1-17 - Initial build