]> git.pld-linux.org Git - packages/hwloc.git/commitdiff
- initial PLD release
authorTomasz Pala <gotar@pld-linux.org>
Thu, 24 Nov 2011 13:54:44 +0000 (13:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    hwloc.spec -> 1.1

hwloc.spec [new file with mode: 0644]

diff --git a/hwloc.spec b/hwloc.spec
new file mode 100644 (file)
index 0000000..9bc020f
--- /dev/null
@@ -0,0 +1,88 @@
+Summary:       Portable Hardware Locality
+Name:          hwloc
+Version:       1.3
+Release:       1
+License:       BSD
+Group:         Applications/System
+Source0:       http://www.open-mpi.org/software/hwloc/v1.3/downloads/%{name}-%{version}.tar.bz2
+# Source0-md5: e3ba4029ff4956727431495b642d1afb
+URL:           http://www.open-mpi.org/projects/hwloc/
+BuildRequires: cairo-devel
+BuildRequires: libxml2-devel
+BuildRequires: numactl-devel
+BuildRequires: pciutils-devel
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xorg-proto-xproto-devel
+Requires:      %{name}-libs = %{version}-%{release}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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, sockets, shared caches, cores and simultaneous multithreading.
+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.
+
+%package libs
+Summary:       %{name} library
+Group:         Libraries
+
+%description libs
+%{name} library.
+
+%package devel
+Summary:       Header files for %{name} library
+Group:         Development/Libraries
+Requires:      %{name}-libs = %{version}-%{release}
+
+%description devel
+Header files for %{name} library.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make} V=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} %{_libdir}/lib%{name}.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{name}-*
+%attr(755,root,root) %{_bindir}/lstopo
+%{_datadir}/%{name}
+%{_mandir}/man1/%{name}-*.1*
+%{_mandir}/man1/lstopo.1*
+%{_mandir}/man7/%{name}.7*
+
+%files libs
+%defattr(644,root,root,755)
+%{_pkgconfigdir}/%{name}.pc
+%attr(755,root,root) %{_libdir}/lib%{name}.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/lib%{name}.so.4
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/doxygen-doc/html doc/doxygen-doc/%{name}-*.pdf
+%attr(755,root,root) %{_libdir}/lib%{name}.so
+%{_includedir}/%{name}
+%{_includedir}/%{name}.h
+%{_mandir}/man3/HWLOC_*.3*
+%{_mandir}/man3/hwloc_*.3*
+%{_mandir}/man3/hwlocality_*.3*
This page took 0.168312 seconds and 4 git commands to generate.