]> git.pld-linux.org Git - packages/glibc.git/blame - glibc.spec
- rel 7
[packages/glibc.git] / glibc.spec
CommitLineData
d4a9e47c 1# TODO:
2aa88ecf 2# - restore --with-pkgversion when tcl upstream fixes the #3599098 (broken platform::identify).
7600054c 3# - --enable-systemtap
d4a9e47c
PG
4# - look at locale fixes/updates in bugzilla
5# - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section.
6# [OLD]
7# - localedb-gen man pages(?)
da89b000 8# - math/{test-fenv,test-tgmath,test-float,test-ifloat}, debug/backtrace-tst(SEGV) fail on alpha
98a7741e 9#
b287d865 10# Conditional build:
7361da6b 11# min_kernel (default is 3.4.0 except for x86/x86_64 where 3.2.0 suffices)
fd1d4127 12%bcond_without memusage # don't build memusage utility
757f96eb 13%bcond_without selinux # without SELinux support (in nscd)
c9d8e545 14%bcond_with tests # perform "make test"
0a85848c 15%bcond_without localedb # don't build localedb-all (is time consuming)
d96a9968 16%bcond_with cross # make a cross build, skip native programs
b3886756 17%bcond_without nss_crypt # disable crypt features based on Mozilla NSS library
982cc116 18%bcond_with bash_nls # use bash NLS in shell scripts (ldd, sotruss); restores /bin/bash dep
a8a52a51 19%bcond_without cet # Intel Control-flow Enforcement Technology (CET)
b287d865 20#
3c58caae 21%ifarch %{ix86} %{x8664}
7361da6b 22%{!?min_kernel:%global min_kernel 3.2.0}
78588f7a 23%else
3c58caae 24%{!?min_kernel:%global min_kernel 3.4.0}
78588f7a 25%endif
f3f771b7 26
e24149ab
PS
27%ifarch sparc64
28%undefine with_memusage
29%endif
a8a52a51
JB
30%ifnarch i686 %{x8664} x32
31%undefine with_cet
32%endif
e24149ab 33
364cdb7c 34%define core_version 2.28
c0c7ef32 35%define llh_version 7:2.6.32.1-1
e8c60795 36
236a5027 37Summary: GNU libc
32ba7e9f
ER
38Summary(de.UTF-8): GNU libc
39Summary(es.UTF-8): GNU libc
40Summary(fr.UTF-8): GNU libc
41Summary(ja.UTF-8): GNU libc ライブラリ
42Summary(pl.UTF-8): GNU libc
f55430af 43Summary(ru.UTF-8): GNU libc версии
32ba7e9f 44Summary(tr.UTF-8): GNU libc
f55430af 45Summary(uk.UTF-8): GNU libc версії
5240d049 46Name: glibc
ccca7e27 47Version: %{core_version}
e4df3d1c 48Release: 7
f98eacd6 49Epoch: 6
c0367bf8 50License: LGPL v2.1+
236a5027 51Group: Libraries
4b008351 52Source0: http://ftp.gnu.org/gnu/glibc/%{name}-%{version}.tar.xz
364cdb7c 53# Source0-md5: c81d2388896379997bc359d4f2084239
4206408a 54Source2: nscd.init
55Source3: nscd.sysconfig
56Source4: nscd.logrotate
7bd184c8
JB
57# from man-pages.spec --with tars
58Source5: %{name}-man-pages.tar.xz
b6fd0f3f 59# Source5-md5: 78a8f7f8dfc63123f47a614e99136e61
49ead7a0
JB
60Source6: %{name}-localedb-gen
61Source7: %{name}-LD-path.c
3b9b60ff 62Source9: nscd.tmpfiles
15716c93 63# use branch.sh to update glibc-git.patch
e087d9b1 64Patch0: glibc-git.patch
436a4f04 65# Patch0-md5: fb79ccb008993d2fc655a7caac545c98
7787abf3 66# against GNU TP (libc domain)
12601ca4 67#Patch1: %{name}-pl.po-update.patch
4206408a 68Patch2: %{name}-pld.patch
69Patch3: %{name}-crypt-blowfish.patch
982cc116 70Patch4: %{name}-no-bash-nls.patch
364cdb7c 71
4b000c98 72Patch6: %{name}-paths.patch
0f6642e8 73
e69f9d61 74Patch8: %{name}-missing-nls.patch
6eae7d17 75Patch9: %{name}-nss_include_dirs.patch
f2d222e0 76Patch10: %{name}-info.patch
ccca7e27 77Patch11: %{name}-autoconf.patch
48876fe6 78
ba326c24 79Patch14: %{name}-sparc-errno_fix.patch
c150d6cc
JB
80Patch15: %{name}-new-charsets.patch
81Patch16: %{name}-tzfile-noassert.patch
5fc41cda 82# additions pending for upstream merge or taken from other distros
c150d6cc 83Patch17: %{name}-morelocales.patch
5fc41cda 84# fixes mostly pending for upstream merge
c150d6cc
JB
85Patch18: %{name}-locale_fixes.patch
86Patch19: %{name}-ZA_collate.patch
954aec4b 87
c150d6cc 88Patch23: %{name}-pt_pax.patch
954aec4b 89
8c8ce180
AM
90# http://pkgs.fedoraproject.org/cgit/rpms/glibc.git/plain/glibc-c-utf8-locale.patch
91Patch27: %{name}-c-utf8-locale.patch
6815c86f 92
f789abee 93Patch29: %{name}-arm-alignment-fix.patch
e3539860 94Patch30: glibc-rh1124987.patch
4b9fce67 95# electron is broken but we have no way to fix it so for now lets break glibc again
06d785e7 96Patch31: 0001-Revert-elf-Correct-absolute-SHN_ABS-symbol-run-time-.patch
959d1cc7 97URL: http://www.gnu.org/software/libc/
f70abfbb 98%{?with_selinux:BuildRequires: audit-libs-devel}
48fdf5d6 99BuildRequires: autoconf >= 2.69
69afb5a6 100BuildRequires: automake
4928f174
AM
101BuildRequires: binutils >= 2:2.29
102BuildRequires: bison >= 2.7
141e8ae3 103%{!?with_cross:BuildRequires: dietlibc-static}
5145b9c7 104BuildRequires: gawk
a8a52a51 105%if %{with cet}
364cdb7c 106BuildRequires: gcc >= 6:8.0
a8a52a51
JB
107%else
108BuildRequires: gcc >= 6:4.7
109%endif
fd1d4127 110%{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
78588f7a 111BuildRequires: gettext-tools >= 0.10.36
757f96eb 112%{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
f65fa240 113BuildRequires: linux-libc-headers >= %{llh_version}
b3886756 114%{?with_nss_crypt:BuildRequires: nss-devel >= 1:3.15.1-2}
c1db9e72 115BuildRequires: perl-base
42a6983a 116BuildRequires: rpm-build >= 4.3-0.20030610.28
f789abee 117BuildRequires: rpmbuild(macros) >= 1.567
9597ca56 118BuildRequires: sed >= 4.0.5
54e3db45 119BuildRequires: texinfo
4139e845 120Requires(post): %{name}-ld = %{epoch}:%{version}-%{release}
4fa784f5 121Requires: filesystem
5145b9c7 122Requires: uname(release) >= %{min_kernel}
c2e03274 123Provides: %{name}(%{_target_cpu}) = %{epoch}:%{version}-%{release}
58304b60
JR
124%ifarch %{ix86}
125Provides: %{name}(ix86) = %{epoch}:%{version}-%{release}
126%endif
5145b9c7
JB
127Provides: glibc(nptl)
128Provides: glibc(tls)
e217c7d2
JB
129Obsoletes: glibc-common
130Obsoletes: glibc-debug
ed2a4886 131%ifarch %{x8664} sparc64 ppc64
bd3ecfb5
AM
132Provides: glibc64
133Obsoletes: glibc64
134%endif
364cdb7c 135Suggests: libidn2 >= 2.0.5
2eac239d
ER
136Suggests: localedb
137Suggests: tzdata
0223ee0f 138Conflicts: %{name}-misc < %{epoch}:%{version}-%{release}
67cc5af0 139Conflicts: SysVinit < 2.86-11
ea3a228f 140Conflicts: kernel < %{min_kernel}
5145b9c7
JB
141Conflicts: kernel24
142Conflicts: kernel24-smp
4377d843 143Conflicts: ld.so < 1.9.9-10
7bd184c8 144Conflicts: man-pages < 4.00
3a73e452 145Conflicts: poldek < 0.30.1-9
06fed0d7 146Conflicts: rc-scripts < 0.3.1-13
bd975df5 147Conflicts: rpm < 4.1
0c48ee45 148Conflicts: xorg-driver-video-nvidia-libs < 1:295.33
d96a9968 149ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} x32 ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64 armv5tel
a0eebe50 150BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d90a3b13 151
cf7b4302 152# avoid -s here (ld.so must not be stripped to allow any program debugging)
f620b835 153%define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
e87628ab
JR
154# disable -D_FORTIFY_SOURCE=X and -fstack-protector
155%define _fortify_cflags %{nil}
156%define _ssp_cflags %{nil}
9189fea3 157
355db1aa 158%define specflags_sparcv9 -mcpu=ultrasparc -mvis -fcall-used-g6
87a4ec26 159%define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
5145b9c7 160
b96231b6
JB
161# ld.so needs not to be stripped to work
162# gdb needs unstripped libpthread for some threading support
163# ...but we can strip at least debuginfo from them
b99e5008 164%define _autostripdebug .*/ld-[0-9.]*so\\|.*/libpthread-[0-9.]*so
b96231b6 165
37f910e8
JB
166# -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
167%ifarch sparc sparcv9
168%{expand:%%define __cc %{__cc} -m32}
169%endif
170
5145b9c7
JB
171# Xen-friendly glibc
172%define specflags_ia32 -mno-tls-direct-seg-refs
ffb5bcf1
AM
173%define specflags_x86_64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
174%define specflags_amd64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
5145b9c7
JB
175%define specflags_ia32e -mno-tls-direct-seg-refs
176
ff9a9e81
JB
177# we don't want perl dependency in glibc-devel
178%define _noautoreqfiles %{_bindir}/mtrace
42a6983a
JB
179# hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
180# (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
181# patched not to crash on partial hardlinks too)
182%define _hack_dontneed_PartialHardlinkSets 1
26e88040 183%define _noautochrpath .*\\(ldconfig\\|sln\\)
31aa574a
AM
184# private symbols
185%define _noautoprov .*\(GLIBC_PRIVATE\)
186%define _noautoreq .*\(GLIBC_PRIVATE\)
b88b18eb 187
24d600bc
AM
188# to avoid multi-arch conflicts on getconf/* files
189%define _libexecdir %{_libdir}
190
d90a3b13 191%description
7a3b906b 192Contains the standard libraries that are used by multiple programs on
193the system. In order to save disk space and memory, as well as to ease
602a978a 194upgrades, common system code is kept in one place and shared between
195programs. This package contains the most important sets of shared
7a3b906b 196libraries, the standard C library and the standard math library.
197Without these, a Linux system will not function. It also contains
b1414da6 198national language (locale) support.
76f01b70 199
1cb6acca 200Can be used on: Linux kernel >= %{min_kernel}.
d90a3b13 201
94008272
JR
202%description -l es.UTF-8
203Contiene las bibliotecas estándared que son usadas por varios
d22b4284 204programas del sistema. Para ahorrar el espacio en el disco y la
94008272 205memoria, igual que para facilitar actualizaciones, código común del
d22b4284 206sistema se guarda en un sitio y es compartido entre los programas.
94008272
JR
207Este paquete contiene las bibliotecas compartidas más importantes, es
208decir la biblioteca C estándar y la biblioteca estándar de matemática.
209Sin éstas, un sistema Linux no podrá funcionar. También está incluido
b1414da6 210soporte de idiomas nacionales (locale).
4a04bb32 211
94008272 212Puede usarse con: núcleo Linux >= %{min_kernel}.
4a04bb32 213
94008272
JR
214%description -l de.UTF-8
215Enthält die Standard-Libraries, die von verschiedenen Programmen im
7a3b906b 216System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
217und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
218einer einzigen Stelle gespeichert und wird von den Programmen
94008272 219gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
7a3b906b 220shared Libraries, die Standard-C-Library und die
221Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
94008272 222Ferner enthält es den Support für die verschiedenen Sprachgregionen
b1414da6 223(locale).
76f01b70 224
1cb6acca 225Can be used on: Linux kernel >= %{min_kernel}.
d90a3b13 226
94008272
JR
227%description -l fr.UTF-8
228Contient les bibliothèques standards utilisées par de nombreux
229programmes du système. Afin d'économiser l'espace disque et mémoire,
230et de faciliter les mises à jour, le code commun au système est mis à
231un endroit et partagé entre les programmes. Ce paquetage contient les
232bibliothèques partagées les plus importantes, la bibliothèque standard
233du C et la bibliothèque mathématique standard. Sans celles-ci, un
234système Linux ne peut fonctionner. Il contient aussi la gestion des
b1414da6 235langues nationales (locales).
76f01b70 236
1cb6acca 237Can be used on: Linux kernel >= %{min_kernel}.
d90a3b13 238
94008272 239%description -l ja.UTF-8
c5387ad5 240glibc
94008272
JR
241パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
242ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
243用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
244間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
245重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
246この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc
247パッケージはまた地域言語 (locale) サポートとタイムゾーンデータベース
248サポートをふくみます。
76f01b70 249
1cb6acca 250Can be used on: Linux kernel >= %{min_kernel}.
e50f6fb1 251
94008272
JR
252%description -l pl.UTF-8
253W pakiecie znajdują się podstawowe biblioteki, używane przez różne
254programy w Twoim systemie. Używanie przez programy bibliotek z tego
255pakietu oszczędza miejsce na dysku i pamięć. Większość kodu
256systemowego jest usytuowane w jednym miejscu i dzielone między wieloma
257programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek
258standardowych, współdzielonych (dynamicznych) bibliotek C i
259matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować.
260Znajdują się tutaj również definicje różnych informacji dla wielu
261języków (locale).
262
263Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}.
264
265%description -l ru.UTF-8
266Содержит стандартные библиотеки, используемые многочисленными
267программами в системе. Для того, чтобы сохранить дисковое пространство
268и память, а также для простоты обновления, системный код, общий для
269всех программ, хранится в одном месте и коллективно используется всеми
270программами. Этот пакет содержит наиболее важные из разделяемых
271библиотек - стандартную библиотеку C и стандартную библиотеку
272математики. Без этих библиотек Linux функционировать не будет. Также
273пакет содержит поддержку национальных языков (locale).
76f01b70 274
1cb6acca 275Can be used on: Linux kernel >= %{min_kernel}.
98a7741e 276
94008272
JR
277%description -l tr.UTF-8
278Bu paket, birçok programın kullandığı standart kitaplıkları içerir.
279Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme
280işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde
281tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak
282kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını
283içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel
284dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır.
76f01b70 285
1cb6acca 286Can be used on: Linux kernel >= %{min_kernel}.
d90a3b13 287
94008272
JR
288%description -l uk.UTF-8
289Містить стандартні бібліотеки, котрі використовуються численними
290програмами в системі. Для того, щоб зберегти дисковий простір та
291пам'ять, а також для простоти поновлення системи, системний код,
292спільний для всіх програм, зберігається в одному місці і колективно
293використовується всіма програмами. Цей пакет містить найбільш важливі
294з динамічних бібліотек - стандартну бібліотеку С та стандартну
295бібліотеку математики. Без цих бібліотек Linux функціонувати не буде.
296Також пакет містить підтримку національних мов (locale).
76f01b70 297
1cb6acca 298Can be used on: Linux kernel >= %{min_kernel}.
98a7741e 299
c4fea372
JK
300%package misc
301Summary: Utilities and data used by glibc
32ba7e9f 302Summary(pl.UTF-8): Narzędzia i dane używane przez glibc
e44a2813 303Group: Applications/System
71181534 304Requires: %{name} = %{epoch}:%{version}-%{release}
c2e03274 305%ifarch %{ix86}
58304b60 306Conflicts: %{name}(x32)
c2e03274
AM
307Conflicts: %{name}(x86_64)
308%endif
7bd184c8 309Conflicts: man-pages < 4.00
c4fea372
JK
310
311%description misc
fd1d4127
JB
312Utilities and data used by glibc.
313
94008272
JR
314%description misc -l pl.UTF-8
315Narzędzia i dane używane przez glibc.
c4fea372 316
2eac239d
ER
317%package libcrypt
318Summary: glibc library for crypt(3)
33f26cf9 319Summary(pl.UTF-8): Biblioteka glibc z funkcją crypt(3)
2eac239d
ER
320Group: Libraries
321Requires: %{name} = %{epoch}:%{version}-%{release}
5191213e 322Provides: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
e87628ab
JR
323%ifarch %{ix86}
324Provides: %{name}-libcrypt(ix86) = %{epoch}:%{version}-%{release}
325%endif
050e821f 326Provides: crypt(blowfish)
2eac239d
ER
327
328%description libcrypt
329glibc library for crypt(3).
330
33f26cf9
JB
331%description libcrypt -l pl.UTF-8
332Biblioteka glibc z funkcją crypt(3).
333
4139e845
JK
334%package ld
335Summary: Dynamic linker
cf408212 336Group: Applications/System
03b5396e 337Requires: uname(release) >= %{min_kernel}
cf408212
ER
338# This is needed because previous package (glibc) had autoreq false and had
339# provided this manually. Probably poldek bug that have to have it here.
4139e845 340Provides: rtld(GNU_HASH)
cf408212 341Provides: /sbin/ldconfig
4139e845
JK
342Provides: ldconfig = %{epoch}:%{version}-%{release}
343Obsoletes: ldconfig < 6:2.28-6.1
2eac239d
ER
344# we want FHS being installed before ldconfig, altho they are both unrelated to each-other.
345Requires: FHS
cf408212 346
4139e845
JK
347%description ld
348The dynamic linker is used to load shared libraries used by executables linked
349dynamically.
350
351The package also contains the ldconfig tool used to maintain shared library
352cache for the linker.
cf408212 353
7bd184c8
JB
354%package -n nss_compat
355Summary: Old style NYS NSS glibc module
356Summary(es.UTF-8): El antiguo módulo NYS NSS de glibc
357Summary(pl.UTF-8): Stary moduł NYS NSS glibc
358Group: Base
359Requires: %{name} = %{epoch}:%{version}-%{release}
360
361%description -n nss_compat
362Old style NYS NSS glibc module.
363
364%description -n nss_compat -l es.UTF-8
365El antiguo módulo NYS NSS de glibc
366
367%description -n nss_compat -l pl.UTF-8
368Stary moduł NYS NSS glibc.
369
9a39df8d 370%package -n nss_db
2b8d8276
JB
371Summary: NSS glibc module that uses hashed key-value database
372Summary(pl.UTF-8): Moduł NSS glibc wykorzystujący haszowaną bazę danych klucz-wartość
9a39df8d
ER
373Group: Base
374Requires: %{name} = %{epoch}:%{version}-%{release}
375
376%description -n nss_db
2b8d8276
JB
377NSS glibc module that uses hashed key-value database.
378
379%description -n nss_db -l pl.UTF-8
380Moduł NSS glibc wykorzystujący haszowaną bazę danych klucz-wartość.
9a39df8d 381
7bd184c8
JB
382%package -n nss_dns
383Summary: BIND NSS glibc module
384Summary(es.UTF-8): Módulo BIND NSS de glibc
385Summary(pl.UTF-8): Moduł BIND NSS glibc
386Group: Base
387Requires: %{name} = %{epoch}:%{version}-%{release}
388
389%description -n nss_dns
390BIND NSS glibc module.
391
392%description -n nss_dns -l es.UTF-8
393Módulo BIND NSS de glibc.
394
395%description -n nss_dns -l pl.UTF-8
396Moduł BIND NSS glibc.
397
398%package -n nss_files
399Summary: Traditional files databases NSS glibc module
400Summary(es.UTF-8): Módulo de tradicionales bases de datos en ficheros para glibc
401Summary(pl.UTF-8): Moduł tradycyjnych plikowych baz danych NSS glibc
402Group: Base
403Requires: %{name} = %{epoch}:%{version}-%{release}
404
405%description -n nss_files
406Traditional files databases NSS glibc module.
407
408%description -n nss_files -l es.UTF-8
409Módulo de tradicionales bases de datos en ficheros para glibc.
410
411%description -n nss_files -l pl.UTF-8
412Moduł tradycyjnych plikowych baz danych NSS glibc.
413
414%package -n nss_hesiod
415Summary: hesiod NSS glibc module
416Summary(es.UTF-8): Módulo hesiod NSS de glibc
417Summary(pl.UTF-8): Moduł hesiod NSS glibc
418Group: Base
419Requires: %{name} = %{epoch}:%{version}-%{release}
420
421%description -n nss_hesiod
422glibc NSS (Name Service Switch) module for databases access.
423
424%description -n nss_hesiod -l es.UTF-8
425Módulo hesiod NSS de glibc.
426
427%description -n nss_hesiod -l pl.UTF-8
428Moduł glibc NSS (Name Service Switch) dostępu do baz danych.
429
430%package -n nss_nis
431Summary: NIS(YP) NSS glibc module
432Summary(es.UTF-8): Módulo NIS(YP) NSS de glibc
433Summary(pl.UTF-8): Moduł NIS(YP) NSS glibc
434Group: Base
435Requires: %{name} = %{epoch}:%{version}-%{release}
436
437%description -n nss_nis
438glibc NSS (Name Service Switch) module for NIS(YP) databases access.
439
440%description -n nss_nis -l es.UTF-8
441Módulo NSS de glibc para acceder las bases de datos NIS(YP).
442
443%description -n nss_nis -l pl.UTF-8
444Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS(YP).
445
446%package -n nss_nisplus
447Summary: NIS+ NSS module
448Summary(es.UTF-8): Módulo NIS+ NSS
449Summary(pl.UTF-8): Moduł NIS+ NSS
450Group: Base
451Requires: %{name} = %{epoch}:%{version}-%{release}
452
453%description -n nss_nisplus
454glibc NSS (Name Service Switch) module for NIS+ databases access.
455
456%description -n nss_nisplus -l es.UTF-8
457Módulo NSS (Name Service Switch) de glibc para acceder las bases de
458datos NIS+.
459
460%description -n nss_nisplus -l pl.UTF-8
461Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS+.
462
463%package memusage
464Summary: Memory usage profiler
465Summary(pl.UTF-8): Narzędzie do profilowania zużycia pamięci
466Group: Development/Tools
467Requires: %{name} = %{epoch}:%{version}-%{release}
468Conflicts: man-pages < 4.00
469
470%description memusage
471Memory usage profiler.
472
473%description memusage -l pl.UTF-8
474Narzędzie do profilowania zużycia pamięci.
475
fb120840 476%package devel
959d1cc7 477Summary: Additional libraries required to compile
32ba7e9f
ER
478Summary(de.UTF-8): Weitere Libraries zum Kompilieren
479Summary(es.UTF-8): Bibliotecas adicionales necesarias para la compilación
480Summary(fr.UTF-8): Librairies supplémentaires nécessaires à la compilation
481Summary(ja.UTF-8): 標準 C ライブラリで使われるヘッダーとオブジェクトファイル
482Summary(pl.UTF-8): Dodatkowe biblioteki wymagane podczas kompilacji
483Summary(ru.UTF-8): Дополнительные библиотеки, необходимые для компиляции
484Summary(tr.UTF-8): Geliştirme için gerekli diğer kitaplıklar
485Summary(uk.UTF-8): Додаткові бібліотеки, потрібні для компіляції
959d1cc7 486Group: Development/Libraries
69afb5a6 487Requires: %{name} = %{epoch}:%{version}-%{release}
9be42309 488Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
9b9eac8d 489Requires: %{name}-headers = %{epoch}:%{version}-%{release}
03b5396e 490Requires: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
5b00029e 491Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
e87628ab
JR
492%ifarch %{ix86}
493Provides: %{name}-devel(ix86) = %{epoch}:%{version}-%{release}
494%endif
b34a4e03 495Obsoletes: libiconv-devel
e566b629
ER
496%ifarch %{x8664}
497# see http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2016-May/024902.html
498%if "%(rpm -q --qf '%{E}:%{V}' binutils)" >= "4:2.26"
499Conflicts: binutils < 4:2.26
500%endif
501%endif
959d1cc7 502
503%description devel
7a3b906b 504To develop programs which use the standard C libraries (which nearly
505all programs do), the system needs to have these standard header files
506and object files available for creating the executables.
959d1cc7 507
94008272 508%description devel -l de.UTF-8
7a3b906b 509Bei der Entwicklung von Programmen, die die Standard-C-Libraries
94008272
JR
510verwenden (also fast alle), benötigt das System diese Standard-Header-
511und Objektdateien zum Erstellen der ausführbaren Programme.
d90a3b13 512
94008272
JR
513%description devel -l es.UTF-8
514Para desarrollar programas que utilizan las bibliotecas C estándar (lo
515cual hacen prácticamente todos los programas), el sistema necesita
4a04bb32 516disponer de estos ficheros de cabecera y de objetos para crear los
517ejecutables.
518
94008272
JR
519%description devel -l fr.UTF-8
520Pour développer des programmes utilisant les bibliothèques standard du
521C (ce que presque tous les programmes font), le système doit posséder
522ces fichiers en-têtes et objets standards pour créer les exécutables.
523
524%description devel -l ja.UTF-8
525glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C
526ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト
527ファイルを含みます。もし標準 C
528ライブラリを使用するプログラムを開発するなら
529実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル
530が使用できます。
531
532%description devel -l pl.UTF-8
533Pakiet ten jest niezbędny przy tworzeniu własnych programów
534korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki
535nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów
7a3b906b 536wykonywalnych i innych bibliotek.
d90a3b13 537
94008272
JR
538%description devel -l ru.UTF-8
539Для разработки программ, использующих стандартные библиотеки C (а
540практически все программы их используют), системе НЕОБХОДИМЫ хедеры и
541объектные файлы, содержащиеся в этом пакете, чтобы создавать
542исполняемые файлы.
98a7741e 543
94008272
JR
544%description devel -l tr.UTF-8
545C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar
546geliştirmek için gereken standart başlık dosyaları ve statik
547kitaplıklar.
d90a3b13 548
94008272
JR
549%description devel -l uk.UTF-8
550Для розробки програм, що використовують стандартні бібліотеки C
551(практично всі програми їх використовують), системі НЕОБХІДНІ хедери
552та об'єктні файли, що містяться в цьому пакеті, цоб створювати
553виконувані файли.
98a7741e 554
5b00029e
JB
555%package headers
556Summary: Header files for development using standard C libraries
32ba7e9f 557Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C
e44a2813 558Group: Development/Building
5b00029e 559Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
e87628ab
JR
560%ifarch %{ix86}
561Provides: %{name}-headers(ix86) = %{epoch}:%{version}-%{release}
562%endif
58304b60 563%ifarch %{x8664} x32
5145b9c7 564# If both -m32 and -m64 is to be supported on x86_64, x86_64 package
5b00029e 565# have to be installed, not ix86 one.
ae2d70c9
ER
566Obsoletes: glibc-headers(athlon)
567Obsoletes: glibc-headers(i386)
568Obsoletes: glibc-headers(i486)
569Obsoletes: glibc-headers(i586)
570Obsoletes: glibc-headers(i686)
03b5396e 571Obsoletes: glibc-headers(ix86)
ae2d70c9
ER
572Obsoletes: glibc-headers(pentium3)
573Obsoletes: glibc-headers(pentium4)
58304b60
JR
574%endif
575%ifarch x32
576Obsoletes: glibc-headers(x86_64)
5b00029e 577%endif
f70abfbb 578%ifarch ppc64
ae2d70c9 579Obsoletes: glibc-headers(ppc)
f70abfbb
JB
580%endif
581%ifarch s390x
ae2d70c9 582Obsoletes: glibc-headers(s390)
f70abfbb
JB
583%endif
584%ifarch sparc64
ae2d70c9 585Obsoletes: glibc-headers(sparc)
f70abfbb 586%endif
f65fa240 587Requires: linux-libc-headers >= %{llh_version}
5b00029e
JB
588
589%description headers
590The glibc-headers package contains the header files necessary for
591developing programs which use the standard C libraries (which are used
592by nearly all programs). If you are developing programs which will use
593the standard C libraries, your system needs to have these standard
594header files available in order to create the executables.
595
596Install glibc-headers if you are going to develop programs which will
597use the standard C libraries.
598
94008272
JR
599%description headers -l pl.UTF-8
600Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania
601programów używających standardowych bibliotek C (używanych przez
602prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
603standardowych bibliotek C, system wymaga dostępności tych
604standardowych plików nagłówkowych do tworzenia programów
5b00029e
JB
605wykonywalnych.
606
94008272
JR
607Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
608korzystające ze standardowych bibliotek C.
5b00029e
JB
609
610%package devel-utils
611Summary: Utilities needed for development using standard C libraries
32ba7e9f 612Summary(pl.UTF-8): Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C
5b00029e
JB
613Group: Development/Libraries
614Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
e87628ab
JR
615%ifarch %{ix86}
616Provides: %{name}-devel-utils(ix86) = %{epoch}:%{version}-%{release}
617%endif
58304b60 618%ifarch %{x8664} x32
5b00029e
JB
619# If both -m32 and -m64 is to be supported on AMD64, x86_64 package
620# have to be installed, not ix86 one.
ae2d70c9
ER
621Obsoletes: glibc-devel-utils(athlon)
622Obsoletes: glibc-devel-utils(i386)
623Obsoletes: glibc-devel-utils(i486)
624Obsoletes: glibc-devel-utils(i586)
625Obsoletes: glibc-devel-utils(i686)
03b5396e 626Obsoletes: glibc-devel-utils(ix86)
ae2d70c9
ER
627Obsoletes: glibc-devel-utils(pentium3)
628Obsoletes: glibc-devel-utils(pentium4)
58304b60
JR
629%endif
630%ifarch x32
631Obsoletes: glibc-devel-utils(x86_64)
5b00029e 632%endif
f70abfbb 633%ifarch ppc64
ae2d70c9 634Obsoletes: glibc-devel-utils(ppc)
f70abfbb
JB
635%endif
636%ifarch s390x
ae2d70c9 637Obsoletes: glibc-devel-utils(s390)
f70abfbb
JB
638%endif
639%ifarch sparc64
ae2d70c9 640Obsoletes: glibc-devel-utils(sparc)
f70abfbb 641%endif
7bd184c8 642Conflicts: man-pages < 4.00
5b00029e
JB
643
644%description devel-utils
645The glibc-devel-utils package contains utilities necessary for
646developing programs which use the standard C libraries (which are used
647by nearly all programs). If you are developing programs which will use
648the standard C libraries, your system needs to have these utilities
649available.
650
651Install glibc-devel-utils if you are going to develop programs which
652will use the standard C libraries.
653
94008272
JR
654%description devel-utils -l pl.UTF-8
655Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania
656programów używających standardowych bibliotek C (używanych przez
657prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
658standardowych bibliotek C, system wymaga dostępności tych narzędzi do
659tworzenia programów wykonywalnych.
5b00029e 660
94008272
JR
661Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
662korzystające ze standardowych bibliotek C.
5b00029e
JB
663
664%package devel-doc
665Summary: Documentation needed for development using standard C libraries
32ba7e9f 666Summary(pl.UTF-8): Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C
5b00029e 667Group: Documentation
b6fd0f3f 668Conflicts: man-pages < 4.09
ed559739
ER
669%if "%{_rpmversion}" >= "5"
670BuildArch: noarch
671%endif
5b00029e
JB
672
673%description devel-doc
674The glibc-devel-doc package contains info and manual pages necessary
675for developing programs which use the standard C libraries (which are
676used by nearly all programs).
677
678Install glibc-devel-doc if you are going to develop programs which
679will use the standard C libraries.
680
94008272 681%description devel-doc -l pl.UTF-8
5b00029e 682Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
94008272 683rozwijania programów używających standardowych bibliotek C (używanych
5b00029e
JB
684przez prawie wszystkie programy).
685
94008272
JR
686Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
687korzystające ze standardowych bibliotek C.
5b00029e 688
7bd184c8
JB
689%package static
690Summary: Static GNU libc libraries
691Summary(es.UTF-8): Bibliotecas estáticas
692Summary(pl.UTF-8): Biblioteki statyczne GNU libc
693Summary(ru.UTF-8): Статические библиотеки glibc
694Summary(uk.UTF-8): Статичні бібліотеки glibc
695Group: Development/Libraries
696Requires: %{name}-devel = %{epoch}:%{version}-%{release}
697Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
698%ifarch %{ix86}
699Provides: %{name}-static(ix86) = %{epoch}:%{version}-%{release}
700%endif
701Obsoletes: libiconv-static
702
703%description static
704GNU libc static libraries.
705
706%description static -l es.UTF-8
707Bibliotecas estáticas de GNU libc.
708
709%description static -l pl.UTF-8
710Biblioteki statyczne GNU libc.
711
712%description static -l ru.UTF-8
713Это отдельный пакет со статическими библиотеками, которые больше не
714входят в glibc-devel.
715
716%description static -l uk.UTF-8
717Це окремий пакет зі статичними бібліотеками, що більше не входять в
718склад glibc-devel.
719
720%package profile
721Summary: glibc with profiling support
722Summary(de.UTF-8): glibc mit Profil-Unterstützung
723Summary(es.UTF-8): glibc con soporte de perfilamiento
724Summary(fr.UTF-8): glibc avec support pour profiling
725Summary(pl.UTF-8): glibc ze wsparciem dla profilowania
726Summary(ru.UTF-8): GNU libc с поддержкой профайлера
727Summary(tr.UTF-8): Ölçüm desteği olan glibc
728Summary(uk.UTF-8): GNU libc з підтримкою профайлера
729Group: Development/Libraries/Libc
730Requires: %{name}-devel = %{epoch}:%{version}-%{release}
731Obsoletes: libc-profile
732
733%description profile
734When programs are being profiled using gprof, they must use these
735libraries instead of the standard C libraries for gprof to be able to
736profile them correctly.
737
738%description profile -l de.UTF-8
739Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
740Libraries anstelle der üblichen C-Libraries verwendet werden.
741
742%description profile -l es.UTF-8
743Cuando programas son perfilidas usando gprof, tienen que usar estas
744biblioteces en vez de las estándares para que gprof pueda perfilarlas
745correctamente.
746
747%description profile -l pl.UTF-8
748Programy profilowane za pomocą gprof muszą używać tych bibliotek
749zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je
750wyprofilować.
751
752%description profile -l uk.UTF-8
753Коли програми досліджуються профайлером gprof, вони повинні
754використовувати замість стандартних бібліотек бібліотеки, що містяться
755в цьому пакеті. При використанні стандартних бібліотек gprof замість
756реальних результатів буде показувати ціни на папайю в Гонолулу в
757позаминулому році...
758
759%description profile -l tr.UTF-8
760gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu
761kitaplığı kullanmak zorundadırlar.
762
763%description profile -l ru.UTF-8
764Когда программы исследуются профайлером gprof, они должны
765использовать, вместо стандартных библиотек, библиотеки, включенные в
766этот пакет. При использовании стандартных библиотек gprof вместо
767реальных результатов будет показывать цены на папайю в Гонолулу в
768позапрошлом году...
769
770%package pic
771Summary: glibc PIC archive
772Summary(es.UTF-8): Archivo PIC de glibc
773Summary(pl.UTF-8): Archiwum PIC glibc
774Group: Development/Libraries/Libc
775Requires: %{name}-devel = %{epoch}:%{version}-%{release}
776
777%description pic
778GNU C Library PIC archive contains an archive library (ar file)
779composed of individual shared objects. This is used for creating a
780library which is a smaller subset of the standard libc shared library.
781
782%description pic -l es.UTF-8
783El archivo PIC de la biblioteca glibc contiene una biblioteca
784archivada (un fichero ar) compuesta de individuales objetos
785compartidos. Es usado para crear una biblioteca que sea un subconjunto
786más pequeño de la biblioteca libc compartida estándar.
787
788%description pic -l pl.UTF-8
789Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar)
790złożoną z pojedynczych obiektów współdzielonych. Używana jest do
791tworzenia biblioteki będącej mniejszym podzestawem standardowej
792biblioteki współdzielonej libc.
793
fb120840 794%package -n nscd
bab19d4a 795Summary: Name Service Caching Daemon
32ba7e9f
ER
796Summary(es.UTF-8): Demonio de caché del servicio de nombres
797Summary(ja.UTF-8): ネームサービスキャッシングデーモン (nacd)
798Summary(pl.UTF-8): Demon zapamiętujący odpowiedzi serwisów nazw
799Summary(ru.UTF-8): Кэширующий демон сервисов имен
800Summary(uk.UTF-8): Кешуючий демон севісів імен
c0367bf8 801License: GPL v2
141e8ae3 802Group: Networking/Daemons
9b9eac8d
ER
803Requires(post): fileutils
804Requires(post,preun): /sbin/chkconfig
805Requires(postun): /usr/sbin/groupdel
806Requires(postun): /usr/sbin/userdel
da7cc665
JB
807Requires(pre): /bin/id
808Requires(pre): /usr/bin/getgid
809Requires(pre): /usr/sbin/groupadd
810Requires(pre): /usr/sbin/useradd
69afb5a6 811Requires: %{name} = %{epoch}:%{version}-%{release}
da7cc665 812%{?with_selinux:Requires: libselinux >= 1.18}
84e798db 813Requires: rc-scripts >= 0.4.3.0
da7cc665
JB
814Provides: group(nscd)
815Provides: user(nscd)
973b10f6
ER
816Obsoletes: gnscd
817Obsoletes: unscd
bab19d4a 818
819%description -n nscd
7a3b906b 820nscd caches name service lookups; it can dramatically improve
90ff660b 821performance with NIS+, and may help with DNS as well.
bab19d4a 822
94008272
JR
823%description -n nscd -l es.UTF-8
824nscd guarda las peticiones del servicio de nombres en una caché; eso
825puede aumentar drásticamente las prestaciones de NIS+, y también puede
90ff660b 826ayudar con DNS.
4a04bb32 827
94008272
JR
828%description -n nscd -l ja.UTF-8
829Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
830ドラマティックに改善することができ、DNS を同様に補助します。
c5387ad5 831
94008272
JR
832%description -n nscd -l pl.UTF-8
833nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
834drastycznie poprawić szybkość działania NIS+.
c43e39f5 835
94008272
JR
836%description -n nscd -l ru.UTF-8
837nscd кэширует результаты запросов к сервисам имен; это может резко
838увеличить производительность работы с NIS+ и, также, может помочь с
98a7741e 839DNS.
840
94008272
JR
841%description -n nscd -l uk.UTF-8
842nscd кешує результати запросів до сервісів імен; це може сильно
843збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS.
98a7741e 844
d34cb8bc 845%package -n localedb-src
c5895f38 846Summary: locale database source code
32ba7e9f
ER
847Summary(es.UTF-8): Código fuente de la base de datos de los locales
848Summary(pl.UTF-8): Kod źródłowy bazy locale
2abb6d39 849Group: Libraries
69afb5a6 850Requires: %{name} = %{epoch}:%{version}-%{release}
860ccbf5 851Requires: gzip
a22f09bc 852Requires: sed
3fb16489 853Provides: localedb
d34cb8bc 854
855%description -n localedb-src
7a3b906b 856This add-on package contains the data needed to build the locale data
40430bed 857files to use the internationalization features of the GNU libc.
d34cb8bc 858
94008272 859%description -n localedb-src -l es.UTF-8
4a04bb32 860Este paquete adicional contiene los datos necesarios para construir
861los ficheros de locale, imprescindibles para usar las cualidades de
94008272 862internacionalización de GNU libc.
4a04bb32 863
94008272
JR
864%description -n localedb-src -l pl.UTF-8
865Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików
866lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU
40430bed
JB
867libc.
868
869%package localedb-all
870Summary: locale database for all locales supported by glibc
32ba7e9f
ER
871Summary(es.UTF-8): Base de datos de todos los locales soportados por glibc
872Summary(pl.UTF-8): Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc
40430bed 873Group: Libraries
69afb5a6 874Requires: %{name} = %{epoch}:%{version}-%{release}
9b9eac8d 875Requires: iconv = %{epoch}:%{version}-%{release}
3fb16489 876Provides: localedb
40430bed
JB
877
878%description localedb-all
879This package contains locale database for all locales supported by
420cf057 880glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
40430bed
JB
881something smaller with support for chosen locales only, consider
882installing localedb-src and regenerating database using localedb-gen
883script (when database is generated, localedb-src can be uninstalled).
884
94008272 885%description localedb-all -l es.UTF-8
d22b4284 886Este paquete contiene una base de datos de todos los locales
94008272
JR
887soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
88839 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
889locales elegidos, considérese instalar localedb-src y regenerar la
d22b4284 890base de datos usando el escript localedb-gen (una vez que la base de
94008272 891datos esté creada, localedb-src se podrá desinstalar).
4a04bb32 892
94008272
JR
893%description localedb-all -l pl.UTF-8
894Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji
895obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik
896(około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych
897lokalizacji, należy zainstalować pakiet localedb-src i przegenerować
898bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy
899pakiet localedb-src można odinstalować).
d34cb8bc 900
901%package -n iconv
902Summary: Convert encoding of given files from one encoding to another
32ba7e9f
ER
903Summary(es.UTF-8): Convierte entre varias codificaciones de los ficheros dados
904Summary(pl.UTF-8): Moduły do konwersji plików tekstowych z jednego kodowania do innego
2abb6d39 905Group: Libraries
69afb5a6 906Requires: %{name} = %{epoch}:%{version}-%{release}
175873de 907Provides: iconv(%{_target_base_arch})
7bd184c8 908Conflicts: man-pages < 4.00
d34cb8bc 909
910%description -n iconv
7a3b906b 911Convert encoding of given files from one encoding to another. You need
4a04bb32 912this package if you want to convert some document from one encoding to
c5895f38 913another or if you have installed some programs which use Generic
7a3b906b 914Character Set Conversion Interface.
d34cb8bc 915
94008272
JR
916%description -n iconv -l es.UTF-8
917Convierte la codificación de dados ficheros. Necesita este paquete si
918quiere convertir un documento entre una codificación (juego de
919caracteres) y otra, o si tiene instalado algún programa que usa el
920Generic Character Set Conversion Interface (interfaz genérica de
921conversión de juegos de caracteres).
922
923%description -n iconv -l pl.UTF-8
924Moduły do konwersji plików tekstowych z jednego kodowania do innego.
925Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję
926dokumentów z jednego kodowania do innego lub do używania programów
927korzystających z Generic Character Set Conversion Interface w glibc,
928czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję
2abb6d39 929kodowania danych z poziomu dowolnego programu.
d34cb8bc 930
602a978a 931%prep
ccca7e27
AM
932%setup -q
933
3724f17a
AM
934%if "%{min_kernel}" < "3.2.0"
935echo "Minimal supported kernel is 3.2.0" >&2
ccca7e27
AM
936exit 1
937%endif
dac4060d 938
e087d9b1 939%patch0 -p1
0cd3962f 940
d36b187a 941%patch2 -p1
6c231cd2 942%patch3 -p0
982cc116 943%{!?with_bash_nls:%patch4 -p1}
364cdb7c 944
16c630b5 945%patch6 -p1
0f6642e8 946
238dd942 947%patch8 -p1
96e6f3cb 948%patch9 -p1
5baf051c 949
f2d222e0 950%patch10 -p1
150f255c 951%patch11 -p1
48876fe6 952
ba326c24 953%patch14 -p0
238dd942 954%patch15 -p1
c150d6cc 955%patch16 -p1
8db99e58
JB
956%patch17 -p1
957%patch18 -p1
c150d6cc 958%patch19 -p1
954aec4b 959
c150d6cc 960%patch23 -p0
5c6502d1 961
dcd77541 962%patch27 -p1
8c8ce180 963
f789abee 964%patch29 -p1
e3539860 965%patch30 -p1
06d785e7 966%patch31 -p1
6bb391cf 967
cbf1c4bb
ER
968# cleanup backups after patching
969find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
de1c7a1b 970
98a7741e 971chmod +x scripts/cpp
d90a3b13 972
973%build
0469b7fd 974# glibc has its own way to remove PLT relocations. / H. J. Lu.
28a2e091 975unset LD_SYMBOLIC_FUNCTIONS || :
0469b7fd 976
9b9d0010 977cp -f /usr/share/automake/config.sub scripts
68ed41fd
PS
978%{__aclocal}
979%{__autoconf}
5145b9c7 980
2ed7b994 981rm -rf builddir
cfac0d25 982install -d builddir
e2a5184e 983cd builddir
472e31ee
JB
984%ifarch sparc64
985CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
986%endif
f789abee 987
9d0a498b
AM
988# force ld bfd (instead of gold)
989install -d alt-tools
990ln -sf %{_bindir}/ld.bfd alt-tools/ld
991PATH=$(pwd)/alt-tools:$PATH; export PATH
992
5145b9c7 993AWK="gawk" \
e2a5184e 994../%configure \
a8a52a51 995%if %{with cet}
364cdb7c
AM
996 --enable-cet \
997%endif
5a5649cb
JB
998 --enable-bind-now \
999 --enable-experimental-malloc \
1000 --enable-hidden-plt \
49db3d50 1001 --enable-kernel="%{min_kernel}" \
5a5649cb 1002 --enable-nss-crypt%{!?with_nss_crypt:=no} \
7361da6b 1003 --enable-obsolete-nsl \
558a1d88 1004 --enable-obsolete-rpc \
5a5649cb 1005 --enable-profile \
87cbe0ad 1006 --enable-stack-protector=strong \
5145b9c7 1007 --enable-stackguard-randomization \
4928f174 1008 --enable-static-pie \
87cbe0ad 1009 --enable-tunables \
5a5649cb
JB
1010 --with-binutils=$(pwd)/alt-tools \
1011 --with-bugurl=http://bugs.pld-linux.org/ \
1012 --with-headers=%{_includedir} \
1013 --with-selinux%{!?with_selinux:=no} \
1014 --with-tls
55463a82 1015
f3cc1845 1016%{__make} \
87a4ec26 1017 AWK="gawk" \
954aec4b 1018 complocaledir=%{_prefix}/lib/locale \
87a4ec26 1019 sLIBdir=%{_libdir}
f3cc1845 1020
5145b9c7 1021cd ..
cfac0d25 1022
e81552c8
AM
1023%if %{with tests}
1024env LANGUAGE=C LC_ALL=C \
76188843 1025%{__make} -j1 -C builddir tests
e81552c8 1026%endif
adfd3b3d 1027
cf408212
ER
1028%if %{without cross}
1029CC="%{__cc}"
35c7912e
ER
1030CC=${CC#*ccache }
1031CC=${CC#%{_libdir}/ccache/}
1032diet ${CC} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
f70abfbb 1033%endif
b6bedda4 1034
d90a3b13 1035%install
1036rm -rf $RPM_BUILD_ROOT
4e3bda50 1037install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,default,logrotate.d} \
7bd184c8 1038 $RPM_BUILD_ROOT{%{_mandir},/var/log,/var/{lib,run}/nscd} \
4fa784f5 1039 $RPM_BUILD_ROOT{/var/cache/ldconfig,%{systemdtmpfilesdir}}
f8865a58 1040
e2a5184e 1041cd builddir
5240d049 1042env LANGUAGE=C LC_ALL=C \
1739e791 1043%{__make} install \
bab19d4a 1044 install_root=$RPM_BUILD_ROOT \
954aec4b 1045 complocaledir=%{_prefix}/lib/locale \
bab19d4a 1046 infodir=%{_infodir} \
1047 mandir=%{_mandir}
f8865a58 1048
0a85848c 1049%if %{with localedb}
5240d049 1050env LANGUAGE=C LC_ALL=C \
8ab3a6c9 1051%{__make} localedata/install-locales \
954aec4b 1052 complocaledir=%{_prefix}/lib/locale \
bab19d4a 1053 install_root=$RPM_BUILD_ROOT
d6e3a99e
JK
1054%else
1055install -d $RPM_BUILD_ROOT%{_prefix}/lib/locale
0a85848c 1056%endif
d90a3b13 1057
5240d049
TP
1058PICFILES="libc_pic.a libc.map
1059 math/libm_pic.a libm.map
1060 resolv/libresolv_pic.a"
71a76fad 1061
6dd5516a
ER
1062install -p $PICFILES $RPM_BUILD_ROOT%{_libdir}
1063install -p elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
1064install -p elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
17a1a2af
ER
1065
1066# Include %{_libdir}/gconv/gconv-modules.cache
aca0117e 1067$(pwd)/elf/ld.so --library-path $(pwd) ./iconv/iconvconfig --nostdlib --prefix=$RPM_BUILD_ROOT %{_libdir}/gconv -o $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.cache
cfac0d25 1068cd ..
8ab3a6c9 1069
cf408212 1070%if %{without cross}
6dd5516a 1071install -p glibc-postinst $RPM_BUILD_ROOT/sbin
f70abfbb 1072%endif
b6bedda4 1073
4c3586c2 1074%{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
c4fea372 1075mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
77d92b8b 1076
277c4a9d 1077# make symlinks across top-level directories absolute
364cdb7c 1078for l in BrokenLocale anl crypt dl \
ba143d99 1079%ifarch %{x8664} x32
a90add74
AM
1080 mvec \
1081%endif
1082 nsl resolv rt thread_db util; do
b96231b6 1083 test -L $RPM_BUILD_ROOT%{_libdir}/lib${l}.so || exit 1
5a5649cb 1084 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
b96231b6 1085 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib${l}.so.*) $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
277c4a9d
JB
1086done
1087
b96231b6 1088# linking nss modules directly is not supported
5a5649cb 1089%{__rm} $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
b96231b6 1090
6dd5516a
ER
1091install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
1092cp -a %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
1093cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1094cp -a nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
1095cp -a posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
1096cp -a nis/nss $RPM_BUILD_ROOT/etc/default/nss
bebe21cc 1097sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
16c630b5 1098
7bd184c8 1099xz -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
aca59b69 1100: > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
60d03a9f 1101install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
5145b9c7 1102echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
aca59b69 1103: > $RPM_BUILD_ROOT/var/cache/ldconfig/aux-cache
1104
bc9012d1
ER
1105# doesn't fit with out tzdata concept and configure.in is stupid assuming bash
1106# is first posix compatible shell making this script depend on bash.
5a5649cb
JB
1107%{__rm} $RPM_BUILD_ROOT%{_bindir}/tzselect
1108%{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tzselect.8*
1109%{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man8/tzselect.8*
bc9012d1 1110
aca59b69 1111: > $RPM_BUILD_ROOT/var/log/nscd
1112: > $RPM_BUILD_ROOT/var/lib/nscd/passwd
1113: > $RPM_BUILD_ROOT/var/lib/nscd/group
1114: > $RPM_BUILD_ROOT/var/lib/nscd/hosts
236a5027 1115
03b5396e 1116cp -p %{SOURCE9} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/nscd.conf
3b9b60ff 1117
cfac0d25
JB
1118rm -rf documentation
1119install -d documentation
16c630b5 1120
4928f174 1121for f in DESIGN-systemtap-probes.txt TODO{,-kernel,-testing}; do
6dd5516a 1122 cp -af nptl/$f documentation/$f.nptl
3cc9adfc 1123done
6dd5516a 1124cp -af crypt/README.ufc-crypt ChangeLog* documentation
d90a3b13 1125
503c0862 1126# Collect locale files and mark them with %%lang()
cfac0d25 1127echo '%defattr(644,root,root,755)' > glibc.lang
4fa784f5 1128for i in $RPM_BUILD_ROOT%{_localedir}/*; do
503c0862 1129 if [ -d $i ]; then
aba67afa
JB
1130 lang=$(basename $i)
1131 dir="${i#$RPM_BUILD_ROOT}"
cfac0d25 1132 echo "%lang($lang) $dir" >> glibc.lang
503c0862
JR
1133 fi
1134done
84dca6d3 1135
4b000c98 1136# NOTES:
429f21ad 1137# Languages not supported by glibc locales, but usable via $LANGUAGE:
1138# ang - Old English (gtk+, gnome)
d6195ea1 1139# ca@valencia (gtk+, gnome; as ca_ES@valencia in FileZilla; locale exists in Debian)
73dbfadc 1140# en@shaw - English with Shavian alphabet (gnome)
a0bcd2f8 1141# la - Latin
429f21ad 1142# tlh - Klingon (bzflag)
1143#
84dca6d3 1144# To be added when they become supported by glibc:
b5e27f9d 1145# ach (vlc, libreport)
b5e27f9d
JB
1146# aln (vlc, libreport)
1147# bal (libosinfo, libreport, newt, pessulus)
8015969d 1148# cgg (vlc)
43573da1 1149# co (FileZilla, vlc)
5a356604 1150# frp (xfce, lxlauncher, mate)
8015969d 1151# gn (gn_BR in gnome, maybe gn_PY)
6f084c6e 1152# guc (gtk-vnc)
8015969d
JB
1153# haw (iso-codes, stellarium)
1154# hrx (stellarium)
b5e27f9d 1155# ilo (kudzu, libosinfo, libreport)
8015969d 1156# io (gtk+2, gnome, alacarte)
5a356604 1157# jv (gmpc, avant-window-navigator, kdesudo, mate)
43573da1 1158# kab (FileZilla)
777c9b6a 1159# kok@latin (inkscape)
8015969d 1160# kmr (vlc)
5a356604 1161# ku_IQ (mate)
40403fd2 1162# kw@kkcor, kw@uccor (libosinfo - currently empty) - add as supported variants when non-empty?
8015969d 1163# man (ccsm; incorrectly named md)
777c9b6a 1164# mni@beng[ali] (inkscape)
8015969d 1165# mus (bluez-gnome)
5a356604
JB
1166# nah (mate)
1167# nqo (mate)
1168# pms (deluge, mate-tweak)
777c9b6a 1169# sat@deva[nagari] (inkscape)
5a356604 1170# sco (gnomad2, picard, stellarium, mate)
8015969d 1171# son (gtkspell3)
42e8838f 1172# su (terminator)
8015969d
JB
1173# swg (sim)
1174# syr (iso-codes)
1175# tet (vlc)
6c968a0d 1176# tpi (mate-tweak)
40403fd2 1177# tw (libosinfo)
8015969d 1178# vec (mate-applet-indicator)
40403fd2 1179# wba (libosinfo)
84dca6d3 1180#
f8d57f3f
JB
1181# To be removed (after fixing packages still using it):
1182# sr@Latn (use sr@latin instead)
3e7420f7 1183# sr@ije (use sr@ijekavian instead)
a7515877 1184#
62733160
JB
1185# Short forms (omitted country code, used instead of long form) for ambiguous or unclear cases:
1186# aa=aa_ER
48fdf5d6 1187# ak=ak_GH
40403fd2 1188# anp=anp_IN
62733160 1189# ar=common? (AE, BH, DZ, EG, IQ, JO, KW, LB, LY, MA, OM, QA, SA, SD, SY, TN, YE)
67d9f7fa 1190# az=az_AZ
62733160 1191# bn=bn_BD
f3bbc3df 1192# bo=bo_CN? (or common for CN, IN?)
62733160
JB
1193# ca=ca_ES
1194# ckb=ckb_IQ
d3810057 1195# cv=cv_RU
62733160 1196# de=de_DE
783b475d 1197# en=common? (en_AU, en_CA, en_GB, en_NZ, en_US are used for particular variants)
62733160
JB
1198# eo=common
1199# es=es_ES
1200# eu=eu_ES
7b38eb5c 1201# fa=fa_IR
d7c950ea 1202# ff=ff_SN
62733160
JB
1203# fr=fr_FR
1204# fy=fy_NL
1205# gez=gez_ET (?)
1206# it=it_IT
777c9b6a
JB
1207# ks=ks_IN
1208# ks@devanagari=ks_IN@devanagari
8015969d 1209# ku=ku_TR
62733160 1210# li=li_NL
781fe839 1211# ln=ln_CD
43573da1 1212# lo=lo_LA
62733160
JB
1213# nds=nds_DE
1214# nl=nl_NL
1215# om=om_ET
934648e1 1216# or=or_IN
62733160
JB
1217# pa=pa_IN
1218# pt=pt_PT
6ed15d9a 1219# quz=quz_PE
62733160 1220# ru=ru_RU
d3810057 1221# sd=sd_IN
777c9b6a 1222# sd@devanagari=sd_IN@devanagari
a18ccaaa 1223# shn=shn_MM
62733160
JB
1224# so=so_SO
1225# sr=sr_RS [cyrillic]
3e7420f7
JB
1226# sr@latin=sr_RS@latin
1227# sr@ijekavian=sr_BA@ijekavian
1228# sr@ijekavianlatin=sr_BA@ijekavianlatin
62733160
JB
1229# sv=sv_SE
1230# sw=sw_TZ (or common for KE, TZ, UG?)
cf955c04
JB
1231# ta=ta_IN
1232# te=te_IN
62733160
JB
1233# ti=ti_ER (?)
1234# tr=tr_TR
1235# ur=ur_PK (?)
1236# zh: no short code used (use zh_CN, zh_HK, zh_SG[not included yet], zh_TW)
b4ec8e5c 1237#
84dca6d3 1238# Omitted here - already existing (with libc.mo):
1239# be ca cs da de el en_GB es fi fr gl hr hu it ja ko nb nl pl pt_BR ru rw sk
1240# sv tr zh_CN zh_TW
b4ec8e5c 1241#
48fdf5d6 1242for i in aa aa@saaho af ak am an ang anp ar ar_TN as ast az az_IR be@latin be@tarask bem \
aa5aaccf 1243 bg bho bn bn_IN bo br brx bs byn ca@valencia ckb cmn crh csb cv cy de_AT de_CH doi dv dz en \
a8365837 1244 en@boldquot en@quot en@shaw en_AU en_CA en_NZ en_US eo es_AR es_CL es_CO es_CR \
d6195ea1 1245 es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_SV es_UY \
d7c950ea 1246 es_VE et eu fa ff fil fo fr_BE fr_CA fr_CH fur fy ga gd gez gu gv ha he \
777c9b6a 1247 hi hne hsb hy ia id ig ik is it_CH iu ka kg kk kl km kn kok ks ks@devanagari ku kw ky la lb \
781fe839 1248 lg li ln lo lt lv mai mg mhr mi mk ml mn mni mr ms mt my nds ne nl_BE nn nr nso \
777c9b6a 1249 oc om or pa pap ps pt ps quz rm ro sa sat sc sd sd@devanagari se shn si sid sl so sq sr sr@Latn szl tl \
3e7420f7 1250 sr@ije sr@ijekavian sr@ijekavianlatin sr@latin ss st sw ta te tg th ti \
29b94f4c 1251 tig tk tl tlh tn ts tt tt@iqtelif ug uk ur uz uz@cyrillic ve vi wa wal wo xh yi yo \
3e7420f7 1252 zh_HK zu; do
4fa784f5
ER
1253 if [ ! -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_MESSAGES ]; then
1254 install -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_MESSAGES
aba67afa 1255 # use lang() tags with ll_CC@variant (stripping charset and @quot|@boldquot)
6dd5516a 1256 lang=$(echo $i | sed -e 's/@quot\>\|@boldquot\>//')
4fa784f5 1257 echo "%lang($lang) %{_localedir}/$i" >> glibc.lang
5b2b5619 1258 fi
1259done
503c0862 1260
a2e4eb0a 1261# LC_TIME category, used for localized date formats (at least by coreutils)
320e0a01 1262for i in af be bg ca cs da de el en eo es et eu fi fr ga gl hr hu ia id it ja kk ko lg lt \
952d3a0d 1263 ms nb nl pl pt pt_BR ro ru rw sk sl sr sv tr uk vi zh_CN zh_TW; do
4fa784f5
ER
1264 if [ ! -d $RPM_BUILD_ROOT%{_localedir}/$i ]; then
1265 echo "%lang($lang) %{_localedir}/$i" >> glibc.lang
a2e4eb0a 1266 fi
4fa784f5 1267 install -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_TIME
a2e4eb0a
JB
1268done
1269
40430bed 1270# localedb-gen infrastructure
09df111e 1271install -p %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
03b5396e 1272cp -p localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
40430bed 1273
8ab3a6c9 1274# shutup check-files
06849217 1275%{__rm} $RPM_BUILD_ROOT%{_mandir}/README.*
8bc00675 1276rm -f $RPM_BUILD_ROOT%{_infodir}/dir
88300fde 1277
57ef4505
JR
1278# stub for man page from man-pages package to make rpm consistency check happy
1279# don't package them here
7bd184c8 1280install -d $RPM_BUILD_ROOT%{_mandir}{,/ru,/es,/fr,/ja}/man2
57ef4505
JR
1281:>$RPM_BUILD_ROOT%{_mandir}/man2/syslog.2
1282:>$RPM_BUILD_ROOT%{_mandir}/ru/man2/syslog.2
1283:>$RPM_BUILD_ROOT%{_mandir}/es/man2/syslog.2
1284:>$RPM_BUILD_ROOT%{_mandir}/fr/man2/syslog.2
1285:>$RPM_BUILD_ROOT%{_mandir}/ja/man2/syslog.2
1286
1287# remove links to non existant translations
1288%{__rm} $RPM_BUILD_ROOT%{_mandir}/pl/man3/{alphasort,cfgetispeed,cfgetospeed,cfmakeraw,cfsetispeed,cfsetospeed,closelog,dn_comp,dn_expand,fscanf}.3
7bd184c8 1289%{__rm} $RPM_BUILD_ROOT%{_mandir}/tr/man3/{encrypt_r,setkey,setkey_r}.3
57ef4505 1290
ea870772
JB
1291%clean
1292rm -rf $RPM_BUILD_ROOT
1293
cf408212 1294%if %{without cross}
d326d834 1295%post -p /sbin/postshell
3a32e57b 1296/sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
4139e845 1297-/sbin/ldconfig
88300fde 1298
4139e845
JK
1299%postun -p /sbin/postshell
1300-/sbin/ldconfig
d90a3b13 1301
4139e845
JK
1302%post ld -p /sbin/postshell
1303-/sbin/ldconfig
1304
1305%postun ld -p /sbin/postshell
1306-/sbin/ldconfig
1307
1308%triggerpostun ld -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
60d03a9f
JB
1309-/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1310-/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
f70abfbb 1311%endif
60d03a9f 1312
c305d730
ER
1313%triggerin -- cronie,vixie-cron,hc-cron,fcron,mcron
1314# restart crond if glibc is upgraded, LP#721338
1315if [ "$1" != 1 ]; then
1316 %service -q crond restart
1317fi
1318
11d95e41
ER
1319%triggerin -- apache-base
1320if [ "$1" != 1 ]; then
1321 %service -q httpd restart
1322fi
1323
119e8d05
JK
1324%ifarch %{x8664}
1325# when upgrading from glibc < 6:2.19-3 copy locale-archive
1326# from /usr/lib64/locale to /usr/lib/locale
1327# but only if the latter doesn't already exist
1328%triggerpostun -p /sbin/postshell -- %{name} < 6:2.19-3
1329-/bin/cp -an %{_libdir}/locale/locale-archive %{_prefix}/lib/locale/locale-archive
1330%endif
1331
2eac239d
ER
1332%post libcrypt -p /sbin/ldconfig
1333%postun libcrypt -p /sbin/ldconfig
1334
5240d049 1335%post memusage -p /sbin/ldconfig
5145b9c7 1336%postun memusage -p /sbin/ldconfig
05486726 1337
c7640575 1338%post -n localedb-src
c73a611f
ER
1339SUPPORTED_LOCALES=
1340[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
1341[ -f /etc/sysconfig/localedb ] && . /etc/sysconfig/localedb
1342if [ "$SUPPORTED_LOCALES" ]; then
1343 localedb-gen || :
1344fi
4fdef2e6 1345
7ccce023 1346%post devel-doc -p /sbin/postshell
bd37152b 1347-/usr/sbin/fix-info-dir -c %{_infodir}
d90a3b13 1348
7ccce023 1349%postun devel-doc -p /sbin/postshell
bd37152b 1350-/usr/sbin/fix-info-dir -c %{_infodir}
d90a3b13 1351
da7cc665 1352%pre -n nscd
e9351fa5 1353%groupadd -P nscd -g 144 -r nscd
b7ce3475 1354%useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "Name Service Cache Daemon" -g nscd nscd
da7cc665 1355
8912a874 1356%post -n nscd
6dd5516a
ER
1357if [ ! -f /var/log/nscd ]; then
1358 umask 027
1359 touch /var/log/nscd
1360 chown root:root /var/log/nscd
1361 chmod 640 /var/log/nscd
1362fi
19cc9468 1363/sbin/chkconfig --add nscd
6dd5516a 1364%service nscd restart "Name Service Cache Daemon"
8912a874 1365
1366%preun -n nscd
19cc9468 1367if [ "$1" = "0" ]; then
9b9eac8d 1368 %service nscd stop
19cc9468 1369 /sbin/chkconfig --del nscd
1370fi
8912a874 1371
da7cc665
JB
1372%postun -n nscd
1373if [ "$1" = "0" ]; then
1374 %userremove nscd
1375 %groupremove nscd
1376fi
1377
2eac239d 1378%files -f %{name}.lang
d22b4284 1379%defattr(644,root,root,755)
4928f174 1380%doc README NEWS
175873de 1381%if %{without cross}
b6bedda4 1382%attr(755,root,root) /sbin/glibc-postinst
f70abfbb 1383%endif
6d1ad2d5 1384# wildly arch-dependent ld.so SONAME symlink
ce3b1100 1385%attr(755,root,root) /%{_lib}/libBrokenLocale-%{core_version}.so
6d1ad2d5 1386%ifarch alpha
d3708d98 1387%attr(755,root,root) /%{_lib}/libBrokenLocale.so.1.1
6d1ad2d5 1388%else
d3708d98 1389%attr(755,root,root) /%{_lib}/libBrokenLocale.so.1
6d1ad2d5
JB
1390%endif
1391%attr(755,root,root) /%{_lib}/libSegFault.so
ce3b1100 1392%attr(755,root,root) /%{_lib}/libanl-%{core_version}.so
6d1ad2d5 1393%attr(755,root,root) /%{_lib}/libanl.so.1
ce3b1100 1394%attr(755,root,root) /%{_lib}/libc-%{core_version}.so
6d1ad2d5
JB
1395%ifarch alpha ia64
1396%attr(755,root,root) /%{_lib}/libc.so.6.1
1397%else
1398%attr(755,root,root) /%{_lib}/libc.so.6
1399%endif
ce3b1100 1400%attr(755,root,root) /%{_lib}/libdl-%{core_version}.so
6d1ad2d5
JB
1401%ifarch alpha
1402%attr(755,root,root) /%{_lib}/libdl.so.2.1
1403%else
1404%attr(755,root,root) /%{_lib}/libdl.so.2
1405%endif
ce3b1100 1406%attr(755,root,root) /%{_lib}/libm-%{core_version}.so
6d1ad2d5
JB
1407%ifarch alpha ia64
1408%attr(755,root,root) /%{_lib}/libm.so.6.1
1409%else
1410%attr(755,root,root) /%{_lib}/libm.so.6
1411%endif
ba143d99 1412%ifarch %{x8664} x32
ed35cb32
AM
1413%attr(755,root,root) /%{_lib}/libmvec-%{core_version}.so
1414%attr(755,root,root) /%{_lib}/libmvec.so.1
a90add74 1415%endif
ce3b1100 1416%attr(755,root,root) /%{_lib}/libnsl-%{core_version}.so
6d1ad2d5
JB
1417%ifarch alpha
1418%attr(755,root,root) /%{_lib}/libnsl.so.1.1
1419%else
1420%attr(755,root,root) /%{_lib}/libnsl.so.1
1421%endif
ce3b1100 1422%attr(755,root,root) /%{_lib}/libpthread-%{core_version}.so
6d1ad2d5 1423%attr(755,root,root) /%{_lib}/libpthread.so.0
ce3b1100 1424%attr(755,root,root) /%{_lib}/libresolv-%{core_version}.so
6d1ad2d5
JB
1425%ifarch alpha
1426%attr(755,root,root) /%{_lib}/libresolv.so.2.1
1427%else
1428%attr(755,root,root) /%{_lib}/libresolv.so.2
1429%endif
ce3b1100 1430%attr(755,root,root) /%{_lib}/librt-%{core_version}.so
6d1ad2d5
JB
1431%attr(755,root,root) /%{_lib}/librt.so.1
1432%attr(755,root,root) /%{_lib}/libthread_db-1.0.so
1433%attr(755,root,root) /%{_lib}/libthread_db.so.1
ce3b1100 1434%attr(755,root,root) /%{_lib}/libutil-%{core_version}.so
6d1ad2d5
JB
1435%ifarch alpha
1436%attr(755,root,root) /%{_lib}/libutil.so.1.1
1437%else
1438%attr(755,root,root) /%{_lib}/libutil.so.1
1439%endif
d6e3a99e 1440%dir %{_prefix}/lib/locale
c4fea372 1441
0b0bde94
JK
1442#%files -n nss_dns
1443%defattr(644,root,root,755)
ce3b1100 1444%attr(755,root,root) /%{_lib}/libnss_dns-%{core_version}.so
6d1ad2d5 1445%attr(755,root,root) /%{_lib}/libnss_dns.so.2
0b0bde94
JK
1446
1447#%files -n nss_files
1448%defattr(644,root,root,755)
ce3b1100 1449%attr(755,root,root) /%{_lib}/libnss_files-%{core_version}.so
6d1ad2d5 1450%attr(755,root,root) /%{_lib}/libnss_files.so.2
0b0bde94 1451
c4fea372 1452%defattr(644,root,root,755)
236a5027 1453
f307cfc5 1454%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
87d5a0d2 1455%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
e8a20a65 1456%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/default/nss
87d5a0d2 1457
4206408a 1458%config %{_sysconfdir}/rpc
c37d4a8e 1459
fea833d1 1460%attr(755,root,root) /sbin/sln
72549d49 1461%attr(755,root,root) %{_bindir}/getconf
ba697d79 1462%attr(755,root,root) %{_bindir}/getent
3abcf615 1463%attr(755,root,root) %{_bindir}/iconv
ba697d79 1464%attr(755,root,root) %{_bindir}/locale
ba697d79 1465%attr(755,root,root) %{_bindir}/rpcgen
bab19d4a 1466%attr(755,root,root) %{_sbindir}/zdump
1467%attr(755,root,root) %{_sbindir}/zic
236a5027 1468
72549d49
JB
1469%dir %{_libexecdir}/getconf
1470%attr(755,root,root) %{_libexecdir}/getconf/*
1471
4fa784f5
ER
1472%dir %{_localedir}
1473%{_localedir}/locale.alias
236a5027 1474
72549d49 1475%{_mandir}/man1/getconf.1*
4377d843 1476%{_mandir}/man1/getent.1*
fa0f5e25 1477%{_mandir}/man1/iconv.1*
fa0f5e25
JB
1478%{_mandir}/man1/locale.1*
1479%{_mandir}/man1/rpcgen.1*
7bd184c8 1480%{_mandir}/man5/gai.conf.5*
fa0f5e25 1481%{_mandir}/man5/locale.5*
7bd184c8 1482%{_mandir}/man5/nss.5*
fa0f5e25 1483%{_mandir}/man5/nsswitch.conf.5*
7bd184c8
JB
1484%{_mandir}/man5/repertoiremap.5*
1485%{_mandir}/man5/rpc.5*
fa0f5e25 1486%{_mandir}/man5/tzfile.5*
7bd184c8 1487%{_mandir}/man7/armscii-8.7*
da89b000
JB
1488%{_mandir}/man7/ascii.7*
1489%{_mandir}/man7/charsets.7*
7bd184c8
JB
1490%{_mandir}/man7/cp1251.7*
1491%{_mandir}/man7/cp1252.7*
da89b000
JB
1492%{_mandir}/man7/iso-8859-*.7*
1493%{_mandir}/man7/iso_8859-*.7*
1494%{_mandir}/man7/iso_8859_*.7*
7bd184c8 1495%{_mandir}/man7/koi8-*.7*
da89b000
JB
1496%{_mandir}/man7/latin*.7*
1497%{_mandir}/man7/locale.7*
7bd184c8 1498%{_mandir}/man7/tis-620.7*
da89b000
JB
1499%{_mandir}/man7/unicode.7*
1500%{_mandir}/man7/utf-8.7*
1501%{_mandir}/man7/utf8.7*
fa0f5e25 1502%{_mandir}/man8/sln.8*
fa0f5e25
JB
1503%{_mandir}/man8/zdump.8*
1504%{_mandir}/man8/zic.8*
7bd184c8
JB
1505%lang(cs) %{_mandir}/cs/man7/ascii.7*
1506%lang(cs) %{_mandir}/cs/man7/locale.7*
1507%lang(cs) %{_mandir}/cs/man7/unicode.7*
1508%lang(cs) %{_mandir}/cs/man7/utf-8.7*
1509%lang(cs) %{_mandir}/cs/man7/utf8.7*
1510%lang(de) %{_mandir}/de/man5/rpc.5*
fa0f5e25 1511%lang(de) %{_mandir}/de/man5/tzfile.5*
7bd184c8
JB
1512%lang(de) %{_mandir}/de/man7/ascii.7*
1513%lang(de) %{_mandir}/de/man7/iso-8859-*.7*
1514%lang(de) %{_mandir}/de/man7/iso_8859-*.7*
1515%lang(de) %{_mandir}/de/man7/iso_8859_*.7*
1516%lang(de) %{_mandir}/de/man7/latin*.7*
1517%lang(de) %{_mandir}/de/man7/locale.7*
1518%lang(de) %{_mandir}/de/man7/unicode.7*
1519%lang(de) %{_mandir}/de/man7/utf-8.7*
1520%lang(de) %{_mandir}/de/man7/utf8.7*
fa0f5e25
JB
1521%lang(es) %{_mandir}/es/man5/locale.5*
1522%lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
7bd184c8 1523%lang(es) %{_mandir}/es/man5/rpc.5*
fa0f5e25 1524%lang(es) %{_mandir}/es/man5/tzfile.5*
7bd184c8
JB
1525%lang(es) %{_mandir}/es/man7/ascii.7*
1526%lang(es) %{_mandir}/es/man7/charsets.7*
1527%lang(es) %{_mandir}/es/man7/iso-8859-*.7*
1528%lang(es) %{_mandir}/es/man7/iso_8859-*.7*
1529%lang(es) %{_mandir}/es/man7/iso_8859_*.7*
1530%lang(es) %{_mandir}/es/man7/latin*.7*
1531%lang(es) %{_mandir}/es/man7/locale.7*
1532%lang(es) %{_mandir}/es/man7/unicode.7*
1533%lang(es) %{_mandir}/es/man7/utf-8.7*
1534%lang(es) %{_mandir}/es/man7/utf8.7*
fa0f5e25
JB
1535%lang(es) %{_mandir}/es/man8/zdump.8*
1536%lang(es) %{_mandir}/es/man8/zic.8*
fa0f5e25
JB
1537%lang(fr) %{_mandir}/fr/man5/locale.5*
1538%lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
7bd184c8 1539%lang(fr) %{_mandir}/fr/man5/rpc.5*
fa0f5e25 1540%lang(fr) %{_mandir}/fr/man5/tzfile.5*
7bd184c8
JB
1541%lang(fr) %{_mandir}/fr/man7/ascii.7*
1542%lang(fr) %{_mandir}/fr/man7/charsets.7*
1543%lang(fr) %{_mandir}/fr/man7/iso-8859-*.7*
1544%lang(fr) %{_mandir}/fr/man7/iso_8859-*.7*
1545%lang(fr) %{_mandir}/fr/man7/iso_8859_*.7*
1546%lang(fr) %{_mandir}/fr/man7/koi8-r.7*
1547%lang(fr) %{_mandir}/fr/man7/latin*.7*
1548%lang(fr) %{_mandir}/fr/man7/locale.7*
1549%lang(fr) %{_mandir}/fr/man7/unicode.7*
1550%lang(fr) %{_mandir}/fr/man7/utf-8.7*
1551%lang(fr) %{_mandir}/fr/man7/utf8.7*
fa0f5e25
JB
1552%lang(fr) %{_mandir}/fr/man8/zdump.8*
1553%lang(fr) %{_mandir}/fr/man8/zic.8*
7bd184c8
JB
1554%lang(hu) %{_mandir}/hu/man7/ascii.7*
1555%lang(hu) %{_mandir}/hu/man7/iso-8859-*.7*
1556%lang(hu) %{_mandir}/hu/man7/iso_8859-*.7*
1557%lang(hu) %{_mandir}/hu/man7/iso_8859_*.7*
1558%lang(hu) %{_mandir}/hu/man7/latin*.7*
1559%lang(hu) %{_mandir}/hu/man7/locale.7*
1560%lang(hu) %{_mandir}/hu/man7/utf-8.7*
1561%lang(hu) %{_mandir}/hu/man7/utf8.7*
fa0f5e25
JB
1562%lang(hu) %{_mandir}/hu/man8/zdump.8*
1563%lang(it) %{_mandir}/it/man5/locale.5*
7bd184c8
JB
1564%lang(it) %{_mandir}/it/man7/ascii.7*
1565%lang(it) %{_mandir}/it/man7/charsets.7*
1566%lang(it) %{_mandir}/it/man7/iso-8859-*.7*
1567%lang(it) %{_mandir}/it/man7/iso_8859-*.7*
1568%lang(it) %{_mandir}/it/man7/iso_8859_*.7*
1569%lang(it) %{_mandir}/it/man7/latin*.7*
1570%lang(it) %{_mandir}/it/man7/locale.7*
1571%lang(it) %{_mandir}/it/man7/unicode.7*
1572%lang(it) %{_mandir}/it/man7/utf-8.7*
1573%lang(it) %{_mandir}/it/man7/utf8.7*
fa0f5e25 1574%lang(it) %{_mandir}/it/man8/zdump.8*
7bd184c8
JB
1575%lang(ja) %{_mandir}/ja/man1/getent.1*
1576%lang(ja) %{_mandir}/ja/man1/iconv.1*
1577%lang(ja) %{_mandir}/ja/man1/locale.1*
fa0f5e25 1578%lang(ja) %{_mandir}/ja/man1/rpcgen.1*
7bd184c8 1579%lang(ja) %{_mandir}/ja/man5/gai.conf.5*
fa0f5e25 1580%lang(ja) %{_mandir}/ja/man5/locale.5*
7bd184c8 1581%lang(ja) %{_mandir}/ja/man5/nss.5*
fa0f5e25 1582%lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
7bd184c8
JB
1583%lang(ja) %{_mandir}/ja/man5/repertoiremap.5*
1584%lang(ja) %{_mandir}/ja/man5/rpc.5*
fa0f5e25 1585%lang(ja) %{_mandir}/ja/man5/tzfile.5*
7bd184c8
JB
1586%lang(ja) %{_mandir}/ja/man7/armscii-8.7*
1587%lang(ja) %{_mandir}/ja/man7/ascii.7*
1588%lang(ja) %{_mandir}/ja/man7/charsets.7*
1589%lang(ja) %{_mandir}/ja/man7/cp1251.7*
1590%lang(ja) %{_mandir}/ja/man7/cp1252.7*
1591%lang(ja) %{_mandir}/ja/man7/iso-8859-*.7*
1592%lang(ja) %{_mandir}/ja/man7/iso_8859-*.7*
1593%lang(ja) %{_mandir}/ja/man7/iso_8859_*.7*
1594%lang(ja) %{_mandir}/ja/man7/koi8-*.7*
1595%lang(ja) %{_mandir}/ja/man7/latin*.7*
1596%lang(ja) %{_mandir}/ja/man7/locale.7*
1597%lang(ja) %{_mandir}/ja/man7/tis-620.7*
1598%lang(ja) %{_mandir}/ja/man7/unicode.7*
1599%lang(ja) %{_mandir}/ja/man7/utf-8.7*
1600%lang(ja) %{_mandir}/ja/man7/utf8.7*
fa0f5e25 1601%lang(ja) %{_mandir}/ja/man8/sln.8*
fa0f5e25
JB
1602%lang(ja) %{_mandir}/ja/man8/zdump.8*
1603%lang(ja) %{_mandir}/ja/man8/zic.8*
1604%lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
7bd184c8 1605%lang(ko) %{_mandir}/ko/man5/rpc.5*
fa0f5e25 1606%lang(ko) %{_mandir}/ko/man5/tzfile.5*
7bd184c8
JB
1607%lang(ko) %{_mandir}/ko/man7/ascii.7*
1608%lang(ko) %{_mandir}/ko/man7/iso-8859-*.7*
1609%lang(ko) %{_mandir}/ko/man7/iso_8859-*.7*
1610%lang(ko) %{_mandir}/ko/man7/iso_8859_*.7*
1611%lang(ko) %{_mandir}/ko/man7/latin*.7*
fa0f5e25 1612%lang(ko) %{_mandir}/ko/man8/zdump.8*
fa0f5e25 1613%lang(pl) %{_mandir}/pl/man5/locale.5*
7bd184c8
JB
1614%lang(pl) %{_mandir}/pl/man5/rpc.5*
1615%lang(pl) %{_mandir}/pl/man7/ascii.7*
1616%lang(pl) %{_mandir}/pl/man7/iso-8859-*.7*
1617%lang(pl) %{_mandir}/pl/man7/iso_8859-*.7*
1618%lang(pl) %{_mandir}/pl/man7/iso_8859_*.7*
1619%lang(pl) %{_mandir}/pl/man7/koi8-*.7*
1620%lang(pl) %{_mandir}/pl/man7/latin*.7*
1621%lang(pl) %{_mandir}/pl/man7/locale.7*
1622%lang(pl) %{_mandir}/pl/man7/unicode.7*
1623%lang(pl) %{_mandir}/pl/man7/utf-8.7*
1624%lang(pl) %{_mandir}/pl/man7/utf8.7*
fa0f5e25
JB
1625%lang(pt) %{_mandir}/pt/man5/locale.5*
1626%lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
7bd184c8 1627%lang(pt) %{_mandir}/pt/man5/rpc.5*
fa0f5e25 1628%lang(pt) %{_mandir}/pt/man5/tzfile.5*
7bd184c8
JB
1629%lang(pt) %{_mandir}/pt/man7/ascii.7*
1630%lang(pt) %{_mandir}/pt/man7/charsets.7*
1631%lang(pt) %{_mandir}/pt/man7/iso-8859-*.7*
1632%lang(pt) %{_mandir}/pt/man7/iso_8859-*.7*
1633%lang(pt) %{_mandir}/pt/man7/iso_8859_*.7*
1634%lang(pt) %{_mandir}/pt/man7/koi8-*.7*
1635%lang(pt) %{_mandir}/pt/man7/latin*.7*
1636%lang(pt) %{_mandir}/pt/man7/locale.7*
1637%lang(pt) %{_mandir}/pt/man7/unicode.7*
1638%lang(pt) %{_mandir}/pt/man7/utf-8.7*
1639%lang(pt) %{_mandir}/pt/man7/utf8.7*
fa0f5e25
JB
1640%lang(pt) %{_mandir}/pt/man8/zdump.8*
1641%lang(pt) %{_mandir}/pt/man8/zic.8*
49ead7a0
JB
1642%lang(ru) %{_mandir}/ru/man1/getent.1*
1643%lang(ru) %{_mandir}/ru/man1/iconv.1*
49ead7a0
JB
1644%lang(ru) %{_mandir}/ru/man1/locale.1*
1645%lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1646%lang(ru) %{_mandir}/ru/man5/locale.5*
fa0f5e25 1647%lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
7bd184c8 1648%lang(ru) %{_mandir}/ru/man5/rpc.5*
fa0f5e25 1649%lang(ru) %{_mandir}/ru/man5/tzfile.5*
7bd184c8
JB
1650%lang(ru) %{_mandir}/ru/man7/ascii.7*
1651%lang(ru) %{_mandir}/ru/man7/charsets.7*
1652%lang(ru) %{_mandir}/ru/man7/iso-8859-*.7*
1653%lang(ru) %{_mandir}/ru/man7/iso_8859-*.7*
1654%lang(ru) %{_mandir}/ru/man7/iso_8859_*.7*
1655%lang(ru) %{_mandir}/ru/man7/koi8-*.7*
1656%lang(ru) %{_mandir}/ru/man7/latin*.7*
1657%lang(ru) %{_mandir}/ru/man7/locale.7*
1658%lang(ru) %{_mandir}/ru/man7/unicode.7*
1659%lang(ru) %{_mandir}/ru/man7/utf-8.7*
1660%lang(ru) %{_mandir}/ru/man7/utf8.7*
fa0f5e25
JB
1661%lang(ru) %{_mandir}/ru/man8/zdump.8*
1662%lang(ru) %{_mandir}/ru/man8/zic.8*
49ead7a0 1663%lang(tr) %{_mandir}/tr/man1/iconv.1*
7bd184c8 1664%lang(uk) %{_mandir}/uk/man5/rpc.5*
fa0f5e25 1665%lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
fa0f5e25 1666%lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
7bd184c8 1667%lang(zh_CN) %{_mandir}/zh_CN/man5/rpc.5*
fa0f5e25 1668%lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
7bd184c8
JB
1669%lang(zh_CN) %{_mandir}/zh_CN/man7/ascii.7*
1670%lang(zh_CN) %{_mandir}/zh_CN/man7/charsets.7*
1671%lang(zh_CN) %{_mandir}/zh_CN/man7/locale.7*
1672%lang(zh_CN) %{_mandir}/zh_CN/man7/unicode.7*
1673%lang(zh_CN) %{_mandir}/zh_CN/man7/utf-8.7*
1674%lang(zh_CN) %{_mandir}/zh_CN/man7/utf8.7*
fa0f5e25
JB
1675%lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1676%lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
4206408a 1677
cbf1c4bb 1678%files misc
2eac239d
ER
1679%defattr(644,root,root,755)
1680%attr(755,root,root) %{_bindir}/catchsegv
1681%attr(755,root,root) %{_bindir}/ldd
63820e4e 1682%attr(755,root,root) %{_bindir}/pldd
c2e03274
AM
1683%ifarch %{ix86} m68k sparc sparcv9
1684%attr(755,root,root) %{_bindir}/lddlibc4
1685%endif
af53f596
ER
1686%attr(755,root,root) %{_bindir}/sotruss
1687%dir %{_libdir}/audit
1688%attr(755,root,root) %{_libdir}/audit/sotruss-lib.so
1689
2eac239d
ER
1690%{_mandir}/man1/catchsegv.1*
1691%{_mandir}/man1/ldd.1*
7bd184c8
JB
1692%{_mandir}/man1/pldd.1*
1693%lang(cs) %{_mandir}/cs/man1/ldd.1*
2eac239d 1694%lang(es) %{_mandir}/es/man1/ldd.1*
2eac239d
ER
1695%lang(fi) %{_mandir}/fi/man1/ldd.1*
1696%lang(fr) %{_mandir}/fr/man1/ldd.1*
2eac239d 1697%lang(hu) %{_mandir}/hu/man1/ldd.1*
7bd184c8 1698%lang(it) %{_mandir}/it/man1/ldd.1*
2eac239d 1699%lang(ja) %{_mandir}/ja/man1/ldd.1*
7bd184c8 1700%lang(ja) %{_mandir}/ja/man1/pldd.1*
2eac239d 1701%lang(ko) %{_mandir}/ko/man1/ldd.1*
2eac239d 1702%lang(pl) %{_mandir}/pl/man1/ldd.1*
2eac239d 1703%lang(ru) %{_mandir}/ru/man1/ldd.1*
2eac239d
ER
1704%lang(tr) %{_mandir}/tr/man1/ldd.1*
1705%lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
2eac239d
ER
1706
1707%files libcrypt
1708%defattr(644,root,root,755)
ce3b1100 1709%attr(755,root,root) /%{_lib}/libcrypt-%{core_version}.so
2eac239d 1710%ifarch alpha
2f715077 1711%attr(755,root,root) %ghost /%{_lib}/libcrypt.so.1.1
2eac239d 1712%else
2f715077 1713%attr(755,root,root) %ghost /%{_lib}/libcrypt.so.1
2eac239d
ER
1714%endif
1715
4139e845 1716%files ld
2eac239d
ER
1717%defattr(644,root,root,755)
1718%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1719%dir %{_sysconfdir}/ld.so.conf.d
1720%ghost %{_sysconfdir}/ld.so.cache
4139e845
JK
1721# TODO: package ldconfig symlinks as %ghost
1722%attr(755,root,root) /%{_lib}/ld-%{core_version}.so
1723%ifarch %{ix86} sparc sparcv9 sparc64 alpha sh
1724%attr(755,root,root) /%{_lib}/ld-linux.so.2
1725%endif
1726%ifarch ia64
1727%attr(755,root,root) /%{_lib}/ld-linux-ia64.so.2
1728%endif
1729%ifarch %{x8664}
1730%attr(755,root,root) /%{_lib}/ld-linux-x86-64.so.2
1731%endif
1732%ifarch x32
1733%attr(755,root,root) /%{_lib}/ld-linux-x32.so.2
1734%endif
1735%ifarch ppc64 s390x
1736%attr(755,root,root) /%{_lib}/ld64.so.1
1737%endif
1738%ifnarch %{ix86} sparc sparcv9 sparc64 alpha sh ia64 %{x8664} x32 ppc64 s390x %{arm}
1739%attr(755,root,root) /%{_lib}/ld.so.1
1740%endif
2eac239d 1741%attr(755,root,root) /sbin/ldconfig
4139e845
JK
1742%{_mandir}/man8/ld-linux.8*
1743%{_mandir}/man8/ld-linux.so.8*
1744%{_mandir}/man8/ld.so.8*
2eac239d 1745%{_mandir}/man8/ldconfig.8*
4139e845
JK
1746%lang(es) %{_mandir}/es/man8/ld-linux.8*
1747%lang(es) %{_mandir}/es/man8/ld-linux.so.8*
1748%lang(es) %{_mandir}/es/man8/ld.so.8*
2eac239d 1749%lang(es) %{_mandir}/es/man8/ldconfig.8*
4139e845
JK
1750%lang(fr) %{_mandir}/fr/man8/ld-linux.8*
1751%lang(fr) %{_mandir}/fr/man8/ld-linux.so.8*
1752%lang(fr) %{_mandir}/fr/man8/ld.so.8*
2eac239d 1753%lang(fr) %{_mandir}/fr/man8/ldconfig.8*
4139e845
JK
1754%lang(hu) %{_mandir}/hu/man8/ld-linux.8*
1755%lang(hu) %{_mandir}/hu/man8/ld-linux.so.8*
1756%lang(hu) %{_mandir}/hu/man8/ld.so.8*
2eac239d 1757%lang(hu) %{_mandir}/hu/man8/ldconfig.8*
4139e845
JK
1758%lang(ja) %{_mandir}/ja/man8/ld-linux.8*
1759%lang(ja) %{_mandir}/ja/man8/ld-linux.so.8*
1760%lang(ja) %{_mandir}/ja/man8/ld.so.8*
2eac239d 1761%lang(ja) %{_mandir}/ja/man8/ldconfig.8*
4139e845
JK
1762%lang(pl) %{_mandir}/pl/man8/ld-linux.8*
1763%lang(pl) %{_mandir}/pl/man8/ld-linux.so.8*
1764%lang(pl) %{_mandir}/pl/man8/ld.so.8*
2eac239d
ER
1765%lang(pl) %{_mandir}/pl/man8/ldconfig.8*
1766%lang(pt) %{_mandir}/pt/man8/ldconfig.8*
4139e845
JK
1767%lang(ru) %{_mandir}/ru/man8/ld-linux.so.8*
1768%lang(ru) %{_mandir}/ru/man8/ld.so.8*
2eac239d 1769%lang(ru) %{_mandir}/ru/man8/ldconfig.8*
239a2604 1770%dir %attr(700,root,root) /var/cache/ldconfig
2f715077 1771%attr(600,root,root) %ghost /var/cache/ldconfig/aux-cache
2eac239d 1772
94655bd2 1773%files -n nss_compat
1774%defattr(644,root,root,755)
ce3b1100 1775%attr(755,root,root) /%{_lib}/libnss_compat-%{core_version}.so
6d1ad2d5 1776%attr(755,root,root) /%{_lib}/libnss_compat.so.2
94655bd2 1777
9a39df8d
ER
1778%files -n nss_db
1779%defattr(644,root,root,755)
1780%attr(755,root,root) %{_bindir}/makedb
1781%attr(755,root,root) /%{_lib}/libnss_db-%{core_version}.so
1782%attr(755,root,root) /%{_lib}/libnss_db.so.2
1783%{_var}/db/Makefile
1784
e82c8242 1785%files -n nss_hesiod
1786%defattr(644,root,root,755)
ce3b1100 1787%attr(755,root,root) /%{_lib}/libnss_hesiod-%{core_version}.so
6d1ad2d5 1788%attr(755,root,root) /%{_lib}/libnss_hesiod.so.2
e82c8242 1789
1790%files -n nss_nis
1791%defattr(644,root,root,755)
ce3b1100 1792%attr(755,root,root) /%{_lib}/libnss_nis-%{core_version}.so
6d1ad2d5 1793%attr(755,root,root) /%{_lib}/libnss_nis.so.2
e82c8242 1794
1795%files -n nss_nisplus
1796%defattr(644,root,root,755)
ce3b1100 1797%attr(755,root,root) /%{_lib}/libnss_nisplus-%{core_version}.so
6d1ad2d5 1798%attr(755,root,root) /%{_lib}/libnss_nisplus.so.2
e82c8242 1799
fd1d4127 1800%if %{with memusage}
4206408a 1801%files memusage
1802%defattr(644,root,root,755)
7bd184c8
JB
1803%attr(755,root,root) %{_bindir}/memusage
1804%attr(755,root,root) %{_bindir}/memusagestat
fd1d4127 1805%attr(755,root,root) %{_libdir}/libmemusage.so
7bd184c8
JB
1806%{_mandir}/man1/memusage.1*
1807%{_mandir}/man1/memusagestat.1*
1808%lang(ja) %{_mandir}/ja/man1/memusage.1*
1809%lang(ja) %{_mandir}/ja/man1/memusagestat.1*
5ea2d863 1810%endif
4206408a 1811
462c36a3 1812%files devel
236a5027 1813%defattr(644,root,root,755)
6d1ad2d5
JB
1814%attr(755,root,root) %{_libdir}/libBrokenLocale.so
1815%attr(755,root,root) %{_libdir}/libanl.so
40240acb 1816%attr(755,root,root) %{_libdir}/libcrypt.so
6d1ad2d5 1817%attr(755,root,root) %{_libdir}/libdl.so
40240acb 1818%attr(755,root,root) %{_libdir}/libm.so
ba143d99 1819%ifarch %{x8664} x32
ed35cb32 1820%attr(755,root,root) %{_libdir}/libmvec.so
a90add74 1821%endif
6d1ad2d5 1822%attr(755,root,root) %{_libdir}/libnsl.so
40240acb 1823%attr(755,root,root) %{_libdir}/libpcprofile.so
6d1ad2d5
JB
1824%attr(755,root,root) %{_libdir}/libresolv.so
1825%attr(755,root,root) %{_libdir}/librt.so
1826%attr(755,root,root) %{_libdir}/libthread_db.so
1827%attr(755,root,root) %{_libdir}/libutil.so
a8a2db2c 1828%{_libdir}/crt[1in].o
4928f174
AM
1829%{_libdir}/[MSgr]crt1.o
1830%{_libdir}/grcrt1.o
40240acb
JB
1831# ld scripts
1832%{_libdir}/libc.so
1833%{_libdir}/libpthread.so
6d1ad2d5 1834# static-only libs
110bcce8
AM
1835%ifarch %{x8664} x32
1836%{_libdir}/libmvec_nonshared.a
1837%endif
40240acb
JB
1838%{_libdir}/libc_nonshared.a
1839%{_libdir}/libg.a
5145b9c7
JB
1840%ifarch alpha ppc sparc
1841%{_libdir}/libnldbl_nonshared.a
1842%endif
40240acb 1843%{_libdir}/librpcsvc.a
d96a9968 1844%ifarch %{ix86} %{x8664} x32 ppc ppc64 s390 s390x sparc sparcv9 sparc64
6d1ad2d5 1845# ABI-dependent headers
5b00029e 1846%{_includedir}/gnu/stubs-*.h
fb46cf23 1847%endif
5b00029e
JB
1848
1849%files headers
1850%defattr(644,root,root,755)
462c36a3 1851%{_includedir}/*.h
3c882bd9
JB
1852%ifarch alpha
1853%{_includedir}/alpha
1854%endif
462c36a3 1855%{_includedir}/arpa
1856%{_includedir}/bits
5b00029e
JB
1857%dir %{_includedir}/gnu
1858%{_includedir}/gnu/lib*.h
1859%{_includedir}/gnu/stubs.h
462c36a3 1860%{_includedir}/net
1861%{_includedir}/netash
1862%{_includedir}/netatalk
1863%{_includedir}/netax25
1864%{_includedir}/neteconet
d410ca53 1865%{_includedir}/netiucv
462c36a3 1866%{_includedir}/netinet
1867%{_includedir}/netipx
1868%{_includedir}/netpacket
1869%{_includedir}/netrom
1870%{_includedir}/netrose
1871%{_includedir}/nfs
1872%{_includedir}/protocols
1873%{_includedir}/rpc
1874%{_includedir}/rpcsvc
1875%{_includedir}/scsi
1876%{_includedir}/sys
1877
5b00029e
JB
1878%files devel-utils
1879%defattr(644,root,root,755)
1880%attr(755,root,root) %{_bindir}/gencat
7bd184c8
JB
1881%attr(755,root,root) %{_bindir}/mtrace
1882%attr(755,root,root) %{_bindir}/pcprofiledump
1883%attr(755,root,root) %{_bindir}/sprof
1884%attr(755,root,root) %{_bindir}/xtrace
1885%{_mandir}/man1/mtrace.1*
1886%lang(ja) %{_mandir}/ja/man1/mtrace.1*
5b00029e
JB
1887
1888%files devel-doc
1889%defattr(644,root,root,755)
87cbe0ad 1890%doc documentation/*
900994f2 1891%{_infodir}/libc.info*
d90a3b13 1892
fa0f5e25 1893%{_mandir}/man1/sprof.1*
7bd184c8
JB
1894# just a link to getcwd.3
1895%{_mandir}/man2/getcwd.2*
b6fd0f3f
JB
1896# just a link to killpg.3
1897%{_mandir}/man2/killpg.2*
2c6699cc 1898%{_mandir}/man3/*
7bd184c8
JB
1899%{_mandir}/man7/aio.7*
1900%{_mandir}/man7/attributes.7*
1901%{_mandir}/man7/complex.7*
1902%{_mandir}/man7/feature_test_macros.7*
1903%{_mandir}/man7/glibc.7*
1904%{_mandir}/man7/glob.7*
1905%{_mandir}/man7/libc.7*
1906%{_mandir}/man7/math_error.7*
1907%{_mandir}/man7/nptl.7*
1908%{_mandir}/man7/posixoptions.7*
1909%{_mandir}/man7/pthreads.7*
1910%{_mandir}/man7/rtld-audit.7*
1911%{_mandir}/man7/sem_overview.7*
1912%{_mandir}/man7/shm_overview.7*
1fc785e2 1913%lang(cs) %{_mandir}/cs/man3/*
b6fd0f3f 1914%lang(de) %{_mandir}/de/man2/killpg.2*
1fc785e2 1915%lang(de) %{_mandir}/de/man3/*
b6fd0f3f 1916%lang(es) %{_mandir}/es/man2/killpg.2*
1fc785e2 1917%lang(es) %{_mandir}/es/man3/*
7bd184c8
JB
1918%lang(es) %{_mandir}/es/man7/glob.7*
1919%lang(fr) %{_mandir}/fr/man2/getcwd.2*
b6fd0f3f 1920%lang(fr) %{_mandir}/fr/man2/killpg.2*
1fc785e2 1921%lang(fr) %{_mandir}/fr/man3/*
7bd184c8
JB
1922%lang(fr) %{_mandir}/fr/man7/complex.7*
1923%lang(fr) %{_mandir}/fr/man7/feature_test_macros.7*
1924%lang(fr) %{_mandir}/fr/man7/glob.7*
1925%lang(fr) %{_mandir}/fr/man7/posixoptions.7*
1926%lang(fr) %{_mandir}/fr/man7/pthreads.7*
1927%lang(fr) %{_mandir}/fr/man7/sem_overview.7*
1928%lang(fr) %{_mandir}/fr/man7/shm_overview.7*
1fc785e2 1929%lang(hu) %{_mandir}/hu/man3/*
fa0f5e25 1930%lang(it) %{_mandir}/it/man3/*
7bd184c8
JB
1931%lang(it) %{_mandir}/it/man7/glob.7*
1932%lang(ja) %{_mandir}/ja/man1/sprof.1*
1933%lang(ja) %{_mandir}/ja/man2/getcwd.2*
b6fd0f3f 1934%lang(ja) %{_mandir}/ja/man2/killpg.2*
1145bfaf 1935%lang(ja) %{_mandir}/ja/man3/*
7bd184c8
JB
1936%lang(ja) %{_mandir}/ja/man7/aio.7*
1937%lang(ja) %{_mandir}/ja/man7/complex.7*
1938%lang(ja) %{_mandir}/ja/man7/feature_test_macros.7*
1939%lang(ja) %{_mandir}/ja/man7/glibc.7*
1940%lang(ja) %{_mandir}/ja/man7/glob.7*
1941%lang(ja) %{_mandir}/ja/man7/libc.7*
1942%lang(ja) %{_mandir}/ja/man7/math_error.7*
1943%lang(ja) %{_mandir}/ja/man7/posixoptions.7*
1944%lang(ja) %{_mandir}/ja/man7/pthreads.7*
1945%lang(ja) %{_mandir}/ja/man7/sem_overview.7*
1946%lang(ja) %{_mandir}/ja/man7/shm_overview.7*
b6fd0f3f 1947%lang(ko) %{_mandir}/ko/man2/killpg.2*
1145bfaf 1948%lang(ko) %{_mandir}/ko/man3/*
1949%lang(nl) %{_mandir}/nl/man3/*
b6fd0f3f 1950%lang(pl) %{_mandir}/pl/man2/killpg.2*
1145bfaf 1951%lang(pl) %{_mandir}/pl/man3/*
b6fd0f3f 1952%lang(pt) %{_mandir}/pt/man2/killpg.2*
1145bfaf 1953%lang(pt) %{_mandir}/pt/man3/*
7bd184c8 1954%lang(pt) %{_mandir}/pt/man7/glob.7*
49ead7a0 1955%lang(ru) %{_mandir}/ru/man1/sprof.1*
b6fd0f3f 1956%lang(ru) %{_mandir}/ru/man2/killpg.2*
1145bfaf 1957%lang(ru) %{_mandir}/ru/man3/*
7bd184c8 1958%lang(ru) %{_mandir}/ru/man7/glob.7*
49ead7a0 1959%lang(tr) %{_mandir}/tr/man3/*
fa0f5e25
JB
1960%lang(uk) %{_mandir}/uk/man3/*
1961%lang(zh_CN) %{_mandir}/zh_CN/man3/*
7bd184c8
JB
1962%lang(zh_CN) %{_mandir}/zh_CN/man7/glob.7*
1963
1964%files static
1965%defattr(644,root,root,755)
1966%{_libdir}/libanl.a
1967%{_libdir}/libBrokenLocale.a
1968%{_libdir}/libc.a
1969%{_libdir}/libcrypt.a
1970%{_libdir}/libdl.a
1971%{_libdir}/libm.a
1972%{_libdir}/libmcheck.a
ba143d99 1973%ifarch %{x8664} x32
5941dd9e 1974%{_libdir}/libm-%{core_version}.a
ed35cb32 1975%{_libdir}/libmvec.a
a90add74 1976%endif
7bd184c8
JB
1977%{_libdir}/libnsl.a
1978%{_libdir}/libpthread.a
1979%{_libdir}/libresolv.a
1980%{_libdir}/librt.a
1981%{_libdir}/libutil.a
1982
1983%files profile
1984%defattr(644,root,root,755)
1985%{_libdir}/lib*_p.a
1986
1987%files pic
1988%defattr(644,root,root,755)
1989%{_libdir}/lib*_pic.a
1990%{_libdir}/lib*.map
1991%{_libdir}/soinit.o
1992%{_libdir}/sofini.o
236a5027 1993
bab19d4a 1994%files -n nscd
1995%defattr(644,root,root,755)
f307cfc5
JB
1996%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1997%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
46b7a91b 1998%attr(754,root,root) /etc/rc.d/init.d/nscd
4206408a 1999%attr(755,root,root) %{_sbindir}/nscd*
f307cfc5 2000%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
ddf4fb34 2001%attr(640,root,root) %ghost /var/log/nscd
4fa784f5 2002%{systemdtmpfilesdir}/nscd.conf
7dc8db4b 2003%dir /var/run/nscd
f307cfc5
JB
2004%dir /var/lib/nscd
2005%attr(600,root,root) %ghost /var/lib/nscd/passwd
2006%attr(600,root,root) %ghost /var/lib/nscd/group
2007%attr(600,root,root) %ghost /var/lib/nscd/hosts
fa0f5e25
JB
2008%{_mandir}/man5/nscd.conf.5*
2009%{_mandir}/man8/nscd.8*
2010%{_mandir}/man8/nscd_nischeck.8*
49ead7a0
JB
2011%lang(es) %{_mandir}/es/man5/nscd.conf.5*
2012%lang(es) %{_mandir}/es/man8/nscd.8*
fa0f5e25
JB
2013%lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
2014%lang(fr) %{_mandir}/fr/man8/nscd.8*
2015%lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
2016%lang(ja) %{_mandir}/ja/man8/nscd.8*
2017%lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
2018%lang(pt) %{_mandir}/pt/man8/nscd.8*
49ead7a0
JB
2019%lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
2020%lang(ru) %{_mandir}/ru/man8/nscd.8*
2021%lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
c43e39f5 2022
d34cb8bc 2023%files -n localedb-src
2024%defattr(644,root,root,755)
ba697d79 2025%attr(755,root,root) %{_bindir}/localedef
40430bed 2026%attr(755,root,root) %{_bindir}/localedb-gen
d34cb8bc 2027%{_datadir}/i18n
fa0f5e25 2028%{_mandir}/man1/localedef.1*
49ead7a0 2029%lang(ru) %{_mandir}/ru/man1/localedef.1*
40430bed 2030
0a85848c 2031%if %{with localedb}
40430bed
JB
2032%files localedb-all
2033%defattr(644,root,root,755)
d6e3a99e 2034%{_prefix}/lib/locale/locale-archive
0a85848c 2035%endif
d34cb8bc 2036
2037%files -n iconv
2038%defattr(644,root,root,755)
436fd1ea 2039%attr(755,root,root) %{_sbindir}/iconvconfig
fbd4c876 2040%dir %{_libdir}/gconv
2041%{_libdir}/gconv/gconv-modules
17a1a2af 2042%verify(not md5 mtime size) %{_libdir}/gconv/gconv-modules.cache
fbd4c876 2043%attr(755,root,root) %{_libdir}/gconv/*.so
7bd184c8
JB
2044%{_mandir}/man8/iconvconfig.8*
2045%lang(ja) %{_mandir}/ja/man8/iconvconfig.8*
This page took 1.129228 seconds and 4 git commands to generate.