Splitted hwloc package to hwloc-libs subpackage (with only few dependencies) and to the hwloc main package which includes users utilities
This commit is contained in:
parent
7022980bcd
commit
58c94c3d04
38
hwloc.spec
38
hwloc.spec
@ -1,11 +1,12 @@
|
|||||||
Summary: Portable Hardware Locality - portable abstraction of hierarchical architectures
|
Summary: Portable Hardware Locality - portable abstraction of hierarchical architectures
|
||||||
Name: hwloc
|
Name: hwloc
|
||||||
Version: 1.6.1
|
Version: 1.6.1
|
||||||
Release: 0%{?dist}
|
Release: 1%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://www.open-mpi.org/projects/hwloc/
|
URL: http://www.open-mpi.org/projects/hwloc/
|
||||||
Source0: http://www.open-mpi.org/software/hwloc/v1.5/downloads/%{name}-%{version}.tar.bz2
|
Source0: http://www.open-mpi.org/software/hwloc/v1.6/downloads/%{name}-%{version}.tar.bz2
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
BuildRequires: libX11-devel libxml2-devel cairo-devel ncurses-devel pciutils-devel transfig doxygen w3m
|
BuildRequires: libX11-devel libxml2-devel cairo-devel ncurses-devel pciutils-devel transfig doxygen w3m
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
@ -33,11 +34,18 @@ about the hardware, bind processes, and much more.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Headers and shared development libraries for hwloc
|
Summary: Headers and shared development libraries for hwloc
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Headers and shared object symbolic links for the hwloc.
|
Headers and shared object symbolic links for the hwloc.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: Run time libraries for the hwloc
|
||||||
|
Group: Development/Libraries
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
Run time libraries for the hwloc
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -63,24 +71,17 @@ Headers and shared object symbolic links for the hwloc.
|
|||||||
%check
|
%check
|
||||||
%{__make} check
|
%{__make} check
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
%{_bindir}/%{name}*
|
%{_bindir}/%{name}*
|
||||||
%{_bindir}/lstopo
|
%{_bindir}/lstopo
|
||||||
%{_bindir}/lstopo-no-graphics
|
%{_bindir}/lstopo-no-graphics
|
||||||
%{_mandir}/man7/%{name}*
|
|
||||||
%{_mandir}/man1/%{name}*
|
%{_mandir}/man1/%{name}*
|
||||||
%{_mandir}/man1/lstopo*
|
%{_mandir}/man1/lstopo*
|
||||||
%dir %{_datadir}/%{name}
|
|
||||||
%{_datadir}/%{name}/%{name}.dtd
|
|
||||||
%{_datadir}/%{name}/%{name}-valgrind.supp
|
|
||||||
%dir %{_defaultdocdir}/%{name}-%{version}
|
|
||||||
%{_defaultdocdir}/%{name}-%{version}/*[^c]
|
|
||||||
%{_libdir}/libhwloc*so.*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
@ -92,8 +93,21 @@ Headers and shared object symbolic links for the hwloc.
|
|||||||
%{_defaultdocdir}/%{name}-%{version}/*c
|
%{_defaultdocdir}/%{name}-%{version}/*c
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%defattr(-, root, root, -)
|
||||||
|
%{_mandir}/man7/%{name}*
|
||||||
|
%dir %{_datadir}/%{name}
|
||||||
|
%{_datadir}/%{name}/%{name}.dtd
|
||||||
|
%{_datadir}/%{name}/%{name}-valgrind.supp
|
||||||
|
%dir %{_defaultdocdir}/%{name}-%{version}
|
||||||
|
%{_defaultdocdir}/%{name}-%{version}/*[^c]
|
||||||
|
%{_libdir}/libhwloc*so.*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 31 2013 Jirka Hladky <hladky.jiri@gmail.com> - 1.6.1-1
|
||||||
|
- Created libs package with reduced dependencies
|
||||||
|
|
||||||
* Sat Jan 19 2013 Jirka Hladky <hladky.jiri@gmail.com> - 1.6.1-0
|
* Sat Jan 19 2013 Jirka Hladky <hladky.jiri@gmail.com> - 1.6.1-0
|
||||||
- Update to version 1.6.1
|
- Update to version 1.6.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user