source: projects/specs/trunk/n/numactl/numactl-vl.spec @ 6032

Revision 6032, 7.8 KB checked in by daisuke, 12 years ago (diff)

numactl: new package

Line 
1Name:           numactl
2Summary:        Library for tuning for Non Uniform Memory Access machines
3Summary(ja):    NUMA マシンをチューニングするためのライブラリ
4Version:        2.0.7
5Release:        1%{?_dist_release}
6License:        LGPLv2/GPLv2
7Group:          System Environment/Base
8URL:            ftp://oss.sgi.com/www/projects/libnuma/download
9Source0:        ftp://oss.sgi.com/www/projects/libnuma/download/numactl-%{version}.tar.gz
10Buildroot:      %{_tmppath}/%{name}-buildroot
11
12Patch1: numactl-2.0.3-rc3-no-nodes-warning.patch
13Patch2: numactl-2.0.7-manpages.patch
14
15ExcludeArch: s390 s390x %{arm}
16
17%description
18Simple NUMA policy support. It consists of a numactl program to run
19other programs with a specific NUMA policy.
20
21%package libs
22Summary: libnuma libraries
23Summary(ja): libnuma libraries
24Group: System Environment/Libraries
25
26%description libs
27numactl-libs provides libnuma, a library to do allocations with
28NUMA policy in applications.
29
30%package devel
31Summary: Development package for building Applications that use numa
32Summary(ja): Development package for building Applications that use numa
33Group: System Environment/Libraries
34Requires: %{name}-libs = %{version}-%{release}
35
36%description devel
37Provides development headers for numa library calls
38
39%package compat
40Summary: Library for tuning for Non Uniform Memory Access machines
41Summary(ja): Library for tuning for Non Uniform Memory Access machines
42Obsoletes: numactl < 2.0.7-5
43
44Requires:  numactl = 2.0.7-5
45Requires:  numactl-libs = 2.0.7-5
46
47%description compat
48This package only exists to help transition numactl users to the new
49package split. It will be removed after one distribution release cycle, please
50do not reference it or depend on it in any way.
51
52%prep
53%setup -q -n %{name}-%{version}
54%patch1 -p1
55%patch2 -p1
56
57%build
58make CFLAGS="$RPM_OPT_FLAGS -I."
59
60%install
61rm -rf $RPM_BUILD_ROOT
62mkdir -p $RPM_BUILD_ROOT%{_bindir}
63mkdir -p $RPM_BUILD_ROOT%{_libdir}
64mkdir -p $RPM_BUILD_ROOT%{_includedir}
65mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
66
67make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%post -p /sbin/ldconfig
73%post libs -p /sbin/ldconfig
74
75%postun -p /sbin/ldconfig
76%postun libs -p /sbin/ldconfig
77
78%files
79%defattr(-,root,root,-)
80%{_bindir}/numactl
81%{_bindir}/numademo
82%{_bindir}/numastat
83%{_bindir}/memhog
84%{_bindir}/migspeed
85%{_bindir}/migratepages
86%{_mandir}/man8/*.8*
87
88%files libs
89%defattr(-,root,root,-)
90%{_libdir}/libnuma.so.1
91
92%files devel
93%defattr(-,root,root,-)
94%{_libdir}/libnuma.so
95%exclude %{_libdir}/libnuma.a
96%{_includedir}/numa.h
97%{_includedir}/numaif.h
98%{_includedir}/numacompat1.h
99%{_mandir}/man3/*.3*
100
101%changelog
102* Tue Apr 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp>  2.0.7-1
103- initial build for Vine Linux
104
105* Sun Apr 15 2012 Petr Holasek <pholasek@redhat.com> - 2.0.7-5
106- Library splitted out of numactl package to numactl-libs
107
108* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.7-4
109- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
110
111* Mon Jan 01 2012 Anton Arapov <anton@redhat.com> - 2.0.7-3
112- Include missing manpages
113
114* Sat Jun 18 2011 Peter Robinson <pbrobinson@gmail.com> - 2.0.7-2
115- Exclude ARM platforms
116
117* Fri Apr 15 2011 Anton Arapov <anton@redhat.com> - 2.0.7-1
118- Update to latest upstream stable version (bz 696703)
119
120* Tue Mar 22 2011 Anton Arapov <anton@redhat.com> - 2.0.6-2
121- Better manpages (bz 673613)
122
123* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.6-2
124- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
125
126* Tue Jan 04 2011 Neil Horman <nhorman@redhat.com> - 2.0.6-1
127- Update to latest upstream stable version (bz 666379)
128
129* Mon Oct 18 2010 Neil Horman <nhorman@redhat.com> - 2.0.5-1
130- Update to latest stable upstream source
131
132* Mon Feb 15 2010 Neil Horman <nhorman@redhat.com> - 2.0.3-8
133- Remove static libs from numactl (bz 556088)
134
135* Mon Aug 10 2009 Neil Horman <nhorman@redhat.com> - 2.0.3-7
136- Add destructor to libnuma.so to free allocated memory (bz 516227)
137
138* Mon Aug 10 2009 Neil Horman <nhorman@redhat.com> - 2.0.3-6
139- Fix obo in nodes_allowed_list strncpy (bz 516223)
140
141* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-5
142- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
143
144* Fri Jun 26 2009 Neil Horman <nhorman@redhat.com>
145- Update to full 2.0.3 version (bz 506795)
146
147* Wed Jun 17 2009 Neil Horman <nhorman@redhat.com>
148- Fix silly libnuma warnings again (bz 499633)
149
150* Fri May 08 2009 Neil Horman <nhorman@redhat.com>
151- Update to 2.0.3-rc3 (bz 499633)
152
153* Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2.0.2-4
154- Remove warning from libnuma (bz 484552)
155
156* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
157- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
158
159* Mon Sep 29 2008 Neil Horman <nhorman@redhat.com> - 2.0.2-2
160- Fix build break due to register selection in asm
161
162* Mon Sep 29 2008 Neil Horman <nhorman@redhat.com> - 2.0.2-1
163- Update rawhide to version 2.0.2 of numactl
164
165* Fri Apr 25 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-6
166- Fix buffer size passing and arg sanity check for physcpubind (bz 442521)
167
168* Fri Mar 14 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-5
169- Fixing spec file to actually apply alpha patch :)
170
171* Fri Mar 14 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-4
172- Add alpha syscalls (bz 396361)
173
174* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.2-3
175- Autorebuild for GCC 4.3
176
177* Thu Dec 20 2007 Neil Horman <nhorman@redhat.com> - 1.0.2-1
178- Update numactl to fix get_mempolicy signature (bz 418551)
179
180* Fri Dec 14 2007 Neil Horman <nhorman@redhat.com> - 1.0.2-1
181- Update numactl to latest version (bz 425281)
182
183* Tue Aug 07 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-4
184- Fixing some remaining merge review issues (bz 226207)
185
186* Fri Aug 03 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-3
187- fixing up merge review (bz 226207)
188
189* Fri Jan 12 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-2
190- Properly fixed bz 221982
191- Updated revision string to include %{dist}
192
193* Thu Jan 11 2007 Neil Horman <nhorman@redhat.com> - 0.9.8-1.38
194- Fixed -devel to depend on base package so libnuma.so resolves
195
196* Thu Sep 21 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.36
197- adding nodebind patch for bz 207404
198
199* Fri Aug 25 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.35
200- moving over libnuma.so to -devel package as well
201
202* Fri Aug 25 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.34
203- split out headers/devel man pages to a devel subpackage
204
205* Tue Aug 15 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.32
206- add patch for broken cpu/nodebind output (bz 201906)
207
208* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.9.8-1.31
209- rebuild
210
211* Tue Jun 13 2006 Neil Horman <nhorman@redhat.com>
212- Rebased numactl to version 0.9.8 for FC6/RHEL5
213
214* Wed Apr 26 2006 Neil Horman <nhorman@redhat.com>
215- Added patches for 64 bit overflows and cpu mask problem
216
217* Fri Mar 10 2006 Bill Nottingham <notting@redhat.com>
218- rebuild for ppc TLS issue (#184446)
219
220* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.4-1.25.2
221- bump again for double-long bug on ppc(64)
222
223* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com>
224- rebuilt for new gcc4.1 snapshot and glibc changes
225
226* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
227- rebuilt
228
229* Thu Jul  7 2005 Dave Jones <davej@redhat.com>
230- numactl doesn't own the manpage dirs. (#161547)
231
232* Tue Mar  1 2005 Dave Jones <davej@redhat.com>
233- Rebuild for gcc4
234
235* Tue Feb  8 2005 Dave Jones <davej@redhat.com>
236- rebuild with -D_FORTIFY_SOURCE=2
237
238* Wed Nov 10 2004 David Woodhouse <dwmw2@redhat.com>
239- Fix build on x86_64
240
241* Thu Oct 21 2004 David Woodhouse <dwmw2@redhat.com>
242- Add PPC support
243
244* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
245- rebuilt
246
247* Sat Jun 05 2004 Warren Togami <wtogami@redhat.com>
248- spec cleanup
249
250* Sat Jun 05 2004 Arjan van de Ven <arjanv@redhat.com>
251- initial packaging
252
Note: See TracBrowser for help on using the repository browser.