2 # - look at locale fixes/updates in bugzilla
3 # - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section.
4 # - package libdir/audit/sotruss-lib.so (subpackage?)
6 # - localedb-gen man pages(?)
7 # - math/{test-fenv,test-tgmath,test-float,test-ifloat},
8 # debug/backtrace-tst(SEGV) fail on alpha
11 # min_kernel (default is 2.6.12)
12 %bcond_without memusage # don't build memusage utility
13 %bcond_without selinux # without SELinux support (in nscd)
14 %bcond_with tests # perform "make test"
15 %bcond_without localedb # don't build localedb-all (is time consuming)
16 %bcond_with cross # build using crossgcc (without libgcc_eh)
18 %{!?min_kernel:%global min_kernel 2.6.12}
21 %undefine with_memusage
24 %define ports_version 2.13
25 %define llh_version 7:2.6.20.4-1
28 Summary(de.UTF-8): GNU libc
29 Summary(es.UTF-8): GNU libc
30 Summary(fr.UTF-8): GNU libc
31 Summary(ja.UTF-8): GNU libc ライブラリ
32 Summary(pl.UTF-8): GNU libc
33 Summary(ru.UTF-8): GNU libc версии
34 Summary(tr.UTF-8): GNU libc
35 Summary(uk.UTF-8): GNU libc версії
42 Source0: http://ftp.gnu.org/gnu/glibc/%{name}-%{version}.tar.xz
43 # Source0-md5: 8f5f6b09f98d17c630819b4845e31e65
44 Source1: http://ftp.gnu.org/gnu/glibc/%{name}-ports-%{ports_version}.tar.bz2
45 # Source1-md5: 483f37cfdd619e81d8ca9e9d713944b5
47 Source3: nscd.sysconfig
48 Source4: nscd.logrotate
49 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
50 Source5: http://qboosh.pl/man/%{name}-man-pages.tar.bz2
51 # Source5-md5: f464eadf3cf06761f65639e44a179e6b
52 Source6: %{name}-localedb-gen
53 Source7: %{name}-LD-path.c
54 Patch1: %{name}-pl.po-update.patch
55 Patch2: %{name}-pld.patch
56 Patch3: %{name}-crypt-blowfish.patch
57 Patch5: %{name}-sparc-softfp-gcc.patch
58 Patch6: %{name}-paths.patch
59 Patch7: %{name}-no_opt_override.patch
60 Patch8: %{name}-missing-nls.patch
61 Patch9: %{name}-java-libc-wait.patch
62 Patch10: %{name}-info.patch
63 Patch11: %{name}-no_debuggable_objects.patch
64 Patch14: %{name}-sparc-errno_fix.patch
65 Patch15: %{name}-new-charsets.patch
66 Patch16: %{name}-tzfile-noassert.patch
67 Patch17: %{name}-morelocales.patch
68 Patch18: %{name}-locale_fixes.patch
69 Patch19: %{name}-ZA_collate.patch
70 Patch20: %{name}-thread_start.patch
71 Patch21: %{name}-cross-gcc_eh.patch
72 Patch22: %{name}-with-stroke.patch
73 Patch23: %{name}-pt_pax.patch
74 Patch25: %{name}-cv_gnu89_inline.patch
75 Patch26: %{name}-posix-sh.patch
76 Patch27: %{name}-i686.patch
77 Patch29: %{name}-arm-alignment-fix.patch
78 Patch30: %{name}-bug-12492.patch
79 Patch31: %{name}-origin.patch
80 Patch32: %{name}-Os-fail-workaround.patch
81 Patch33: 0020_all_glibc-tweak-rfc1918-lookup.patch
82 Patch35: 0055_all_glibc-2.12-static-shared-getpagesize.patch
83 Patch37: 0061_all_glibc-2.13-static-memset.patch
84 Patch38: 1055_all_glibc-resolv-dynamic.patch
85 Patch39: %{name}-git.patch
86 Patch40: %{name}-bad-fix.patch
87 URL: http://www.gnu.org/software/libc/
88 %{?with_selinux:BuildRequires: audit-libs-devel}
89 BuildRequires: autoconf
90 BuildRequires: automake
92 BuildRequires: binutils >= 2:2.17.50.0.7
94 BuildRequires: binutils >= 2:2.15.90.0.3
96 %{!?with_cross:BuildRequires: dietlibc-static}
98 BuildRequires: gcc >= 6:4.3
99 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
100 BuildRequires: gettext-devel >= 0.10.36
101 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
102 BuildRequires: linux-libc-headers >= %{llh_version}
103 BuildRequires: nss-devel >= 1:3.12.3
104 BuildRequires: perl-base
105 BuildRequires: rpm-build >= 4.3-0.20030610.28
106 BuildRequires: rpmbuild(macros) >= 1.567
107 BuildRequires: sed >= 4.0.5
108 BuildRequires: texinfo
109 Requires(post): ldconfig = %{epoch}:%{version}-%{release}
110 Requires: uname(release) >= %{min_kernel}
111 Provides: glibc(nptl)
113 Provides: rtld(GNU_HASH)
114 Obsoletes: glibc-common
115 Obsoletes: glibc-debug
116 %ifarch %{x8664} sparc64 ppc64
122 Conflicts: %{name}-misc < %{epoch}:%{version}-%{release}
123 Conflicts: SysVinit < 2.86-11
124 Conflicts: kernel < %{min_kernel}
126 Conflicts: kernel24-smp
127 Conflicts: ld.so < 1.9.9-10
128 Conflicts: man-pages < 1.43
129 Conflicts: poldek < 0.18.8-5
130 Conflicts: rc-scripts < 0.3.1-13
132 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64 armv5tel
133 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
135 # avoid -s here (ld.so must not be stripped to allow any program debugging)
136 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
137 # avoid -D_FORTIFY_SOURCE=X
138 %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+
140 %define specflags_sparcv9 -mcpu=ultrasparc -mvis -fcall-used-g6
141 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
143 # ld.so needs not to be stripped to work
144 # gdb needs unstripped libpthread for some threading support
145 # ...but we can strip at least debuginfo from them
146 %define _autostripdebug .*/ld-[0-9.]*so\\|.*/libpthread-[0-9.]*so
148 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
149 %ifarch sparc sparcv9
150 %{expand:%%define __cc %{__cc} -m32}
153 # Architectures supported in glibc-ports
154 %define ports_arch alpha %{arm}
157 %define specflags_ia32 -mno-tls-direct-seg-refs
158 %define specflags_x86_64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
159 %define specflags_amd64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
160 %define specflags_ia32e -mno-tls-direct-seg-refs
162 # we don't want perl dependency in glibc-devel
163 %define _noautoreqfiles %{_bindir}/mtrace
164 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
165 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
166 # patched not to crash on partial hardlinks too)
167 %define _hack_dontneed_PartialHardlinkSets 1
168 %define _noautochrpath .*\\(ldconfig\\|sln\\)
170 %define _noautoprov .*\(GLIBC_PRIVATE\)
171 %define _noautoreq .*\(GLIBC_PRIVATE\)
174 Contains the standard libraries that are used by multiple programs on
175 the system. In order to save disk space and memory, as well as to ease
176 upgrades, common system code is kept in one place and shared between
177 programs. This package contains the most important sets of shared
178 libraries, the standard C library and the standard math library.
179 Without these, a Linux system will not function. It also contains
180 national language (locale) support.
182 Can be used on: Linux kernel >= %{min_kernel}.
184 %description -l es.UTF-8
185 Contiene las bibliotecas estándared que son usadas por varios
186 programas del sistema. Para ahorrar el espacio en el disco y la
187 memoria, igual que para facilitar actualizaciones, código común del
188 sistema se guarda en un sitio y es compartido entre los programas.
189 Este paquete contiene las bibliotecas compartidas más importantes, es
190 decir la biblioteca C estándar y la biblioteca estándar de matemática.
191 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
192 soporte de idiomas nacionales (locale).
194 Puede usarse con: núcleo Linux >= %{min_kernel}.
196 %description -l de.UTF-8
197 Enthält die Standard-Libraries, die von verschiedenen Programmen im
198 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
199 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
200 einer einzigen Stelle gespeichert und wird von den Programmen
201 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
202 shared Libraries, die Standard-C-Library und die
203 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
204 Ferner enthält es den Support für die verschiedenen Sprachgregionen
207 Can be used on: Linux kernel >= %{min_kernel}.
209 %description -l fr.UTF-8
210 Contient les bibliothèques standards utilisées par de nombreux
211 programmes du système. Afin d'économiser l'espace disque et mémoire,
212 et de faciliter les mises à jour, le code commun au système est mis à
213 un endroit et partagé entre les programmes. Ce paquetage contient les
214 bibliothèques partagées les plus importantes, la bibliothèque standard
215 du C et la bibliothèque mathématique standard. Sans celles-ci, un
216 système Linux ne peut fonctionner. Il contient aussi la gestion des
217 langues nationales (locales).
219 Can be used on: Linux kernel >= %{min_kernel}.
221 %description -l ja.UTF-8
223 パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
224 ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
225 用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
226 間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
227 重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
228 この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc
229 パッケージはまた地域言語 (locale) サポートとタイムゾーンデータベース
232 Can be used on: Linux kernel >= %{min_kernel}.
234 %description -l pl.UTF-8
235 W pakiecie znajdują się podstawowe biblioteki, używane przez różne
236 programy w Twoim systemie. Używanie przez programy bibliotek z tego
237 pakietu oszczędza miejsce na dysku i pamięć. Większość kodu
238 systemowego jest usytuowane w jednym miejscu i dzielone między wieloma
239 programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek
240 standardowych, współdzielonych (dynamicznych) bibliotek C i
241 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować.
242 Znajdują się tutaj również definicje różnych informacji dla wielu
245 Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}.
247 %description -l ru.UTF-8
248 Содержит стандартные библиотеки, используемые многочисленными
249 программами в системе. Для того, чтобы сохранить дисковое пространство
250 и память, а также для простоты обновления, системный код, общий для
251 всех программ, хранится в одном месте и коллективно используется всеми
252 программами. Этот пакет содержит наиболее важные из разделяемых
253 библиотек - стандартную библиотеку C и стандартную библиотеку
254 математики. Без этих библиотек Linux функционировать не будет. Также
255 пакет содержит поддержку национальных языков (locale).
257 Can be used on: Linux kernel >= %{min_kernel}.
259 %description -l tr.UTF-8
260 Bu paket, birçok programın kullandığı standart kitaplıkları içerir.
261 Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme
262 işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde
263 tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak
264 kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını
265 içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel
266 dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır.
268 Can be used on: Linux kernel >= %{min_kernel}.
270 %description -l uk.UTF-8
271 Містить стандартні бібліотеки, котрі використовуються численними
272 програмами в системі. Для того, щоб зберегти дисковий простір та
273 пам'ять, а також для простоти поновлення системи, системний код,
274 спільний для всіх програм, зберігається в одному місці і колективно
275 використовується всіма програмами. Цей пакет містить найбільш важливі
276 з динамічних бібліотек - стандартну бібліотеку С та стандартну
277 бібліотеку математики. Без цих бібліотек Linux функціонувати не буде.
278 Також пакет містить підтримку національних мов (locale).
280 Can be used on: Linux kernel >= %{min_kernel}.
283 Summary: Utilities and data used by glibc
284 Summary(pl.UTF-8): Narzędzia i dane używane przez glibc
285 Group: Applications/System
286 Requires: %{name} = %{epoch}:%{version}-%{release}
289 Utilities and data used by glibc.
291 %description misc -l pl.UTF-8
292 Narzędzia i dane używane przez glibc.
295 Summary: glibc library for crypt(3)
296 Summary(pl.UTF-8): Biblioteka glibc z funkcją crypt(3)
298 Requires: %{name} = %{epoch}:%{version}-%{release}
299 Provides: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
300 Provides: crypt(blowfish)
302 %description libcrypt
303 glibc library for crypt(3).
305 %description libcrypt -l pl.UTF-8
306 Biblioteka glibc z funkcją crypt(3).
309 Summary: Create shared library cache and maintains symlinks
310 Summary(de.UTF-8): Erstellt ein shared library cache und verwaltet symlinks
311 Summary(fr.UTF-8): Crée un cache de bibliothčque partagée et gčre *.so
312 Summary(pl.UTF-8): Tworzenie cache'u bibliotek dynamicznych i ich dowiązań symbolicznych
313 Summary(tr.UTF-8): Ortak kitaplýk önbelleđi yaratýr ve bađlantýlarý kurar
314 Group: Applications/System
315 # This is needed because previous package (glibc) had autoreq false and had
316 # provided this manually. Probably poldek bug that have to have it here.
317 Provides: /sbin/ldconfig
318 # we want FHS being installed before ldconfig, altho they are both unrelated to each-other.
321 %description -n ldconfig
322 ldconfig scans a running system and sets up the symbolic links that
323 are used to load shared libraries properly. It also creates
324 /etc/ld.so.cache which speeds the loading programs which use shared
327 %description -n ldconfig -l de.UTF-8
328 ldconfig scannt ein laufendes System und richtet die symbolischen
329 Verknüpfungen zum Laden der gemeinsam genutzten Libraries ein.
330 Außerdem erstellt es /etc/ld.so.cache, was das Laden von Programmen
331 mit gemeinsam genutzten Libraries beschleunigt.
333 %description -n ldconfig -l fr.UTF-8
334 ldconfig analyse un systčme et configure les liens symboliques
335 utilisés pour charger correctement les bibliothčques partagées. Il
336 crée aussi /etc/ld.so.cache qui accélčre le chargement des programmes
337 utilisant les bibliothčques partagées.
339 %description -n ldconfig -l pl.UTF-8
340 ldconfig testuje uruchomiony system i tworzy dowiązania symboliczne,
341 które są następnie używane do poprawnego ładowania bibliotek
342 dynamicznych. Program ten tworzy plik /etc/ld.so.cache, który
343 przyśpiesza ładowanie programów korzystających z bibliotek
346 %description -n ldconfig -l tr.UTF-8
347 ldconfig, çalýţmakta olan sistemi araţtýrýr ve ortak kitaplýklarýn
348 düzgün bir ţekilde yüklenmesi için gereken simgesel bađlantýlarý
349 kurar. Ayrýca ortak kitaplýklarý kullanan programlarýn yüklenmesini
350 hýzlandýran /etc/ld.so.cache dosyasýný yaratýr.
353 Summary: Additional libraries required to compile
354 Summary(de.UTF-8): Weitere Libraries zum Kompilieren
355 Summary(es.UTF-8): Bibliotecas adicionales necesarias para la compilación
356 Summary(fr.UTF-8): Librairies supplémentaires nécessaires à la compilation
357 Summary(ja.UTF-8): 標準 C ライブラリで使われるヘッダーとオブジェクトファイル
358 Summary(pl.UTF-8): Dodatkowe biblioteki wymagane podczas kompilacji
359 Summary(ru.UTF-8): Дополнительные библиотеки, необходимые для компиляции
360 Summary(tr.UTF-8): Geliştirme için gerekli diğer kitaplıklar
361 Summary(uk.UTF-8): Додаткові бібліотеки, потрібні для компіляції
362 Group: Development/Libraries
363 Requires: %{name} = %{epoch}:%{version}-%{release}
364 Requires: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
365 Requires: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
366 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
367 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
368 Obsoletes: libiconv-devel
371 To develop programs which use the standard C libraries (which nearly
372 all programs do), the system needs to have these standard header files
373 and object files available for creating the executables.
375 %description devel -l de.UTF-8
376 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
377 verwenden (also fast alle), benötigt das System diese Standard-Header-
378 und Objektdateien zum Erstellen der ausführbaren Programme.
380 %description devel -l es.UTF-8
381 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
382 cual hacen prácticamente todos los programas), el sistema necesita
383 disponer de estos ficheros de cabecera y de objetos para crear los
386 %description devel -l fr.UTF-8
387 Pour développer des programmes utilisant les bibliothèques standard du
388 C (ce que presque tous les programmes font), le système doit posséder
389 ces fichiers en-têtes et objets standards pour créer les exécutables.
391 %description devel -l ja.UTF-8
392 glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C
393 ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト
395 ライブラリを使用するプログラムを開発するなら
396 実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル
399 %description devel -l pl.UTF-8
400 Pakiet ten jest niezbędny przy tworzeniu własnych programów
401 korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki
402 nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów
403 wykonywalnych i innych bibliotek.
405 %description devel -l ru.UTF-8
406 Для разработки программ, использующих стандартные библиотеки C (а
407 практически все программы их используют), системе НЕОБХОДИМЫ хедеры и
408 объектные файлы, содержащиеся в этом пакете, чтобы создавать
411 %description devel -l tr.UTF-8
412 C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar
413 geliştirmek için gereken standart başlık dosyaları ve statik
416 %description devel -l uk.UTF-8
417 Для розробки програм, що використовують стандартні бібліотеки C
418 (практично всі програми їх використовують), системі НЕОБХІДНІ хедери
419 та об'єктні файли, що містяться в цьому пакеті, цоб створювати
423 Summary: Header files for development using standard C libraries
424 Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C
425 Group: Development/Building
426 Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
428 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
429 # have to be installed, not ix86 one.
430 Obsoletes: glibc-headers(athlon)
431 Obsoletes: glibc-headers(i386)
432 Obsoletes: glibc-headers(i486)
433 Obsoletes: glibc-headers(i586)
434 Obsoletes: glibc-headers(i686)
435 Obsoletes: glibc-headers(pentium3)
436 Obsoletes: glibc-headers(pentium4)
439 Obsoletes: glibc-headers(ppc)
442 Obsoletes: glibc-headers(s390)
445 Obsoletes: glibc-headers(sparc)
447 Requires: linux-libc-headers >= %{llh_version}
450 The glibc-headers package contains the header files necessary for
451 developing programs which use the standard C libraries (which are used
452 by nearly all programs). If you are developing programs which will use
453 the standard C libraries, your system needs to have these standard
454 header files available in order to create the executables.
456 Install glibc-headers if you are going to develop programs which will
457 use the standard C libraries.
459 %description headers -l pl.UTF-8
460 Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania
461 programów używających standardowych bibliotek C (używanych przez
462 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
463 standardowych bibliotek C, system wymaga dostępności tych
464 standardowych plików nagłówkowych do tworzenia programów
467 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
468 korzystające ze standardowych bibliotek C.
471 Summary: Utilities needed for development using standard C libraries
472 Summary(pl.UTF-8): Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C
473 Group: Development/Libraries
474 Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
476 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
477 # have to be installed, not ix86 one.
478 Obsoletes: glibc-devel-utils(athlon)
479 Obsoletes: glibc-devel-utils(i386)
480 Obsoletes: glibc-devel-utils(i486)
481 Obsoletes: glibc-devel-utils(i586)
482 Obsoletes: glibc-devel-utils(i686)
483 Obsoletes: glibc-devel-utils(pentium3)
484 Obsoletes: glibc-devel-utils(pentium4)
487 Obsoletes: glibc-devel-utils(ppc)
490 Obsoletes: glibc-devel-utils(s390)
493 Obsoletes: glibc-devel-utils(sparc)
495 # To protect x86_64 system from glibc-headers(32bit) installation
497 Conflicts: glibc-headers(athlon)
498 Conflicts: glibc-headers(i386)
499 Conflicts: glibc-headers(i486)
500 Conflicts: glibc-headers(i586)
501 Conflicts: glibc-headers(i686)
502 Conflicts: glibc-headers(pentium3)
503 Conflicts: glibc-headers(pentium4)
506 %description devel-utils
507 The glibc-devel-utils package contains utilities necessary for
508 developing programs which use the standard C libraries (which are used
509 by nearly all programs). If you are developing programs which will use
510 the standard C libraries, your system needs to have these utilities
513 Install glibc-devel-utils if you are going to develop programs which
514 will use the standard C libraries.
516 %description devel-utils -l pl.UTF-8
517 Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania
518 programów używających standardowych bibliotek C (używanych przez
519 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
520 standardowych bibliotek C, system wymaga dostępności tych narzędzi do
521 tworzenia programów wykonywalnych.
523 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
524 korzystające ze standardowych bibliotek C.
527 Summary: Documentation needed for development using standard C libraries
528 Summary(pl.UTF-8): Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C
530 Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
532 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
533 # have to be installed, not ix86 one.
534 Obsoletes: glibc-devel-doc(athlon)
535 Obsoletes: glibc-devel-doc(i386)
536 Obsoletes: glibc-devel-doc(i486)
537 Obsoletes: glibc-devel-doc(i586)
538 Obsoletes: glibc-devel-doc(i686)
539 Obsoletes: glibc-devel-doc(pentium3)
540 Obsoletes: glibc-devel-doc(pentium4)
543 Obsoletes: glibc-devel-doc(ppc)
546 Obsoletes: glibc-devel-doc(s390)
549 Obsoletes: glibc-devel-doc(sparc)
552 %description devel-doc
553 The glibc-devel-doc package contains info and manual pages necessary
554 for developing programs which use the standard C libraries (which are
555 used by nearly all programs).
557 Install glibc-devel-doc if you are going to develop programs which
558 will use the standard C libraries.
560 %description devel-doc -l pl.UTF-8
561 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
562 rozwijania programów używających standardowych bibliotek C (używanych
563 przez prawie wszystkie programy).
565 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
566 korzystające ze standardowych bibliotek C.
569 Summary: Name Service Caching Daemon
570 Summary(es.UTF-8): Demonio de caché del servicio de nombres
571 Summary(ja.UTF-8): ネームサービスキャッシングデーモン (nacd)
572 Summary(pl.UTF-8): Demon zapamiętujący odpowiedzi serwisów nazw
573 Summary(ru.UTF-8): Кэширующий демон сервисов имен
574 Summary(uk.UTF-8): Кешуючий демон севісів імен
576 Group: Networking/Daemons
577 Requires(post): fileutils
578 Requires(post,preun): /sbin/chkconfig
579 Requires(postun): /usr/sbin/groupdel
580 Requires(postun): /usr/sbin/userdel
581 Requires(pre): /bin/id
582 Requires(pre): /usr/bin/getgid
583 Requires(pre): /usr/sbin/groupadd
584 Requires(pre): /usr/sbin/useradd
585 Requires: %{name} = %{epoch}:%{version}-%{release}
586 %{?with_selinux:Requires: libselinux >= 1.18}
587 Requires: rc-scripts >= 0.2.0
588 Provides: group(nscd)
592 nscd caches name service lookups; it can dramatically improve
593 performance with NIS+, and may help with DNS as well.
595 %description -n nscd -l es.UTF-8
596 nscd guarda las peticiones del servicio de nombres en una caché; eso
597 puede aumentar drásticamente las prestaciones de NIS+, y también puede
600 %description -n nscd -l ja.UTF-8
601 Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
602 ドラマティックに改善することができ、DNS を同様に補助します。
604 %description -n nscd -l pl.UTF-8
605 nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
606 drastycznie poprawić szybkość działania NIS+.
608 %description -n nscd -l ru.UTF-8
609 nscd кэширует результаты запросов к сервисам имен; это может резко
610 увеличить производительность работы с NIS+ и, также, может помочь с
613 %description -n nscd -l uk.UTF-8
614 nscd кешує результати запросів до сервісів імен; це може сильно
615 збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS.
617 %package -n localedb-src
618 Summary: locale database source code
619 Summary(es.UTF-8): Código fuente de la base de datos de los locales
620 Summary(pl.UTF-8): Kod źródłowy bazy locale
622 Requires: %{name} = %{epoch}:%{version}-%{release}
627 %description -n localedb-src
628 This add-on package contains the data needed to build the locale data
629 files to use the internationalization features of the GNU libc.
631 %description -n localedb-src -l es.UTF-8
632 Este paquete adicional contiene los datos necesarios para construir
633 los ficheros de locale, imprescindibles para usar las cualidades de
634 internacionalización de GNU libc.
636 %description -n localedb-src -l pl.UTF-8
637 Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików
638 lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU
641 %package localedb-all
642 Summary: locale database for all locales supported by glibc
643 Summary(es.UTF-8): Base de datos de todos los locales soportados por glibc
644 Summary(pl.UTF-8): Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc
646 Requires: %{name} = %{epoch}:%{version}-%{release}
647 Requires: iconv = %{epoch}:%{version}-%{release}
650 %description localedb-all
651 This package contains locale database for all locales supported by
652 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
653 something smaller with support for chosen locales only, consider
654 installing localedb-src and regenerating database using localedb-gen
655 script (when database is generated, localedb-src can be uninstalled).
657 %description localedb-all -l es.UTF-8
658 Este paquete contiene una base de datos de todos los locales
659 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
660 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
661 locales elegidos, considérese instalar localedb-src y regenerar la
662 base de datos usando el escript localedb-gen (una vez que la base de
663 datos esté creada, localedb-src se podrá desinstalar).
665 %description localedb-all -l pl.UTF-8
666 Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji
667 obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik
668 (około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych
669 lokalizacji, należy zainstalować pakiet localedb-src i przegenerować
670 bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy
671 pakiet localedb-src można odinstalować).
674 Summary: Convert encoding of given files from one encoding to another
675 Summary(es.UTF-8): Convierte entre varias codificaciones de los ficheros dados
676 Summary(pl.UTF-8): Moduły do konwersji plików tekstowych z jednego kodowania do innego
678 Requires: %{name} = %{epoch}:%{version}-%{release}
679 Provides: iconv(%{_target_base_arch})
681 %description -n iconv
682 Convert encoding of given files from one encoding to another. You need
683 this package if you want to convert some document from one encoding to
684 another or if you have installed some programs which use Generic
685 Character Set Conversion Interface.
687 %description -n iconv -l es.UTF-8
688 Convierte la codificación de dados ficheros. Necesita este paquete si
689 quiere convertir un documento entre una codificación (juego de
690 caracteres) y otra, o si tiene instalado algún programa que usa el
691 Generic Character Set Conversion Interface (interfaz genérica de
692 conversión de juegos de caracteres).
694 %description -n iconv -l pl.UTF-8
695 Moduły do konwersji plików tekstowych z jednego kodowania do innego.
696 Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję
697 dokumentów z jednego kodowania do innego lub do używania programów
698 korzystających z Generic Character Set Conversion Interface w glibc,
699 czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję
700 kodowania danych z poziomu dowolnego programu.
703 Summary: Static GNU libc libraries
704 Summary(es.UTF-8): Bibliotecas estáticas
705 Summary(pl.UTF-8): Biblioteki statyczne GNU libc
706 Summary(ru.UTF-8): Статические библиотеки glibc
707 Summary(uk.UTF-8): Статичні бібліотеки glibc
708 Group: Development/Libraries
709 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
710 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
711 Obsoletes: libiconv-static
714 GNU libc static libraries.
716 %description static -l es.UTF-8
717 Bibliotecas estáticas de GNU libc.
719 %description static -l pl.UTF-8
720 Biblioteki statyczne GNU libc.
722 %description static -l ru.UTF-8
723 Это отдельный пакет со статическими библиотеками, которые больше не
724 входят в glibc-devel.
726 %description static -l uk.UTF-8
727 Це окремий пакет зі статичними бібліотеками, що більше не входять в
731 Summary: glibc with profiling support
732 Summary(de.UTF-8): glibc mit Profil-Unterstützung
733 Summary(es.UTF-8): glibc con soporte de perfilamiento
734 Summary(fr.UTF-8): glibc avec support pour profiling
735 Summary(pl.UTF-8): glibc ze wsparciem dla profilowania
736 Summary(ru.UTF-8): GNU libc с поддержкой профайлера
737 Summary(tr.UTF-8): Ölçüm desteği olan glibc
738 Summary(uk.UTF-8): GNU libc з підтримкою профайлера
739 Group: Development/Libraries/Libc
740 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
741 Obsoletes: libc-profile
744 When programs are being profiled using gprof, they must use these
745 libraries instead of the standard C libraries for gprof to be able to
746 profile them correctly.
748 %description profile -l de.UTF-8
749 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
750 Libraries anstelle der üblichen C-Libraries verwendet werden.
752 %description profile -l es.UTF-8
753 Cuando programas son perfilidas usando gprof, tienen que usar estas
754 biblioteces en vez de las estándares para que gprof pueda perfilarlas
757 %description profile -l pl.UTF-8
758 Programy profilowane za pomocą gprof muszą używać tych bibliotek
759 zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je
762 %description profile -l uk.UTF-8
763 Коли програми досліджуються профайлером gprof, вони повинні
764 використовувати замість стандартних бібліотек бібліотеки, що містяться
765 в цьому пакеті. При використанні стандартних бібліотек gprof замість
766 реальних результатів буде показувати ціни на папайю в Гонолулу в
769 %description profile -l tr.UTF-8
770 gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu
771 kitaplığı kullanmak zorundadırlar.
773 %description profile -l ru.UTF-8
774 Когда программы исследуются профайлером gprof, они должны
775 использовать, вместо стандартных библиотек, библиотеки, включенные в
776 этот пакет. При использовании стандартных библиотек gprof вместо
777 реальных результатов будет показывать цены на папайю в Гонолулу в
781 Summary: glibc PIC archive
782 Summary(es.UTF-8): Archivo PIC de glibc
783 Summary(pl.UTF-8): Archiwum PIC glibc
784 Group: Development/Libraries/Libc
785 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
788 GNU C Library PIC archive contains an archive library (ar file)
789 composed of individual shared objects. This is used for creating a
790 library which is a smaller subset of the standard libc shared library.
792 %description pic -l es.UTF-8
793 El archivo PIC de la biblioteca glibc contiene una biblioteca
794 archivada (un fichero ar) compuesta de individuales objetos
795 compartidos. Es usado para crear una biblioteca que sea un subconjunto
796 más pequeño de la biblioteca libc compartida estándar.
798 %description pic -l pl.UTF-8
799 Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar)
800 złożoną z pojedynczych obiektów współdzielonych. Używana jest do
801 tworzenia biblioteki będącej mniejszym podzestawem standardowej
802 biblioteki współdzielonej libc.
804 %package -n nss_compat
805 Summary: Old style NYS NSS glibc module
806 Summary(es.UTF-8): El antiguo módulo NYS NSS de glibc
807 Summary(pl.UTF-8): Stary moduł NYS NSS glibc
809 Requires: %{name} = %{epoch}:%{version}-%{release}
811 %description -n nss_compat
812 Old style NYS NSS glibc module.
814 %description -n nss_compat -l es.UTF-8
815 El antiguo módulo NYS NSS de glibc
817 %description -n nss_compat -l pl.UTF-8
818 Stary moduł NYS NSS glibc.
821 Summary: BIND NSS glibc module
822 Summary(es.UTF-8): Módulo BIND NSS de glibc
823 Summary(pl.UTF-8): Moduł BIND NSS glibc
825 Requires: %{name} = %{epoch}:%{version}-%{release}
827 %description -n nss_dns
828 BIND NSS glibc module.
830 %description -n nss_dns -l es.UTF-8
831 Módulo BIND NSS de glibc.
833 %description -n nss_dns -l pl.UTF-8
834 Moduł BIND NSS glibc.
836 %package -n nss_files
837 Summary: Traditional files databases NSS glibc module
838 Summary(es.UTF-8): Módulo de tradicionales bases de datos en ficheros para glibc
839 Summary(pl.UTF-8): Moduł tradycyjnych plikowych baz danych NSS glibc
841 Requires: %{name} = %{epoch}:%{version}-%{release}
843 %description -n nss_files
844 Traditional files databases NSS glibc module.
846 %description -n nss_files -l es.UTF-8
847 Módulo de tradicionales bases de datos en ficheros para glibc.
849 %description -n nss_files -l pl.UTF-8
850 Moduł tradycyjnych plikowych baz danych NSS glibc.
852 %package -n nss_hesiod
853 Summary: hesiod NSS glibc module
854 Summary(es.UTF-8): Módulo hesiod NSS de glibc
855 Summary(pl.UTF-8): Moduł hesiod NSS glibc
857 Requires: %{name} = %{epoch}:%{version}-%{release}
859 %description -n nss_hesiod
860 glibc NSS (Name Service Switch) module for databases access.
862 %description -n nss_hesiod -l es.UTF-8
863 Módulo hesiod NSS de glibc.
865 %description -n nss_hesiod -l pl.UTF-8
866 Moduł glibc NSS (Name Service Switch) dostępu do baz danych.
869 Summary: NIS(YP) NSS glibc module
870 Summary(es.UTF-8): Módulo NIS(YP) NSS de glibc
871 Summary(pl.UTF-8): Moduł NIS(YP) NSS glibc
873 Requires: %{name} = %{epoch}:%{version}-%{release}
875 %description -n nss_nis
876 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
878 %description -n nss_nis -l es.UTF-8
879 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
881 %description -n nss_nis -l pl.UTF-8
882 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS(YP).
884 %package -n nss_nisplus
885 Summary: NIS+ NSS module
886 Summary(es.UTF-8): Módulo NIS+ NSS
887 Summary(pl.UTF-8): Moduł NIS+ NSS
889 Requires: %{name} = %{epoch}:%{version}-%{release}
891 %description -n nss_nisplus
892 glibc NSS (Name Service Switch) module for NIS+ databases access.
894 %description -n nss_nisplus -l es.UTF-8
895 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
898 %description -n nss_nisplus -l pl.UTF-8
899 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS+.
903 Summary(es.UTF-8): Un juguete
904 Summary(pl.UTF-8): Zabawka
906 Requires: %{name} = %{epoch}:%{version}-%{release}
908 %description memusage
911 %description memusage -l es.UTF-8
914 %description memusage -l pl.UTF-8
919 mv %{name}-ports-%{ports_version} ports
937 %{?with_cross:%patch21 -p1}
957 # cleanup backups after patching
958 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
962 # i786 (aka pentium4) hack
963 ln -s i686 nptl/sysdeps/i386/i786
964 ln -s i686 nptl/sysdeps/unix/sysv/linux/i386/i786
967 # glibc has its own way to remove PLT relocations. / H. J. Lu.
968 unset LD_SYMBOLIC_FUNCTIONS || :
970 cp -f /usr/share/automake/config.sub scripts
978 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
982 %ifarch %{ports_arch}
986 # force ld bfd (instead of gold)
988 ln -sf %{_bindir}/ld.bfd alt-tools/ld
989 PATH=$(pwd)/alt-tools:$PATH; export PATH
993 --with-binutils=$(pwd)/alt-tools \
994 --enable-kernel="%{min_kernel}" \
996 --with-headers=%{_includedir} \
997 --with%{!?with_selinux:out}-selinux \
999 --enable-add-ons=$AddOns \
1000 %if "%{pld_release}" != "ti"
1001 --enable-nss-crypt \
1003 --enable-stackguard-randomization \
1004 --enable-hidden-plt \
1016 env LANGUAGE=C LC_ALL=C \
1017 %{__make} tests 2>&1 | awk '
1020 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
1022 gsub(/.*\[/, NIL, file);
1023 gsub(/\].*/, NIL, file);
1027 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
1032 %if %{without cross}
1034 diet ${CC#*ccache } %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
1038 rm -rf $RPM_BUILD_ROOT
1039 install -d $RPM_BUILD_ROOT{/etc/{default,logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd,/var/cache/ldconfig}
1042 env LANGUAGE=C LC_ALL=C \
1044 install_root=$RPM_BUILD_ROOT \
1045 infodir=%{_infodir} \
1048 %if %{with localedb}
1049 env LANGUAGE=C LC_ALL=C \
1050 %{__make} localedata/install-locales \
1051 install_root=$RPM_BUILD_ROOT
1054 PICFILES="libc_pic.a libc.map
1055 math/libm_pic.a libm.map
1056 resolv/libresolv_pic.a"
1058 install -p $PICFILES $RPM_BUILD_ROOT%{_libdir}
1059 install -p elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
1060 install -p elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
1062 # Include %{_libdir}/gconv/gconv-modules.cache
1063 LD_PRELOAD=$(pwd)/libc.so.6 ./iconv/iconvconfig --nostdlib --prefix=$RPM_BUILD_ROOT %{_libdir}/gconv -o $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.cache
1066 %if %{without cross}
1067 install -p glibc-postinst $RPM_BUILD_ROOT/sbin
1070 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
1071 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
1073 # moved to tzdata package
1074 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
1075 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
1077 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
1079 # make symlinks across top-level directories absolute
1080 for l in BrokenLocale anl cidn crypt dl m nsl resolv rt thread_db util; do
1081 test -L $RPM_BUILD_ROOT%{_libdir}/lib${l}.so || exit 1
1082 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1083 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib${l}.so.*) $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1086 # linking nss modules directly is not supported
1087 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1089 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
1090 cp -a %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
1091 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1092 cp -a nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
1093 cp -a posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
1094 cp -a nis/nss $RPM_BUILD_ROOT/etc/default/nss
1095 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
1097 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1098 : > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
1099 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
1100 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
1101 : > $RPM_BUILD_ROOT/var/cache/ldconfig/aux-cache
1103 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
1105 # doesn't fit with out tzdata concept and configure.in is stupid assuming bash
1106 # is first posix compatible shell making this script depend on bash.
1107 rm -f $RPM_BUILD_ROOT%{_bindir}/tzselect
1108 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tzselect.8*
1109 rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/tzselect.8*
1111 : > $RPM_BUILD_ROOT/var/log/nscd
1112 : > $RPM_BUILD_ROOT/var/lib/nscd/passwd
1113 : > $RPM_BUILD_ROOT/var/lib/nscd/group
1114 : > $RPM_BUILD_ROOT/var/lib/nscd/hosts
1116 rm -rf documentation
1117 install -d documentation
1119 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
1120 cp -af nptl/$f documentation/$f.nptl
1122 cp -af crypt/README.ufc-crypt ChangeLog* documentation
1124 # Collect locale files and mark them with %%lang()
1125 echo '%defattr(644,root,root,755)' > glibc.lang
1126 for i in $RPM_BUILD_ROOT%{_datadir}/locale/*; do
1129 dir="${i#$RPM_BUILD_ROOT}"
1130 echo "%lang($lang) $dir" >> glibc.lang
1135 # Languages not supported by glibc locales, but usable via $LANGUAGE:
1136 # ang - Old English (gtk+, gnome)
1137 # ca@valencia (gtk+, gnome; as ca_ES@valencia in FileZilla; locale exists in Debian)
1138 # en@shaw - English with Shavian alphabet (gnome)
1140 # tlh - Klingon (bzflag)
1142 # sr@ije (use LANGUAGE=sr_ME@ije/sr_RS@ije) (gnome)
1144 # To be added when they become supported by glibc:
1146 # bal (newt,pessulus)
1148 # ckb [or ku_IQ/ku_IR] (vlc,miro)
1152 # gn (gn_BR in gnome, maybe gn_PY)
1153 # haw (iso-codes, stellarium)
1156 # io (gtk+2, gnome, alacarte)
1157 # jv (gmpc, avant-window-navigator, kdesudo)
1161 # man (ccsm; incorrectly named md)
1165 # sco (gnomad2, picard, stellarium)
1170 # To be removed (after fixing packages still using it):
1171 # sr@Latn (use sr@latin instead)
1174 # sr@ije or sr@ijekavian? (currently sr@ije is supported)
1175 # sr@ijelatin or sr@ijekavianlatin? (currently not supported)
1176 # sr@ijekavian and sr@ijekavianlatin exist in: akonadi-googledata, amarok, k3b, konversation, ktorrent, wesnoth
1178 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
1181 # Omitted here - already existing (with libc.mo):
1182 # 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
1185 for i in aa aa@saaho af am an ang ar ar_TN as ast az be@alternative be@latin \
1186 bg bn bn_IN br bs byn ca@valencia crh csb cy de_AT de_CH dv dz en \
1187 en@boldquot en@quot en@shaw en_AU en_CA en_NZ en_US eo es_AR es_CL es_CO es_CR \
1188 es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_SV es_UY \
1189 es_VE et eu fa fil fo fr_BE fr_CA fr_CH fur fy ga gd gez gu gv ha he \
1190 hi hne hsb hy ia id ig ik is it_CH iu ka kk kl km kn ks ku kw ky la \
1191 lg li lo lt lv mai mg mi mk ml mn mr ms mt my nds ne nl_BE nn nr nso \
1192 oc om or pa pap ps pt ps rm ro sa sc se si sid sl so sq sr sr@Latn tl \
1193 sr@ije sr@latin ss st sw ta te tg th ti tig tk tl tlh tn ts tt ug uk \
1194 ur uz uz@cyrillic ve vi wa wal wo xh yi yo zh_HK zu; do
1195 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1196 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1197 # use lang() tags with ll_CC@variant (stripping charset and @quot|@boldquot)
1198 lang=$(echo $i | sed -e 's/@quot\>\|@boldquot\>//')
1199 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1203 # LC_TIME category, used for localized date formats (at least by coreutils)
1204 for i in af be bg ca cs da de el en es et eu fi fr ga gl hu id it ja kk ko lg lt \
1205 ms nb nl pl pt pt_BR ro ru rw sk sl sv tr uk vi zh_CN zh_TW; do
1206 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i ]; then
1207 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1209 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_TIME
1212 # localedb-gen infrastructure
1213 sed -e 's,@localedir@,%{_libdir}/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1214 chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1215 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1217 # shutup check-files
1218 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1219 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1220 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1221 # we don't support kernel without ptys support
1222 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1224 rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/rpcinfo.8
1225 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/rpcinfo.8
1226 rm -f $RPM_BUILD_ROOT%{_sbindir}/rpcinfo
1229 rm -rf $RPM_BUILD_ROOT
1231 %if %{without cross}
1232 %post -p /sbin/postshell
1233 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
1236 %postun -p /sbin/ldconfig
1238 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1239 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1240 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1243 %triggerin -- cronie,vixie-cron,hc-cron,fcron,mcron
1244 # restart crond if glibc is upgraded, LP#721338
1245 if [ "$1" != 1 ]; then
1246 %service -q crond restart
1249 %post libcrypt -p /sbin/ldconfig
1250 %postun libcrypt -p /sbin/ldconfig
1252 %post memusage -p /sbin/ldconfig
1253 %postun memusage -p /sbin/ldconfig
1255 %post -n localedb-src
1257 [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
1258 [ -f /etc/sysconfig/localedb ] && . /etc/sysconfig/localedb
1259 if [ "$SUPPORTED_LOCALES" ]; then
1263 %post devel -p /sbin/postshell
1264 -/usr/sbin/fix-info-dir -c %{_infodir}
1266 %postun devel -p /sbin/postshell
1267 -/usr/sbin/fix-info-dir -c %{_infodir}
1270 %groupadd -P nscd -g 144 -r nscd
1271 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "Name Service Cache Daemon" -g nscd nscd
1274 if [ ! -f /var/log/nscd ]; then
1277 chown root:root /var/log/nscd
1278 chmod 640 /var/log/nscd
1280 /sbin/chkconfig --add nscd
1281 %service nscd restart "Name Service Cache Daemon"
1284 if [ "$1" = "0" ]; then
1286 /sbin/chkconfig --del nscd
1290 if [ "$1" = "0" ]; then
1295 %files -f %{name}.lang
1296 %defattr(644,root,root,755)
1297 %doc README NEWS FAQ BUGS
1298 %if %{without cross}
1299 %attr(755,root,root) /sbin/glibc-postinst
1301 # TODO: package ldconfig symlinks as %ghost
1302 %attr(755,root,root) /%{_lib}/ld-%{version}.so
1303 # wildly arch-dependent ld.so SONAME symlink
1304 %ifarch %{ix86} sparc sparcv9 sparc64 alpha sh
1305 %attr(755,root,root) /%{_lib}/ld-linux.so.2
1308 %attr(755,root,root) /%{_lib}/ld-linux-ia64.so.2
1311 %attr(755,root,root) /%{_lib}/ld-linux-x86-64.so.2
1314 %attr(755,root,root) /%{_lib}/ld64.so.1
1316 %ifnarch %{ix86} sparc sparcv9 sparc64 alpha sh ia64 %{x8664} ppc64 s390x %{arm}
1317 %attr(755,root,root) /%{_lib}/ld.so.1
1319 %attr(755,root,root) /%{_lib}/libBrokenLocale-%{version}.so
1321 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1.1
1323 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1
1325 %attr(755,root,root) /%{_lib}/libSegFault.so
1326 %attr(755,root,root) /%{_lib}/libanl-%{version}.so
1327 %attr(755,root,root) /%{_lib}/libanl.so.1
1328 %attr(755,root,root) /%{_lib}/libc-%{version}.so
1330 %attr(755,root,root) /%{_lib}/libc.so.6.1
1332 %attr(755,root,root) /%{_lib}/libc.so.6
1334 %attr(755,root,root) /%{_lib}/libcidn-%{version}.so
1335 %attr(755,root,root) /%{_lib}/libcidn.so.1
1336 %attr(755,root,root) /%{_lib}/libdl-%{version}.so
1338 %attr(755,root,root) /%{_lib}/libdl.so.2.1
1340 %attr(755,root,root) /%{_lib}/libdl.so.2
1342 %attr(755,root,root) /%{_lib}/libm-%{version}.so
1344 %attr(755,root,root) /%{_lib}/libm.so.6.1
1346 %attr(755,root,root) /%{_lib}/libm.so.6
1348 %attr(755,root,root) /%{_lib}/libnsl-%{version}.so
1350 %attr(755,root,root) /%{_lib}/libnsl.so.1.1
1352 %attr(755,root,root) /%{_lib}/libnsl.so.1
1354 %attr(755,root,root) /%{_lib}/libpthread-%{version}.so
1355 %attr(755,root,root) /%{_lib}/libpthread.so.0
1356 %attr(755,root,root) /%{_lib}/libresolv-%{version}.so
1358 %attr(755,root,root) /%{_lib}/libresolv.so.2.1
1360 %attr(755,root,root) /%{_lib}/libresolv.so.2
1362 %attr(755,root,root) /%{_lib}/librt-%{version}.so
1363 %attr(755,root,root) /%{_lib}/librt.so.1
1364 %attr(755,root,root) /%{_lib}/libthread_db-1.0.so
1365 %attr(755,root,root) /%{_lib}/libthread_db.so.1
1366 %attr(755,root,root) /%{_lib}/libutil-%{version}.so
1368 %attr(755,root,root) /%{_lib}/libutil.so.1.1
1370 %attr(755,root,root) /%{_lib}/libutil.so.1
1372 %{?with_localedb:%dir %{_libdir}/locale}
1375 %defattr(644,root,root,755)
1376 %attr(755,root,root) /%{_lib}/libnss_dns-%{version}.so
1377 %attr(755,root,root) /%{_lib}/libnss_dns.so.2
1379 #%files -n nss_files
1380 %defattr(644,root,root,755)
1381 %attr(755,root,root) /%{_lib}/libnss_files-%{version}.so
1382 %attr(755,root,root) /%{_lib}/libnss_files.so.2
1384 %defattr(644,root,root,755)
1386 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1387 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1388 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/default/nss
1390 %config %{_sysconfdir}/rpc
1392 %attr(755,root,root) /sbin/sln
1393 %attr(755,root,root) %{_bindir}/getconf
1394 %attr(755,root,root) %{_bindir}/getent
1395 %attr(755,root,root) %{_bindir}/iconv
1396 %ifarch %{ix86} m68k sparc sparcv9
1397 %attr(755,root,root) %{_bindir}/lddlibc4
1399 %attr(755,root,root) %{_bindir}/locale
1400 %attr(755,root,root) %{_bindir}/rpcgen
1401 %attr(755,root,root) %{_bindir}/sotruss
1402 %attr(755,root,root) %{_sbindir}/zdump
1403 %attr(755,root,root) %{_sbindir}/zic
1405 %dir %{_libexecdir}/getconf
1406 %attr(755,root,root) %{_libexecdir}/getconf/*
1408 %dir %{_datadir}/locale
1409 %{_datadir}/locale/locale.alias
1411 %{_mandir}/man1/getconf.1*
1412 %{_mandir}/man1/getent.1*
1413 %{_mandir}/man1/iconv.1*
1414 %{_mandir}/man1/locale.1*
1415 %{_mandir}/man1/rpcgen.1*
1416 %{_mandir}/man5/locale.5*
1417 %{_mandir}/man5/nsswitch.conf.5*
1418 %{_mandir}/man5/tzfile.5*
1420 %{_mandir}/man8/ld-linux.8*
1421 %{_mandir}/man8/ld-linux.so.8*
1422 %{_mandir}/man8/ld.so.8*
1423 %{_mandir}/man8/sln.8*
1424 %{_mandir}/man8/zdump.8*
1425 %{_mandir}/man8/zic.8*
1426 %lang(cs) %{_mandir}/cs/man7/*
1427 %lang(de) %{_mandir}/de/man5/tzfile.5*
1428 %lang(de) %{_mandir}/de/man7/*
1429 %lang(es) %{_mandir}/es/man5/locale.5*
1430 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1431 %lang(es) %{_mandir}/es/man5/tzfile.5*
1432 %lang(es) %{_mandir}/es/man7/*
1433 %lang(es) %{_mandir}/es/man8/ld-linux.8*
1434 %lang(es) %{_mandir}/es/man8/ld-linux.so.8*
1435 %lang(es) %{_mandir}/es/man8/ld.so.8*
1436 %lang(es) %{_mandir}/es/man8/zdump.8*
1437 %lang(es) %{_mandir}/es/man8/zic.8*
1438 %lang(fr) %{_mandir}/fr/man5/locale.5*
1439 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1440 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1441 %lang(fr) %{_mandir}/fr/man7/*
1442 %lang(fr) %{_mandir}/fr/man8/ld-linux.8*
1443 %lang(fr) %{_mandir}/fr/man8/ld-linux.so.8*
1444 %lang(fr) %{_mandir}/fr/man8/ld.so.8*
1445 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1446 %lang(fr) %{_mandir}/fr/man8/zic.8*
1447 %lang(hu) %{_mandir}/hu/man7/*
1448 %lang(hu) %{_mandir}/hu/man8/ld-linux.8*
1449 %lang(hu) %{_mandir}/hu/man8/ld-linux.so.8*
1450 %lang(hu) %{_mandir}/hu/man8/ld.so.8*
1451 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1452 %lang(it) %{_mandir}/it/man5/locale.5*
1453 %lang(it) %{_mandir}/it/man7/*
1454 %lang(it) %{_mandir}/it/man8/zdump.8*
1455 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1456 %lang(ja) %{_mandir}/ja/man5/locale.5*
1457 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1458 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1459 %lang(ja) %{_mandir}/ja/man7/*
1460 %lang(ja) %{_mandir}/ja/man8/ld-linux.8*
1461 %lang(ja) %{_mandir}/ja/man8/ld-linux.so.8*
1462 %lang(ja) %{_mandir}/ja/man8/ld.so.8*
1463 %lang(ja) %{_mandir}/ja/man8/sln.8*
1464 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1465 %lang(ja) %{_mandir}/ja/man8/zic.8*
1466 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1467 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1468 %lang(ko) %{_mandir}/ko/man7/*
1469 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1470 %lang(pl) %{_mandir}/pl/man5/locale.5*
1471 %lang(pl) %{_mandir}/pl/man7/*
1472 %lang(pl) %{_mandir}/pl/man8/ld-linux.8*
1473 %lang(pl) %{_mandir}/pl/man8/ld-linux.so.8*
1474 %lang(pl) %{_mandir}/pl/man8/ld.so.8*
1475 %lang(pt) %{_mandir}/pt/man5/locale.5*
1476 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1477 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1478 %lang(pt) %{_mandir}/pt/man7/*
1479 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1480 %lang(pt) %{_mandir}/pt/man8/zic.8*
1481 %lang(ru) %{_mandir}/ru/man1/getent.1*
1482 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1483 %lang(ru) %{_mandir}/ru/man1/locale.1*
1484 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1485 %lang(ru) %{_mandir}/ru/man5/locale.5*
1486 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1487 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1488 %lang(ru) %{_mandir}/ru/man7/*
1489 %lang(ru) %{_mandir}/ru/man8/ld-linux.so.8*
1490 %lang(ru) %{_mandir}/ru/man8/ld.so.8*
1491 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1492 %lang(ru) %{_mandir}/ru/man8/zic.8*
1493 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1494 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1495 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1496 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1497 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1498 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1499 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1502 %defattr(644,root,root,755)
1503 %attr(755,root,root) %{_bindir}/catchsegv
1504 %attr(755,root,root) %{_bindir}/ldd
1505 %{_mandir}/man1/catchsegv.1*
1506 %{_mandir}/man1/ldd.1*
1507 %lang(es) %{_mandir}/es/man1/ldd.1*
1508 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1509 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1510 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1511 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1512 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1513 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1514 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1515 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1516 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1519 %defattr(644,root,root,755)
1520 %attr(755,root,root) /%{_lib}/libcrypt-%{version}.so
1522 %attr(755,root,root) %ghost /%{_lib}/libcrypt.so.1.1
1524 %attr(755,root,root) %ghost /%{_lib}/libcrypt.so.1
1528 %defattr(644,root,root,755)
1529 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1530 %dir %{_sysconfdir}/ld.so.conf.d
1531 %ghost %{_sysconfdir}/ld.so.cache
1532 %attr(755,root,root) /sbin/ldconfig
1533 %{_mandir}/man8/ldconfig.8*
1534 %lang(es) %{_mandir}/es/man8/ldconfig.8*
1535 %lang(fr) %{_mandir}/fr/man8/ldconfig.8*
1536 %lang(hu) %{_mandir}/hu/man8/ldconfig.8*
1537 %lang(ja) %{_mandir}/ja/man8/ldconfig.8*
1538 %lang(pl) %{_mandir}/pl/man8/ldconfig.8*
1539 %lang(pt) %{_mandir}/pt/man8/ldconfig.8*
1540 %lang(ru) %{_mandir}/ru/man8/ldconfig.8*
1541 %dir %attr(700,root,root) /var/cache/ldconfig
1542 %attr(600,root,root) %ghost /var/cache/ldconfig/aux-cache
1544 %files -n nss_compat
1545 %defattr(644,root,root,755)
1546 %attr(755,root,root) /%{_lib}/libnss_compat-%{version}.so
1547 %attr(755,root,root) /%{_lib}/libnss_compat.so.2
1549 %files -n nss_hesiod
1550 %defattr(644,root,root,755)
1551 %attr(755,root,root) /%{_lib}/libnss_hesiod-%{version}.so
1552 %attr(755,root,root) /%{_lib}/libnss_hesiod.so.2
1555 %defattr(644,root,root,755)
1556 %attr(755,root,root) /%{_lib}/libnss_nis-%{version}.so
1557 %attr(755,root,root) /%{_lib}/libnss_nis.so.2
1559 %files -n nss_nisplus
1560 %defattr(644,root,root,755)
1561 %attr(755,root,root) /%{_lib}/libnss_nisplus-%{version}.so
1562 %attr(755,root,root) /%{_lib}/libnss_nisplus.so.2
1564 %if %{with memusage}
1566 %defattr(644,root,root,755)
1567 %attr(755,root,root) %{_bindir}/memusage*
1568 %attr(755,root,root) %{_libdir}/libmemusage.so
1572 %defattr(644,root,root,755)
1573 %attr(755,root,root) %{_libdir}/libBrokenLocale.so
1574 %attr(755,root,root) %{_libdir}/libanl.so
1575 %attr(755,root,root) %{_libdir}/libcrypt.so
1576 %attr(755,root,root) %{_libdir}/libcidn.so
1577 %attr(755,root,root) %{_libdir}/libdl.so
1578 %attr(755,root,root) %{_libdir}/libm.so
1579 %attr(755,root,root) %{_libdir}/libnsl.so
1580 %attr(755,root,root) %{_libdir}/libpcprofile.so
1581 %attr(755,root,root) %{_libdir}/libresolv.so
1582 %attr(755,root,root) %{_libdir}/librt.so
1583 %attr(755,root,root) %{_libdir}/libthread_db.so
1584 %attr(755,root,root) %{_libdir}/libutil.so
1585 %{_libdir}/crt[1in].o
1586 %{_libdir}/[MSg]crt1.o
1589 %{_libdir}/libpthread.so
1591 %{_libdir}/libbsd-compat.a
1593 %{_libdir}/libc_nonshared.a
1595 %{_libdir}/libieee.a
1596 %ifarch alpha ppc sparc
1597 %{_libdir}/libnldbl_nonshared.a
1599 %{_libdir}/libpthread_nonshared.a
1600 %{_libdir}/librpcsvc.a
1601 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1602 # ABI-dependent headers
1603 %{_includedir}/gnu/stubs-*.h
1607 %defattr(644,root,root,755)
1610 %{_includedir}/alpha
1614 %dir %{_includedir}/gnu
1615 %{_includedir}/gnu/lib*.h
1616 %{_includedir}/gnu/stubs.h
1618 %{_includedir}/netash
1619 %{_includedir}/netatalk
1620 %{_includedir}/netax25
1621 %{_includedir}/neteconet
1622 %{_includedir}/netiucv
1623 %{_includedir}/netinet
1624 %{_includedir}/netipx
1625 %{_includedir}/netpacket
1626 %{_includedir}/netrom
1627 %{_includedir}/netrose
1629 %{_includedir}/protocols
1631 %{_includedir}/rpcsvc
1636 %defattr(644,root,root,755)
1637 %attr(755,root,root) %{_bindir}/gencat
1638 %attr(755,root,root) %{_bindir}/*prof*
1639 %attr(755,root,root) %{_bindir}/*trace
1642 %defattr(644,root,root,755)
1643 %doc documentation/* NOTES PROJECTS
1644 %{_infodir}/libc.info*
1646 %{_mandir}/man1/sprof.1*
1648 %lang(cs) %{_mandir}/cs/man3/*
1649 %lang(de) %{_mandir}/de/man3/*
1650 %lang(es) %{_mandir}/es/man3/*
1651 %lang(fr) %{_mandir}/fr/man3/*
1652 %lang(hu) %{_mandir}/hu/man3/*
1653 %lang(it) %{_mandir}/it/man3/*
1654 %lang(ja) %{_mandir}/ja/man3/*
1655 %lang(ko) %{_mandir}/ko/man3/*
1656 %lang(nl) %{_mandir}/nl/man3/*
1657 %lang(pl) %{_mandir}/pl/man3/*
1658 %lang(pt) %{_mandir}/pt/man3/*
1659 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1660 %lang(ru) %{_mandir}/ru/man3/*
1661 %lang(tr) %{_mandir}/tr/man3/*
1662 %lang(uk) %{_mandir}/uk/man3/*
1663 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1666 %defattr(644,root,root,755)
1667 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1668 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1669 %attr(754,root,root) /etc/rc.d/init.d/nscd
1670 %attr(755,root,root) %{_sbindir}/nscd*
1671 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1672 %attr(640,root,root) %ghost /var/log/nscd
1675 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1676 %attr(600,root,root) %ghost /var/lib/nscd/group
1677 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1678 %{_mandir}/man5/nscd.conf.5*
1679 %{_mandir}/man8/nscd.8*
1680 %{_mandir}/man8/nscd_nischeck.8*
1681 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1682 %lang(es) %{_mandir}/es/man8/nscd.8*
1683 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1684 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1685 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1686 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1687 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1688 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1689 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1690 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1691 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1693 %files -n localedb-src
1694 %defattr(644,root,root,755)
1695 %attr(755,root,root) %{_bindir}/localedef
1696 %attr(755,root,root) %{_bindir}/localedb-gen
1698 %{_mandir}/man1/localedef.1*
1699 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1701 %if %{with localedb}
1703 %defattr(644,root,root,755)
1704 %{_libdir}/locale/locale-archive
1708 %defattr(644,root,root,755)
1709 %attr(755,root,root) %{_sbindir}/iconvconfig
1710 %dir %{_libdir}/gconv
1711 %{_libdir}/gconv/gconv-modules
1712 %verify(not md5 mtime size) %{_libdir}/gconv/gconv-modules.cache
1713 %attr(755,root,root) %{_libdir}/gconv/*.so
1716 %defattr(644,root,root,755)
1718 %{_libdir}/libBrokenLocale.a
1720 %{_libdir}/libcrypt.a
1723 %{_libdir}/libmcheck.a
1725 %{_libdir}/libpthread.a
1726 %{_libdir}/libresolv.a
1728 %{_libdir}/libutil.a
1731 %defattr(644,root,root,755)
1735 %defattr(644,root,root,755)
1736 %{_libdir}/lib*_pic.a