]> git.pld-linux.org Git - packages/numactl.git/blame - numactl.spec
- updated to 1.0.2
[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
ef70deed 4Version: 1.0.2
712a88de
JB
5Release: 1
6License: LGPL v2.1 (library), GPL v2 (utilities)
7Group: Applications/System
8Source0: ftp://ftp.suse.com/pub/people/ak/numa/%{name}-%{version}.tar.gz
ef70deed 9# Source0-md5: 392a5bc3e79f016edcaee0cb6ceadf90
712a88de 10URL: ftp://ftp.suse.com/pub/people/ak/numa/
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
53# missing in make install
6c4067a2 54install migratepages.8 numastat.8 $RPM_BUILD_ROOT%{_mandir}/man8
712a88de
JB
55
56for f in `find $RPM_BUILD_ROOT%{_mandir}/man3 -type l` ; do
57 rm -f $f
58 echo '.so numa.3' > $f
59done
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%post -p /sbin/ldconfig
65%postun -p /sbin/ldconfig
66
67%files
68%defattr(644,root,root,755)
69%doc CHANGES README TODO
4edb3907
JB
70%attr(755,root,root) %{_bindir}/memhog
71%attr(755,root,root) %{_bindir}/migratepages
712a88de
JB
72%attr(755,root,root) %{_bindir}/numactl
73%attr(755,root,root) %{_bindir}/numademo
74%attr(755,root,root) %{_bindir}/numastat
712a88de 75%attr(755,root,root) %{_libdir}/libnuma.so.*
6c4067a2 76%{_mandir}/man5/numa_maps.5*
70260b98 77%{_mandir}/man8/migratepages.8*
712a88de 78%{_mandir}/man8/numactl.8*
6c4067a2 79%{_mandir}/man8/numastat.8*
712a88de
JB
80
81%files devel
82%defattr(644,root,root,755)
83%attr(755,root,root) %{_libdir}/libnuma.so
84%{_includedir}/numa*.h
712a88de 85%{_mandir}/man3/*
This page took 0.124283 seconds and 4 git commands to generate.