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