]> git.pld-linux.org Git - packages/numactl.git/blame - numactl.spec
- x32 rebuild
[packages/numactl.git] / numactl.spec
CommitLineData
712a88de 1Summary: Simple NUMA policy support
8e36b36b 2Summary(pl.UTF-8): Prosta obsługa polityk NUMA
712a88de 3Name: numactl
a58a6351 4Version: 2.0.10
a1d8f82d 5Release: 2
712a88de
JB
6License: LGPL v2.1 (library), GPL v2 (utilities)
7Group: Applications/System
3a4021f3 8Source0: ftp://oss.sgi.com/www/projects/libnuma/download/%{name}-%{version}.tar.gz
a58a6351 9# Source0-md5: 58443c6fe7e67126de07bd86e4d6b825
3a4021f3 10URL: http://oss.sgi.com/projects/libnuma/
712a88de
JB
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%description
14Simple NUMA policy support. It consists of a numactl program to run
15other programs with a specific NUMA policy and a libnuma to do
16allocations with NUMA policy in applications.
17
86a6b857
JR
18%description -l pl.UTF-8
19Prosta obsługa polityk NUMA. Pakiet zawiera program numactl do
20uruchamiania innych programów z określoną polityką NUMA oraz libnuma
21do przydzielania pamięci z polityką NUMA w aplikacjach.
712a88de
JB
22
23%package devel
24Summary: Header files for libnuma library
8e36b36b 25Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libnuma
712a88de
JB
26Group: Development/Libraries
27Requires: %{name} = %{version}-%{release}
28
29%description devel
30Header files for libnuma library.
31
86a6b857
JR
32%description devel -l pl.UTF-8
33Pliki nagłówkowe biblioteki libnuma.
712a88de 34
27fd96c5
JB
35%package static
36Summary: Static libnuma library
37Summary(pl.UTF-8): Statyczna biblioteka libnuma
38Group: Development/Libraries
39Requires: %{name}-devel = %{version}-%{release}
40
41%description static
42Static libnuma library.
43
44%description static -l pl.UTF-8
45Statyczna biblioteka libnuma.
46
712a88de
JB
47%prep
48%setup -q
49
712a88de 50%build
a58a6351
JB
51%configure \
52 --disable-silent-rules
53
54%{__make}
712a88de
JB
55
56%install
57rm -rf $RPM_BUILD_ROOT
712a88de
JB
58
59%{__make} install \
a58a6351 60 DESTDIR=$RPM_BUILD_ROOT
712a88de 61
a58a6351
JB
62# not needed (library without external dependencies)
63%{__rm} $RPM_BUILD_ROOT%{_libdir}/libnuma.la
64# in man-pages (it's Linux syscall, although API is defined in numaif.h)
65%{__rm} $RPM_BUILD_ROOT%{_mandir}/man2/move_pages.2
712a88de
JB
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
a58a6351
JB
70%pretrans
71# it used to be library itself, now it's SONAME symlink
72if [ -f %{_libdir}/libnuma.so.1 ]; then
73 rm -f %{_libdir}/libnuma.so.1
74fi
75
712a88de
JB
76%post -p /sbin/ldconfig
77%postun -p /sbin/ldconfig
78
79%files
80%defattr(644,root,root,755)
81%doc CHANGES README TODO
4edb3907
JB
82%attr(755,root,root) %{_bindir}/memhog
83%attr(755,root,root) %{_bindir}/migratepages
3a4021f3 84%attr(755,root,root) %{_bindir}/migspeed
712a88de
JB
85%attr(755,root,root) %{_bindir}/numactl
86%attr(755,root,root) %{_bindir}/numademo
87%attr(755,root,root) %{_bindir}/numastat
a58a6351
JB
88%attr(755,root,root) %{_libdir}/libnuma.so.*.*.*
89%attr(755,root,root) %ghost %{_libdir}/libnuma.so.1
70260b98 90%{_mandir}/man8/migratepages.8*
3a4021f3 91%{_mandir}/man8/migspeed.8*
712a88de 92%{_mandir}/man8/numactl.8*
6c4067a2 93%{_mandir}/man8/numastat.8*
712a88de
JB
94
95%files devel
96%defattr(644,root,root,755)
97%attr(755,root,root) %{_libdir}/libnuma.so
98%{_includedir}/numa*.h
27fd96c5
JB
99%{_mandir}/man3/numa.3*
100
101%files static
102%defattr(644,root,root,755)
103%{_libdir}/libnuma.a
This page took 0.06848 seconds and 4 git commands to generate.