]> git.pld-linux.org Git - packages/numactl.git/blame - numactl.spec
- updated to 2.0.5
[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
27fd96c5 4Version: 2.0.5
712a88de
JB
5Release: 1
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
27fd96c5 9# Source0-md5: 7cafe683095d4677326bcc5e4b3cc541
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
JB
50%build
51%{__make} \
e911599b
JB
52 CC="%{__cc}" \
53 OPT_CFLAGS="%{rpmcflags} -Wall"
712a88de
JB
54
55%install
56rm -rf $RPM_BUILD_ROOT
712a88de
JB
57
58%{__make} install \
59 prefix=$RPM_BUILD_ROOT%{_prefix} \
60 libdir=$RPM_BUILD_ROOT%{_libdir}
61
62# missing in make install
27fd96c5
JB
63install numamon $RPM_BUILD_ROOT%{_bindir}
64install move_pages.2 $RPM_BUILD_ROOT%{_mandir}/man2
3a4021f3 65install {migratepages,migspeed,numastat}.8 $RPM_BUILD_ROOT%{_mandir}/man8
712a88de
JB
66
67for f in `find $RPM_BUILD_ROOT%{_mandir}/man3 -type l` ; do
68 rm -f $f
69 echo '.so numa.3' > $f
70done
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%post -p /sbin/ldconfig
76%postun -p /sbin/ldconfig
77
78%files
79%defattr(644,root,root,755)
80%doc CHANGES README TODO
4edb3907
JB
81%attr(755,root,root) %{_bindir}/memhog
82%attr(755,root,root) %{_bindir}/migratepages
3a4021f3 83%attr(755,root,root) %{_bindir}/migspeed
712a88de
JB
84%attr(755,root,root) %{_bindir}/numactl
85%attr(755,root,root) %{_bindir}/numademo
3a4021f3 86%attr(755,root,root) %{_bindir}/numamon
712a88de 87%attr(755,root,root) %{_bindir}/numastat
27fd96c5 88%attr(755,root,root) %{_libdir}/libnuma.so.1
70260b98 89%{_mandir}/man8/migratepages.8*
3a4021f3 90%{_mandir}/man8/migspeed.8*
712a88de 91%{_mandir}/man8/numactl.8*
6c4067a2 92%{_mandir}/man8/numastat.8*
712a88de
JB
93
94%files devel
95%defattr(644,root,root,755)
96%attr(755,root,root) %{_libdir}/libnuma.so
97%{_includedir}/numa*.h
27fd96c5
JB
98%{_mandir}/man2/move_pages.2*
99%{_mandir}/man3/numa.3*
100
101%files static
102%defattr(644,root,root,755)
103%{_libdir}/libnuma.a
This page took 0.243868 seconds and 4 git commands to generate.