2 # - consider moving klogctl.3 man to man-pages (and drop syslog.2 stub hacks here)
3 # - restore --with-pkgversion when tcl upstream fixes the #3599098 (broken platform::identify).
5 # - look at locale fixes/updates in bugzilla
6 # - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section.
8 # - localedb-gen man pages(?)
9 # - math/{test-fenv,test-tgmath,test-float,test-ifloat}, debug/backtrace-tst(SEGV) fail on alpha
12 # min_kernel (default is 3.2.0 with arch specific values x32 (3.4.0) aarch64 (3.7.0) ia64 (3.2.18))
13 %bcond_without memusage # don't build memusage utility
14 %bcond_without selinux # without SELinux support (in nscd)
15 %bcond_with tests # perform "make test"
16 %bcond_without localedb # don't build localedb-all (is time consuming)
17 %bcond_with cross # make a cross build, skip native programs
18 %bcond_without nss_crypt # disable crypt features based on Mozilla NSS library
19 %bcond_with bash_nls # use bash NLS in shell scripts (ldd, sotruss); restores /bin/bash dep
20 %bcond_without cet # Intel Control-flow Enforcement Technology (CET)
21 %bcond_with crypt # don't build obsolete libcrypt
24 %{!?min_kernel:%global min_kernel 3.7.0}
27 %{!?min_kernel:%global min_kernel 3.2.18}
30 %{!?min_kernel:%global min_kernel 3.4.0}
32 %ifnarch aarch64 ia64 x32
33 %{!?min_kernel:%global min_kernel 3.2.0}
37 %undefine with_memusage
39 %ifnarch i686 %{x8664} x32
43 %define with_static_pie 1
46 %define core_version 2.37
47 %define llh_version 7:2.6.32.1-1
50 Summary(de.UTF-8): GNU libc
51 Summary(es.UTF-8): GNU libc
52 Summary(fr.UTF-8): GNU libc
53 Summary(ja.UTF-8): GNU libc ライブラリ
54 Summary(pl.UTF-8): GNU libc
55 Summary(ru.UTF-8): GNU libc версии
56 Summary(tr.UTF-8): GNU libc
57 Summary(uk.UTF-8): GNU libc версії
59 Version: %{core_version}
64 Source0: https://ftp.gnu.org/gnu/glibc/%{name}-%{version}.tar.xz
65 # Source0-md5: e89cf3dcb64939d29f04b4ceead5cc4e
67 Source3: nscd.sysconfig
68 Source4: nscd.logrotate
69 # from man-pages.spec --with tars
70 Source5: %{name}-man-pages.tar.xz
71 # Source5-md5: 4481fa9cbead3fe9d24af66666db1c86
72 Source6: %{name}-localedb-gen
73 Source7: %{name}-LD-path.c
74 Source9: nscd.tmpfiles
75 # use branch.sh to update glibc-git.patch
76 Patch0: glibc-git.patch
77 # Patch0-md5: 86773bb487a8ee4c7b9a8194ee0f3b96
78 # against GNU TP (libc domain)
79 #Patch1: %{name}-pl.po-update.patch
80 Patch2: %{name}-pld.patch
81 Patch3: %{name}-crypt-blowfish.patch
82 Patch4: %{name}-no-bash-nls.patch
83 Patch6: %{name}-paths.patch
85 Patch10: %{name}-info.patch
86 Patch11: %{name}-autoconf.patch
88 Patch14: %{name}-sparc-errno_fix.patch
89 Patch15: %{name}-new-charsets.patch
91 # additions pending for upstream merge or taken from other distros
92 Patch17: %{name}-morelocales.patch
93 # fixes mostly pending for upstream merge
94 Patch18: %{name}-locale_fixes.patch
95 Patch19: %{name}-ZA_collate.patch
97 Patch23: %{name}-pt_pax.patch
99 Patch30: glibc-rh1124987.patch
100 Patch31: arm-widevine-compat.patch
101 URL: http://www.gnu.org/software/libc/
102 %{?with_selinux:BuildRequires: audit-libs-devel}
103 BuildRequires: autoconf >= 2.69
104 BuildRequires: automake
105 BuildRequires: binutils >= 4:2.29
106 BuildRequires: bison >= 2.7
107 %{!?with_cross:BuildRequires: dietlibc-static}
108 BuildRequires: gawk >= 3.1.2
110 BuildRequires: gcc >= 6:8.0
112 BuildRequires: gcc >= 6:6.2
114 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
115 BuildRequires: gettext-tools >= 0.10.36
116 %{?with_selinux:BuildRequires: libcap-devel}
117 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
118 BuildRequires: linux-libc-headers >= %{llh_version}
119 BuildRequires: make >= 1:4.0
120 %{?with_nss_crypt:BuildRequires: nss-devel >= 1:3.15.1-2}
121 BuildRequires: perl-base
122 BuildRequires: python3 >= 1:3.4
123 BuildRequires: python3-modules >= 1:3.4
124 BuildRequires: rpm-build >= 4.3-0.20030610.28
125 BuildRequires: rpmbuild(macros) >= 1.752
126 BuildRequires: sed >= 4.0.5
127 BuildRequires: tar >= 1:1.22
128 BuildRequires: texinfo >= 4.7
130 Requires(post): ldconfig = %{epoch}:%{version}-%{release}
132 Requires: ldconfig = %{epoch}:%{version}-%{release}
133 Requires: uname(release) >= %{min_kernel}
134 Provides: %{name}(%{_target_cpu}) = %{epoch}:%{version}-%{release}
136 Provides: %{name}(ix86) = %{epoch}:%{version}-%{release}
138 Provides: glibc(nptl)
140 Provides: rtld(GNU_HASH)
141 Obsoletes: glibc-common
142 Obsoletes: glibc-debug < 2.1
143 Obsoletes: glibc-ld < 6:2.33-2
144 %ifarch %{x8664} sparc64 ppc64
150 Conflicts: %{name}-misc < %{epoch}:%{version}-%{release}
151 Conflicts: SysVinit < 2.86-11
152 Conflicts: kernel < 3:%{min_kernel}
154 Conflicts: kernel24-smp
155 Conflicts: ld.so < 1.9.9-10
156 Conflicts: man-pages < 4.00
157 Conflicts: openssh-server < 2:8.2p1-1
158 Conflicts: poldek < 0.30.1-9
159 Conflicts: rc-scripts < 0.3.1-13
161 Conflicts: util-linux < 2.35.1-2
162 Conflicts: xorg-driver-video-nvidia-libs < 1:295.33
163 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} x32 ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64 armv5tel armv6hl armv7hl armv7hnl aarch64
164 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
166 # errno, ps_*, __resp, __h_errno symbols
167 %define skip_post_check_so libm.so.6 libc_malloc_debug.so.0 libcrypt.so.1 libthread_db.so.1 libresolv.so.2 libnss_db.so.2 libnss_compat.so.2 libnss_hesiod.so.2 libnsl.so.1 librt.so.1
169 # avoid -s here (ld.so must not be stripped to allow any program debugging)
170 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
171 # disable -D_FORTIFY_SOURCE=X and -fstack-protector
172 %define _fortify_cflags %{nil}
173 %define _ssp_cflags %{nil}
175 %define specflags_sparcv9 -mcpu=ultrasparc -mvis -fcall-used-g6
176 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
178 # ld.so needs not to be stripped to work
179 # gdb needs unstripped libpthread for some threading support
180 # ...but we can strip at least debuginfo from them
181 %define _autostripdebug .*/ld-[0-9.]*so\\|.*/libpthread-[0-9.]*so
183 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
184 %ifarch sparc sparcv9
185 %{expand:%%define __cc %{__cc} -m32}
189 %define specflags_ia32 -mno-tls-direct-seg-refs
190 %define specflags_x86_64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
191 %define specflags_amd64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
192 %define specflags_ia32e -mno-tls-direct-seg-refs
194 # we don't want perl dependency in glibc-devel
195 %define _noautoreqfiles %{_bindir}/mtrace
196 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
197 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
198 # patched not to crash on partial hardlinks too)
199 %define _hack_dontneed_PartialHardlinkSets 1
200 %define _noautochrpath .*\\(ldconfig\\|sln\\)
202 # don't generate deps for ldconfig to avoid loop and force rpm to install it before glibc
203 %define _noautoprov .*\(GLIBC_PRIVATE\)
204 %define _noautoreq .*\(GLIBC_PRIVATE\) /sbin/ldconfig
206 # to avoid multi-arch conflicts on getconf/* files
207 %define _libexecdir %{_libdir}
210 Contains the standard libraries that are used by multiple programs on
211 the system. In order to save disk space and memory, as well as to ease
212 upgrades, common system code is kept in one place and shared between
213 programs. This package contains the most important sets of shared
214 libraries, the standard C library and the standard math library.
215 Without these, a Linux system will not function. It also contains
216 national language (locale) support.
218 Can be used on: Linux kernel >= %{min_kernel}.
220 %description -l es.UTF-8
221 Contiene las bibliotecas estándared que son usadas por varios
222 programas del sistema. Para ahorrar el espacio en el disco y la
223 memoria, igual que para facilitar actualizaciones, código común del
224 sistema se guarda en un sitio y es compartido entre los programas.
225 Este paquete contiene las bibliotecas compartidas más importantes, es
226 decir la biblioteca C estándar y la biblioteca estándar de matemática.
227 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
228 soporte de idiomas nacionales (locale).
230 Puede usarse con: núcleo Linux >= %{min_kernel}.
232 %description -l de.UTF-8
233 Enthält die Standard-Libraries, die von verschiedenen Programmen im
234 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
235 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
236 einer einzigen Stelle gespeichert und wird von den Programmen
237 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
238 shared Libraries, die Standard-C-Library und die
239 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
240 Ferner enthält es den Support für die verschiedenen Sprachgregionen
243 Can be used on: Linux kernel >= %{min_kernel}.
245 %description -l fr.UTF-8
246 Contient les bibliothèques standards utilisées par de nombreux
247 programmes du système. Afin d'économiser l'espace disque et mémoire,
248 et de faciliter les mises à jour, le code commun au système est mis à
249 un endroit et partagé entre les programmes. Ce paquetage contient les
250 bibliothèques partagées les plus importantes, la bibliothèque standard
251 du C et la bibliothèque mathématique standard. Sans celles-ci, un
252 système Linux ne peut fonctionner. Il contient aussi la gestion des
253 langues nationales (locales).
255 Can be used on: Linux kernel >= %{min_kernel}.
257 %description -l ja.UTF-8
259 パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
260 ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
261 用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
262 間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
263 重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
264 この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc
265 パッケージはまた地域言語 (locale) サポートとタイムゾーンデータベース
268 Can be used on: Linux kernel >= %{min_kernel}.
270 %description -l pl.UTF-8
271 W pakiecie znajdują się podstawowe biblioteki, używane przez różne
272 programy w Twoim systemie. Używanie przez programy bibliotek z tego
273 pakietu oszczędza miejsce na dysku i pamięć. Większość kodu
274 systemowego jest usytuowane w jednym miejscu i dzielone między wieloma
275 programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek
276 standardowych, współdzielonych (dynamicznych) bibliotek C i
277 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować.
278 Znajdują się tutaj również definicje różnych informacji dla wielu
281 Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}.
283 %description -l ru.UTF-8
284 Содержит стандартные библиотеки, используемые многочисленными
285 программами в системе. Для того, чтобы сохранить дисковое пространство
286 и память, а также для простоты обновления, системный код, общий для
287 всех программ, хранится в одном месте и коллективно используется всеми
288 программами. Этот пакет содержит наиболее важные из разделяемых
289 библиотек - стандартную библиотеку C и стандартную библиотеку
290 математики. Без этих библиотек Linux функционировать не будет. Также
291 пакет содержит поддержку национальных языков (locale).
293 Can be used on: Linux kernel >= %{min_kernel}.
295 %description -l tr.UTF-8
296 Bu paket, birçok programın kullandığı standart kitaplıkları içerir.
297 Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme
298 işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde
299 tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak
300 kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını
301 içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel
302 dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır.
304 Can be used on: Linux kernel >= %{min_kernel}.
306 %description -l uk.UTF-8
307 Містить стандартні бібліотеки, котрі використовуються численними
308 програмами в системі. Для того, щоб зберегти дисковий простір та
309 пам'ять, а також для простоти поновлення системи, системний код,
310 спільний для всіх програм, зберігається в одному місці і колективно
311 використовується всіма програмами. Цей пакет містить найбільш важливі
312 з динамічних бібліотек - стандартну бібліотеку С та стандартну
313 бібліотеку математики. Без цих бібліотек Linux функціонувати не буде.
314 Також пакет містить підтримку національних мов (locale).
316 Can be used on: Linux kernel >= %{min_kernel}.
319 Summary: Utilities and data used by glibc
320 Summary(pl.UTF-8): Narzędzia i dane używane przez glibc
321 Group: Applications/System
322 Suggests: libidn2 >= 2.0.5
323 Requires: %{name} = %{epoch}:%{version}-%{release}
325 Conflicts: %{name}(x32)
326 Conflicts: %{name}(x86_64)
328 Conflicts: man-pages < 4.00
331 Utilities and data used by glibc.
333 %description misc -l pl.UTF-8
334 Narzędzia i dane używane przez glibc.
337 Summary: glibc library for crypt(3)
338 Summary(pl.UTF-8): Biblioteka glibc z funkcją crypt(3)
340 Requires: %{name} = %{epoch}:%{version}-%{release}
341 Provides: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
343 Provides: %{name}-libcrypt(ix86) = %{epoch}:%{version}-%{release}
345 Provides: crypt(blowfish)
347 %description libcrypt
348 glibc library for crypt(3).
350 %description libcrypt -l pl.UTF-8
351 Biblioteka glibc z funkcją crypt(3).
354 Summary: Create shared library cache and maintains symlinks
355 Summary(de.UTF-8): Erstellt ein shared library cache und verwaltet symlinks
356 Summary(fr.UTF-8): Crée un cache de bibliothčque partagée et gčre *.so
357 Summary(pl.UTF-8): Tworzenie cache'u bibliotek dynamicznych i ich dowiązań symbolicznych
358 Summary(tr.UTF-8): Ortak kitaplýk önbelleđi yaratýr ve bađlantýlarý kurar
359 Group: Applications/System
360 Requires: uname(release) >= %{min_kernel}
361 # we want FHS being installed before ldconfig, altho they are both unrelated to each-other.
363 Provides: rtld(GNU_HASH)
364 # This is needed because previous package (glibc) had autoreq false and had
365 # provided this manually. Probably poldek bug that have to have it here.
366 Provides: /sbin/ldconfig
367 Conflicts: glibc-ld < 6:2.33-2
369 %description -n ldconfig
370 ldconfig scans a running system and sets up the symbolic links that
371 are used to load shared libraries properly. It also creates
372 /etc/ld.so.cache which speeds the loading programs which use shared
375 %description -n ldconfig -l de.UTF-8
376 ldconfig scannt ein laufendes System und richtet die symbolischen
377 Verknüpfungen zum Laden der gemeinsam genutzten Libraries ein.
378 Außerdem erstellt es /etc/ld.so.cache, was das Laden von Programmen
379 mit gemeinsam genutzten Libraries beschleunigt.
381 %description -n ldconfig -l fr.UTF-8
382 ldconfig analyse un systčme et configure les liens symboliques
383 utilisés pour charger correctement les bibliothčques partagées. Il
384 crée aussi /etc/ld.so.cache qui accélčre le chargement des programmes
385 utilisant les bibliothčques partagées.
387 %description -n ldconfig -l pl.UTF-8
388 ldconfig testuje uruchomiony system i tworzy dowiązania symboliczne,
389 które są następnie używane do poprawnego ładowania bibliotek
390 dynamicznych. Program ten tworzy plik /etc/ld.so.cache, który
391 przyśpiesza ładowanie programów korzystających z bibliotek
394 %description -n ldconfig -l tr.UTF-8
395 ldconfig, çalýţmakta olan sistemi araţtýrýr ve ortak kitaplýklarýn
396 düzgün bir ţekilde yüklenmesi için gereken simgesel bađlantýlarý
397 kurar. Ayrýca ortak kitaplýklarý kullanan programlarýn yüklenmesini
398 hýzlandýran /etc/ld.so.cache dosyasýný yaratýr.
400 %package -n nss_compat
401 Summary: Old style NYS NSS glibc module
402 Summary(es.UTF-8): El antiguo módulo NYS NSS de glibc
403 Summary(pl.UTF-8): Stary moduł NYS NSS glibc
405 Requires: %{name} = %{epoch}:%{version}-%{release}
407 %description -n nss_compat
408 Old style NYS NSS glibc module.
410 %description -n nss_compat -l es.UTF-8
411 El antiguo módulo NYS NSS de glibc
413 %description -n nss_compat -l pl.UTF-8
414 Stary moduł NYS NSS glibc.
417 Summary: NSS glibc module that uses hashed key-value database
418 Summary(pl.UTF-8): Moduł NSS glibc wykorzystujący haszowaną bazę danych klucz-wartość
420 Requires: %{name} = %{epoch}:%{version}-%{release}
422 %description -n nss_db
423 NSS glibc module that uses hashed key-value database.
425 %description -n nss_db -l pl.UTF-8
426 Moduł NSS glibc wykorzystujący haszowaną bazę danych klucz-wartość.
429 Summary: BIND NSS glibc module
430 Summary(es.UTF-8): Módulo BIND NSS de glibc
431 Summary(pl.UTF-8): Moduł BIND NSS glibc
433 Requires: %{name} = %{epoch}:%{version}-%{release}
435 %description -n nss_dns
436 BIND NSS glibc module.
438 %description -n nss_dns -l es.UTF-8
439 Módulo BIND NSS de glibc.
441 %description -n nss_dns -l pl.UTF-8
442 Moduł BIND NSS glibc.
444 %package -n nss_files
445 Summary: Traditional files databases NSS glibc module
446 Summary(es.UTF-8): Módulo de tradicionales bases de datos en ficheros para glibc
447 Summary(pl.UTF-8): Moduł tradycyjnych plikowych baz danych NSS glibc
449 Requires: %{name} = %{epoch}:%{version}-%{release}
451 %description -n nss_files
452 Traditional files databases NSS glibc module.
454 %description -n nss_files -l es.UTF-8
455 Módulo de tradicionales bases de datos en ficheros para glibc.
457 %description -n nss_files -l pl.UTF-8
458 Moduł tradycyjnych plikowych baz danych NSS glibc.
460 %package -n nss_hesiod
461 Summary: hesiod NSS glibc module
462 Summary(es.UTF-8): Módulo hesiod NSS de glibc
463 Summary(pl.UTF-8): Moduł hesiod NSS glibc
465 Requires: %{name} = %{epoch}:%{version}-%{release}
467 %description -n nss_hesiod
468 glibc NSS (Name Service Switch) module for databases access.
470 %description -n nss_hesiod -l es.UTF-8
471 Módulo hesiod NSS de glibc.
473 %description -n nss_hesiod -l pl.UTF-8
474 Moduł glibc NSS (Name Service Switch) dostępu do baz danych.
477 Summary: Memory usage profiler
478 Summary(pl.UTF-8): Narzędzie do profilowania zużycia pamięci
479 Group: Development/Tools
480 Requires: %{name} = %{epoch}:%{version}-%{release}
481 Conflicts: man-pages < 4.00
483 %description memusage
484 Memory usage profiler.
486 %description memusage -l pl.UTF-8
487 Narzędzie do profilowania zużycia pamięci.
490 Summary: Additional libraries required to compile
491 Summary(de.UTF-8): Weitere Libraries zum Kompilieren
492 Summary(es.UTF-8): Bibliotecas adicionales necesarias para la compilación
493 Summary(fr.UTF-8): Librairies supplémentaires nécessaires à la compilation
494 Summary(ja.UTF-8): 標準 C ライブラリで使われるヘッダーとオブジェクトファイル
495 Summary(pl.UTF-8): Dodatkowe biblioteki wymagane podczas kompilacji
496 Summary(ru.UTF-8): Дополнительные библиотеки, необходимые для компиляции
497 Summary(tr.UTF-8): Geliştirme için gerekli diğer kitaplıklar
498 Summary(uk.UTF-8): Додаткові бібліотеки, потрібні для компіляції
499 Group: Development/Libraries
500 Requires: %{name} = %{epoch}:%{version}-%{release}
501 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
502 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
504 Requires: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
506 Requires: libxcrypt-devel >= 4.0.0
508 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
510 Provides: %{name}-devel(ix86) = %{epoch}:%{version}-%{release}
512 Obsoletes: libiconv-devel
514 # see http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2016-May/024902.html
515 %if "%(rpm -q --qf '%{E}:%{V}' binutils)" >= "4:2.26"
516 Conflicts: binutils < 4:2.26
521 To develop programs which use the standard C libraries (which nearly
522 all programs do), the system needs to have these standard header files
523 and object files available for creating the executables.
525 %description devel -l de.UTF-8
526 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
527 verwenden (also fast alle), benötigt das System diese Standard-Header-
528 und Objektdateien zum Erstellen der ausführbaren Programme.
530 %description devel -l es.UTF-8
531 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
532 cual hacen prácticamente todos los programas), el sistema necesita
533 disponer de estos ficheros de cabecera y de objetos para crear los
536 %description devel -l fr.UTF-8
537 Pour développer des programmes utilisant les bibliothèques standard du
538 C (ce que presque tous les programmes font), le système doit posséder
539 ces fichiers en-têtes et objets standards pour créer les exécutables.
541 %description devel -l ja.UTF-8
542 glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C
543 ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト
545 ライブラリを使用するプログラムを開発するなら
546 実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル
549 %description devel -l pl.UTF-8
550 Pakiet ten jest niezbędny przy tworzeniu własnych programów
551 korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki
552 nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów
553 wykonywalnych i innych bibliotek.
555 %description devel -l ru.UTF-8
556 Для разработки программ, использующих стандартные библиотеки C (а
557 практически все программы их используют), системе НЕОБХОДИМЫ хедеры и
558 объектные файлы, содержащиеся в этом пакете, чтобы создавать
561 %description devel -l tr.UTF-8
562 C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar
563 geliştirmek için gereken standart başlık dosyaları ve statik
566 %description devel -l uk.UTF-8
567 Для розробки програм, що використовують стандартні бібліотеки C
568 (практично всі програми їх використовують), системі НЕОБХІДНІ хедери
569 та об'єктні файли, що містяться в цьому пакеті, цоб створювати
573 Summary: Header files for development using standard C libraries
574 Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C
575 Group: Development/Building
576 Provides: %{name}-header-cpu-%{_target_cpu} = %{epoch}:%{version}-%{release}
578 Provides: %{name}-headers-cpu-ix86 = %{epoch}:%{version}-%{release}
581 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
582 # have to be installed, not ix86 one.
583 Obsoletes: glibc-headers-cpu-athlon
584 Obsoletes: glibc-headers-cpu-i386
585 Obsoletes: glibc-headers-cpu-i486
586 Obsoletes: glibc-headers-cpu-i586
587 Obsoletes: glibc-headers-cpu-i686
588 Obsoletes: glibc-headers-cpu-ix86
589 Obsoletes: glibc-headers-cpu-pentium3
590 Obsoletes: glibc-headers-cpu-pentium4
593 Obsoletes: glibc-headers-cpu-x86_64
596 Obsoletes: glibc-headers-cpu-ppc
599 Obsoletes: glibc-headers-cpu-s390
602 Obsoletes: glibc-headers-cpu-sparc
604 Requires: linux-libc-headers >= %{llh_version}
607 The glibc-headers package contains the header files necessary for
608 developing programs which use the standard C libraries (which are used
609 by nearly all programs). If you are developing programs which will use
610 the standard C libraries, your system needs to have these standard
611 header files available in order to create the executables.
613 Install glibc-headers if you are going to develop programs which will
614 use the standard C libraries.
616 %description headers -l pl.UTF-8
617 Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania
618 programów używających standardowych bibliotek C (używanych przez
619 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
620 standardowych bibliotek C, system wymaga dostępności tych
621 standardowych plików nagłówkowych do tworzenia programów
624 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
625 korzystające ze standardowych bibliotek C.
628 Summary: Utilities needed for development using standard C libraries
629 Summary(pl.UTF-8): Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C
630 Group: Development/Libraries
631 Provides: %{name}-devel-util-cpu-%{_target_cpu} = %{epoch}:%{version}-%{release}
633 Provides: %{name}-devel-utils-cpu-ix86 = %{epoch}:%{version}-%{release}
636 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
637 # have to be installed, not ix86 one.
638 Obsoletes: glibc-devel-utils-cpu-athlon
639 Obsoletes: glibc-devel-utils-cpu-i386
640 Obsoletes: glibc-devel-utils-cpu-i486
641 Obsoletes: glibc-devel-utils-cpu-i586
642 Obsoletes: glibc-devel-utils-cpu-i686
643 Obsoletes: glibc-devel-utils-cpu-ix86
644 Obsoletes: glibc-devel-utils-cpu-pentium3
645 Obsoletes: glibc-devel-utils-cpu-pentium4
648 Obsoletes: glibc-devel-utils-cpu-x86_64
651 Obsoletes: glibc-devel-utils-cpu-ppc
654 Obsoletes: glibc-devel-utils-cpu-s390
657 Obsoletes: glibc-devel-utils-cpu-sparc
659 Conflicts: man-pages < 4.00
661 %description devel-utils
662 The glibc-devel-utils package contains utilities necessary for
663 developing programs which use the standard C libraries (which are used
664 by nearly all programs). If you are developing programs which will use
665 the standard C libraries, your system needs to have these utilities
668 Install glibc-devel-utils if you are going to develop programs which
669 will use the standard C libraries.
671 %description devel-utils -l pl.UTF-8
672 Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania
673 programów używających standardowych bibliotek C (używanych przez
674 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
675 standardowych bibliotek C, system wymaga dostępności tych narzędzi do
676 tworzenia programów wykonywalnych.
678 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
679 korzystające ze standardowych bibliotek C.
682 Summary: Documentation needed for development using standard C libraries
683 Summary(pl.UTF-8): Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C
685 Conflicts: man-pages < 4.09
688 %description devel-doc
689 The glibc-devel-doc package contains info and manual pages necessary
690 for developing programs which use the standard C libraries (which are
691 used by nearly all programs).
693 Install glibc-devel-doc if you are going to develop programs which
694 will use the standard C libraries.
696 %description devel-doc -l pl.UTF-8
697 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
698 rozwijania programów używających standardowych bibliotek C (używanych
699 przez prawie wszystkie programy).
701 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
702 korzystające ze standardowych bibliotek C.
705 Summary: Static GNU libc libraries
706 Summary(es.UTF-8): Bibliotecas estáticas
707 Summary(pl.UTF-8): Biblioteki statyczne GNU libc
708 Summary(ru.UTF-8): Статические библиотеки glibc
709 Summary(uk.UTF-8): Статичні бібліотеки glibc
710 Group: Development/Libraries
711 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
712 %{!?with_crypt:Requires: libxcrypt-static >= 4.0.0}
713 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
715 Provides: %{name}-static(ix86) = %{epoch}:%{version}-%{release}
717 Obsoletes: libiconv-static
720 GNU libc static libraries.
722 %description static -l es.UTF-8
723 Bibliotecas estáticas de GNU libc.
725 %description static -l pl.UTF-8
726 Biblioteki statyczne GNU libc.
728 %description static -l ru.UTF-8
729 Это отдельный пакет со статическими библиотеками, которые больше не
730 входят в glibc-devel.
732 %description static -l uk.UTF-8
733 Це окремий пакет зі статичними бібліотеками, що більше не входять в
737 Summary: glibc with profiling support
738 Summary(de.UTF-8): glibc mit Profil-Unterstützung
739 Summary(es.UTF-8): glibc con soporte de perfilamiento
740 Summary(fr.UTF-8): glibc avec support pour profiling
741 Summary(pl.UTF-8): glibc ze wsparciem dla profilowania
742 Summary(ru.UTF-8): GNU libc с поддержкой профайлера
743 Summary(tr.UTF-8): Ölçüm desteği olan glibc
744 Summary(uk.UTF-8): GNU libc з підтримкою профайлера
745 Group: Development/Libraries/Libc
746 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
747 Obsoletes: libc-profile < 6
750 When programs are being profiled using gprof, they must use these
751 libraries instead of the standard C libraries for gprof to be able to
752 profile them correctly.
754 %description profile -l de.UTF-8
755 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
756 Libraries anstelle der üblichen C-Libraries verwendet werden.
758 %description profile -l es.UTF-8
759 Cuando programas son perfilidas usando gprof, tienen que usar estas
760 biblioteces en vez de las estándares para que gprof pueda perfilarlas
763 %description profile -l pl.UTF-8
764 Programy profilowane za pomocą gprof muszą używać tych bibliotek
765 zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je
768 %description profile -l uk.UTF-8
769 Коли програми досліджуються профайлером gprof, вони повинні
770 використовувати замість стандартних бібліотек бібліотеки, що містяться
771 в цьому пакеті. При використанні стандартних бібліотек gprof замість
772 реальних результатів буде показувати ціни на папайю в Гонолулу в
775 %description profile -l tr.UTF-8
776 gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu
777 kitaplığı kullanmak zorundadırlar.
779 %description profile -l ru.UTF-8
780 Когда программы исследуются профайлером gprof, они должны
781 использовать, вместо стандартных библиотек, библиотеки, включенные в
782 этот пакет. При использовании стандартных библиотек gprof вместо
783 реальных результатов будет показывать цены на папайю в Гонолулу в
787 Summary: glibc PIC archive
788 Summary(es.UTF-8): Archivo PIC de glibc
789 Summary(pl.UTF-8): Archiwum PIC glibc
790 Group: Development/Libraries/Libc
791 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
794 GNU C Library PIC archive contains an archive library (ar file)
795 composed of individual shared objects. This is used for creating a
796 library which is a smaller subset of the standard libc shared library.
798 %description pic -l es.UTF-8
799 El archivo PIC de la biblioteca glibc contiene una biblioteca
800 archivada (un fichero ar) compuesta de individuales objetos
801 compartidos. Es usado para crear una biblioteca que sea un subconjunto
802 más pequeño de la biblioteca libc compartida estándar.
804 %description pic -l pl.UTF-8
805 Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar)
806 złożoną z pojedynczych obiektów współdzielonych. Używana jest do
807 tworzenia biblioteki będącej mniejszym podzestawem standardowej
808 biblioteki współdzielonej libc.
811 Summary: Name Service Caching Daemon
812 Summary(es.UTF-8): Demonio de caché del servicio de nombres
813 Summary(ja.UTF-8): ネームサービスキャッシングデーモン (nacd)
814 Summary(pl.UTF-8): Demon zapamiętujący odpowiedzi serwisów nazw
815 Summary(ru.UTF-8): Кэширующий демон сервисов имен
816 Summary(uk.UTF-8): Кешуючий демон севісів імен
818 Group: Networking/Daemons
819 Requires(post): fileutils
820 Requires(post,preun): /sbin/chkconfig
821 Requires(postun): /usr/sbin/groupdel
822 Requires(postun): /usr/sbin/userdel
823 Requires(pre): /bin/id
824 Requires(pre): /usr/bin/getgid
825 Requires(pre): /usr/sbin/groupadd
826 Requires(pre): /usr/sbin/useradd
827 Requires: %{name} = %{epoch}:%{version}-%{release}
828 %{?with_selinux:Requires: libselinux >= 1.18}
829 Requires: rc-scripts >= 0.4.3.0
830 Provides: group(nscd)
836 nscd caches name service lookups; it can dramatically improve
837 performance with NIS+, and may help with DNS as well.
839 %description -n nscd -l es.UTF-8
840 nscd guarda las peticiones del servicio de nombres en una caché; eso
841 puede aumentar drásticamente las prestaciones de NIS+, y también puede
844 %description -n nscd -l ja.UTF-8
845 Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
846 ドラマティックに改善することができ、DNS を同様に補助します。
848 %description -n nscd -l pl.UTF-8
849 nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
850 drastycznie poprawić szybkość działania NIS+.
852 %description -n nscd -l ru.UTF-8
853 nscd кэширует результаты запросов к сервисам имен; это может резко
854 увеличить производительность работы с NIS+ и, также, может помочь с
857 %description -n nscd -l uk.UTF-8
858 nscd кешує результати запросів до сервісів імен; це може сильно
859 збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS.
861 %package -n localedb-src
862 Summary: locale database source code
863 Summary(es.UTF-8): Código fuente de la base de datos de los locales
864 Summary(pl.UTF-8): Kod źródłowy bazy locale
866 Requires: %{name} = %{epoch}:%{version}-%{release}
871 %description -n localedb-src
872 This add-on package contains the data needed to build the locale data
873 files to use the internationalization features of the GNU libc.
875 %description -n localedb-src -l es.UTF-8
876 Este paquete adicional contiene los datos necesarios para construir
877 los ficheros de locale, imprescindibles para usar las cualidades de
878 internacionalización de GNU libc.
880 %description -n localedb-src -l pl.UTF-8
881 Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików
882 lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU
885 %package localedb-all
886 Summary: locale database for all locales supported by glibc
887 Summary(es.UTF-8): Base de datos de todos los locales soportados por glibc
888 Summary(pl.UTF-8): Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc
890 Requires: %{name} = %{epoch}:%{version}-%{release}
891 Requires: iconv = %{epoch}:%{version}-%{release}
894 %description localedb-all
895 This package contains locale database for all locales supported by
896 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
897 something smaller with support for chosen locales only, consider
898 installing localedb-src and regenerating database using localedb-gen
899 script (when database is generated, localedb-src can be uninstalled).
901 %description localedb-all -l es.UTF-8
902 Este paquete contiene una base de datos de todos los locales
903 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
904 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
905 locales elegidos, considérese instalar localedb-src y regenerar la
906 base de datos usando el escript localedb-gen (una vez que la base de
907 datos esté creada, localedb-src se podrá desinstalar).
909 %description localedb-all -l pl.UTF-8
910 Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji
911 obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik
912 (około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych
913 lokalizacji, należy zainstalować pakiet localedb-src i przegenerować
914 bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy
915 pakiet localedb-src można odinstalować).
918 Summary: Convert encoding of given files from one encoding to another
919 Summary(es.UTF-8): Convierte entre varias codificaciones de los ficheros dados
920 Summary(pl.UTF-8): Moduły do konwersji plików tekstowych z jednego kodowania do innego
922 Requires: %{name} = %{epoch}:%{version}-%{release}
923 Provides: iconv(%{_target_base_arch})
924 Conflicts: man-pages < 4.00
926 %description -n iconv
927 Convert encoding of given files from one encoding to another. You need
928 this package if you want to convert some document from one encoding to
929 another or if you have installed some programs which use Generic
930 Character Set Conversion Interface.
932 %description -n iconv -l es.UTF-8
933 Convierte la codificación de dados ficheros. Necesita este paquete si
934 quiere convertir un documento entre una codificación (juego de
935 caracteres) y otra, o si tiene instalado algún programa que usa el
936 Generic Character Set Conversion Interface (interfaz genérica de
937 conversión de juegos de caracteres).
939 %description -n iconv -l pl.UTF-8
940 Moduły do konwersji plików tekstowych z jednego kodowania do innego.
941 Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję
942 dokumentów z jednego kodowania do innego lub do używania programów
943 korzystających z Generic Character Set Conversion Interface w glibc,
944 czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję
945 kodowania danych z poziomu dowolnego programu.
950 %if "%{min_kernel}" < "3.2.0"
951 echo "Minimal supported kernel is 3.2.0" >&2
959 %{!?with_bash_nls:%patch4 -p1}
976 %ifarch %{arm} aarch64
980 # cleanup backups after patching
981 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
986 # glibc has its own way to remove PLT relocations. / H. J. Lu.
987 unset LD_SYMBOLIC_FUNCTIONS || :
996 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
999 # force ld bfd (instead of gold)
1000 install -d alt-tools
1001 ln -sf %{_bindir}/ld.bfd alt-tools/ld
1002 PATH=$(pwd)/alt-tools:$PATH; export PATH
1009 %if %{without crypt}
1013 --enable-experimental-malloc \
1014 --enable-hidden-plt \
1015 --enable-kernel="%{min_kernel}" \
1016 --enable-nss-crypt%{!?with_nss_crypt:=no} \
1017 --enable-obsolete-nsl \
1019 --enable-stack-protector=strong \
1020 --enable-stackguard-randomization \
1022 --with-binutils=$(pwd)/alt-tools \
1023 --with-bugurl=http://bugs.pld-linux.org/ \
1024 --with-headers=%{_includedir} \
1025 --with-selinux%{!?with_selinux:=no} \
1028 # hack: libgd (used by memusagestat) requires librt, which is built after malloc/ subdir.
1029 # First build all without libgd-dependent components (LIBGD=no)...
1032 complocaledir=%{_prefix}/lib/locale \
1033 sLIBdir=%{_libdir} \
1036 # ...then, when librt is ready, rerun make to build memusagestat
1039 complocaledir=%{_prefix}/lib/locale \
1045 env LANGUAGE=C LC_ALL=C \
1046 %{__make} -j1 -C builddir tests
1049 %if %{without cross}
1052 CC=${CC#%{_libdir}/ccache/}
1053 diet ${CC} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
1057 rm -rf $RPM_BUILD_ROOT
1058 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,default,logrotate.d} \
1059 $RPM_BUILD_ROOT{%{_mandir},/var/log,/var/{lib,run}/nscd} \
1060 $RPM_BUILD_ROOT{/var/cache/ldconfig,%{systemdtmpfilesdir}}
1063 env LANGUAGE=C LC_ALL=C \
1065 install_root=$RPM_BUILD_ROOT \
1066 complocaledir=%{_prefix}/lib/locale \
1067 infodir=%{_infodir} \
1070 %if %{with localedb}
1071 env LANGUAGE=C LC_ALL=C \
1072 %{__make} localedata/install-locales \
1073 complocaledir=%{_prefix}/lib/locale \
1074 install_root=$RPM_BUILD_ROOT
1076 install -d $RPM_BUILD_ROOT%{_prefix}/lib/locale
1079 PICFILES="libc_pic.a libc.map
1080 math/libm_pic.a libm.map
1081 resolv/libresolv_pic.a"
1083 install -p $PICFILES $RPM_BUILD_ROOT%{_libdir}
1084 install -p elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
1086 # Include %{_libdir}/gconv/gconv-modules.cache
1087 :> $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.cache
1090 %if %{without cross}
1091 install -p glibc-postinst $RPM_BUILD_ROOT/sbin
1094 %{?with_memusage:%{__mv} $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
1095 %{__mv} $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
1097 # make symlinks across top-level directories absolute
1098 for l in BrokenLocale anl %{?with_crypt:crypt} c_malloc_debug\
1099 %ifarch %{x8664} x32
1102 nss_compat nss_db nss_hesiod resolv thread_db; do
1103 test -L $RPM_BUILD_ROOT%{_libdir}/lib${l}.so || exit 1
1104 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1105 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib${l}.so.*) $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1108 # linking nss modules directly is not supported
1109 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1111 # avoid conflict on multilib
1112 %{__mv} $RPM_BUILD_ROOT%{_bindir}/ld.so{,-%{_target_cpu}}
1114 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
1115 cp -a %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
1116 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1117 cp -a nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
1118 cp -a posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
1119 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
1121 xz -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1122 # catchsegv was removed in glibc 2.35
1123 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/catchsegv.1
1125 : > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
1126 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
1127 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
1128 : > $RPM_BUILD_ROOT/var/cache/ldconfig/aux-cache
1130 # doesn't fit with out tzdata concept and configure.in is stupid assuming bash
1131 # is first posix compatible shell making this script depend on bash.
1132 %{__rm} $RPM_BUILD_ROOT%{_bindir}/tzselect
1133 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tzselect.8*
1134 %{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man8/tzselect.8*
1136 : > $RPM_BUILD_ROOT/var/log/nscd
1137 : > $RPM_BUILD_ROOT/var/lib/nscd/passwd
1138 : > $RPM_BUILD_ROOT/var/lib/nscd/group
1139 : > $RPM_BUILD_ROOT/var/lib/nscd/hosts
1141 cp -p %{SOURCE9} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/nscd.conf
1143 rm -rf documentation
1144 install -d documentation
1146 for f in DESIGN-systemtap-probes.txt TODO{,-kernel,-testing}; do
1147 cp -af nptl/$f documentation/$f.nptl
1149 cp -af crypt/README.ufc-crypt ChangeLog* documentation
1151 # Collect locale files and mark them with %%lang()
1152 echo '%defattr(644,root,root,755)' > glibc.lang
1153 for i in $RPM_BUILD_ROOT%{_localedir}/*; do
1156 dir="${i#$RPM_BUILD_ROOT}"
1157 echo "%lang($lang) $dir" >> glibc.lang
1162 # Languages not supported by glibc locales, but usable via $LANGUAGE:
1163 # ang - Old English (gtk+, gnome)
1164 # en@shaw - English with Shavian alphabet (gnome)
1166 # tlh - Klingon (bzflag)
1168 # To be added when they become supported by glibc:
1170 # ach (iso-codes, libreport, vlc)
1171 # aln (libreport, vlc)
1172 # bal (libosinfo, libreport, newt, pessulus)
1176 # co (FileZilla, libfilezilla, vlc)
1177 # es_419 (alpm - common "Spanish (Latin America)")
1178 # frp (iso-codes, lxlauncher, cinnamon, mate, xfce)
1179 # gn (iso-codes, gnome; gn_BR in gnome, maybe gn_PY)
1181 # haw (iso-codes, stellarium)
1184 # ie (xfce, cinnamon)
1185 # ilo (kudzu, libosinfo, libreport)
1186 # io (alacarte, gtk+2, gnome, iso-codes)
1188 # jv (avant-window-navigator, gmpc, kdesudo, mate, cinnamon)
1190 # kok@latin (inkscape)
1191 # kmr (iso-codes, vlc)
1195 # kw@kkcor, kw@uccor (libosinfo - currently empty) - add as supported variants when non-empty?
1196 # man (ccsm; incorrectly named md)
1197 # mni@beng[ali] (inkscape)
1201 # nah (iso-codes, mate)
1206 # pms (deluge, mate-tweak)
1208 # sat@deva[nagari] (inkscape)
1209 # sco (gnomad2, mate, picard, stellarium, cinnamon)
1210 # son (gtkspell3, iso-codes)
1216 # vec (mate-applet-indicator)
1218 # zgh (cinnamon, xapps)
1220 # To be removed (after fixing packages still using it):
1221 # sr@Latn (use sr@latin instead)
1222 # sr@ije (use sr@ijekavian instead)
1224 # Short forms (omitted country code, used instead of long form) for ambiguous or unclear cases:
1229 # ar=common? (AE, BH, DZ, EG, IQ, JO, KW, LB, LY, MA, OM, QA, SA, SD, SY, TN, YE)
1231 # ber=ber_DZ? (or common for DZ, MA?)
1233 # bo=bo_CN? (or common for CN, IN?)
1240 # en=common? (en_AU, en_CA, en_GB, en_NZ, en_US are used for particular variants)
1253 # ks@devanagari=ks_IN@devanagari
1269 # sd@devanagari=sd_IN@devanagari
1272 # sr=sr_RS [cyrillic]
1273 # sr@latin=sr_RS@latin
1274 # sr@ijekavian=sr_BA@ijekavian
1275 # sr@ijekavianlatin=sr_BA@ijekavianlatin
1277 # sw=sw_TZ (or common for KE, TZ, UG?)
1284 # zh: no short code used (use zh_CN, zh_HK, zh_SG[not included yet], zh_TW)
1286 # Omitted here - already existing (with libc.mo):
1287 # 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
1290 for i in aa aa@saaho ab af ak am an ang anp ar ar_TN as ast az az_IR \
1291 be@latin be@tarask bem ber bg bho bn bn_IN bo br brx bs byn \
1292 ca@valencia ce chr ckb cmn crh csb cv cy de_AT de_CH doi dv dz \
1293 en en@boldquot en@quot en@shaw en_AU en_CA en_IE en_NZ en_US en_ZA eo \
1294 es_AR es_CL es_CO es_CR es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_SV es_UY es_VE \
1295 et eu fa ff fil fo fr_BE fr_CA fr_CH fur fy ga gd gez gu gv \
1296 ha he hi hne ht hsb hy ia id ig ik is it_CH iu \
1297 ka kab kg kk kl km kn kok ks ks@devanagari ku kw ky la lb lg li ln lo lt lv \
1298 mai mg mhr mi mjw mk ml mn mni mr ms mt my nds ne nl_BE nn nr nso oc om or os \
1299 pa pap ps pt ps quz rm ro \
1300 sa sat sc sd sd@devanagari se shn si sid sl so sq \
1301 sr sr@Latn sr@ije sr@ijekavian sr@ijekavianlatin sr@latin ss st sw syr szl \
1302 ta te tg th ti tig tk tl tlh tn tpi ts tt tt@iqtelif \
1303 ug uk ur uz uz@cyrillic ve vi wa wal wo xh yi yo zh_HK zu; do
1304 if [ ! -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_MESSAGES ]; then
1305 install -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_MESSAGES
1306 # use lang() tags with ll_CC@variant (stripping charset and @quot|@boldquot)
1307 lang=$(echo $i | sed -e 's/@quot\>\|@boldquot\>//')
1308 echo "%lang($lang) %{_localedir}/$i" >> glibc.lang
1312 # LC_TIME category, used for localized date formats (at least by coreutils)
1313 for 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 \
1314 ms nb nl pl pt pt_BR ro ru rw sk sl sr sv tr uk vi zh_CN zh_TW; do
1315 if [ ! -d $RPM_BUILD_ROOT%{_localedir}/$i ]; then
1316 echo "%lang($lang) %{_localedir}/$i" >> glibc.lang
1318 install -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_TIME
1321 # localedb-gen infrastructure
1322 install -p %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1323 cp -p localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1325 # shutup check-files
1326 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.*
1327 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1329 # stub for man page from man-pages package to make rpm consistency check happy
1330 # don't package them here
1331 install -d $RPM_BUILD_ROOT%{_mandir}{,/ru,/es,/fr,/ja}/man2
1332 :>$RPM_BUILD_ROOT%{_mandir}/man2/syslog.2
1333 :>$RPM_BUILD_ROOT%{_mandir}/es/man2/syslog.2
1334 :>$RPM_BUILD_ROOT%{_mandir}/fr/man2/syslog.2
1335 :>$RPM_BUILD_ROOT%{_mandir}/ja/man2/syslog.2
1336 :>$RPM_BUILD_ROOT%{_mandir}/ru/man2/syslog.2
1338 # remove links to non existant translations
1339 %{__rm} $RPM_BUILD_ROOT%{_mandir}/pl/man3/{alphasort,cfgetispeed,cfgetospeed,cfmakeraw,cfsetispeed,cfsetospeed,closelog,dn_comp,dn_expand,fscanf}.3
1340 %{__rm} $RPM_BUILD_ROOT%{_mandir}/tr/man3/{encrypt_r,setkey,setkey_r}.3
1342 %if %{without crypt}
1343 %{__rm} $RPM_BUILD_ROOT%{_mandir}{,/ja}/man3/crypt{,_r}.3
1344 %{__rm} $RPM_BUILD_ROOT%{_mandir}/{de,es,fr,pl,pt,ru,tr}/man3/crypt.3
1348 rm -rf $RPM_BUILD_ROOT
1350 %if %{without cross}
1351 %post -p /sbin/postshell
1352 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
1355 %postun -p /sbin/ldconfig
1357 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1358 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1359 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1362 %triggerin -- cronie,vixie-cron,hc-cron,fcron,mcron
1363 # restart crond if glibc is upgraded, LP#721338
1364 if [ "$1" != 1 ]; then
1365 %service -q crond restart
1368 %triggerin -- apache-base
1369 if [ "$1" != 1 ]; then
1370 %service -q httpd restart
1374 # when upgrading from glibc < 6:2.19-3 copy locale-archive
1375 # from /usr/lib64/locale to /usr/lib/locale
1376 # but only if the latter doesn't already exist
1377 %triggerpostun -p /sbin/postshell -- %{name} < 6:2.19-3
1378 -/bin/cp -an %{_libdir}/locale/locale-archive %{_prefix}/lib/locale/locale-archive
1381 %post libcrypt -p /sbin/ldconfig
1382 %postun libcrypt -p /sbin/ldconfig
1384 %post memusage -p /sbin/ldconfig
1385 %postun memusage -p /sbin/ldconfig
1387 %post -n localedb-src
1389 [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
1390 [ -f /etc/sysconfig/localedb ] && . /etc/sysconfig/localedb
1391 if [ "$SUPPORTED_LOCALES" ]; then
1395 %post devel-doc -p /sbin/postshell
1396 -/usr/sbin/fix-info-dir -c %{_infodir}
1398 %postun devel-doc -p /sbin/postshell
1399 -/usr/sbin/fix-info-dir -c %{_infodir}
1402 %groupadd -P nscd -g 144 -r nscd
1403 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "Name Service Cache Daemon" -g nscd nscd
1406 if [ ! -f /var/log/nscd ]; then
1409 chown root:root /var/log/nscd
1410 chmod 640 /var/log/nscd
1412 /sbin/chkconfig --add nscd
1413 %service nscd restart "Name Service Cache Daemon"
1416 if [ "$1" = "0" ]; then
1418 /sbin/chkconfig --del nscd
1422 if [ "$1" = "0" ]; then
1428 %{_sbindir}/iconvconfig --nostdlib -o %{_libdir}/gconv/gconv-modules.cache %{_libdir}/gconv
1430 %files -f %{name}.lang
1431 %defattr(644,root,root,755)
1433 %if %{without cross}
1434 %attr(755,root,root) /sbin/glibc-postinst
1436 %ifarch %{ix86} sparc sparcv9 sparc64 alpha sh
1437 %attr(755,root,root) /%{_lib}/ld-linux.so.2
1440 %attr(755,root,root) /%{_lib}/ld-linux-ia64.so.2
1443 %attr(755,root,root) /%{_lib}/ld-linux-x86-64.so.2
1446 %attr(755,root,root) /%{_lib}/ld-linux-x32.so.2
1449 %attr(755,root,root) /%{_lib}/ld64.so.1
1452 %attr(755,root,root) /lib/ld-linux-aarch64.so.1
1454 %ifarch armv6hl armv7hl armv7hnl
1455 %attr(755,root,root) /lib/ld-linux-armhf.so.3
1457 %ifnarch %{ix86} sparc sparcv9 sparc64 alpha sh ia64 %{x8664} x32 ppc64 s390x %{arm} aarch64
1458 %attr(755,root,root) /%{_lib}/ld.so.1
1461 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1.1
1463 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1
1465 %attr(755,root,root) /%{_lib}/libanl.so.1
1467 %attr(755,root,root) /%{_lib}/libc.so.6.1
1469 %attr(755,root,root) /%{_lib}/libc.so.6
1471 # for debugging and not linking
1472 %attr(755,root,root) /%{_lib}/libc_malloc_debug.so.0
1473 %attr(755,root,root) %{_libdir}/libc_malloc_debug.so
1475 %attr(755,root,root) /%{_lib}/libdl.so.2.1
1477 %attr(755,root,root) /%{_lib}/libdl.so.2
1480 %attr(755,root,root) /%{_lib}/libm.so.6.1
1482 %attr(755,root,root) /%{_lib}/libm.so.6
1484 %ifarch %{x8664} x32
1485 %attr(755,root,root) /%{_lib}/libmvec.so.1
1488 %attr(755,root,root) /%{_lib}/libnsl.so.1.1
1490 %attr(755,root,root) /%{_lib}/libnsl.so.1
1492 %attr(755,root,root) /%{_lib}/libpthread.so.0
1494 %attr(755,root,root) /%{_lib}/libresolv.so.2.1
1496 %attr(755,root,root) /%{_lib}/libresolv.so.2
1498 %attr(755,root,root) /%{_lib}/librt.so.1
1499 %attr(755,root,root) /%{_lib}/libthread_db.so.1
1501 %attr(755,root,root) /%{_lib}/libutil.so.1.1
1503 %attr(755,root,root) /%{_lib}/libutil.so.1
1505 %dir %{_prefix}/lib/locale
1508 %defattr(644,root,root,755)
1509 %attr(755,root,root) /%{_lib}/libnss_dns.so.2
1511 #%files -n nss_files
1512 %defattr(644,root,root,755)
1513 %attr(755,root,root) /%{_lib}/libnss_files.so.2
1515 %defattr(644,root,root,755)
1517 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1518 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1520 %config %{_sysconfdir}/rpc
1522 %attr(755,root,root) /sbin/sln
1523 %attr(755,root,root) %{_bindir}/getconf
1524 %attr(755,root,root) %{_bindir}/getent
1525 %attr(755,root,root) %{_bindir}/iconv
1526 %attr(755,root,root) %{_bindir}/ld.so-%{_target_cpu}
1527 %attr(755,root,root) %{_bindir}/locale
1528 %attr(755,root,root) %{_bindir}/zdump
1529 %attr(755,root,root) %{_sbindir}/zic
1531 %dir %{_libexecdir}/getconf
1532 %attr(755,root,root) %{_libexecdir}/getconf/*
1535 %{_localedir}/locale.alias
1537 %{_mandir}/man1/getconf.1*
1538 %{_mandir}/man1/getent.1*
1539 %{_mandir}/man1/iconv.1*
1540 %{_mandir}/man1/locale.1*
1541 %{_mandir}/man5/gai.conf.5*
1542 %{_mandir}/man5/locale.5*
1543 %{_mandir}/man5/nss.5*
1544 %{_mandir}/man5/nsswitch.conf.5*
1545 %{_mandir}/man5/repertoiremap.5*
1546 %{_mandir}/man5/rpc.5*
1547 %{_mandir}/man5/tzfile.5*
1548 %{_mandir}/man7/armscii-8.7*
1549 %{_mandir}/man7/ascii.7*
1550 %{_mandir}/man7/charsets.7*
1551 %{_mandir}/man7/cp1251.7*
1552 %{_mandir}/man7/cp1252.7*
1553 %{_mandir}/man7/iso-8859-*.7*
1554 %{_mandir}/man7/iso_8859-*.7*
1555 %{_mandir}/man7/iso_8859_*.7*
1556 %{_mandir}/man7/koi8-*.7*
1557 %{_mandir}/man7/latin*.7*
1558 %{_mandir}/man7/locale.7*
1559 %{_mandir}/man7/tis-620.7*
1560 %{_mandir}/man7/unicode.7*
1561 %{_mandir}/man7/utf-8.7*
1562 %{_mandir}/man7/utf8.7*
1563 %{_mandir}/man8/ld-linux.8*
1564 %{_mandir}/man8/ld-linux.so.8*
1565 %{_mandir}/man8/ld.so.8*
1566 %{_mandir}/man8/sln.8*
1567 %{_mandir}/man8/zdump.8*
1568 %{_mandir}/man8/zic.8*
1569 %lang(cs) %{_mandir}/cs/man7/ascii.7*
1570 %lang(cs) %{_mandir}/cs/man7/locale.7*
1571 %lang(cs) %{_mandir}/cs/man7/unicode.7*
1572 %lang(cs) %{_mandir}/cs/man7/utf-8.7*
1573 %lang(cs) %{_mandir}/cs/man7/utf8.7*
1574 %lang(de) %{_mandir}/de/man5/rpc.5*
1575 %lang(de) %{_mandir}/de/man5/tzfile.5*
1576 %lang(de) %{_mandir}/de/man7/ascii.7*
1577 %lang(de) %{_mandir}/de/man7/iso-8859-*.7*
1578 %lang(de) %{_mandir}/de/man7/iso_8859-*.7*
1579 %lang(de) %{_mandir}/de/man7/iso_8859_*.7*
1580 %lang(de) %{_mandir}/de/man7/latin*.7*
1581 %lang(de) %{_mandir}/de/man7/locale.7*
1582 %lang(de) %{_mandir}/de/man7/unicode.7*
1583 %lang(de) %{_mandir}/de/man7/utf-8.7*
1584 %lang(de) %{_mandir}/de/man7/utf8.7*
1585 %lang(es) %{_mandir}/es/man5/locale.5*
1586 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1587 %lang(es) %{_mandir}/es/man5/rpc.5*
1588 %lang(es) %{_mandir}/es/man5/tzfile.5*
1589 %lang(es) %{_mandir}/es/man7/ascii.7*
1590 %lang(es) %{_mandir}/es/man7/charsets.7*
1591 %lang(es) %{_mandir}/es/man7/iso-8859-*.7*
1592 %lang(es) %{_mandir}/es/man7/iso_8859-*.7*
1593 %lang(es) %{_mandir}/es/man7/iso_8859_*.7*
1594 %lang(es) %{_mandir}/es/man7/latin*.7*
1595 %lang(es) %{_mandir}/es/man7/locale.7*
1596 %lang(es) %{_mandir}/es/man7/unicode.7*
1597 %lang(es) %{_mandir}/es/man7/utf-8.7*
1598 %lang(es) %{_mandir}/es/man7/utf8.7*
1599 %lang(es) %{_mandir}/es/man8/ld-linux.8*
1600 %lang(es) %{_mandir}/es/man8/ld-linux.so.8*
1601 %lang(es) %{_mandir}/es/man8/ld.so.8*
1602 %lang(es) %{_mandir}/es/man8/zdump.8*
1603 %lang(es) %{_mandir}/es/man8/zic.8*
1604 %lang(fr) %{_mandir}/fr/man1/getent.1*
1605 %lang(fr) %{_mandir}/fr/man1/locale.1*
1606 %lang(fr) %{_mandir}/fr/man5/gai.conf.5*
1607 %lang(fr) %{_mandir}/fr/man5/locale.5*
1608 %lang(fr) %{_mandir}/fr/man5/nss.5*
1609 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1610 %lang(fr) %{_mandir}/fr/man5/rpc.5*
1611 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1612 %lang(fr) %{_mandir}/fr/man7/armscii-8.7*
1613 %lang(fr) %{_mandir}/fr/man7/ascii.7*
1614 %lang(fr) %{_mandir}/fr/man7/charsets.7*
1615 %lang(fr) %{_mandir}/fr/man7/cp1251.7*
1616 %lang(fr) %{_mandir}/fr/man7/iso-8859-*.7*
1617 %lang(fr) %{_mandir}/fr/man7/iso_8859-*.7*
1618 %lang(fr) %{_mandir}/fr/man7/iso_8859_*.7*
1619 %lang(fr) %{_mandir}/fr/man7/koi8-r.7*
1620 %lang(fr) %{_mandir}/fr/man7/koi8-u.7*
1621 %lang(fr) %{_mandir}/fr/man7/latin*.7*
1622 %lang(fr) %{_mandir}/fr/man7/locale.7*
1623 %lang(fr) %{_mandir}/fr/man7/unicode.7*
1624 %lang(fr) %{_mandir}/fr/man7/utf-8.7*
1625 %lang(fr) %{_mandir}/fr/man7/utf8.7*
1626 %lang(fr) %{_mandir}/fr/man8/ld-linux.8*
1627 %lang(fr) %{_mandir}/fr/man8/ld-linux.so.8*
1628 %lang(fr) %{_mandir}/fr/man8/ld.so.8*
1629 %lang(fr) %{_mandir}/fr/man8/sln.8*
1630 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1631 %lang(fr) %{_mandir}/fr/man8/zic.8*
1632 %lang(hu) %{_mandir}/hu/man7/ascii.7*
1633 %lang(hu) %{_mandir}/hu/man7/iso-8859-*.7*
1634 %lang(hu) %{_mandir}/hu/man7/iso_8859-*.7*
1635 %lang(hu) %{_mandir}/hu/man7/iso_8859_*.7*
1636 %lang(hu) %{_mandir}/hu/man7/latin*.7*
1637 %lang(hu) %{_mandir}/hu/man7/locale.7*
1638 %lang(hu) %{_mandir}/hu/man7/utf-8.7*
1639 %lang(hu) %{_mandir}/hu/man7/utf8.7*
1640 %lang(hu) %{_mandir}/hu/man8/ld-linux.8*
1641 %lang(hu) %{_mandir}/hu/man8/ld-linux.so.8*
1642 %lang(hu) %{_mandir}/hu/man8/ld.so.8*
1643 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1644 %lang(it) %{_mandir}/it/man5/locale.5*
1645 %lang(it) %{_mandir}/it/man7/ascii.7*
1646 %lang(it) %{_mandir}/it/man7/charsets.7*
1647 %lang(it) %{_mandir}/it/man7/iso-8859-*.7*
1648 %lang(it) %{_mandir}/it/man7/iso_8859-*.7*
1649 %lang(it) %{_mandir}/it/man7/iso_8859_*.7*
1650 %lang(it) %{_mandir}/it/man7/latin*.7*
1651 %lang(it) %{_mandir}/it/man7/locale.7*
1652 %lang(it) %{_mandir}/it/man7/unicode.7*
1653 %lang(it) %{_mandir}/it/man7/utf-8.7*
1654 %lang(it) %{_mandir}/it/man7/utf8.7*
1655 %lang(it) %{_mandir}/it/man8/zdump.8*
1656 %lang(ja) %{_mandir}/ja/man1/getent.1*
1657 %lang(ja) %{_mandir}/ja/man1/iconv.1*
1658 %lang(ja) %{_mandir}/ja/man1/locale.1*
1659 %lang(ja) %{_mandir}/ja/man5/gai.conf.5*
1660 %lang(ja) %{_mandir}/ja/man5/locale.5*
1661 %lang(ja) %{_mandir}/ja/man5/nss.5*
1662 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1663 %lang(ja) %{_mandir}/ja/man5/repertoiremap.5*
1664 %lang(ja) %{_mandir}/ja/man5/rpc.5*
1665 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1666 %lang(ja) %{_mandir}/ja/man7/armscii-8.7*
1667 %lang(ja) %{_mandir}/ja/man7/ascii.7*
1668 %lang(ja) %{_mandir}/ja/man7/charsets.7*
1669 %lang(ja) %{_mandir}/ja/man7/cp1251.7*
1670 %lang(ja) %{_mandir}/ja/man7/cp1252.7*
1671 %lang(ja) %{_mandir}/ja/man7/iso-8859-*.7*
1672 %lang(ja) %{_mandir}/ja/man7/iso_8859-*.7*
1673 %lang(ja) %{_mandir}/ja/man7/iso_8859_*.7*
1674 %lang(ja) %{_mandir}/ja/man7/koi8-*.7*
1675 %lang(ja) %{_mandir}/ja/man7/latin*.7*
1676 %lang(ja) %{_mandir}/ja/man7/locale.7*
1677 %lang(ja) %{_mandir}/ja/man7/tis-620.7*
1678 %lang(ja) %{_mandir}/ja/man7/unicode.7*
1679 %lang(ja) %{_mandir}/ja/man7/utf-8.7*
1680 %lang(ja) %{_mandir}/ja/man7/utf8.7*
1681 %lang(ja) %{_mandir}/ja/man8/ld-linux.8*
1682 %lang(ja) %{_mandir}/ja/man8/ld-linux.so.8*
1683 %lang(ja) %{_mandir}/ja/man8/ld.so.8*
1684 %lang(ja) %{_mandir}/ja/man8/sln.8*
1685 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1686 %lang(ja) %{_mandir}/ja/man8/zic.8*
1687 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1688 %lang(ko) %{_mandir}/ko/man5/rpc.5*
1689 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1690 %lang(ko) %{_mandir}/ko/man7/ascii.7*
1691 %lang(ko) %{_mandir}/ko/man7/iso-8859-*.7*
1692 %lang(ko) %{_mandir}/ko/man7/iso_8859-*.7*
1693 %lang(ko) %{_mandir}/ko/man7/iso_8859_*.7*
1694 %lang(ko) %{_mandir}/ko/man7/latin*.7*
1695 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1696 %lang(pl) %{_mandir}/pl/man5/locale.5*
1697 %lang(pl) %{_mandir}/pl/man5/rpc.5*
1698 %lang(pl) %{_mandir}/pl/man7/ascii.7*
1699 %lang(pl) %{_mandir}/pl/man7/iso-8859-*.7*
1700 %lang(pl) %{_mandir}/pl/man7/iso_8859-*.7*
1701 %lang(pl) %{_mandir}/pl/man7/iso_8859_*.7*
1702 %lang(pl) %{_mandir}/pl/man7/koi8-*.7*
1703 %lang(pl) %{_mandir}/pl/man7/latin*.7*
1704 %lang(pl) %{_mandir}/pl/man7/locale.7*
1705 %lang(pl) %{_mandir}/pl/man7/unicode.7*
1706 %lang(pl) %{_mandir}/pl/man7/utf-8.7*
1707 %lang(pl) %{_mandir}/pl/man7/utf8.7*
1708 %lang(pl) %{_mandir}/pl/man8/ld-linux.8*
1709 %lang(pl) %{_mandir}/pl/man8/ld-linux.so.8*
1710 %lang(pl) %{_mandir}/pl/man8/ld.so.8*
1711 %lang(pt) %{_mandir}/pt/man5/locale.5*
1712 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1713 %lang(pt) %{_mandir}/pt/man5/rpc.5*
1714 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1715 %lang(pt) %{_mandir}/pt/man7/ascii.7*
1716 %lang(pt) %{_mandir}/pt/man7/charsets.7*
1717 %lang(pt) %{_mandir}/pt/man7/iso-8859-*.7*
1718 %lang(pt) %{_mandir}/pt/man7/iso_8859-*.7*
1719 %lang(pt) %{_mandir}/pt/man7/iso_8859_*.7*
1720 %lang(pt) %{_mandir}/pt/man7/koi8-*.7*
1721 %lang(pt) %{_mandir}/pt/man7/latin*.7*
1722 %lang(pt) %{_mandir}/pt/man7/locale.7*
1723 %lang(pt) %{_mandir}/pt/man7/unicode.7*
1724 %lang(pt) %{_mandir}/pt/man7/utf-8.7*
1725 %lang(pt) %{_mandir}/pt/man7/utf8.7*
1726 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1727 %lang(pt) %{_mandir}/pt/man8/zic.8*
1728 %lang(ru) %{_mandir}/ru/man1/getent.1*
1729 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1730 %lang(ru) %{_mandir}/ru/man1/locale.1*
1731 %lang(ru) %{_mandir}/ru/man5/locale.5*
1732 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1733 %lang(ru) %{_mandir}/ru/man5/rpc.5*
1734 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1735 %lang(ru) %{_mandir}/ru/man7/ascii.7*
1736 %lang(ru) %{_mandir}/ru/man7/charsets.7*
1737 %lang(ru) %{_mandir}/ru/man7/iso-8859-*.7*
1738 %lang(ru) %{_mandir}/ru/man7/iso_8859-*.7*
1739 %lang(ru) %{_mandir}/ru/man7/iso_8859_*.7*
1740 %lang(ru) %{_mandir}/ru/man7/koi8-*.7*
1741 %lang(ru) %{_mandir}/ru/man7/latin*.7*
1742 %lang(ru) %{_mandir}/ru/man7/locale.7*
1743 %lang(ru) %{_mandir}/ru/man7/unicode.7*
1744 %lang(ru) %{_mandir}/ru/man7/utf-8.7*
1745 %lang(ru) %{_mandir}/ru/man7/utf8.7*
1746 %lang(ru) %{_mandir}/ru/man8/ld-linux.so.8*
1747 %lang(ru) %{_mandir}/ru/man8/ld.so.8*
1748 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1749 %lang(ru) %{_mandir}/ru/man8/zic.8*
1750 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1751 %lang(uk) %{_mandir}/uk/man5/rpc.5*
1752 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1753 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1754 %lang(zh_CN) %{_mandir}/zh_CN/man5/rpc.5*
1755 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1756 %lang(zh_CN) %{_mandir}/zh_CN/man7/ascii.7*
1757 %lang(zh_CN) %{_mandir}/zh_CN/man7/charsets.7*
1758 %lang(zh_CN) %{_mandir}/zh_CN/man7/locale.7*
1759 %lang(zh_CN) %{_mandir}/zh_CN/man7/unicode.7*
1760 %lang(zh_CN) %{_mandir}/zh_CN/man7/utf-8.7*
1761 %lang(zh_CN) %{_mandir}/zh_CN/man7/utf8.7*
1762 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1763 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1764 %lang(zh_TW) %{_mandir}/zh_TW/man1/iconv.1*
1765 %lang(zh_TW) %{_mandir}/zh_TW/man5/locale.5*
1766 %lang(zh_TW) %{_mandir}/zh_TW/man5/rpc.5*
1767 %lang(zh_TW) %{_mandir}/zh_TW/man5/tzfile.5*
1768 %lang(zh_TW) %{_mandir}/zh_TW/man7/ascii.7*
1769 %lang(zh_TW) %{_mandir}/zh_TW/man7/charsets.7*
1770 %lang(zh_TW) %{_mandir}/zh_TW/man7/locale.7*
1771 %lang(zh_TW) %{_mandir}/zh_TW/man7/unicode.7*
1772 %lang(zh_TW) %{_mandir}/zh_TW/man7/utf-8.7*
1773 %lang(zh_TW) %{_mandir}/zh_TW/man7/utf8.7*
1774 %lang(zh_TW) %{_mandir}/zh_TW/man8/zdump.8*
1775 %lang(zh_TW) %{_mandir}/zh_TW/man8/zic.8*
1778 %defattr(644,root,root,755)
1779 %attr(755,root,root) %{_bindir}/ldd
1780 %attr(755,root,root) %{_bindir}/pldd
1781 %ifarch m68k sparc sparcv9
1782 %attr(755,root,root) %{_bindir}/lddlibc4
1784 %attr(755,root,root) %{_bindir}/sotruss
1785 %dir %{_libdir}/audit
1786 %attr(755,root,root) %{_libdir}/audit/sotruss-lib.so
1788 %{_mandir}/man1/ldd.1*
1789 %{_mandir}/man1/pldd.1*
1790 %lang(cs) %{_mandir}/cs/man1/ldd.1*
1791 %lang(es) %{_mandir}/es/man1/ldd.1*
1792 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1793 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1794 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1795 %lang(it) %{_mandir}/it/man1/ldd.1*
1796 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1797 %lang(ja) %{_mandir}/ja/man1/pldd.1*
1798 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1799 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1800 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1801 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1802 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1803 %lang(zh_TW) %{_mandir}/zh_TW/man1/ldd.1*
1807 %defattr(644,root,root,755)
1809 %attr(755,root,root) /%{_lib}/libcrypt.so.1.1
1811 %attr(755,root,root) /%{_lib}/libcrypt.so.1
1816 %defattr(644,root,root,755)
1817 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1818 %dir %{_sysconfdir}/ld.so.conf.d
1819 %ghost %{_sysconfdir}/ld.so.cache
1820 %attr(755,root,root) /sbin/ldconfig
1821 %{_mandir}/man8/ldconfig.8*
1822 %lang(es) %{_mandir}/es/man8/ldconfig.8*
1823 %lang(fr) %{_mandir}/fr/man8/ldconfig.8*
1824 %lang(hu) %{_mandir}/hu/man8/ldconfig.8*
1825 %lang(ja) %{_mandir}/ja/man8/ldconfig.8*
1826 %lang(pl) %{_mandir}/pl/man8/ldconfig.8*
1827 %lang(pt) %{_mandir}/pt/man8/ldconfig.8*
1828 %lang(ru) %{_mandir}/ru/man8/ldconfig.8*
1829 %dir %attr(700,root,root) /var/cache/ldconfig
1830 %attr(600,root,root) %ghost /var/cache/ldconfig/aux-cache
1832 %files -n nss_compat
1833 %defattr(644,root,root,755)
1834 %attr(755,root,root) /%{_lib}/libnss_compat.so.2
1837 %defattr(644,root,root,755)
1838 %attr(755,root,root) %{_bindir}/makedb
1839 %attr(755,root,root) /%{_lib}/libnss_db.so.2
1842 %files -n nss_hesiod
1843 %defattr(644,root,root,755)
1844 %attr(755,root,root) /%{_lib}/libnss_hesiod.so.2
1846 %if %{with memusage}
1848 %defattr(644,root,root,755)
1849 %attr(755,root,root) %{_bindir}/memusage
1850 %attr(755,root,root) %{_bindir}/memusagestat
1851 %attr(755,root,root) %{_libdir}/libmemusage.so
1852 %{_mandir}/man1/memusage.1*
1853 %{_mandir}/man1/memusagestat.1*
1854 %lang(ja) %{_mandir}/ja/man1/memusage.1*
1855 %lang(ja) %{_mandir}/ja/man1/memusagestat.1*
1859 %defattr(644,root,root,755)
1860 %attr(755,root,root) %{_libdir}/libBrokenLocale.so
1861 %{?with_crypt:%attr(755,root,root) %{_libdir}/libcrypt.so}
1862 # for dlopen and not linking
1863 %attr(755,root,root) %{_libdir}/libanl.so
1864 %attr(755,root,root) %{_libdir}/libm.so
1865 %ifarch %{x8664} x32
1866 %attr(755,root,root) %{_libdir}/libmvec.so
1868 %attr(755,root,root) %{_libdir}/libpcprofile.so
1869 %attr(755,root,root) %{_libdir}/libresolv.so
1870 # for dlopen and not linking
1871 %attr(755,root,root) %{_libdir}/libthread_db.so
1872 # empty archives, so linking with obsolete -lXX (these below) works
1875 %{_libdir}/libpthread.a
1877 %{_libdir}/libutil.a
1878 %{_libdir}/crt[1in].o
1879 %{_libdir}/[MSgr]crt1.o
1880 %{?with_static_pie:%{_libdir}/grcrt1.o}
1884 %{_libdir}/libc_nonshared.a
1886 %ifarch alpha ppc sparc
1887 %{_libdir}/libnldbl_nonshared.a
1889 %ifarch %{ix86} %{x8664} x32 ppc ppc64 s390 s390x sparc sparcv9 sparc64 aarch64 armv6hl armv7hl armv7hnl
1890 # ABI-dependent headers
1891 %{_includedir}/gnu/stubs-*.h
1895 %defattr(644,root,root,755)
1898 %{_includedir}/alpha
1902 %dir %{_includedir}/finclude
1903 %{_includedir}/finclude/math-vector-fortran.h
1904 %dir %{_includedir}/gnu
1905 %{_includedir}/gnu/lib*.h
1906 %{_includedir}/gnu/stubs.h
1908 %{_includedir}/netash
1909 %{_includedir}/netatalk
1910 %{_includedir}/netax25
1911 %{_includedir}/neteconet
1912 %{_includedir}/netiucv
1913 %{_includedir}/netinet
1914 %{_includedir}/netipx
1915 %{_includedir}/netpacket
1916 %{_includedir}/netrom
1917 %{_includedir}/netrose
1919 %{_includedir}/protocols
1925 %defattr(644,root,root,755)
1926 %attr(755,root,root) %{_bindir}/gencat
1927 %attr(755,root,root) %{_bindir}/mtrace
1928 %attr(755,root,root) %{_bindir}/pcprofiledump
1929 %attr(755,root,root) %{_bindir}/sprof
1930 %attr(755,root,root) %{_bindir}/xtrace
1931 %{_mandir}/man1/mtrace.1*
1932 %{_mandir}/man1/sprof.1*
1933 %lang(ja) %{_mandir}/ja/man1/mtrace.1*
1934 %lang(ja) %{_mandir}/ja/man1/sprof.1*
1935 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1938 %defattr(644,root,root,755)
1939 %doc documentation/*
1940 %{_infodir}/libc.info*
1942 %{_mandir}/man2/getcwd.2*
1944 %{_mandir}/man7/aio.7*
1945 %{_mandir}/man7/attributes.7*
1946 %{_mandir}/man7/complex.7*
1947 %{_mandir}/man7/feature_test_macros.7*
1948 %{_mandir}/man7/glibc.7*
1949 %{_mandir}/man7/glob.7*
1950 %{_mandir}/man7/libc.7*
1951 %{_mandir}/man7/math_error.7*
1952 %{_mandir}/man7/nptl.7*
1953 %{_mandir}/man7/posixoptions.7*
1954 %{_mandir}/man7/pthreads.7*
1955 %{_mandir}/man7/queue.7*
1956 %{_mandir}/man7/rtld-audit.7*
1957 %{_mandir}/man7/sem_overview.7*
1958 %{_mandir}/man7/shm_overview.7*
1959 %{_mandir}/man7/system_data_types.7*
1960 %lang(cs) %{_mandir}/cs/man3/*
1961 %lang(de) %{_mandir}/de/man3/*
1962 %lang(es) %{_mandir}/es/man3/*
1963 %lang(es) %{_mandir}/es/man7/glob.7*
1964 %lang(fr) %{_mandir}/fr/man3/*
1965 %lang(fr) %{_mandir}/fr/man7/aio.7*
1966 %lang(fr) %{_mandir}/fr/man7/complex.7*
1967 %lang(fr) %{_mandir}/fr/man7/feature_test_macros.7*
1968 %lang(fr) %{_mandir}/fr/man7/glibc.7*
1969 %lang(fr) %{_mandir}/fr/man7/glob.7*
1970 %lang(fr) %{_mandir}/fr/man7/libc.7*
1971 %lang(fr) %{_mandir}/fr/man7/math_error.7*
1972 %lang(fr) %{_mandir}/fr/man7/posixoptions.7*
1973 %lang(fr) %{_mandir}/fr/man7/pthreads.7*
1974 %lang(fr) %{_mandir}/fr/man7/rtld-audit.7*
1975 %lang(fr) %{_mandir}/fr/man7/sem_overview.7*
1976 %lang(fr) %{_mandir}/fr/man7/shm_overview.7*
1977 %lang(hu) %{_mandir}/hu/man3/*
1978 %lang(it) %{_mandir}/it/man3/*
1979 %lang(it) %{_mandir}/it/man7/glob.7*
1980 %lang(ja) %{_mandir}/ja/man2/getcwd.2*
1981 %lang(ja) %{_mandir}/ja/man3/*
1982 %lang(ja) %{_mandir}/ja/man7/aio.7*
1983 %lang(ja) %{_mandir}/ja/man7/complex.7*
1984 %lang(ja) %{_mandir}/ja/man7/feature_test_macros.7*
1985 %lang(ja) %{_mandir}/ja/man7/glibc.7*
1986 %lang(ja) %{_mandir}/ja/man7/glob.7*
1987 %lang(ja) %{_mandir}/ja/man7/libc.7*
1988 %lang(ja) %{_mandir}/ja/man7/math_error.7*
1989 %lang(ja) %{_mandir}/ja/man7/posixoptions.7*
1990 %lang(ja) %{_mandir}/ja/man7/pthreads.7*
1991 %lang(ja) %{_mandir}/ja/man7/sem_overview.7*
1992 %lang(ja) %{_mandir}/ja/man7/shm_overview.7*
1993 %lang(ko) %{_mandir}/ko/man3/*
1994 %lang(nl) %{_mandir}/nl/man3/*
1995 %lang(pl) %{_mandir}/pl/man3/*
1996 %lang(pt) %{_mandir}/pt/man3/*
1997 %lang(pt) %{_mandir}/pt/man7/glob.7*
1998 %lang(ru) %{_mandir}/ru/man3/*
1999 %lang(ru) %{_mandir}/ru/man7/glob.7*
2000 %lang(tr) %{_mandir}/tr/man3/*
2001 %lang(uk) %{_mandir}/uk/man3/*
2002 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
2003 %lang(zh_CN) %{_mandir}/zh_CN/man7/glob.7*
2004 %lang(zh_TW) %{_mandir}/zh_TW/man3/*
2005 %lang(zh_TW) %{_mandir}/zh_TW/man7/glob.7*
2008 %defattr(644,root,root,755)
2009 %{_libdir}/libBrokenLocale.a
2011 %{?with_crypt:%{_libdir}/libcrypt.a}
2013 %{_libdir}/libmcheck.a
2014 %ifarch %{x8664} x32
2015 %{_libdir}/libm-%{core_version}.a
2016 %{_libdir}/libmvec.a
2018 %{_libdir}/libresolv.a
2021 %defattr(644,root,root,755)
2022 %{_libdir}/libBrokenLocale_p.a
2023 %{_libdir}/libanl_p.a
2025 %{?with_crypt:%{_libdir}/libcrypt_p.a}
2026 %{_libdir}/libdl_p.a
2028 %ifarch %{x8664} x32
2029 %{_libdir}/libmvec_p.a
2031 %{_libdir}/libpthread_p.a
2032 %{_libdir}/libresolv_p.a
2033 %{_libdir}/librt_p.a
2034 %{_libdir}/libutil_p.a
2037 %defattr(644,root,root,755)
2038 %{_libdir}/libc_pic.a
2039 %{_libdir}/libm_pic.a
2040 %{_libdir}/libresolv_pic.a
2046 %defattr(644,root,root,755)
2047 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
2048 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
2049 %attr(754,root,root) /etc/rc.d/init.d/nscd
2050 %attr(755,root,root) %{_sbindir}/nscd*
2051 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
2052 %attr(640,root,root) %ghost /var/log/nscd
2053 %{systemdtmpfilesdir}/nscd.conf
2056 %attr(600,root,root) %ghost /var/lib/nscd/passwd
2057 %attr(600,root,root) %ghost /var/lib/nscd/group
2058 %attr(600,root,root) %ghost /var/lib/nscd/hosts
2059 %{_mandir}/man5/nscd.conf.5*
2060 %{_mandir}/man8/nscd.8*
2061 %{_mandir}/man8/nscd_nischeck.8*
2062 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
2063 %lang(es) %{_mandir}/es/man8/nscd.8*
2064 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
2065 %lang(fr) %{_mandir}/fr/man8/nscd.8*
2066 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
2067 %lang(ja) %{_mandir}/ja/man8/nscd.8*
2068 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
2069 %lang(pt) %{_mandir}/pt/man8/nscd.8*
2070 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
2071 %lang(ru) %{_mandir}/ru/man8/nscd.8*
2072 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
2073 %lang(zh_TW) %{_mandir}/zh_TW/man5/nscd.conf.5*
2075 %files -n localedb-src
2076 %defattr(644,root,root,755)
2077 %attr(755,root,root) %{_bindir}/localedef
2078 %attr(755,root,root) %{_bindir}/localedb-gen
2080 %{_mandir}/man1/localedef.1*
2081 %lang(ru) %{_mandir}/ru/man1/localedef.1*
2083 %if %{with localedb}
2085 %defattr(644,root,root,755)
2086 %{_prefix}/lib/locale/locale-archive
2090 %defattr(644,root,root,755)
2091 %attr(755,root,root) %{_sbindir}/iconvconfig
2092 %dir %{_libdir}/gconv
2093 %{_libdir}/gconv/gconv-modules
2094 %dir %{_libdir}/gconv/gconv-modules.d
2095 %{_libdir}/gconv/gconv-modules.d/gconv-modules-extra.conf
2096 %verify(not md5 mtime size) %{_libdir}/gconv/gconv-modules.cache
2097 %attr(755,root,root) %{_libdir}/gconv/*.so
2098 %{_mandir}/man8/iconvconfig.8*
2099 %lang(ja) %{_mandir}/ja/man8/iconvconfig.8*