]> git.pld-linux.org Git - packages/numactl.git/blame - numactl.spec
- upgraded to 2.0.3
[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
3a4021f3 4Version: 2.0.3
712a88de
JB
5Release: 1
6License: LGPL v2.1 (library), GPL v2 (utilities)
7Group: Applications/System
3a4021f3
TP
8Source0: ftp://oss.sgi.com/www/projects/libnuma/download/%{name}-%{version}.tar.gz
9# Source0-md5: 8e4fb249e5f719c25d7f433964fb9220
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
JB
34
35%prep
36%setup -q
37
e911599b 38rm -f *.o
712a88de
JB
39
40%build
41%{__make} \
e911599b
JB
42 CC="%{__cc}" \
43 OPT_CFLAGS="%{rpmcflags} -Wall"
712a88de
JB
44
45%install
46rm -rf $RPM_BUILD_ROOT
6c4067a2 47install -d $RPM_BUILD_ROOT%{_mandir}/man5
712a88de
JB
48
49%{__make} install \
50 prefix=$RPM_BUILD_ROOT%{_prefix} \
51 libdir=$RPM_BUILD_ROOT%{_libdir}
52
3a4021f3
TP
53install migspeed numamon $RPM_BUILD_ROOT%{_bindir}
54install move_pages.2 $RPM_BUILD_ROOT%{_mandir}/man2
712a88de 55# missing in make install
3a4021f3 56install {migratepages,migspeed,numastat}.8 $RPM_BUILD_ROOT%{_mandir}/man8
712a88de
JB
57
58for f in `find $RPM_BUILD_ROOT%{_mandir}/man3 -type l` ; do
59 rm -f $f
60 echo '.so numa.3' > $f
61done
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%post -p /sbin/ldconfig
67%postun -p /sbin/ldconfig
68
69%files
70%defattr(644,root,root,755)
71%doc CHANGES README TODO
4edb3907
JB
72%attr(755,root,root) %{_bindir}/memhog
73%attr(755,root,root) %{_bindir}/migratepages
3a4021f3 74%attr(755,root,root) %{_bindir}/migspeed
712a88de
JB
75%attr(755,root,root) %{_bindir}/numactl
76%attr(755,root,root) %{_bindir}/numademo
3a4021f3 77%attr(755,root,root) %{_bindir}/numamon
712a88de 78%attr(755,root,root) %{_bindir}/numastat
712a88de 79%attr(755,root,root) %{_libdir}/libnuma.so.*
70260b98 80%{_mandir}/man8/migratepages.8*
3a4021f3 81%{_mandir}/man8/migspeed.8*
712a88de 82%{_mandir}/man8/numactl.8*
6c4067a2 83%{_mandir}/man8/numastat.8*
712a88de
JB
84
85%files devel
86%defattr(644,root,root,755)
87%attr(755,root,root) %{_libdir}/libnuma.so
88%{_includedir}/numa*.h
3a4021f3 89%{_mandir}/man2/*
712a88de 90%{_mandir}/man3/*
This page took 0.182171 seconds and 4 git commands to generate.