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