]> git.pld-linux.org Git - packages/glibc.git/blame - glibc.spec
- updated for 20040101 snap
[packages/glibc.git] / glibc.spec
CommitLineData
98a7741e 1#
2# You can define min_kernel macro by "rpm --define 'min_kernel version'"
742b2751 3# default is 2.4.6
029d2051 4#
b287d865 5# Conditional build:
b05916ae 6%bcond_without fp # build without frame pointer (pass \--enable-omitfp)
fd1d4127
JB
7%bcond_without memusage # don't build memusage utility
8%bcond_with kernelheaders # use headers from kernel-headers instead of
9 # glibc-kernel-headers (evil, breakage etc., don't use)
10%bcond_without dist_kernel # for above, allow non-distribution kernel
11%bcond_with idn # build with included libidn
61918272 12%bcond_with nptl # use nptl instead of linuxthreads
f3f771b7 13%bcond_without tls # do not use tls
adfd3b3d 14%bcond_without tests # do not perform "make test"
61918272 15
b287d865 16#
37cd6ebc
JB
17# TODO:
18# - localedb-gen man pages(?)
4acad1ec
AM
19# - fix what trojan broke while upgreading (getaddrinfo-workaround)
20#
76f01b70
JB
21# WARNING:
22# posix zoneinfo dir removed, /etc/rc.d/init.d/timezone must be changed
23# in order to use this version!
24#
61918272 25
3900e225 26%{!?min_kernel:%global min_kernel 2.4.6}
61918272 27
28%if %{with nptl}
3900e225 29%ifarch i686 athlon amd64 ia64 s390 s390x sparcv9 ppc ppc64
76131947
AM
30%if "%{min_kernel}" < "2.6.0"
31%global min_kernel 2.6.0
32%endif
61918272 33%else
3900e225
AM
34%undefine with_nptl
35%endif
61918272 36%endif
61918272 37
f3f771b7
AM
38%if %{with tls}
39%ifnarch i686 athlon amd64 ia64 s390 s390x alpha alphaev6 sparc sparcv9 ppc ppc64
40%undefine with_tls
41%endif
42%endif
43
adfd3b3d 44%define gkh_version 7:2.6.0.3
236a5027 45Summary: GNU libc
46Summary(de): GNU libc
4a04bb32 47Summary(es): GNU libc
236a5027 48Summary(fr): GNU libc
c5387ad5 49