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.38
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: 778cce0ea6bf7f84ca8caacf4a01f45b
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: f669f6c0b8163c75566d30157fdd2e0f
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
86 Patch10: %{name}-info.patch
87 Patch11: %{name}-autoconf.patch
89 Patch14: %{name}-sparc-errno_fix.patch
90 Patch15: %{name}-new-charsets.patch
92 # additions pending for upstream merge or taken from other distros
93 Patch17: %{name}-morelocales.patch
94 # fixes mostly pending for upstream merge
95 Patch18: %{name}-locale_fixes.patch
96 Patch19: %{name}-ZA_collate.patch
98 Patch23: %{name}-pt_pax.patch
100 Patch30: glibc-rh1124987.patch
101 Patch31: arm-widevine-compat.patch
102 URL: http://www.gnu.org/software/libc/
103 %{?with_selinux:BuildRequires: audit-libs-devel}
104 BuildRequires: autoconf >= 2.71
105 BuildRequires: automake
106 BuildRequires: binutils >= 4:2.29
107 BuildRequires: bison >= 2.7
108 %{!?with_cross:BuildRequires: dietlibc-static}
109 BuildRequires: gawk >= 3.1.2
111 BuildRequires: gcc >= 6:10.1.0
114 BuildRequires: gcc >= 6:8.0
116 BuildRequires: gcc >= 6:6.2
119 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
120 BuildRequires: gettext-tools >= 0.10.36
121 %{?with_selinux:BuildRequires: libcap-devel}
122 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
123 BuildRequires: linux-libc-headers >= %{llh_version}
124 BuildRequires: make >= 1:4.0
125 %{?with_nss_crypt:BuildRequires: nss-devel >= 1:3.15.1-2}
126 BuildRequires: perl-base
127 BuildRequires: python3 >= 1:3.4
128 BuildRequires: python3-modules >= 1:3.4
129 BuildRequires: rpm-build >= 4.3-0.20030610.28
130 BuildRequires: rpmbuild(macros) >= 1.752
131 BuildRequires: sed >= 4.0.5
132 BuildRequires: tar >= 1:1.22
133 BuildRequires: texinfo >= 4.7
135 Requires(post): ldconfig = %{epoch}:%{version}-%{release}
137 Requires: ldconfig = %{epoch}:%{version}-%{release}
138 Requires: uname(release) >= %{min_kernel}
139 Provides: %{name}(%{_target_cpu}) = %{epoch}:%{version}-%{release}
141 Provides: %{name}(ix86) = %{epoch}:%{version}-%{release}
143 Provides: glibc(nptl)
145 Provides: rtld(GNU_HASH)
146 Obsoletes: glibc-common
147 Obsoletes: glibc-debug < 2.1
148 Obsoletes: glibc-ld < 6:2.33-2
149 %ifarch %{x8664} sparc64 ppc64
155 Conflicts: %{name}-misc < %{epoch}:%{version}-%{release}
156 Conflicts: SysVinit < 2.86-11
157 Conflicts: kernel < 3:%{min_kernel}
159 Conflicts: kernel24-smp
160 Conflicts: ld.so < 1.9.9-10
161 Conflicts: man-pages < 4.00
162 Conflicts: openssh-server < 2:8.2p1-1
163 Conflicts: poldek < 0.30.1-9
164 Conflicts: rc-scripts < 0.3.1-13
166 Conflicts: util-linux < 2.35.1-2
167 Conflicts: xorg-driver-video-nvidia-libs < 1:295.33
168 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} x32 ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64 armv5tel armv6hl armv7hl armv7hnl aarch64
169 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
171 # errno, ps_*, __resp, __h_errno symbols
172 %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
174 # avoid -s here (ld.so must not be stripped to allow any program debugging)
175 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
176 # disable -D_FORTIFY_SOURCE=X and -fstack-protector
177 %define _fortify_cflags %{nil}
178 %define _ssp_cflags %{nil}
180 %define specflags_sparcv9 -mcpu=ultrasparc -mvis -fcall-used-g6
181 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
183 # ld.so needs not to be stripped to work
184 # gdb needs unstripped libpthread for some threading support
185 # ...but we can strip at least debuginfo from them
186 %define _autostripdebug .*/ld-[0-9.]*so\\|.*/libpthread-[0-9.]*so
188 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
189 %ifarch sparc sparcv9
190 %{expand:%%define __cc %{__cc} -m32}
194 %define specflags_ia32 -mno-tls-direct-seg-refs
195 %define specflags_x86_64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
196 %define specflags_amd64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
197 %define specflags_ia32e -mno-tls-direct-seg-refs
199 # we don't want perl dependency in glibc-devel
200 %define _noautoreqfiles %{_bindir}/mtrace
201 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
202 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
203 # patched not to crash on partial hardlinks too)
204 %define _hack_dontneed_PartialHardlinkSets 1
205 %define _noautochrpath .*\\(ldconfig\\|sln\\)
207 # don't generate deps for ldconfig to avoid loop and force rpm to install it before glibc
208 %define _noautoprov .*\(GLIBC_PRIVATE\)
209 %define _noautoreq .*\(GLIBC_PRIVATE\) /sbin/ldconfig
211 # to avoid multi-arch conflicts on getconf/* files
212 %define _libexecdir %{_libdir}
215 Contains the standard libraries that are used by multiple programs on
216 the system. In order to save disk space and memory, as well as to ease
217 upgrades, common system code is kept in one place and shared between
218 programs. This package contains the most important sets of shared
219 libraries, the standard C library and the standard math library.
220 Without these, a Linux system will not function. It also contains
221 national language (locale) support.
223 Can be used on: Linux kernel >= %{min_kernel}.
225 %description -l es.UTF-8
226 Contiene las bibliotecas estándared que son usadas por varios
227 programas del sistema. Para ahorrar el espacio en el disco y la
228 memoria, igual que para facilitar actualizaciones, código común del
229 sistema se guarda en un sitio y es compartido entre los programas.
230 Este paquete contiene las bibliotecas compartidas más importantes, es
231 decir la biblioteca C estándar y la biblioteca estándar de matemática.
232 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
233 soporte de idiomas nacionales (locale).
235 Puede usarse con: núcleo Linux >= %{min_kernel}.
237 %description -l de.UTF-8
238 Enthält die Standard-Libraries, die von verschiedenen Programmen im
239 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
240 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
241 einer einzigen Stelle gespeichert und wird von den Programmen
242 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
243 shared Libraries, die Standard-C-Library und die
244 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
245 Ferner enthält es den Support für die verschiedenen Sprachgregionen
248 Can be used on: Linux kernel >= %{min_kernel}.
250 %description -l fr.UTF-8
251 Contient les bibliothèques standards utilisées par de nombreux
252 programmes du système. Afin d'économiser l'espace disque et mémoire,
253 et de faciliter les mises à jour, le code commun au système est mis à
254 un endroit et partagé entre les programmes. Ce paquetage contient les
255 bibliothèques partagées les plus importantes, la bibliothèque standard
256 du C et la bibliothèque mathématique standard. Sans celles-ci, un
257 système Linux ne peut fonctionner. Il contient aussi la gestion des
258 langues nationales (locales).
260 Can be used on: Linux kernel >= %{min_kernel}.
262 %description -l ja.UTF-8
264 パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
265 ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
266 用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
267 間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
268 重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
269 この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc
270 パッケージはまた地域言語 (locale) サポートとタイムゾーンデータベース
273 Can be used on: Linux kernel >= %{min_kernel}.
275 %description -l pl.UTF-8
276 W pakiecie znajdują się podstawowe biblioteki, używane przez różne
277 programy w Twoim systemie. Używanie przez programy bibliotek z tego
278 pakietu oszczędza miejsce na dysku i pamięć. Większość kodu
279 systemowego jest usytuowane w jednym miejscu i dzielone między wieloma
280 programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek
281 standardowych, współdzielonych (dynamicznych) bibliotek C i
282 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować.
283 Znajdują się tutaj również definicje różnych informacji dla wielu
286 Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}.
288 %description -l ru.UTF-8
289 Содержит стандартные библиотеки, используемые многочисленными
290 программами в системе. Для того, чтобы сохранить дисковое пространство
291 и память, а также для простоты обновления, системный код, общий для
292 всех программ, хранится в одном месте и коллективно используется всеми
293 программами. Этот пакет содержит наиболее важные из разделяемых
294 библиотек - стандартную библиотеку C и стандартную библиотеку
295 математики. Без этих библиотек Linux функционировать не будет. Также
296 пакет содержит поддержку национальных языков (locale).
298 Can be used on: Linux kernel >= %{min_kernel}.
300 %description -l tr.UTF-8
301 Bu paket, birçok programın kullandığı standart kitaplıkları içerir.
302 Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme
303 işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde
304 tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak
305 kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını
306 içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel
307 dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır.
309 Can be used on: Linux kernel >= %{min_kernel}.
311 %description -l uk.UTF-8
312 Містить стандартні бібліотеки, котрі використовуються численними
313 програмами в системі. Для того, щоб зберегти дисковий простір та
314 пам'ять, а також для простоти поновлення системи, системний код,
315 спільний для всіх програм, зберігається в одному місці і колективно
316 використовується всіма програмами. Цей пакет містить найбільш важливі
317 з динамічних бібліотек - стандартну бібліотеку С та стандартну
318 бібліотеку математики. Без цих бібліотек Linux функціонувати не буде.
319 Також пакет містить підтримку національних мов (locale).
321 Can be used on: Linux kernel >= %{min_kernel}.
324 Summary: Utilities and data used by glibc
325 Summary(pl.UTF-8): Narzędzia i dane używane przez glibc
326 Group: Applications/System
327 Suggests: libidn2 >= 2.0.5
328 Requires: %{name} = %{epoch}:%{version}-%{release}
330 Conflicts: %{name}(x32)
331 Conflicts: %{name}(x86_64)
333 Conflicts: man-pages < 4.00
336 Utilities and data used by glibc.
338 %description misc -l pl.UTF-8
339 Narzędzia i dane używane przez glibc.
342 Summary: glibc library for crypt(3)
343 Summary(pl.UTF-8): Biblioteka glibc z funkcją crypt(3)
345 Requires: %{name} = %{epoch}:%{version}-%{release}
346 Provides: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
348 Provides: %{name}-libcrypt(ix86) = %{epoch}:%{version}-%{release}
350 Provides: crypt(blowfish)
352 %description libcrypt
353 glibc library for crypt(3).
355 %description libcrypt -l pl.UTF-8
356 Biblioteka glibc z funkcją crypt(3).
359 Summary: Create shared library cache and maintains symlinks
360 Summary(de.UTF-8): Erstellt ein shared library cache und verwaltet symlinks
361 Summary(fr.UTF-8): Crée un cache de bibliothčque partagée et gčre *.so
362 Summary(pl.UTF-8): Tworzenie cache'u bibliotek dynamicznych i ich dowiązań symbolicznych
363 Summary(tr.UTF-8): Ortak kitaplýk önbelleđi yaratýr ve bađlantýlarý kurar
364 Group: Applications/System
365 Requires: uname(release) >= %{min_kernel}
366 # we want FHS being installed before ldconfig, altho they are both unrelated to each-other.
368 Provides: rtld(GNU_HASH)
369 # This is needed because previous package (glibc) had autoreq false and had
370 # provided this manually. Probably poldek bug that have to have it here.
371 Provides: /sbin/ldconfig
372 Conflicts: glibc-ld < 6:2.33-2
374 %description -n ldconfig
375 ldconfig scans a running system and sets up the symbolic links that
376 are used to load shared libraries properly. It also creates
377 /etc/ld.so.cache which speeds the loading programs which use shared
380 %description -n ldconfig -l de.UTF-8
381 ldconfig scannt ein laufendes System und richtet die symbolischen
382 Verknüpfungen zum Laden der gemeinsam genutzten Libraries ein.
383 Außerdem erstellt es /etc/ld.so.cache, was das Laden von Programmen
384 mit gemeinsam genutzten Libraries beschleunigt.
386 %description -n ldconfig -l fr.UTF-8
387 ldconfig analyse un systčme et configure les liens symboliques
388 utilisés pour charger correctement les bibliothčques partagées. Il
389 crée aussi /etc/ld.so.cache qui accélčre le chargement des programmes
390 utilisant les bibliothčques partagées.
392 %description -n ldconfig -l pl.UTF-8
393 ldconfig testuje uruchomiony system i tworzy dowiązania symboliczne,
394 które są następnie używane do poprawnego ładowania bibliotek
395 dynamicznych. Program ten tworzy plik /etc/ld.so.cache, który
396 przyśpiesza ładowanie programów korzystających z bibliotek
399 %description -n ldconfig -l tr.UTF-8
400 ldconfig, çalýţmakta olan sistemi araţtýrýr ve ortak kitaplýklarýn
401 düzgün bir ţekilde yüklenmesi için gereken simgesel bađlantýlarý
402 kurar. Ayrýca ortak kitaplýklarý kullanan programlarýn yüklenmesini
403 hýzlandýran /etc/ld.so.cache dosyasýný yaratýr.
405 %package -n nss_compat
406 Summary: Old style NYS NSS glibc module
407 Summary(es.UTF-8): El antiguo módulo NYS NSS de glibc
408 Summary(pl.UTF-8): Stary moduł NYS NSS glibc
410 Requires: %{name} = %{epoch}:%{version}-%{release}
412 %description -n nss_compat
413 Old style NYS NSS glibc module.
415 %description -n nss_compat -l es.UTF-8
416 El antiguo módulo NYS NSS de glibc
418 %description -n nss_compat -l pl.UTF-8
419 Stary moduł NYS NSS glibc.
422 Summary: NSS glibc module that uses hashed key-value database
423 Summary(pl.UTF-8): Moduł NSS glibc wykorzystujący haszowaną bazę danych klucz-wartość
425 Requires: %{name} = %{epoch}:%{version}-%{release}
427 %description -n nss_db
428 NSS glibc module that uses hashed key-value database.
430 %description -n nss_db -l pl.UTF-8
431 Moduł NSS glibc wykorzystujący haszowaną bazę danych klucz-wartość.
434 Summary: BIND NSS glibc module
435 Summary(es.UTF-8): Módulo BIND NSS de glibc
436 Summary(pl.UTF-8): Moduł BIND NSS glibc
438 Requires: %{name} = %{epoch}:%{version}-%{release}
440 %description -n nss_dns
441 BIND NSS glibc module.
443 %description -n nss_dns -l es.UTF-8
444 Módulo BIND NSS de glibc.
446 %description -n nss_dns -l pl.UTF-8
447 Moduł BIND NSS glibc.
449 %package -n nss_files
450 Summary: Traditional files databases NSS glibc module
451 Summary(es.UTF-8): Módulo de tradicionales bases de datos en ficheros para glibc
452 Summary(pl.UTF-8): Moduł tradycyjnych plikowych baz danych NSS glibc
454 Requires: %{name} = %{epoch}:%{version}-%{release}
456 %description -n nss_files
457 Traditional files databases NSS glibc module.
459 %description -n nss_files -l es.UTF-8
460 Módulo de tradicionales bases de datos en ficheros para glibc.
462 %description -n nss_files -l pl.UTF-8
463 Moduł tradycyjnych plikowych baz danych NSS glibc.
465 %package -n nss_hesiod
466 Summary: hesiod NSS glibc module
467 Summary(es.UTF-8): Módulo hesiod NSS de glibc
468 Summary(pl.UTF-8): Moduł hesiod NSS glibc
470 Requires: %{name} = %{epoch}:%{version}-%{release}
472 %description -n nss_hesiod
473 glibc NSS (Name Service Switch) module for databases access.
475 %description -n nss_hesiod -l es.UTF-8
476 Módulo hesiod NSS de glibc.
478 %description -n nss_hesiod -l pl.UTF-8
479 Moduł glibc NSS (Name Service Switch) dostępu do baz danych.
482 Summary: Memory usage profiler
483 Summary(pl.UTF-8): Narzędzie do profilowania zużycia pamięci
484 Group: Development/Tools
485 Requires: %{name} = %{epoch}:%{version}-%{release}
486 Conflicts: man-pages < 4.00
488 %description memusage
489 Memory usage profiler.
491 %description memusage -l pl.UTF-8
492 Narzędzie do profilowania zużycia pamięci.
495 Summary: Additional libraries required to compile
496 Summary(de.UTF-8): Weitere Libraries zum Kompilieren
497 Summary(es.UTF-8): Bibliotecas adicionales necesarias para la compilación
498 Summary(fr.UTF-8): Librairies supplémentaires nécessaires à la compilation
499 Summary(ja.UTF-8): 標準 C ライブラリで使われるヘッダーとオブジェクトファイル
500 Summary(pl.UTF-8): Dodatkowe biblioteki wymagane podczas kompilacji
501 Summary(ru.UTF-8): Дополнительные библиотеки, необходимые для компиляции
502 Summary(tr.UTF-8): Geliştirme için gerekli diğer kitaplıklar
503 Summary(uk.UTF-8): Додаткові бібліотеки, потрібні для компіляції
504 Group: Development/Libraries
505 Requires: %{name} = %{epoch}:%{version}-%{release}
506 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
507 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
509 Requires: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
511 Requires: libxcrypt-devel >= 4.0.0
513 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
515 Provides: %{name}-devel(ix86) = %{epoch}:%{version}-%{release}
517 Obsoletes: libiconv-devel
519 # see http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2016-May/024902.html
520 %if "%(rpm -q --qf '%{E}:%{V}' binutils)" >= "4:2.26"
521 Conflicts: binutils < 4:2.26
526 To develop programs which use the standard C libraries (which nearly
527 all programs do), the system needs to have these standard header files
528 and object files available for creating the executables.
530 %description devel -l de.UTF-8
531 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
532 verwenden (also fast alle), benötigt das System diese Standard-Header-
533 und Objektdateien zum Erstellen der ausführbaren Programme.
535 %description devel -l es.UTF-8
536 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
537 cual hacen prácticamente todos los programas), el sistema necesita
538 disponer de estos ficheros de cabecera y de objetos para crear los
541 %description devel -l fr.UTF-8
542 Pour développer des programmes utilisant les bibliothèques standard du
543 C (ce que presque tous les programmes font), le système doit posséder
544 ces fichiers en-têtes et objets standards pour créer les exécutables.
546 %description devel -l ja.UTF-8
547 glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C
548 ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト
550 ライブラリを使用するプログラムを開発するなら
551 実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル
554 %description devel -l pl.UTF-8
555 Pakiet ten jest niezbędny przy tworzeniu własnych programów
556 korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki
557 nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów
558 wykonywalnych i innych bibliotek.
560 %description devel -l ru.UTF-8
561 Для разработки программ, использующих стандартные библиотеки C (а
562 практически все программы их используют), системе НЕОБХОДИМЫ хедеры и
563 объектные файлы, содержащиеся в этом пакете, чтобы создавать
566 %description devel -l tr.UTF-8
567 C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar
568 geliştirmek için gereken standart başlık dosyaları ve statik
571 %description devel -l uk.UTF-8
572 Для розробки програм, що використовують стандартні бібліотеки C
573 (практично всі програми їх використовують), системі НЕОБХІДНІ хедери
574 та об'єктні файли, що містяться в цьому пакеті, цоб створювати
578 Summary: Header files for development using standard C libraries
579 Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C
580 Group: Development/Building
581 Provides: %{name}-header-cpu-%{_target_cpu} = %{epoch}:%{version}-%{release}
583 Provides: %{name}-headers-cpu-ix86 = %{epoch}:%{version}-%{release}
586 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
587 # have to be installed, not ix86 one.
588 Obsoletes: glibc-headers-cpu-athlon
589 Obsoletes: glibc-headers-cpu-i386
590 Obsoletes: glibc-headers-cpu-i486
591 Obsoletes: glibc-headers-cpu-i586
592 Obsoletes: glibc-headers-cpu-i686
593 Obsoletes: glibc-headers-cpu-ix86
594 Obsoletes: glibc-headers-cpu-pentium3
595 Obsoletes: glibc-headers-cpu-pentium4
598 Obsoletes: glibc-headers-cpu-x86_64
601 Obsoletes: glibc-headers-cpu-ppc
604 Obsoletes: glibc-headers-cpu-s390
607 Obsoletes: glibc-headers-cpu-sparc
609 Requires: linux-libc-headers >= %{llh_version}
612 The glibc-headers package contains the header files necessary for
613 developing programs which use the standard C libraries (which are used
614 by nearly all programs). If you are developing programs which will use
615 the standard C libraries, your system needs to have these standard
616 header files available in order to create the executables.
618 Install glibc-headers if you are going to develop programs which will
619 use the standard C libraries.
621 %description headers -l pl.UTF-8
622 Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania
623 programów używających standardowych bibliotek C (używanych przez
624 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
625 standardowych bibliotek C, system wymaga dostępności tych
626 standardowych plików nagłówkowych do tworzenia programów
629 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
630 korzystające ze standardowych bibliotek C.
633 Summary: Utilities needed for development using standard C libraries
634 Summary(pl.UTF-8): Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C
635 Group: Development/Libraries
636 Provides: %{name}-devel-util-cpu-%{_target_cpu} = %{epoch}:%{version}-%{release}
638 Provides: %{name}-devel-utils-cpu-ix86 = %{epoch}:%{version}-%{release}
641 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
642 # have to be installed, not ix86 one.
643 Obsoletes: glibc-devel-utils-cpu-athlon
644 Obsoletes: glibc-devel-utils-cpu-i386
645 Obsoletes: glibc-devel-utils-cpu-i486
646 Obsoletes: glibc-devel-utils-cpu-i586
647 Obsoletes: glibc-devel-utils-cpu-i686
648 Obsoletes: glibc-devel-utils-cpu-ix86
649 Obsoletes: glibc-devel-utils-cpu-pentium3
650 Obsoletes: glibc-devel-utils-cpu-pentium4
653 Obsoletes: glibc-devel-utils-cpu-x86_64
656 Obsoletes: glibc-devel-utils-cpu-ppc
659 Obsoletes: glibc-devel-utils-cpu-s390
662 Obsoletes: glibc-devel-utils-cpu-sparc
664 Conflicts: man-pages < 4.00
666 %description devel-utils
667 The glibc-devel-utils package contains utilities necessary for
668 developing programs which use the standard C libraries (which are used
669 by nearly all programs). If you are developing programs which will use
670 the standard C libraries, your system needs to have these utilities
673 Install glibc-devel-utils if you are going to develop programs which
674 will use the standard C libraries.
676 %description devel-utils -l pl.UTF-8
677 Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania
678 programów używających standardowych bibliotek C (używanych przez
679 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
680 standardowych bibliotek C, system wymaga dostępności tych narzędzi do
681 tworzenia programów wykonywalnych.
683 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
684 korzystające ze standardowych bibliotek C.
687 Summary: Documentation needed for development using standard C libraries
688 Summary(pl.UTF-8): Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C
690 Conflicts: man-pages < 4.09
693 %description devel-doc
694 The glibc-devel-doc package contains info and manual pages necessary
695 for developing programs which use the standard C libraries (which are
696 used by nearly all programs).
698 Install glibc-devel-doc if you are going to develop programs which
699 will use the standard C libraries.
701 %description devel-doc -l pl.UTF-8
702 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
703 rozwijania programów używających standardowych bibliotek C (używanych
704 przez prawie wszystkie programy).
706 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
707 korzystające ze standardowych bibliotek C.
710 Summary: Static GNU libc libraries
711 Summary(es.UTF-8): Bibliotecas estáticas
712 Summary(pl.UTF-8): Biblioteki statyczne GNU libc
713 Summary(ru.UTF-8): Статические библиотеки glibc
714 Summary(uk.UTF-8): Статичні бібліотеки glibc
715 Group: Development/Libraries
716 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
717 %{!?with_crypt:Requires: libxcrypt-static >= 4.0.0}
718 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
720 Provides: %{name}-static(ix86) = %{epoch}:%{version}-%{release}
722 Obsoletes: libiconv-static
725 GNU libc static libraries.
727 %description static -l es.UTF-8
728 Bibliotecas estáticas de GNU libc.
730 %description static -l pl.UTF-8
731 Biblioteki statyczne GNU libc.
733 %description static -l ru.UTF-8
734 Это отдельный пакет со статическими библиотеками, которые больше не
735 входят в glibc-devel.
737 %description static -l uk.UTF-8
738 Це окремий пакет зі статичними бібліотеками, що більше не входять в
742 Summary: glibc with profiling support
743 Summary(de.UTF-8): glibc mit Profil-Unterstützung
744 Summary(es.UTF-8): glibc con soporte de perfilamiento
745 Summary(fr.UTF-8): glibc avec support pour profiling
746 Summary(pl.UTF-8): glibc ze wsparciem dla profilowania
747 Summary(ru.UTF-8): GNU libc с поддержкой профайлера
748 Summary(tr.UTF-8): Ölçüm desteği olan glibc
749 Summary(uk.UTF-8): GNU libc з підтримкою профайлера
750 Group: Development/Libraries/Libc
751 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
752 Obsoletes: libc-profile < 6
755 When programs are being profiled using gprof, they must use these
756 libraries instead of the standard C libraries for gprof to be able to
757 profile them correctly.
759 %description profile -l de.UTF-8
760 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
761 Libraries anstelle der üblichen C-Libraries verwendet werden.
763 %description profile -l es.UTF-8
764 Cuando programas son perfilidas usando gprof, tienen que usar estas
765 biblioteces en vez de las estándares para que gprof pueda perfilarlas
768 %description profile -l pl.UTF-8
769 Programy profilowane za pomocą gprof muszą używać tych bibliotek
770 zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je
773 %description profile -l uk.UTF-8
774 Коли програми досліджуються профайлером gprof, вони повинні
775 використовувати замість стандартних бібліотек бібліотеки, що містяться
776 в цьому пакеті. При використанні стандартних бібліотек gprof замість
777 реальних результатів буде показувати ціни на папайю в Гонолулу в
780 %description profile -l tr.UTF-8
781 gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu
782 kitaplığı kullanmak zorundadırlar.
784 %description profile -l ru.UTF-8
785 Когда программы исследуются профайлером gprof, они должны
786 использовать, вместо стандартных библиотек, библиотеки, включенные в
787 этот пакет. При использовании стандартных библиотек gprof вместо
788 реальных результатов будет показывать цены на папайю в Гонолулу в
792 Summary: glibc PIC archive
793 Summary(es.UTF-8): Archivo PIC de glibc
794 Summary(pl.UTF-8): Archiwum PIC glibc
795 Group: Development/Libraries/Libc
796 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
799 GNU C Library PIC archive contains an archive library (ar file)
800 composed of individual shared objects. This is used for creating a
801 library which is a smaller subset of the standard libc shared library.
803 %description pic -l es.UTF-8
804 El archivo PIC de la biblioteca glibc contiene una biblioteca
805 archivada (un fichero ar) compuesta de individuales objetos
806 compartidos. Es usado para crear una biblioteca que sea un subconjunto
807 más pequeño de la biblioteca libc compartida estándar.
809 %description pic -l pl.UTF-8
810 Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar)
811 złożoną z pojedynczych obiektów współdzielonych. Używana jest do
812 tworzenia biblioteki będącej mniejszym podzestawem standardowej
813 biblioteki współdzielonej libc.
816 Summary: Name Service Caching Daemon
817 Summary(es.UTF-8): Demonio de caché del servicio de nombres
818 Summary(ja.UTF-8): ネームサービスキャッシングデーモン (nacd)
819 Summary(pl.UTF-8): Demon zapamiętujący odpowiedzi serwisów nazw
820 Summary(ru.UTF-8): Кэширующий демон сервисов имен
821 Summary(uk.UTF-8): Кешуючий демон севісів імен
823 Group: Networking/Daemons
824 Requires(post): fileutils
825 Requires(post,preun): /sbin/chkconfig
826 Requires(postun): /usr/sbin/groupdel
827 Requires(postun): /usr/sbin/userdel
828 Requires(pre): /bin/id
829 Requires(pre): /usr/bin/getgid
830 Requires(pre): /usr/sbin/groupadd
831 Requires(pre): /usr/sbin/useradd
832 Requires: %{name} = %{epoch}:%{version}-%{release}
833 %{?with_selinux:Requires: libselinux >= 1.18}
834 Requires: rc-scripts >= 0.4.3.0
835 Provides: group(nscd)
841 nscd caches name service lookups; it can dramatically improve
842 performance with NIS+, and may help with DNS as well.
844 %description -n nscd -l es.UTF-8
845 nscd guarda las peticiones del servicio de nombres en una caché; eso
846 puede aumentar drásticamente las prestaciones de NIS+, y también puede
849 %description -n nscd -l ja.UTF-8
850 Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
851 ドラマティックに改善することができ、DNS を同様に補助します。
853 %description -n nscd -l pl.UTF-8
854 nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
855 drastycznie poprawić szybkość działania NIS+.
857 %description -n nscd -l ru.UTF-8
858 nscd кэширует результаты запросов к сервисам имен; это может резко
859 увеличить производительность работы с NIS+ и, также, может помочь с
862 %description -n nscd -l uk.UTF-8
863 nscd кешує результати запросів до сервісів імен; це може сильно
864 збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS.
866 %package -n localedb-src
867 Summary: locale database source code
868 Summary(es.UTF-8): Código fuente de la base de datos de los locales
869 Summary(pl.UTF-8): Kod źródłowy bazy locale
871 Requires: %{name} = %{epoch}:%{version}-%{release}
876 %description -n localedb-src
877 This add-on package contains the data needed to build the locale data
878 files to use the internationalization features of the GNU libc.
880 %description -n localedb-src -l es.UTF-8
881 Este paquete adicional contiene los datos necesarios para construir
882 los ficheros de locale, imprescindibles para usar las cualidades de
883 internacionalización de GNU libc.
885 %description -n localedb-src -l pl.UTF-8
886 Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików
887 lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU
890 %package localedb-all
891 Summary: locale database for all locales supported by glibc
892 Summary(es.UTF-8): Base de datos de todos los locales soportados por glibc
893 Summary(pl.UTF-8): Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc
895 Requires: %{name} = %{epoch}:%{version}-%{release}
896 Requires: iconv = %{epoch}:%{version}-%{release}
899 %description localedb-all
900 This package contains locale database for all locales supported by
901 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
902 something smaller with support for chosen locales only, consider
903 installing localedb-src and regenerating database using localedb-gen
904 script (when database is generated, localedb-src can be uninstalled).
906 %description localedb-all -l es.UTF-8
907 Este paquete contiene una base de datos de todos los locales
908 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
909 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
910 locales elegidos, considérese instalar localedb-src y regenerar la
911 base de datos usando el escript localedb-gen (una vez que la base de
912 datos esté creada, localedb-src se podrá desinstalar).
914 %description localedb-all -l pl.UTF-8
915 Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji
916 obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik
917 (około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych
918 lokalizacji, należy zainstalować pakiet localedb-src i przegenerować
919 bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy
920 pakiet localedb-src można odinstalować).
923 Summary: Convert encoding of given files from one encoding to another
924 Summary(es.UTF-8): Convierte entre varias codificaciones de los ficheros dados
925 Summary(pl.UTF-8): Moduły do konwersji plików tekstowych z jednego kodowania do innego
927 Requires: %{name} = %{epoch}:%{version}-%{release}
928 Provides: iconv(%{_target_base_arch})
929 Conflicts: man-pages < 4.00
931 %description -n iconv
932 Convert encoding of given files from one encoding to another. You need
933 this package if you want to convert some document from one encoding to
934 another or if you have installed some programs which use Generic
935 Character Set Conversion Interface.
937 %description -n iconv -l es.UTF-8
938 Convierte la codificación de dados ficheros. Necesita este paquete si
939 quiere convertir un documento entre una codificación (juego de
940 caracteres) y otra, o si tiene instalado algún programa que usa el
941 Generic Character Set Conversion Interface (interfaz genérica de
942 conversión de juegos de caracteres).
944 %description -n iconv -l pl.UTF-8
945 Moduły do konwersji plików tekstowych z jednego kodowania do innego.
946 Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję
947 dokumentów z jednego kodowania do innego lub do używania programów
948 korzystających z Generic Character Set Conversion Interface w glibc,
949 czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję
950 kodowania danych z poziomu dowolnego programu.
955 %if "%{min_kernel}" < "3.2.0"
956 echo "Minimal supported kernel is 3.2.0" >&2
964 %{!?with_bash_nls:%patch4 -p1}
982 %ifarch %{arm} aarch64
986 # cleanup backups after patching
987 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
992 # glibc has its own way to remove PLT relocations. / H. J. Lu.
993 unset LD_SYMBOLIC_FUNCTIONS || :
1002 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
1005 # force ld bfd (instead of gold)
1006 install -d alt-tools
1007 ln -sf %{_bindir}/ld.bfd alt-tools/ld
1008 PATH=$(pwd)/alt-tools:$PATH; export PATH
1019 --enable-hidden-plt \
1020 --enable-kernel="%{min_kernel}" \
1021 --enable-nss-crypt%{!?with_nss_crypt:=no} \
1022 --enable-obsolete-nsl \
1024 --enable-stack-protector=strong \
1025 --enable-stackguard-randomization \
1026 --with-binutils=$(pwd)/alt-tools \
1027 --with-bugurl=http://bugs.pld-linux.org/ \
1028 --with-headers=%{_includedir} \
1029 --with-selinux%{!?with_selinux:=no} \
1032 # hack: libgd (used by memusagestat) requires librt, which is built after malloc/ subdir.
1033 # First build all without libgd-dependent components (LIBGD=no)...
1036 complocaledir=%{_prefix}/lib/locale \
1037 sLIBdir=%{_libdir} \
1040 # ...then, when librt is ready, rerun make to build memusagestat
1043 complocaledir=%{_prefix}/lib/locale \
1049 env LANGUAGE=C LC_ALL=C \
1050 %{__make} -j1 -C builddir tests
1053 %if %{without cross}
1056 CC=${CC#%{_libdir}/ccache/}
1057 diet ${CC} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
1061 rm -rf $RPM_BUILD_ROOT
1062 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,default,logrotate.d} \
1063 $RPM_BUILD_ROOT{%{_mandir},/var/log,/var/{lib,run}/nscd} \
1064 $RPM_BUILD_ROOT{/var/cache/ldconfig,%{systemdtmpfilesdir}}
1067 env LANGUAGE=C LC_ALL=C \
1069 install_root=$RPM_BUILD_ROOT \
1070 complocaledir=%{_prefix}/lib/locale \
1071 infodir=%{_infodir} \
1074 %if %{with localedb}
1075 env LANGUAGE=C LC_ALL=C \
1076 %{__make} localedata/install-locales \
1077 complocaledir=%{_prefix}/lib/locale \
1078 install_root=$RPM_BUILD_ROOT
1080 install -d $RPM_BUILD_ROOT%{_prefix}/lib/locale
1083 PICFILES="libc_pic.a libc.map
1084 math/libm_pic.a libm.map
1085 resolv/libresolv_pic.a"
1087 install -p $PICFILES $RPM_BUILD_ROOT%{_libdir}
1088 install -p elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
1090 # Include %{_libdir}/gconv/gconv-modules.cache
1091 :> $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.cache
1094 %if %{without cross}
1095 install -p glibc-postinst $RPM_BUILD_ROOT/sbin
1098 %{?with_memusage:%{__mv} $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
1099 %{__mv} $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
1101 # make symlinks across top-level directories absolute
1102 for l in BrokenLocale anl %{?with_crypt:crypt} c_malloc_debug\
1103 %ifarch %{x8664} x32 aarch64
1106 nss_compat nss_db nss_hesiod resolv thread_db; do
1107 test -L $RPM_BUILD_ROOT%{_libdir}/lib${l}.so || exit 1
1108 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1109 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib${l}.so.*) $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1112 # linking nss modules directly is not supported
1113 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1115 # avoid conflict on multilib
1116 %{__mv} $RPM_BUILD_ROOT%{_bindir}/ld.so{,-%{_target_cpu}}
1118 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
1119 cp -a %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
1120 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1121 cp -a nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
1122 cp -a posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
1123 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
1125 xz -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1126 # catchsegv was removed in glibc 2.35
1127 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/catchsegv.1
1129 : > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
1130 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
1131 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
1132 : > $RPM_BUILD_ROOT/var/cache/ldconfig/aux-cache
1134 # doesn't fit with out tzdata concept and configure.in is stupid assuming bash
1135 # is first posix compatible shell making this script depend on bash.
1136 %{__rm} $RPM_BUILD_ROOT%{_bindir}/tzselect
1137 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tzselect.8*
1138 %{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man8/tzselect.8*
1140 : > $RPM_BUILD_ROOT/var/log/nscd
1141 : > $RPM_BUILD_ROOT/var/lib/nscd/passwd
1142 : > $RPM_BUILD_ROOT/var/lib/nscd/group
1143 : > $RPM_BUILD_ROOT/var/lib/nscd/hosts
1145 cp -p %{SOURCE9} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/nscd.conf
1147 rm -rf documentation
1148 install -d documentation
1150 for f in DESIGN-systemtap-probes.txt TODO{,-kernel,-testing}; do
1151 cp -af nptl/$f documentation/$f.nptl
1153 cp -af crypt/README.ufc-crypt ChangeLog* documentation
1155 # Collect locale files and mark them with %%lang()
1156 echo '%defattr(644,root,root,755)' > glibc.lang
1157 for i in $RPM_BUILD_ROOT%{_localedir}/*; do
1160 dir="${i#$RPM_BUILD_ROOT}"
1161 echo "%lang($lang) $dir" >> glibc.lang
1166 # Languages not supported by glibc locales, but usable via $LANGUAGE:
1167 # ang - Old English (gtk+, gnome)
1168 # en@shaw - English with Shavian alphabet (gnome)
1170 # tlh - Klingon (bzflag)
1172 # To be added when they become supported by glibc:
1174 # ach (iso-codes, libreport, vlc)
1175 # aln (libreport, vlc)
1176 # bal (libosinfo, libreport, newt, pessulus)
1180 # co (FileZilla, libfilezilla, vlc)
1181 # es_419 (alpm - common "Spanish (Latin America)")
1182 # frp (iso-codes, lxlauncher, cinnamon, mate, xfce)
1183 # gn (iso-codes, gnome; gn_BR in gnome, maybe gn_PY)
1185 # haw (iso-codes, stellarium)
1188 # ie (GNOME, xfce, cinnamon)
1189 # ilo (kudzu, libosinfo, libreport)
1190 # io (alacarte, gtk+2, gnome, iso-codes)
1192 # jv (avant-window-navigator, gmpc, kdesudo, mate, cinnamon)
1194 # kok@latin (inkscape)
1195 # kmr (iso-codes, vlc)
1199 # kw@kkcor, kw@uccor (libosinfo - currently empty) - add as supported variants when non-empty?
1200 # man (ccsm; incorrectly named md)
1201 # mni@beng[ali] (inkscape)
1202 # mo (cinnamon, iso-codes)
1205 # nah (iso-codes, mate)
1210 # pms (deluge, mate-tweak)
1213 # sat@deva[nagari] (inkscape)
1214 # sco (gnomad2, mate, picard, stellarium, cinnamon)
1215 # son (gtkspell3, iso-codes)
1221 # vec (mate-applet-indicator)
1223 # zgh (cinnamon, xapps)
1225 # To be removed (after fixing packages still using it):
1226 # sr@Latn (use sr@latin instead)
1227 # sr@ije (use sr@ijekavian instead)
1229 # Short forms (omitted country code, used instead of long form) for ambiguous or unclear cases:
1234 # ar=common? (AE, BH, DZ, EG, IQ, JO, KW, LB, LY, MA, OM, QA, SA, SD, SY, TN, YE)
1237 # ber=ber_DZ? (or common for DZ, MA?)
1239 # bo=bo_CN? (or common for CN, IN?)
1246 # en=common? (en_AU, en_CA, en_GB, en_NZ, en_US are used for particular variants)
1259 # ks@devanagari=ks_IN@devanagari
1275 # sd@devanagari=sd_IN@devanagari
1278 # sr=sr_RS [cyrillic]
1279 # sr@latin=sr_RS@latin
1280 # sr@ijekavian=sr_BA@ijekavian
1281 # sr@ijekavianlatin=sr_BA@ijekavianlatin
1283 # sw=sw_TZ (or common for KE, TZ, UG?)
1290 # zh: no short code used (use zh_CN, zh_HK, zh_SG[not included yet], zh_TW)
1292 # Omitted here - already existing (with libc.mo):
1293 # 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
1296 for i in aa aa@saaho ab af ak am an ang anp ar ar_TN as ast az az_IR ay \
1297 be@latin be@tarask bem ber bg bho bn bn_IN bo br brx bs byn \
1298 ca@valencia ce chr ckb cmn crh csb cv cy de_AT de_CH doi dv dz \
1299 en en@boldquot en@quot en@shaw en_AU en_CA en_IE en_NZ en_US en_ZA eo \
1300 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 \
1301 et eu fa ff fil fo fr_BE fr_CA fr_CH fur fy ga gd gez gu gv \
1302 ha he hi hne ht hsb hy ia id ig ik is it_CH iu \
1303 ka kab kg kk kl km kn kok ks ks@devanagari ku kw ky la lb lg li ln lo lt lv \
1304 mai mg mhr mi mjw mk ml mn mni mr ms mt my nds ne nl_BE nn nr nso oc om or os \
1305 pa pap ps pt ps quz rm ro \
1306 sa sat sc sd sd@devanagari se shn si sid sl so sq \
1307 sr sr@Latn sr@ije sr@ijekavian sr@ijekavianlatin sr@latin ss st sw syr szl \
1308 ta te tg th ti tig tk tl tlh tn tpi ts tt tt@iqtelif \
1309 ug uk ur uz uz@cyrillic ve vi wa wal wo xh yi yo zh_HK zu; do
1310 if [ ! -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_MESSAGES ]; then
1311 install -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_MESSAGES
1312 # use lang() tags with ll_CC@variant (stripping charset and @quot|@boldquot)
1313 lang=$(echo $i | sed -e 's/@quot\>\|@boldquot\>//')
1314 echo "%lang($lang) %{_localedir}/$i" >> glibc.lang
1318 # LC_TIME category, used for localized date formats (at least by coreutils)
1319 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 ka kk ko lg lt \
1320 ms nb nl pl pt pt_BR ro ru rw sk sl sr sv ta tr uk vi zh_CN zh_TW; do
1321 if [ ! -d $RPM_BUILD_ROOT%{_localedir}/$i ]; then
1322 echo "%lang($lang) %{_localedir}/$i" >> glibc.lang
1324 install -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_TIME
1327 # localedb-gen infrastructure
1328 install -p %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1329 cp -p localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1331 # shutup check-files
1332 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.*
1333 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1335 # stub for man page from man-pages package to make rpm consistency check happy
1336 # don't package them here
1337 install -d $RPM_BUILD_ROOT%{_mandir}{,/ru,/es,/fr,/ja}/man2
1338 :>$RPM_BUILD_ROOT%{_mandir}/man2/syslog.2
1339 :>$RPM_BUILD_ROOT%{_mandir}/es/man2/syslog.2
1340 :>$RPM_BUILD_ROOT%{_mandir}/fr/man2/syslog.2
1341 :>$RPM_BUILD_ROOT%{_mandir}/ja/man2/syslog.2
1342 :>$RPM_BUILD_ROOT%{_mandir}/ru/man2/syslog.2
1344 # remove links to non existant translations
1345 %{__rm} $RPM_BUILD_ROOT%{_mandir}/pl/man3/{alphasort,cfgetispeed,cfgetospeed,cfmakeraw,cfsetispeed,cfsetospeed,closelog,dn_comp,dn_expand,fscanf}.3
1346 %{__rm} $RPM_BUILD_ROOT%{_mandir}/tr/man3/{encrypt_r,setkey,setkey_r}.3
1348 %if %{without crypt}
1349 %{__rm} $RPM_BUILD_ROOT%{_mandir}{,/ja}/man3/crypt{,_r}.3
1350 %{__rm} $RPM_BUILD_ROOT%{_mandir}/{de,es,fr,pl,pt,ru,tr}/man3/crypt.3
1354 rm -rf $RPM_BUILD_ROOT
1356 %if %{without cross}
1357 %post -p /sbin/postshell
1358 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
1361 %postun -p /sbin/ldconfig
1363 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1364 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1365 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1368 %triggerin -- cronie,vixie-cron,hc-cron,fcron,mcron
1369 # restart crond if glibc is upgraded, LP#721338
1370 if [ "$1" != 1 ]; then
1371 %service -q crond restart
1374 %triggerin -- apache-base
1375 if [ "$1" != 1 ]; then
1376 %service -q httpd restart
1380 # when upgrading from glibc < 6:2.19-3 copy locale-archive
1381 # from /usr/lib64/locale to /usr/lib/locale
1382 # but only if the latter doesn't already exist
1383 %triggerpostun -p /sbin/postshell -- %{name} < 6:2.19-3
1384 -/bin/cp -an %{_libdir}/locale/locale-archive %{_prefix}/lib/locale/locale-archive
1387 %post libcrypt -p /sbin/ldconfig
1388 %postun libcrypt -p /sbin/ldconfig
1390 %post memusage -p /sbin/ldconfig
1391 %postun memusage -p /sbin/ldconfig
1393 %post -n localedb-src
1395 [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
1396 [ -f /etc/sysconfig/localedb ] && . /etc/sysconfig/localedb
1397 if [ "$SUPPORTED_LOCALES" ]; then
1401 %post devel-doc -p /sbin/postshell
1402 -/usr/sbin/fix-info-dir -c %{_infodir}
1404 %postun devel-doc -p /sbin/postshell
1405 -/usr/sbin/fix-info-dir -c %{_infodir}
1408 %groupadd -P nscd -g 144 -r nscd
1409 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "Name Service Cache Daemon" -g nscd nscd
1412 if [ ! -f /var/log/nscd ]; then
1415 chown root:root /var/log/nscd
1416 chmod 640 /var/log/nscd
1418 /sbin/chkconfig --add nscd
1419 %service nscd restart "Name Service Cache Daemon"
1422 if [ "$1" = "0" ]; then
1424 /sbin/chkconfig --del nscd
1428 if [ "$1" = "0" ]; then
1434 %{_sbindir}/iconvconfig --nostdlib -o %{_libdir}/gconv/gconv-modules.cache %{_libdir}/gconv
1436 %files -f %{name}.lang
1437 %defattr(644,root,root,755)
1439 %if %{without cross}
1440 %attr(755,root,root) /sbin/glibc-postinst
1442 %ifarch %{ix86} sparc sparcv9 sparc64 alpha sh
1443 %attr(755,root,root) /%{_lib}/ld-linux.so.2
1446 %attr(755,root,root) /%{_lib}/ld-linux-ia64.so.2
1449 %attr(755,root,root) /%{_lib}/ld-linux-x86-64.so.2
1452 %attr(755,root,root) /%{_lib}/ld-linux-x32.so.2
1455 %attr(755,root,root) /%{_lib}/ld64.so.1
1458 %attr(755,root,root) /lib/ld-linux-aarch64.so.1
1460 %ifarch armv6hl armv7hl armv7hnl
1461 %attr(755,root,root) /lib/ld-linux-armhf.so.3
1463 %ifnarch %{ix86} sparc sparcv9 sparc64 alpha sh ia64 %{x8664} x32 ppc64 s390x %{arm} aarch64
1464 %attr(755,root,root) /%{_lib}/ld.so.1
1467 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1.1
1469 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1
1471 %attr(755,root,root) /%{_lib}/libanl.so.1
1473 %attr(755,root,root) /%{_lib}/libc.so.6.1
1475 %attr(755,root,root) /%{_lib}/libc.so.6
1477 # for debugging and not linking
1478 %attr(755,root,root) /%{_lib}/libc_malloc_debug.so.0
1479 %attr(755,root,root) %{_libdir}/libc_malloc_debug.so
1481 %attr(755,root,root) /%{_lib}/libdl.so.2.1
1483 %attr(755,root,root) /%{_lib}/libdl.so.2
1486 %attr(755,root,root) /%{_lib}/libm.so.6.1
1488 %attr(755,root,root) /%{_lib}/libm.so.6
1490 %ifarch %{x8664} x32 aarch64
1491 %attr(755,root,root) /%{_lib}/libmvec.so.1
1494 %attr(755,root,root) /%{_lib}/libnsl.so.1.1
1496 %attr(755,root,root) /%{_lib}/libnsl.so.1
1498 %attr(755,root,root) /%{_lib}/libpthread.so.0
1500 %attr(755,root,root) /%{_lib}/libresolv.so.2.1
1502 %attr(755,root,root) /%{_lib}/libresolv.so.2
1504 %attr(755,root,root) /%{_lib}/librt.so.1
1505 %attr(755,root,root) /%{_lib}/libthread_db.so.1
1507 %attr(755,root,root) /%{_lib}/libutil.so.1.1
1509 %attr(755,root,root) /%{_lib}/libutil.so.1
1511 %dir %{_prefix}/lib/locale
1514 %defattr(644,root,root,755)
1515 %attr(755,root,root) /%{_lib}/libnss_dns.so.2
1517 #%files -n nss_files
1518 %defattr(644,root,root,755)
1519 %attr(755,root,root) /%{_lib}/libnss_files.so.2
1521 %defattr(644,root,root,755)
1523 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1524 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1526 %config %{_sysconfdir}/rpc
1528 %attr(755,root,root) /sbin/sln
1529 %attr(755,root,root) %{_bindir}/getconf
1530 %attr(755,root,root) %{_bindir}/getent
1531 %attr(755,root,root) %{_bindir}/iconv
1532 %attr(755,root,root) %{_bindir}/ld.so-%{_target_cpu}
1533 %attr(755,root,root) %{_bindir}/locale
1534 %attr(755,root,root) %{_bindir}/zdump
1535 %attr(755,root,root) %{_sbindir}/zic
1537 %dir %{_libexecdir}/getconf
1538 %attr(755,root,root) %{_libexecdir}/getconf/*
1541 %{_localedir}/locale.alias
1543 %{_mandir}/man1/getconf.1*
1544 %{_mandir}/man1/getent.1*
1545 %{_mandir}/man1/iconv.1*
1546 %{_mandir}/man1/locale.1*
1547 %{_mandir}/man5/gai.conf.5*
1548 %{_mandir}/man5/locale.5*
1549 %{_mandir}/man5/nss.5*
1550 %{_mandir}/man5/nsswitch.conf.5*
1551 %{_mandir}/man5/repertoiremap.5*
1552 %{_mandir}/man5/rpc.5*
1553 %{_mandir}/man5/tzfile.5*
1554 %{_mandir}/man7/armscii-8.7*
1555 %{_mandir}/man7/ascii.7*
1556 %{_mandir}/man7/charsets.7*
1557 %{_mandir}/man7/cp1251.7*
1558 %{_mandir}/man7/cp1252.7*
1559 %{_mandir}/man7/iso-8859-*.7*
1560 %{_mandir}/man7/iso_8859-*.7*
1561 %{_mandir}/man7/iso_8859_*.7*
1562 %{_mandir}/man7/koi8-*.7*
1563 %{_mandir}/man7/latin*.7*
1564 %{_mandir}/man7/locale.7*
1565 %{_mandir}/man7/tis-620.7*
1566 %{_mandir}/man7/unicode.7*
1567 %{_mandir}/man7/utf-8.7*
1568 %{_mandir}/man7/utf8.7*
1569 %{_mandir}/man8/ld-linux.8*
1570 %{_mandir}/man8/ld-linux.so.8*
1571 %{_mandir}/man8/ld.so.8*
1572 %{_mandir}/man8/sln.8*
1573 %{_mandir}/man8/zdump.8*
1574 %{_mandir}/man8/zic.8*
1575 %lang(cs) %{_mandir}/cs/man7/ascii.7*
1576 %lang(cs) %{_mandir}/cs/man7/locale.7*
1577 %lang(cs) %{_mandir}/cs/man7/unicode.7*
1578 %lang(cs) %{_mandir}/cs/man7/utf-8.7*
1579 %lang(cs) %{_mandir}/cs/man7/utf8.7*
1580 %lang(de) %{_mandir}/de/man5/rpc.5*
1581 %lang(de) %{_mandir}/de/man5/tzfile.5*
1582 %lang(de) %{_mandir}/de/man7/ascii.7*
1583 %lang(de) %{_mandir}/de/man7/iso-8859-*.7*
1584 %lang(de) %{_mandir}/de/man7/iso_8859-*.7*
1585 %lang(de) %{_mandir}/de/man7/iso_8859_*.7*
1586 %lang(de) %{_mandir}/de/man7/latin*.7*
1587 %lang(de) %{_mandir}/de/man7/locale.7*
1588 %lang(de) %{_mandir}/de/man7/unicode.7*
1589 %lang(de) %{_mandir}/de/man7/utf-8.7*
1590 %lang(de) %{_mandir}/de/man7/utf8.7*
1591 %lang(es) %{_mandir}/es/man5/locale.5*
1592 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1593 %lang(es) %{_mandir}/es/man5/rpc.5*
1594 %lang(es) %{_mandir}/es/man5/tzfile.5*
1595 %lang(es) %{_mandir}/es/man7/ascii.7*
1596 %lang(es) %{_mandir}/es/man7/charsets.7*
1597 %lang(es) %{_mandir}/es/man7/iso-8859-*.7*
1598 %lang(es) %{_mandir}/es/man7/iso_8859-*.7*
1599 %lang(es) %{_mandir}/es/man7/iso_8859_*.7*
1600 %lang(es) %{_mandir}/es/man7/latin*.7*
1601 %lang(es) %{_mandir}/es/man7/locale.7*
1602 %lang(es) %{_mandir}/es/man7/unicode.7*
1603 %lang(es) %{_mandir}/es/man7/utf-8.7*
1604 %lang(es) %{_mandir}/es/man7/utf8.7*
1605 %lang(es) %{_mandir}/es/man8/ld-linux.8*
1606 %lang(es) %{_mandir}/es/man8/ld-linux.so.8*
1607 %lang(es) %{_mandir}/es/man8/ld.so.8*
1608 %lang(es) %{_mandir}/es/man8/zdump.8*
1609 %lang(es) %{_mandir}/es/man8/zic.8*
1610 %lang(fr) %{_mandir}/fr/man1/getent.1*
1611 %lang(fr) %{_mandir}/fr/man1/locale.1*
1612 %lang(fr) %{_mandir}/fr/man5/gai.conf.5*
1613 %lang(fr) %{_mandir}/fr/man5/locale.5*
1614 %lang(fr) %{_mandir}/fr/man5/nss.5*
1615 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1616 %lang(fr) %{_mandir}/fr/man5/rpc.5*
1617 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1618 %lang(fr) %{_mandir}/fr/man7/armscii-8.7*
1619 %lang(fr) %{_mandir}/fr/man7/ascii.7*
1620 %lang(fr) %{_mandir}/fr/man7/charsets.7*
1621 %lang(fr) %{_mandir}/fr/man7/cp1251.7*
1622 %lang(fr) %{_mandir}/fr/man7/iso-8859-*.7*
1623 %lang(fr) %{_mandir}/fr/man7/iso_8859-*.7*
1624 %lang(fr) %{_mandir}/fr/man7/iso_8859_*.7*
1625 %lang(fr) %{_mandir}/fr/man7/koi8-r.7*
1626 %lang(fr) %{_mandir}/fr/man7/koi8-u.7*
1627 %lang(fr) %{_mandir}/fr/man7/latin*.7*
1628 %lang(fr) %{_mandir}/fr/man7/locale.7*
1629 %lang(fr) %{_mandir}/fr/man7/unicode.7*
1630 %lang(fr) %{_mandir}/fr/man7/utf-8.7*
1631 %lang(fr) %{_mandir}/fr/man7/utf8.7*
1632 %lang(fr) %{_mandir}/fr/man8/ld-linux.8*
1633 %lang(fr) %{_mandir}/fr/man8/ld-linux.so.8*
1634 %lang(fr) %{_mandir}/fr/man8/ld.so.8*
1635 %lang(fr) %{_mandir}/fr/man8/sln.8*
1636 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1637 %lang(fr) %{_mandir}/fr/man8/zic.8*
1638 %lang(hu) %{_mandir}/hu/man7/ascii.7*
1639 %lang(hu) %{_mandir}/hu/man7/iso-8859-*.7*
1640 %lang(hu) %{_mandir}/hu/man7/iso_8859-*.7*
1641 %lang(hu) %{_mandir}/hu/man7/iso_8859_*.7*
1642 %lang(hu) %{_mandir}/hu/man7/latin*.7*
1643 %lang(hu) %{_mandir}/hu/man7/locale.7*
1644 %lang(hu) %{_mandir}/hu/man7/utf-8.7*
1645 %lang(hu) %{_mandir}/hu/man7/utf8.7*
1646 %lang(hu) %{_mandir}/hu/man8/ld-linux.8*
1647 %lang(hu) %{_mandir}/hu/man8/ld-linux.so.8*
1648 %lang(hu) %{_mandir}/hu/man8/ld.so.8*
1649 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1650 %lang(it) %{_mandir}/it/man5/locale.5*
1651 %lang(it) %{_mandir}/it/man7/ascii.7*
1652 %lang(it) %{_mandir}/it/man7/charsets.7*
1653 %lang(it) %{_mandir}/it/man7/iso-8859-*.7*
1654 %lang(it) %{_mandir}/it/man7/iso_8859-*.7*
1655 %lang(it) %{_mandir}/it/man7/iso_8859_*.7*
1656 %lang(it) %{_mandir}/it/man7/latin*.7*
1657 %lang(it) %{_mandir}/it/man7/locale.7*
1658 %lang(it) %{_mandir}/it/man7/unicode.7*
1659 %lang(it) %{_mandir}/it/man7/utf-8.7*
1660 %lang(it) %{_mandir}/it/man7/utf8.7*
1661 %lang(it) %{_mandir}/it/man8/zdump.8*
1662 %lang(ja) %{_mandir}/ja/man1/getent.1*
1663 %lang(ja) %{_mandir}/ja/man1/iconv.1*
1664 %lang(ja) %{_mandir}/ja/man1/locale.1*
1665 %lang(ja) %{_mandir}/ja/man5/gai.conf.5*
1666 %lang(ja) %{_mandir}/ja/man5/locale.5*
1667 %lang(ja) %{_mandir}/ja/man5/nss.5*
1668 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1669 %lang(ja) %{_mandir}/ja/man5/repertoiremap.5*
1670 %lang(ja) %{_mandir}/ja/man5/rpc.5*
1671 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1672 %lang(ja) %{_mandir}/ja/man7/armscii-8.7*
1673 %lang(ja) %{_mandir}/ja/man7/ascii.7*
1674 %lang(ja) %{_mandir}/ja/man7/charsets.7*
1675 %lang(ja) %{_mandir}/ja/man7/cp1251.7*
1676 %lang(ja) %{_mandir}/ja/man7/cp1252.7*
1677 %lang(ja) %{_mandir}/ja/man7/iso-8859-*.7*
1678 %lang(ja) %{_mandir}/ja/man7/iso_8859-*.7*
1679 %lang(ja) %{_mandir}/ja/man7/iso_8859_*.7*
1680 %lang(ja) %{_mandir}/ja/man7/koi8-*.7*
1681 %lang(ja) %{_mandir}/ja/man7/latin*.7*
1682 %lang(ja) %{_mandir}/ja/man7/locale.7*
1683 %lang(ja) %{_mandir}/ja/man7/tis-620.7*
1684 %lang(ja) %{_mandir}/ja/man7/unicode.7*
1685 %lang(ja) %{_mandir}/ja/man7/utf-8.7*
1686 %lang(ja) %{_mandir}/ja/man7/utf8.7*
1687 %lang(ja) %{_mandir}/ja/man8/ld-linux.8*
1688 %lang(ja) %{_mandir}/ja/man8/ld-linux.so.8*
1689 %lang(ja) %{_mandir}/ja/man8/ld.so.8*
1690 %lang(ja) %{_mandir}/ja/man8/sln.8*
1691 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1692 %lang(ja) %{_mandir}/ja/man8/zic.8*
1693 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1694 %lang(ko) %{_mandir}/ko/man5/rpc.5*
1695 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1696 %lang(ko) %{_mandir}/ko/man7/ascii.7*
1697 %lang(ko) %{_mandir}/ko/man7/iso-8859-*.7*
1698 %lang(ko) %{_mandir}/ko/man7/iso_8859-*.7*
1699 %lang(ko) %{_mandir}/ko/man7/iso_8859_*.7*
1700 %lang(ko) %{_mandir}/ko/man7/latin*.7*
1701 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1702 %lang(pl) %{_mandir}/pl/man5/locale.5*
1703 %lang(pl) %{_mandir}/pl/man5/rpc.5*
1704 %lang(pl) %{_mandir}/pl/man7/ascii.7*
1705 %lang(pl) %{_mandir}/pl/man7/iso-8859-*.7*
1706 %lang(pl) %{_mandir}/pl/man7/iso_8859-*.7*
1707 %lang(pl) %{_mandir}/pl/man7/iso_8859_*.7*
1708 %lang(pl) %{_mandir}/pl/man7/koi8-*.7*
1709 %lang(pl) %{_mandir}/pl/man7/latin*.7*
1710 %lang(pl) %{_mandir}/pl/man7/locale.7*
1711 %lang(pl) %{_mandir}/pl/man7/unicode.7*
1712 %lang(pl) %{_mandir}/pl/man7/utf-8.7*
1713 %lang(pl) %{_mandir}/pl/man7/utf8.7*
1714 %lang(pl) %{_mandir}/pl/man8/ld-linux.8*
1715 %lang(pl) %{_mandir}/pl/man8/ld-linux.so.8*
1716 %lang(pl) %{_mandir}/pl/man8/ld.so.8*
1717 %lang(pt) %{_mandir}/pt/man5/locale.5*
1718 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1719 %lang(pt) %{_mandir}/pt/man5/rpc.5*
1720 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1721 %lang(pt) %{_mandir}/pt/man7/ascii.7*
1722 %lang(pt) %{_mandir}/pt/man7/charsets.7*
1723 %lang(pt) %{_mandir}/pt/man7/iso-8859-*.7*
1724 %lang(pt) %{_mandir}/pt/man7/iso_8859-*.7*
1725 %lang(pt) %{_mandir}/pt/man7/iso_8859_*.7*
1726 %lang(pt) %{_mandir}/pt/man7/koi8-*.7*
1727 %lang(pt) %{_mandir}/pt/man7/latin*.7*
1728 %lang(pt) %{_mandir}/pt/man7/locale.7*
1729 %lang(pt) %{_mandir}/pt/man7/unicode.7*
1730 %lang(pt) %{_mandir}/pt/man7/utf-8.7*
1731 %lang(pt) %{_mandir}/pt/man7/utf8.7*
1732 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1733 %lang(pt) %{_mandir}/pt/man8/zic.8*
1734 %lang(ru) %{_mandir}/ru/man1/getent.1*
1735 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1736 %lang(ru) %{_mandir}/ru/man1/locale.1*
1737 %lang(ru) %{_mandir}/ru/man5/locale.5*
1738 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1739 %lang(ru) %{_mandir}/ru/man5/rpc.5*
1740 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1741 %lang(ru) %{_mandir}/ru/man7/ascii.7*
1742 %lang(ru) %{_mandir}/ru/man7/charsets.7*
1743 %lang(ru) %{_mandir}/ru/man7/iso-8859-*.7*
1744 %lang(ru) %{_mandir}/ru/man7/iso_8859-*.7*
1745 %lang(ru) %{_mandir}/ru/man7/iso_8859_*.7*
1746 %lang(ru) %{_mandir}/ru/man7/koi8-*.7*
1747 %lang(ru) %{_mandir}/ru/man7/latin*.7*
1748 %lang(ru) %{_mandir}/ru/man7/locale.7*
1749 %lang(ru) %{_mandir}/ru/man7/unicode.7*
1750 %lang(ru) %{_mandir}/ru/man7/utf-8.7*
1751 %lang(ru) %{_mandir}/ru/man7/utf8.7*
1752 %lang(ru) %{_mandir}/ru/man8/ld-linux.so.8*
1753 %lang(ru) %{_mandir}/ru/man8/ld.so.8*
1754 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1755 %lang(ru) %{_mandir}/ru/man8/zic.8*
1756 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1757 %lang(uk) %{_mandir}/uk/man5/rpc.5*
1758 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1759 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1760 %lang(zh_CN) %{_mandir}/zh_CN/man5/rpc.5*
1761 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1762 %lang(zh_CN) %{_mandir}/zh_CN/man7/ascii.7*
1763 %lang(zh_CN) %{_mandir}/zh_CN/man7/charsets.7*
1764 %lang(zh_CN) %{_mandir}/zh_CN/man7/locale.7*
1765 %lang(zh_CN) %{_mandir}/zh_CN/man7/unicode.7*
1766 %lang(zh_CN) %{_mandir}/zh_CN/man7/utf-8.7*
1767 %lang(zh_CN) %{_mandir}/zh_CN/man7/utf8.7*
1768 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1769 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1770 %lang(zh_TW) %{_mandir}/zh_TW/man1/iconv.1*
1771 %lang(zh_TW) %{_mandir}/zh_TW/man5/locale.5*
1772 %lang(zh_TW) %{_mandir}/zh_TW/man5/rpc.5*
1773 %lang(zh_TW) %{_mandir}/zh_TW/man5/tzfile.5*
1774 %lang(zh_TW) %{_mandir}/zh_TW/man7/ascii.7*
1775 %lang(zh_TW) %{_mandir}/zh_TW/man7/charsets.7*
1776 %lang(zh_TW) %{_mandir}/zh_TW/man7/locale.7*
1777 %lang(zh_TW) %{_mandir}/zh_TW/man7/unicode.7*
1778 %lang(zh_TW) %{_mandir}/zh_TW/man7/utf-8.7*
1779 %lang(zh_TW) %{_mandir}/zh_TW/man7/utf8.7*
1780 %lang(zh_TW) %{_mandir}/zh_TW/man8/zdump.8*
1781 %lang(zh_TW) %{_mandir}/zh_TW/man8/zic.8*
1784 %defattr(644,root,root,755)
1785 %attr(755,root,root) %{_bindir}/ldd
1786 %attr(755,root,root) %{_bindir}/pldd
1787 %ifarch m68k sparc sparcv9
1788 %attr(755,root,root) %{_bindir}/lddlibc4
1790 %attr(755,root,root) %{_bindir}/sotruss
1791 %dir %{_libdir}/audit
1792 %attr(755,root,root) %{_libdir}/audit/sotruss-lib.so
1794 %{_mandir}/man1/ldd.1*
1795 %{_mandir}/man1/pldd.1*
1796 %lang(cs) %{_mandir}/cs/man1/ldd.1*
1797 %lang(es) %{_mandir}/es/man1/ldd.1*
1798 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1799 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1800 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1801 %lang(it) %{_mandir}/it/man1/ldd.1*
1802 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1803 %lang(ja) %{_mandir}/ja/man1/pldd.1*
1804 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1805 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1806 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1807 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1808 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1809 %lang(zh_TW) %{_mandir}/zh_TW/man1/ldd.1*
1813 %defattr(644,root,root,755)
1815 %attr(755,root,root) /%{_lib}/libcrypt.so.1.1
1817 %attr(755,root,root) /%{_lib}/libcrypt.so.1
1822 %defattr(644,root,root,755)
1823 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1824 %dir %{_sysconfdir}/ld.so.conf.d
1825 %ghost %{_sysconfdir}/ld.so.cache
1826 %attr(755,root,root) /sbin/ldconfig
1827 %{_mandir}/man8/ldconfig.8*
1828 %lang(es) %{_mandir}/es/man8/ldconfig.8*
1829 %lang(fr) %{_mandir}/fr/man8/ldconfig.8*
1830 %lang(hu) %{_mandir}/hu/man8/ldconfig.8*
1831 %lang(ja) %{_mandir}/ja/man8/ldconfig.8*
1832 %lang(pl) %{_mandir}/pl/man8/ldconfig.8*
1833 %lang(pt) %{_mandir}/pt/man8/ldconfig.8*
1834 %lang(ru) %{_mandir}/ru/man8/ldconfig.8*
1835 %dir %attr(700,root,root) /var/cache/ldconfig
1836 %attr(600,root,root) %ghost /var/cache/ldconfig/aux-cache
1838 %files -n nss_compat
1839 %defattr(644,root,root,755)
1840 %attr(755,root,root) /%{_lib}/libnss_compat.so.2
1843 %defattr(644,root,root,755)
1844 %attr(755,root,root) %{_bindir}/makedb
1845 %attr(755,root,root) /%{_lib}/libnss_db.so.2
1848 %files -n nss_hesiod
1849 %defattr(644,root,root,755)
1850 %attr(755,root,root) /%{_lib}/libnss_hesiod.so.2
1852 %if %{with memusage}
1854 %defattr(644,root,root,755)
1855 %attr(755,root,root) %{_bindir}/memusage
1856 %attr(755,root,root) %{_bindir}/memusagestat
1857 %attr(755,root,root) %{_libdir}/libmemusage.so
1858 %{_mandir}/man1/memusage.1*
1859 %{_mandir}/man1/memusagestat.1*
1860 %lang(ja) %{_mandir}/ja/man1/memusage.1*
1861 %lang(ja) %{_mandir}/ja/man1/memusagestat.1*
1865 %defattr(644,root,root,755)
1866 %attr(755,root,root) %{_libdir}/libBrokenLocale.so
1867 %{?with_crypt:%attr(755,root,root) %{_libdir}/libcrypt.so}
1868 # for dlopen and not linking
1869 %attr(755,root,root) %{_libdir}/libanl.so
1870 %attr(755,root,root) %{_libdir}/libm.so
1871 %ifarch %{x8664} x32 aarch64
1872 %attr(755,root,root) %{_libdir}/libmvec.so
1874 %attr(755,root,root) %{_libdir}/libpcprofile.so
1875 %attr(755,root,root) %{_libdir}/libresolv.so
1876 # for dlopen and not linking
1877 %attr(755,root,root) %{_libdir}/libthread_db.so
1878 # empty archives, so linking with obsolete -lXX (these below) works
1881 %{_libdir}/libpthread.a
1883 %{_libdir}/libutil.a
1884 %{_libdir}/crt[1in].o
1885 %{_libdir}/[MSgr]crt1.o
1886 %{?with_static_pie:%{_libdir}/grcrt1.o}
1890 %{_libdir}/libc_nonshared.a
1892 %ifarch alpha ppc sparc
1893 %{_libdir}/libnldbl_nonshared.a
1895 %ifarch %{ix86} %{x8664} x32 ppc ppc64 s390 s390x sparc sparcv9 sparc64 aarch64 armv6hl armv7hl armv7hnl
1896 # ABI-dependent headers
1897 %{_includedir}/gnu/stubs-*.h
1901 %defattr(644,root,root,755)
1904 %{_includedir}/alpha
1908 %dir %{_includedir}/finclude
1909 %{_includedir}/finclude/math-vector-fortran.h
1910 %dir %{_includedir}/gnu
1911 %{_includedir}/gnu/lib*.h
1912 %{_includedir}/gnu/stubs.h
1914 %{_includedir}/netash
1915 %{_includedir}/netatalk
1916 %{_includedir}/netax25
1917 %{_includedir}/neteconet
1918 %{_includedir}/netiucv
1919 %{_includedir}/netinet
1920 %{_includedir}/netipx
1921 %{_includedir}/netpacket
1922 %{_includedir}/netrom
1923 %{_includedir}/netrose
1925 %{_includedir}/protocols
1931 %defattr(644,root,root,755)
1932 %attr(755,root,root) %{_bindir}/gencat
1933 %attr(755,root,root) %{_bindir}/mtrace
1934 %attr(755,root,root) %{_bindir}/pcprofiledump
1935 %attr(755,root,root) %{_bindir}/sprof
1936 %attr(755,root,root) %{_bindir}/xtrace
1937 %{_mandir}/man1/mtrace.1*
1938 %{_mandir}/man1/sprof.1*
1939 %lang(ja) %{_mandir}/ja/man1/mtrace.1*
1940 %lang(ja) %{_mandir}/ja/man1/sprof.1*
1941 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1944 %defattr(644,root,root,755)
1945 %doc documentation/*
1946 %{_infodir}/libc.info*
1948 %{_mandir}/man2/getcwd.2*
1950 %{_mandir}/man7/aio.7*
1951 %{_mandir}/man7/attributes.7*
1952 %{_mandir}/man7/complex.7*
1953 %{_mandir}/man7/feature_test_macros.7*
1954 %{_mandir}/man7/glibc.7*
1955 %{_mandir}/man7/glob.7*
1956 %{_mandir}/man7/libc.7*
1957 %{_mandir}/man7/math_error.7*
1958 %{_mandir}/man7/nptl.7*
1959 %{_mandir}/man7/posixoptions.7*
1960 %{_mandir}/man7/pthreads.7*
1961 %{_mandir}/man7/queue.7*
1962 %{_mandir}/man7/rtld-audit.7*
1963 %{_mandir}/man7/sem_overview.7*
1964 %{_mandir}/man7/shm_overview.7*
1965 %{_mandir}/man7/system_data_types.7*
1966 %lang(cs) %{_mandir}/cs/man3/*
1967 %lang(de) %{_mandir}/de/man3/*
1968 %lang(es) %{_mandir}/es/man3/*
1969 %lang(es) %{_mandir}/es/man7/glob.7*
1970 %lang(fr) %{_mandir}/fr/man3/*
1971 %lang(fr) %{_mandir}/fr/man7/aio.7*
1972 %lang(fr) %{_mandir}/fr/man7/complex.7*
1973 %lang(fr) %{_mandir}/fr/man7/feature_test_macros.7*
1974 %lang(fr) %{_mandir}/fr/man7/glibc.7*
1975 %lang(fr) %{_mandir}/fr/man7/glob.7*
1976 %lang(fr) %{_mandir}/fr/man7/libc.7*
1977 %lang(fr) %{_mandir}/fr/man7/math_error.7*
1978 %lang(fr) %{_mandir}/fr/man7/posixoptions.7*
1979 %lang(fr) %{_mandir}/fr/man7/pthreads.7*
1980 %lang(fr) %{_mandir}/fr/man7/rtld-audit.7*
1981 %lang(fr) %{_mandir}/fr/man7/sem_overview.7*
1982 %lang(fr) %{_mandir}/fr/man7/shm_overview.7*
1983 %lang(hu) %{_mandir}/hu/man3/*
1984 %lang(it) %{_mandir}/it/man3/*
1985 %lang(it) %{_mandir}/it/man7/glob.7*
1986 %lang(ja) %{_mandir}/ja/man2/getcwd.2*
1987 %lang(ja) %{_mandir}/ja/man3/*
1988 %lang(ja) %{_mandir}/ja/man7/aio.7*
1989 %lang(ja) %{_mandir}/ja/man7/complex.7*
1990 %lang(ja) %{_mandir}/ja/man7/feature_test_macros.7*
1991 %lang(ja) %{_mandir}/ja/man7/glibc.7*
1992 %lang(ja) %{_mandir}/ja/man7/glob.7*
1993 %lang(ja) %{_mandir}/ja/man7/libc.7*
1994 %lang(ja) %{_mandir}/ja/man7/math_error.7*
1995 %lang(ja) %{_mandir}/ja/man7/posixoptions.7*
1996 %lang(ja) %{_mandir}/ja/man7/pthreads.7*
1997 %lang(ja) %{_mandir}/ja/man7/sem_overview.7*
1998 %lang(ja) %{_mandir}/ja/man7/shm_overview.7*
1999 %lang(ko) %{_mandir}/ko/man3/*
2000 %lang(nl) %{_mandir}/nl/man3/*
2001 %lang(pl) %{_mandir}/pl/man3/*
2002 %lang(pt) %{_mandir}/pt/man3/*
2003 %lang(pt) %{_mandir}/pt/man7/glob.7*
2004 %lang(ru) %{_mandir}/ru/man3/*
2005 %lang(ru) %{_mandir}/ru/man7/glob.7*
2006 %lang(tr) %{_mandir}/tr/man3/*
2007 %lang(uk) %{_mandir}/uk/man3/*
2008 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
2009 %lang(zh_CN) %{_mandir}/zh_CN/man7/glob.7*
2010 %lang(zh_TW) %{_mandir}/zh_TW/man3/*
2011 %lang(zh_TW) %{_mandir}/zh_TW/man7/glob.7*
2014 %defattr(644,root,root,755)
2015 %{_libdir}/libBrokenLocale.a
2017 %{?with_crypt:%{_libdir}/libcrypt.a}
2019 %{_libdir}/libmcheck.a
2020 %ifarch %{x8664} x32 aarch64
2021 %{_libdir}/libm-%{core_version}.a
2022 %{_libdir}/libmvec.a
2024 %{_libdir}/libresolv.a
2027 %defattr(644,root,root,755)
2028 %{_libdir}/libBrokenLocale_p.a
2029 %{_libdir}/libanl_p.a
2031 %{?with_crypt:%{_libdir}/libcrypt_p.a}
2032 %{_libdir}/libdl_p.a
2034 %ifarch %{x8664} x32 aarch64
2035 %{_libdir}/libmvec_p.a
2037 %{_libdir}/libpthread_p.a
2038 %{_libdir}/libresolv_p.a
2039 %{_libdir}/librt_p.a
2040 %{_libdir}/libutil_p.a
2043 %defattr(644,root,root,755)
2044 %{_libdir}/libc_pic.a
2045 %{_libdir}/libm_pic.a
2046 %{_libdir}/libresolv_pic.a
2052 %defattr(644,root,root,755)
2053 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
2054 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
2055 %attr(754,root,root) /etc/rc.d/init.d/nscd
2056 %attr(755,root,root) %{_sbindir}/nscd*
2057 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
2058 %attr(640,root,root) %ghost /var/log/nscd
2059 %{systemdtmpfilesdir}/nscd.conf
2062 %attr(600,root,root) %ghost /var/lib/nscd/passwd
2063 %attr(600,root,root) %ghost /var/lib/nscd/group
2064 %attr(600,root,root) %ghost /var/lib/nscd/hosts
2065 %{_mandir}/man5/nscd.conf.5*
2066 %{_mandir}/man8/nscd.8*
2067 %{_mandir}/man8/nscd_nischeck.8*
2068 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
2069 %lang(es) %{_mandir}/es/man8/nscd.8*
2070 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
2071 %lang(fr) %{_mandir}/fr/man8/nscd.8*
2072 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
2073 %lang(ja) %{_mandir}/ja/man8/nscd.8*
2074 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
2075 %lang(pt) %{_mandir}/pt/man8/nscd.8*
2076 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
2077 %lang(ru) %{_mandir}/ru/man8/nscd.8*
2078 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
2079 %lang(zh_TW) %{_mandir}/zh_TW/man5/nscd.conf.5*
2081 %files -n localedb-src
2082 %defattr(644,root,root,755)
2083 %attr(755,root,root) %{_bindir}/localedef
2084 %attr(755,root,root) %{_bindir}/localedb-gen
2086 %{_mandir}/man1/localedef.1*
2087 %lang(ru) %{_mandir}/ru/man1/localedef.1*
2089 %if %{with localedb}
2091 %defattr(644,root,root,755)
2092 %{_prefix}/lib/locale/locale-archive
2096 %defattr(644,root,root,755)
2097 %attr(755,root,root) %{_sbindir}/iconvconfig
2098 %dir %{_libdir}/gconv
2099 %{_libdir}/gconv/gconv-modules
2100 %dir %{_libdir}/gconv/gconv-modules.d
2101 %{_libdir}/gconv/gconv-modules.d/gconv-modules-extra.conf
2102 %verify(not md5 mtime size) %{_libdir}/gconv/gconv-modules.cache
2103 %attr(755,root,root) %{_libdir}/gconv/*.so
2104 %{_mandir}/man8/iconvconfig.8*
2105 %lang(ja) %{_mandir}/ja/man8/iconvconfig.8*