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.
5 # - localedb-gen man pages(?)
6 # - math/{test-fenv,test-tgmath,test-float,test-ifloat}, debug/backtrace-tst(SEGV) fail on alpha
9 # min_kernel (default is 2.6.12)
10 %bcond_without memusage # don't build memusage utility
11 %bcond_without selinux # without SELinux support (in nscd)
12 %bcond_with tests # perform "make test"
13 %bcond_without localedb # don't build localedb-all (is time consuming)
14 %bcond_with cross # build using crossgcc (without libgcc_eh)
16 %{!?min_kernel:%global min_kernel 2.6.12}
19 %undefine with_memusage
22 %define ports_version 2.14.1
23 %define llh_version 7:2.6.20.4-1
26 Summary(de.UTF-8): GNU libc
27 Summary(es.UTF-8): GNU libc
28 Summary(fr.UTF-8): GNU libc
29 Summary(ja.UTF-8): GNU libc ライブラリ
30 Summary(pl.UTF-8): GNU libc
31 Summary(ru.UTF-8): GNU libc версии
32 Summary(tr.UTF-8): GNU libc
33 Summary(uk.UTF-8): GNU libc версії
40 Source0: http://ftp.gnu.org/gnu/glibc/%{name}-%{version}.tar.xz
41 # Source0-md5: 55501b8d037a4f1d330312b30fd6d4bc
42 Source1: http://ftp.gnu.org/gnu/glibc/%{name}-ports-%{ports_version}.tar.xz
43 # Source1-md5: 3b3afcb6b99fea9e3a2474cc4778ec88
45 Source3: nscd.sysconfig
46 Source4: nscd.logrotate
47 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
48 Source5: http://qboosh.pl/man/%{name}-man-pages.tar.bz2
49 # Source5-md5: f464eadf3cf06761f65639e44a179e6b
50 Source6: %{name}-localedb-gen
51 Source7: %{name}-LD-path.c
53 Patch0: %{name}-restore-rpc+nis.patch
54 Patch1: %{name}-pl.po-update.patch
55 Patch2: %{name}-pld.patch
56 Patch3: %{name}-crypt-blowfish.patch
57 Patch4: %{name}-sotruss-sh.patch
58 Patch5: %{name}-sparc-softfp-gcc.patch
59 Patch6: %{name}-paths.patch
60 Patch7: %{name}-no_opt_override.patch
61 Patch8: %{name}-missing-nls.patch
62 Patch9: %{name}-java-libc-wait.patch
63 Patch10: %{name}-info.patch
64 Patch11: %{name}-no_debuggable_objects.patch
65 Patch14: %{name}-sparc-errno_fix.patch
66 Patch15: %{name}-new-charsets.patch
67 Patch16: %{name}-tzfile-noassert.patch
68 Patch17: %{name}-morelocales.patch
69 Patch18: %{name}-locale_fixes.patch
70 Patch19: %{name}-ZA_collate.patch
71 Patch20: %{name}-thread_start.patch
72 Patch21: %{name}-cross-gcc_eh.patch
73 Patch22: %{name}-with-stroke.patch
74 Patch23: %{name}-pt_pax.patch
75 Patch25: %{name}-cv_gnu89_inline.patch
76 Patch26: %{name}-posix-sh.patch
77 Patch27: %{name}-i686.patch
78 Patch29: %{name}-arm-alignment-fix.patch
79 Patch30: %{name}-bug-12492.patch
80 Patch31: %{name}-origin.patch
81 Patch32: %{name}-Os-fail-workaround.patch
82 Patch33: 0020_all_glibc-tweak-rfc1918-lookup.patch
83 Patch35: 0055_all_glibc-2.12-static-shared-getpagesize.patch
84 Patch37: 0061_all_glibc-2.13-static-memset.patch
85 Patch38: 1055_all_glibc-resolv-dynamic.patch
86 Patch39: %{name}-git.patch
87 Patch40: %{name}-bad-fix.patch
88 Patch41: %{name}-pr12892.patch
89 URL: http://www.gnu.org/software/libc/
90 %{?with_selinux:BuildRequires: audit-libs-devel}
91 BuildRequires: autoconf
92 BuildRequires: automake
94 BuildRequires: binutils >= 2:2.17.50.0.7
96 BuildRequires: binutils >= 2:2.15.90.0.3
98 %{!?with_cross:BuildRequires: dietlibc-static}
100 BuildRequires: gcc >= 6:4.3
101 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
102 BuildRequires: gettext-devel >= 0.10.36
103 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
104 BuildRequires: linux-libc-headers >= %{llh_version}
105 BuildRequires: nss-devel >= 1:3.12.3
106 BuildRequires: perl-base
107 BuildRequires: rpm-build >= 4.3-0.20030610.28
108 BuildRequires: rpmbuild(macros) >= 1.567
109 BuildRequires: sed >= 4.0.5
110 BuildRequires: texinfo
111 Requires(post): ldconfig = %{epoch}:%{version}-%{release}
112 Requires: uname(release) >= %{min_kernel}
113 Provides: glibc(nptl)
115 Provides: rtld(GNU_HASH)
116 Obsoletes: glibc-common
117 Obsoletes: glibc-debug
118 %ifarch %{x8664} sparc64 ppc64
124 Conflicts: %{name}-misc < %{epoch}:%{version}-%{release}
125 Conflicts: SysVinit < 2.86-11
126 Conflicts: kernel < %{min_kernel}
128 Conflicts: kernel24-smp
129 Conflicts: ld.so < 1.9.9-10
130 Conflicts: man-pages < 1.43
131 Conflicts: poldek < 0.18.8-5
132 Conflicts: rc-scripts < 0.3.1-13
134 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64 armv5tel
135 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
137 # avoid -s here (ld.so must not be stripped to allow any program debugging)
138 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
139 # avoid -D_FORTIFY_SOURCE=X
140 %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+
142 %define specflags_sparcv9 -mcpu=ultrasparc -mvis -fcall-used-g6
143 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
145 # ld.so needs not to be stripped to work
146 # gdb needs unstripped libpthread for some threading support
147 # ...but we can strip at least debuginfo from them
148 %define _autostripdebug .*/ld-[0-9.]*so\\|.*/libpthread-[0-9.]*so
150 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
151 %ifarch sparc sparcv9
152 %{expand:%%define __cc %{__cc} -m32}
155 # Architectures supported in glibc-ports
156 %define ports_arch alpha %{arm}
159 %define specflags_ia32 -mno-tls-direct-seg-refs
160 %define specflags_x86_64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
161 %define specflags_amd64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
162 %define specflags_ia32e -mno-tls-direct-seg-refs
164 # we don't want perl dependency in glibc-devel
165 %define _noautoreqfiles %{_bindir}/mtrace
166 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
167 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
168 # patched not to crash on partial hardlinks too)
169 %define _hack_dontneed_PartialHardlinkSets 1
170 %define _noautochrpath .*\\(ldconfig\\|sln\\)
172 %define _noautoprov .*\(GLIBC_PRIVATE\)
173 %define _noautoreq .*\(GLIBC_PRIVATE\)
176 Contains the standard libraries that are used by multiple programs on
177 the system. In order to save disk space and memory, as well as to ease
178 upgrades, common system code is kept in one place and shared between
179 programs. This package contains the most important sets of shared
180 libraries, the standard C library and the standard math library.
181 Without these, a Linux system will not function. It also contains
182 national language (locale) support.
184 Can be used on: Linux kernel >= %{min_kernel}.
186 %description -l es.UTF-8
187 Contiene las bibliotecas estándared que son usadas por varios
188 programas del sistema. Para ahorrar el espacio en el disco y la
189 memoria, igual que para facilitar actualizaciones, código común del
190 sistema se guarda en un sitio y es compartido entre los programas.
191 Este paquete contiene las bibliotecas compartidas más importantes, es
192 decir la biblioteca C estándar y la biblioteca estándar de matemática.
193 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
194 soporte de idiomas nacionales (locale).
196 Puede usarse con: núcleo Linux >= %{min_kernel}.
198 %description -l de.UTF-8
199 Enthält die Standard-Libraries, die von verschiedenen Programmen im
200 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
201 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
202 einer einzigen Stelle gespeichert und wird von den Programmen
203 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
204 shared Libraries, die Standard-C-Library und die
205 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
206 Ferner enthält es den Support für die verschiedenen Sprachgregionen
209 Can be used on: Linux kernel >= %{min_kernel}.
211 %description -l fr.UTF-8
212 Contient les bibliothèques standards utilisées par de nombreux
213 programmes du système. Afin d'économiser l'espace disque et mémoire,
214 et de faciliter les mises à jour, le code commun au système est mis à
215 un endroit et partagé entre les programmes. Ce paquetage contient les
216 bibliothèques partagées les plus importantes, la bibliothèque standard
217 du C et la bibliothèque mathématique standard. Sans celles-ci, un
218 système Linux ne peut fonctionner. Il contient aussi la gestion des
219 langues nationales (locales).
221 Can be used on: Linux kernel >= %{min_kernel}.
223 %description -l ja.UTF-8
225 パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
226 ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
227 用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
228 間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
229 重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
230 この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc
231 パッケージはまた地域言語 (locale) サポートとタイムゾーンデータベース
234 Can be used on: Linux kernel >= %{min_kernel}.
236 %description -l pl.UTF-8
237 W pakiecie znajdują się podstawowe biblioteki, używane przez różne
238 programy w Twoim systemie. Używanie przez programy bibliotek z tego
239 pakietu oszczędza miejsce na dysku i pamięć. Większość kodu
240 systemowego jest usytuowane w jednym miejscu i dzielone między wieloma
241 programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek
242 standardowych, współdzielonych (dynamicznych) bibliotek C i
243 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować.
244 Znajdują się tutaj również definicje różnych informacji dla wielu
247 Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}.
249 %description -l ru.UTF-8
250 Содержит стандартные библиотеки, используемые многочисленными
251 программами в системе. Для того, чтобы сохранить дисковое пространство
252 и память, а также для простоты обновления, системный код, общий для
253 всех программ, хранится в одном месте и коллективно используется всеми
254 программами. Этот пакет содержит наиболее важные из разделяемых
255 библиотек - стандартную библиотеку C и стандартную библиотеку
256 математики. Без этих библиотек Linux функционировать не будет. Также
257 пакет содержит поддержку национальных языков (locale).
259 Can be used on: Linux kernel >= %{min_kernel}.
261 %description -l tr.UTF-8
262 Bu paket, birçok programın kullandığı standart kitaplıkları içerir.
263 Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme
264 işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde
265 tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak
266 kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını
267 içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel
268 dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır.
270 Can be used on: Linux kernel >= %{min_kernel}.
272 %description -l uk.UTF-8
273 Містить стандартні бібліотеки, котрі використовуються численними
274 програмами в системі. Для того, щоб зберегти дисковий простір та
275 пам'ять, а також для простоти поновлення системи, системний код,
276 спільний для всіх програм, зберігається в одному місці і колективно
277 використовується всіма програмами. Цей пакет містить найбільш важливі
278 з динамічних бібліотек - стандартну бібліотеку С та стандартну
279 бібліотеку математики. Без цих бібліотек Linux функціонувати не буде.
280 Також пакет містить підтримку національних мов (locale).
282 Can be used on: Linux kernel >= %{min_kernel}.
285 Summary: Utilities and data used by glibc
286 Summary(pl.UTF-8): Narzędzia i dane używane przez glibc
287 Group: Applications/System
288 Requires: %{name} = %{epoch}:%{version}-%{release}
291 Utilities and data used by glibc.
293 %description misc -l pl.UTF-8
294 Narzędzia i dane używane przez glibc.
297 Summary: glibc library for crypt(3)
298 Summary(pl.UTF-8): Biblioteka glibc z funkcją crypt(3)
300 Requires: %{name} = %{epoch}:%{version}-%{release}
301 Provides: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
302 Provides: crypt(blowfish)
304 %description libcrypt
305 glibc library for crypt(3).
307 %description libcrypt -l pl.UTF-8
308 Biblioteka glibc z funkcją crypt(3).
311 Summary: Create shared library cache and maintains symlinks
312 Summary(de.UTF-8): Erstellt ein shared library cache und verwaltet symlinks
313 Summary(fr.UTF-8): Crée un cache de bibliothčque partagée et gčre *.so
314 Summary(pl.UTF-8): Tworzenie cache'u bibliotek dynamicznych i ich dowiązań symbolicznych
315 Summary(tr.UTF-8): Ortak kitaplýk önbelleđi yaratýr ve bađlantýlarý kurar
316 Group: Applications/System
317 # This is needed because previous package (glibc) had autoreq false and had
318 # provided this manually. Probably poldek bug that have to have it here.
319 Provides: /sbin/ldconfig
320 # we want FHS being installed before ldconfig, altho they are both unrelated to each-other.
323 %description -n ldconfig
324 ldconfig scans a running system and sets up the symbolic links that
325 are used to load shared libraries properly. It also creates
326 /etc/ld.so.cache which speeds the loading programs which use shared
329 %description -n ldconfig -l de.UTF-8
330 ldconfig scannt ein laufendes System und richtet die symbolischen
331 Verknüpfungen zum Laden der gemeinsam genutzten Libraries ein.
332 Außerdem erstellt es /etc/ld.so.cache, was das Laden von Programmen
333 mit gemeinsam genutzten Libraries beschleunigt.
335 %description -n ldconfig -l fr.UTF-8
336 ldconfig analyse un systčme et configure les liens symboliques
337 utilisés pour charger correctement les bibliothčques partagées. Il
338 crée aussi /etc/ld.so.cache qui accélčre le chargement des programmes
339 utilisant les bibliothčques partagées.
341 %description -n ldconfig -l pl.UTF-8
342 ldconfig testuje uruchomiony system i tworzy dowiązania symboliczne,
343 które są następnie używane do poprawnego ładowania bibliotek
344 dynamicznych. Program ten tworzy plik /etc/ld.so.cache, który
345 przyśpiesza ładowanie programów korzystających z bibliotek
348 %description -n ldconfig -l tr.UTF-8
349 ldconfig, çalýţmakta olan sistemi araţtýrýr ve ortak kitaplýklarýn
350 düzgün bir ţekilde yüklenmesi için gereken simgesel bađlantýlarý
351 kurar. Ayrýca ortak kitaplýklarý kullanan programlarýn yüklenmesini
352 hýzlandýran /etc/ld.so.cache dosyasýný yaratýr.
355 Summary: Additional libraries required to compile
356 Summary(de.UTF-8): Weitere Libraries zum Kompilieren
357 Summary(es.UTF-8): Bibliotecas adicionales necesarias para la compilación
358 Summary(fr.UTF-8): Librairies supplémentaires nécessaires à la compilation
359 Summary(ja.UTF-8): 標準 C ライブラリで使われるヘッダーとオブジェクトファイル
360 Summary(pl.UTF-8): Dodatkowe biblioteki wymagane podczas kompilacji
361 Summary(ru.UTF-8): Дополнительные библиотеки, необходимые для компиляции
362 Summary(tr.UTF-8): Geliştirme için gerekli diğer kitaplıklar
363 Summary(uk.UTF-8): Додаткові бібліотеки, потрібні для компіляції
364 Group: Development/Libraries
365 Requires: %{name} = %{epoch}:%{version}-%{release}
366 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
367 Requires: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
368 %if "%{_lib}" == "lib64"
369 Requires: %{name}-headers(64bit) = %{epoch}:%{version}-%{release}
371 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
373 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
374 Obsoletes: libiconv-devel
377 To develop programs which use the standard C libraries (which nearly
378 all programs do), the system needs to have these standard header files
379 and object files available for creating the executables.
381 %description devel -l de.UTF-8
382 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
383 verwenden (also fast alle), benötigt das System diese Standard-Header-
384 und Objektdateien zum Erstellen der ausführbaren Programme.
386 %description devel -l es.UTF-8
387 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
388 cual hacen prácticamente todos los programas), el sistema necesita
389 disponer de estos ficheros de cabecera y de objetos para crear los
392 %description devel -l fr.UTF-8
393 Pour développer des programmes utilisant les bibliothèques standard du
394 C (ce que presque tous les programmes font), le système doit posséder
395 ces fichiers en-têtes et objets standards pour créer les exécutables.
397 %description devel -l ja.UTF-8
398 glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C
399 ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト
401 ライブラリを使用するプログラムを開発するなら
402 実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル
405 %description devel -l pl.UTF-8
406 Pakiet ten jest niezbędny przy tworzeniu własnych programów
407 korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki
408 nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów
409 wykonywalnych i innych bibliotek.
411 %description devel -l ru.UTF-8
412 Для разработки программ, использующих стандартные библиотеки C (а
413 практически все программы их используют), системе НЕОБХОДИМЫ хедеры и
414 объектные файлы, содержащиеся в этом пакете, чтобы создавать
417 %description devel -l tr.UTF-8
418 C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar
419 geliştirmek için gereken standart başlık dosyaları ve statik
422 %description devel -l uk.UTF-8
423 Для розробки програм, що використовують стандартні бібліотеки C
424 (практично всі програми їх використовують), системі НЕОБХІДНІ хедери
425 та об'єктні файли, що містяться в цьому пакеті, цоб створювати
429 Summary: Header files for development using standard C libraries
430 Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C
431 Group: Development/Building
432 Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
433 %if "%{_lib}" == "lib64"
434 Provides: %{name}-headers(64bit) = %{epoch}:%{version}-%{release}
437 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
438 # have to be installed, not ix86 one.
439 Obsoletes: glibc-headers(athlon)
440 Obsoletes: glibc-headers(i386)
441 Obsoletes: glibc-headers(i486)
442 Obsoletes: glibc-headers(i586)
443 Obsoletes: glibc-headers(i686)
444 Obsoletes: glibc-headers(pentium3)
445 Obsoletes: glibc-headers(pentium4)
448 Obsoletes: glibc-headers(ppc)
451 Obsoletes: glibc-headers(s390)
454 Obsoletes: glibc-headers(sparc)
456 Requires: linux-libc-headers >= %{llh_version}
459 The glibc-headers package contains the header files necessary for
460 developing programs which use the standard C libraries (which are used
461 by nearly all programs). If you are developing programs which will use
462 the standard C libraries, your system needs to have these standard
463 header files available in order to create the executables.
465 Install glibc-headers if you are going to develop programs which will
466 use the standard C libraries.
468 %description headers -l pl.UTF-8
469 Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania
470 programów używających standardowych bibliotek C (używanych przez
471 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
472 standardowych bibliotek C, system wymaga dostępności tych
473 standardowych plików nagłówkowych do tworzenia programów
476 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
477 korzystające ze standardowych bibliotek C.
480 Summary: Utilities needed for development using standard C libraries
481 Summary(pl.UTF-8): Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C
482 Group: Development/Libraries
483 Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
485 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
486 # have to be installed, not ix86 one.
487 Obsoletes: glibc-devel-utils(athlon)
488 Obsoletes: glibc-devel-utils(i386)
489 Obsoletes: glibc-devel-utils(i486)
490 Obsoletes: glibc-devel-utils(i586)
491 Obsoletes: glibc-devel-utils(i686)
492 Obsoletes: glibc-devel-utils(pentium3)
493 Obsoletes: glibc-devel-utils(pentium4)
496 Obsoletes: glibc-devel-utils(ppc)
499 Obsoletes: glibc-devel-utils(s390)
502 Obsoletes: glibc-devel-utils(sparc)
505 %description devel-utils
506 The glibc-devel-utils package contains utilities necessary for
507 developing programs which use the standard C libraries (which are used
508 by nearly all programs). If you are developing programs which will use
509 the standard C libraries, your system needs to have these utilities
512 Install glibc-devel-utils if you are going to develop programs which
513 will use the standard C libraries.
515 %description devel-utils -l pl.UTF-8
516 Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania
517 programów używających standardowych bibliotek C (używanych przez
518 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
519 standardowych bibliotek C, system wymaga dostępności tych narzędzi do
520 tworzenia programów wykonywalnych.
522 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
523 korzystające ze standardowych bibliotek C.
526 Summary: Documentation needed for development using standard C libraries
527 Summary(pl.UTF-8): Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C
529 Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
531 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
532 # have to be installed, not ix86 one.
533 Obsoletes: glibc-devel-doc(athlon)
534 Obsoletes: glibc-devel-doc(i386)
535 Obsoletes: glibc-devel-doc(i486)
536 Obsoletes: glibc-devel-doc(i586)
537 Obsoletes: glibc-devel-doc(i686)
538 Obsoletes: glibc-devel-doc(pentium3)
539 Obsoletes: glibc-devel-doc(pentium4)
542 Obsoletes: glibc-devel-doc(ppc)
545 Obsoletes: glibc-devel-doc(s390)
548 Obsoletes: glibc-devel-doc(sparc)
551 %description devel-doc
552 The glibc-devel-doc package contains info and manual pages necessary
553 for developing programs which use the standard C libraries (which are
554 used by nearly all programs).
556 Install glibc-devel-doc if you are going to develop programs which
557 will use the standard C libraries.
559 %description devel-doc -l pl.UTF-8
560 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
561 rozwijania programów używających standardowych bibliotek C (używanych
562 przez prawie wszystkie programy).
564 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
565 korzystające ze standardowych bibliotek C.
568 Summary: Name Service Caching Daemon
569 Summary(es.UTF-8): Demonio de caché del servicio de nombres
570 Summary(ja.UTF-8): ネームサービスキャッシングデーモン (nacd)
571 Summary(pl.UTF-8): Demon zapamiętujący odpowiedzi serwisów nazw
572 Summary(ru.UTF-8): Кэширующий демон сервисов имен
573 Summary(uk.UTF-8): Кешуючий демон севісів імен
575 Group: Networking/Daemons
576 Requires(post): fileutils
577 Requires(post,preun): /sbin/chkconfig
578 Requires(postun): /usr/sbin/groupdel
579 Requires(postun): /usr/sbin/userdel
580 Requires(pre): /bin/id
581 Requires(pre): /usr/bin/getgid
582 Requires(pre): /usr/sbin/groupadd
583 Requires(pre): /usr/sbin/useradd
584 Requires: %{name} = %{epoch}:%{version}-%{release}
585 %{?with_selinux:Requires: libselinux >= 1.18}
586 Requires: rc-scripts >= 0.4.3.0
587 Provides: group(nscd)
591 nscd caches name service lookups; it can dramatically improve
592 performance with NIS+, and may help with DNS as well.
594 %description -n nscd -l es.UTF-8
595 nscd guarda las peticiones del servicio de nombres en una caché; eso
596 puede aumentar drásticamente las prestaciones de NIS+, y también puede
599 %description -n nscd -l ja.UTF-8
600 Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
601 ドラマティックに改善することができ、DNS を同様に補助します。
603 %description -n nscd -l pl.UTF-8
604 nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
605 drastycznie poprawić szybkość działania NIS+.
607 %description -n nscd -l ru.UTF-8
608 nscd кэширует результаты запросов к сервисам имен; это может резко
609 увеличить производительность работы с NIS+ и, также, может помочь с
612 %description -n nscd -l uk.UTF-8
613 nscd кешує результати запросів до сервісів імен; це може сильно
614 збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS.
616 %package -n localedb-src
617 Summary: locale database source code
618 Summary(es.UTF-8): Código fuente de la base de datos de los locales
619 Summary(pl.UTF-8): Kod źródłowy bazy locale
621 Requires: %{name} = %{epoch}:%{version}-%{release}
626 %description -n localedb-src
627 This add-on package contains the data needed to build the locale data
628 files to use the internationalization features of the GNU libc.
630 %description -n localedb-src -l es.UTF-8
631 Este paquete adicional contiene los datos necesarios para construir
632 los ficheros de locale, imprescindibles para usar las cualidades de
633 internacionalización de GNU libc.
635 %description -n localedb-src -l pl.UTF-8
636 Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików
637 lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU
640 %package localedb-all
641 Summary: locale database for all locales supported by glibc
642 Summary(es.UTF-8): Base de datos de todos los locales soportados por glibc
643 Summary(pl.UTF-8): Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc
645 Requires: %{name} = %{epoch}:%{version}-%{release}
646 Requires: iconv = %{epoch}:%{version}-%{release}
649 %description localedb-all
650 This package contains locale database for all locales supported by
651 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
652 something smaller with support for chosen locales only, consider
653 installing localedb-src and regenerating database using localedb-gen
654 script (when database is generated, localedb-src can be uninstalled).
656 %description localedb-all -l es.UTF-8
657 Este paquete contiene una base de datos de todos los locales
658 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
659 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
660 locales elegidos, considérese instalar localedb-src y regenerar la
661 base de datos usando el escript localedb-gen (una vez que la base de
662 datos esté creada, localedb-src se podrá desinstalar).
664 %description localedb-all -l pl.UTF-8
665 Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji
666 obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik
667 (około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych
668 lokalizacji, należy zainstalować pakiet localedb-src i przegenerować
669 bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy
670 pakiet localedb-src można odinstalować).
673 Summary: Convert encoding of given files from one encoding to another
674 Summary(es.UTF-8): Convierte entre varias codificaciones de los ficheros dados
675 Summary(pl.UTF-8): Moduły do konwersji plików tekstowych z jednego kodowania do innego
677 Requires: %{name} = %{epoch}:%{version}-%{release}
678 Provides: iconv(%{_target_base_arch})
680 %description -n iconv
681 Convert encoding of given files from one encoding to another. You need
682 this package if you want to convert some document from one encoding to
683 another or if you have installed some programs which use Generic
684 Character Set Conversion Interface.
686 %description -n iconv -l es.UTF-8
687 Convierte la codificación de dados ficheros. Necesita este paquete si
688 quiere convertir un documento entre una codificación (juego de
689 caracteres) y otra, o si tiene instalado algún programa que usa el
690 Generic Character Set Conversion Interface (interfaz genérica de
691 conversión de juegos de caracteres).
693 %description -n iconv -l pl.UTF-8
694 Moduły do konwersji plików tekstowych z jednego kodowania do innego.
695 Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję
696 dokumentów z jednego kodowania do innego lub do używania programów
697 korzystających z Generic Character Set Conversion Interface w glibc,
698 czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję
699 kodowania danych z poziomu dowolnego programu.
702 Summary: Static GNU libc libraries
703 Summary(es.UTF-8): Bibliotecas estáticas
704 Summary(pl.UTF-8): Biblioteki statyczne GNU libc
705 Summary(ru.UTF-8): Статические библиотеки glibc
706 Summary(uk.UTF-8): Статичні бібліотеки glibc
707 Group: Development/Libraries
708 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
709 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
710 Obsoletes: libiconv-static
713 GNU libc static libraries.
715 %description static -l es.UTF-8
716 Bibliotecas estáticas de GNU libc.
718 %description static -l pl.UTF-8
719 Biblioteki statyczne GNU libc.
721 %description static -l ru.UTF-8
722 Это отдельный пакет со статическими библиотеками, которые больше не
723 входят в glibc-devel.
725 %description static -l uk.UTF-8
726 Це окремий пакет зі статичними бібліотеками, що більше не входять в
730 Summary: glibc with profiling support
731 Summary(de.UTF-8): glibc mit Profil-Unterstützung
732 Summary(es.UTF-8): glibc con soporte de perfilamiento
733 Summary(fr.UTF-8): glibc avec support pour profiling
734 Summary(pl.UTF-8): glibc ze wsparciem dla profilowania
735 Summary(ru.UTF-8): GNU libc с поддержкой профайлера
736 Summary(tr.UTF-8): Ölçüm desteği olan glibc
737 Summary(uk.UTF-8): GNU libc з підтримкою профайлера
738 Group: Development/Libraries/Libc
739 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
740 Obsoletes: libc-profile
743 When programs are being profiled using gprof, they must use these
744 libraries instead of the standard C libraries for gprof to be able to
745 profile them correctly.
747 %description profile -l de.UTF-8
748 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
749 Libraries anstelle der üblichen C-Libraries verwendet werden.
751 %description profile -l es.UTF-8
752 Cuando programas son perfilidas usando gprof, tienen que usar estas
753 biblioteces en vez de las estándares para que gprof pueda perfilarlas
756 %description profile -l pl.UTF-8
757 Programy profilowane za pomocą gprof muszą używać tych bibliotek
758 zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je
761 %description profile -l uk.UTF-8
762 Коли програми досліджуються профайлером gprof, вони повинні
763 використовувати замість стандартних бібліотек бібліотеки, що містяться
764 в цьому пакеті. При використанні стандартних бібліотек gprof замість
765 реальних результатів буде показувати ціни на папайю в Гонолулу в
768 %description profile -l tr.UTF-8
769 gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu
770 kitaplığı kullanmak zorundadırlar.
772 %description profile -l ru.UTF-8
773 Когда программы исследуются профайлером gprof, они должны
774 использовать, вместо стандартных библиотек, библиотеки, включенные в
775 этот пакет. При использовании стандартных библиотек gprof вместо
776 реальных результатов будет показывать цены на папайю в Гонолулу в
780 Summary: glibc PIC archive
781 Summary(es.UTF-8): Archivo PIC de glibc
782 Summary(pl.UTF-8): Archiwum PIC glibc
783 Group: Development/Libraries/Libc
784 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
787 GNU C Library PIC archive contains an archive library (ar file)
788 composed of individual shared objects. This is used for creating a
789 library which is a smaller subset of the standard libc shared library.
791 %description pic -l es.UTF-8
792 El archivo PIC de la biblioteca glibc contiene una biblioteca
793 archivada (un fichero ar) compuesta de individuales objetos
794 compartidos. Es usado para crear una biblioteca que sea un subconjunto
795 más pequeño de la biblioteca libc compartida estándar.
797 %description pic -l pl.UTF-8
798 Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar)
799 złożoną z pojedynczych obiektów współdzielonych. Używana jest do
800 tworzenia biblioteki będącej mniejszym podzestawem standardowej
801 biblioteki współdzielonej libc.
803 %package -n nss_compat
804 Summary: Old style NYS NSS glibc module
805 Summary(es.UTF-8): El antiguo módulo NYS NSS de glibc
806 Summary(pl.UTF-8): Stary moduł NYS NSS glibc
808 Requires: %{name} = %{epoch}:%{version}-%{release}
810 %description -n nss_compat
811 Old style NYS NSS glibc module.
813 %description -n nss_compat -l es.UTF-8
814 El antiguo módulo NYS NSS de glibc
816 %description -n nss_compat -l pl.UTF-8
817 Stary moduł NYS NSS glibc.
820 Summary: BIND NSS glibc module
821 Summary(es.UTF-8): Módulo BIND NSS de glibc
822 Summary(pl.UTF-8): Moduł BIND NSS glibc
824 Requires: %{name} = %{epoch}:%{version}-%{release}
826 %description -n nss_dns
827 BIND NSS glibc module.
829 %description -n nss_dns -l es.UTF-8
830 Módulo BIND NSS de glibc.
832 %description -n nss_dns -l pl.UTF-8
833 Moduł BIND NSS glibc.
835 %package -n nss_files
836 Summary: Traditional files databases NSS glibc module
837 Summary(es.UTF-8): Módulo de tradicionales bases de datos en ficheros para glibc
838 Summary(pl.UTF-8): Moduł tradycyjnych plikowych baz danych NSS glibc
840 Requires: %{name} = %{epoch}:%{version}-%{release}
842 %description -n nss_files
843 Traditional files databases NSS glibc module.
845 %description -n nss_files -l es.UTF-8
846 Módulo de tradicionales bases de datos en ficheros para glibc.
848 %description -n nss_files -l pl.UTF-8
849 Moduł tradycyjnych plikowych baz danych NSS glibc.
851 %package -n nss_hesiod
852 Summary: hesiod NSS glibc module
853 Summary(es.UTF-8): Módulo hesiod NSS de glibc
854 Summary(pl.UTF-8): Moduł hesiod NSS glibc
856 Requires: %{name} = %{epoch}:%{version}-%{release}
858 %description -n nss_hesiod
859 glibc NSS (Name Service Switch) module for databases access.
861 %description -n nss_hesiod -l es.UTF-8
862 Módulo hesiod NSS de glibc.
864 %description -n nss_hesiod -l pl.UTF-8
865 Moduł glibc NSS (Name Service Switch) dostępu do baz danych.
868 Summary: NIS(YP) NSS glibc module
869 Summary(es.UTF-8): Módulo NIS(YP) NSS de glibc
870 Summary(pl.UTF-8): Moduł NIS(YP) NSS glibc
872 Requires: %{name} = %{epoch}:%{version}-%{release}
874 %description -n nss_nis
875 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
877 %description -n nss_nis -l es.UTF-8
878 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
880 %description -n nss_nis -l pl.UTF-8
881 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS(YP).
883 %package -n nss_nisplus
884 Summary: NIS+ NSS module
885 Summary(es.UTF-8): Módulo NIS+ NSS
886 Summary(pl.UTF-8): Moduł NIS+ NSS
888 Requires: %{name} = %{epoch}:%{version}-%{release}
890 %description -n nss_nisplus
891 glibc NSS (Name Service Switch) module for NIS+ databases access.
893 %description -n nss_nisplus -l es.UTF-8
894 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
897 %description -n nss_nisplus -l pl.UTF-8
898 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS+.
901 Summary: Memory usage profiler
902 Summary(pl.UTF-8): Narzędzie do profilowania zużycia pamięci
903 Group: Development/Tools
904 Requires: %{name} = %{epoch}:%{version}-%{release}
906 %description memusage
907 Memory usage profiler.
909 %description memusage -l pl.UTF-8
910 Narzędzie do profilowania zużycia pamięci.
914 mv %{name}-ports-%{ports_version} ports
934 %{?with_cross:%patch21 -p1}
956 # cleanup backups after patching
957 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
961 # i786 (aka pentium4) hack
962 ln -s i686 nptl/sysdeps/i386/i786
963 ln -s i686 nptl/sysdeps/unix/sysv/linux/i386/i786
966 # glibc has its own way to remove PLT relocations. / H. J. Lu.
967 unset LD_SYMBOLIC_FUNCTIONS || :
969 cp -f /usr/share/automake/config.sub scripts
977 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
981 %ifarch %{ports_arch}
985 # force ld bfd (instead of gold)
987 ln -sf %{_bindir}/ld.bfd alt-tools/ld
988 PATH=$(pwd)/alt-tools:$PATH; export PATH
992 --with-binutils=$(pwd)/alt-tools \
993 --enable-kernel="%{min_kernel}" \
995 --with-headers=%{_includedir} \
996 --with%{!?with_selinux:out}-selinux \
998 --enable-add-ons=$AddOns \
999 %if "%{pld_release}" != "ti"
1000 --enable-nss-crypt \
1002 --enable-experimental-malloc \
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,init},%{_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 -p %{SOURCE8} $RPM_BUILD_ROOT/etc/init/nscd.conf
1091 cp -a %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
1092 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1093 cp -a nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
1094 cp -a posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
1095 cp -a nis/nss $RPM_BUILD_ROOT/etc/default/nss
1096 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
1098 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1099 : > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
1100 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
1101 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
1102 : > $RPM_BUILD_ROOT/var/cache/ldconfig/aux-cache
1104 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
1106 # doesn't fit with out tzdata concept and configure.in is stupid assuming bash
1107 # is first posix compatible shell making this script depend on bash.
1108 rm -f $RPM_BUILD_ROOT%{_bindir}/tzselect
1109 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tzselect.8*
1110 rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/tzselect.8*
1112 : > $RPM_BUILD_ROOT/var/log/nscd
1113 : > $RPM_BUILD_ROOT/var/lib/nscd/passwd
1114 : > $RPM_BUILD_ROOT/var/lib/nscd/group
1115 : > $RPM_BUILD_ROOT/var/lib/nscd/hosts
1117 rm -rf documentation
1118 install -d documentation
1120 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
1121 cp -af nptl/$f documentation/$f.nptl
1123 cp -af crypt/README.ufc-crypt ChangeLog* documentation
1125 # Collect locale files and mark them with %%lang()
1126 echo '%defattr(644,root,root,755)' > glibc.lang
1127 for i in $RPM_BUILD_ROOT%{_datadir}/locale/*; do
1130 dir="${i#$RPM_BUILD_ROOT}"
1131 echo "%lang($lang) $dir" >> glibc.lang
1136 # Languages not supported by glibc locales, but usable via $LANGUAGE:
1137 # ang - Old English (gtk+, gnome)
1138 # ca@valencia (gtk+, gnome; as ca_ES@valencia in FileZilla; locale exists in Debian)
1139 # en@shaw - English with Shavian alphabet (gnome)
1141 # tlh - Klingon (bzflag)
1143 # sr@ije (use LANGUAGE=sr_ME@ije/sr_RS@ije) (gnome)
1145 # To be added when they become supported by glibc:
1147 # bal (newt,pessulus)
1151 # frp (xfce, lxlauncher)
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)
1159 # lb (geany,miro,deluge)
1160 # man (ccsm; incorrectly named md)
1164 # sco (gnomad2, picard, stellarium)
1169 # To be removed (after fixing packages still using it):
1170 # sr@Latn (use sr@latin instead)
1173 # sr@ije or sr@ijekavian? (currently sr@ije is supported)
1174 # sr@ijelatin or sr@ijekavianlatin? (currently not supported)
1175 # sr@ijekavian and sr@ijekavianlatin exist in: akonadi-googledata, amarok, k3b, konversation, ktorrent, wesnoth
1177 # Short forms (omitted country code, used instead of long form) for ambiguous or unclear cases:
1179 # ar=common? (AE, BH, DZ, EG, IQ, JO, KW, LB, LY, MA, OM, QA, SA, SD, SY, TN, YE)
1184 # en=common? (en_AU, en_CA, en_GB, en_NZ, en_US are used for particular variants)
1200 # sr=sr_RS [cyrillic]
1202 # sw=sw_TZ (or common for KE, TZ, UG?)
1206 # zh: no short code used (use zh_CN, zh_HK, zh_SG[not included yet], zh_TW)
1208 # Omitted here - already existing (with libc.mo):
1209 # 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
1212 for i in aa aa@saaho af am an ang ar ar_TN as ast az be@latin be@tarask \
1213 bg bn bn_IN br bs byn ca@valencia ckb crh csb cy de_AT de_CH dv dz en \
1214 en@boldquot en@quot en@shaw en_AU en_CA en_NZ en_US eo es_AR es_CL es_CO es_CR \
1215 es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_SV es_UY \
1216 es_VE et eu fa fil fo fr_BE fr_CA fr_CH fur fy ga gd gez gu gv ha he \
1217 hi hne hsb hy ia id ig ik is it_CH iu ka kg kk kl km kn ks ku kw ky la \
1218 lg li lo lt lv mai mg mi mk ml mn mr ms mt my nds ne nl_BE nn nr nso \
1219 oc om or pa pap ps pt ps rm ro sa sc se si sid sl so sq sr sr@Latn tl \
1220 sr@ije sr@latin ss st sw ta te tg th ti tig tk tl tlh tn ts tt ug uk \
1221 ur uz uz@cyrillic ve vi wa wal wo xh yi yo zh_HK zu; do
1222 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1223 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1224 # use lang() tags with ll_CC@variant (stripping charset and @quot|@boldquot)
1225 lang=$(echo $i | sed -e 's/@quot\>\|@boldquot\>//')
1226 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1230 # LC_TIME category, used for localized date formats (at least by coreutils)
1231 for i in af be bg ca cs da de el en eo es et eu fi fr ga gl hu id it ja kk ko lg lt \
1232 ms nb nl pl pt pt_BR ro ru rw sk sl sv tr uk vi zh_CN zh_TW; do
1233 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i ]; then
1234 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1236 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_TIME
1239 # localedb-gen infrastructure
1240 sed -e 's,@localedir@,%{_libdir}/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1241 chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1242 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1244 # shutup check-files
1245 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.*
1246 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1247 # we don't support kernel without ptys support
1248 %{__rm} $RPM_BUILD_ROOT%{_libdir}/pt_chown
1249 # rpcinfo dropped from glibc, provided by rpcbind now
1250 %{__rm} $RPM_BUILD_ROOT%{_mandir}/{,*/}man8/rpcinfo.8
1253 rm -rf $RPM_BUILD_ROOT
1255 %if %{without cross}
1256 %post -p /sbin/postshell
1257 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
1260 %postun -p /sbin/ldconfig
1262 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1263 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1264 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1267 %triggerin -- cronie,vixie-cron,hc-cron,fcron,mcron
1268 # restart crond if glibc is upgraded, LP#721338
1269 if [ "$1" != 1 ]; then
1270 %service -q crond restart
1273 %post libcrypt -p /sbin/ldconfig
1274 %postun libcrypt -p /sbin/ldconfig
1276 %post memusage -p /sbin/ldconfig
1277 %postun memusage -p /sbin/ldconfig
1279 %post -n localedb-src
1281 [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
1282 [ -f /etc/sysconfig/localedb ] && . /etc/sysconfig/localedb
1283 if [ "$SUPPORTED_LOCALES" ]; then
1287 %post devel -p /sbin/postshell
1288 -/usr/sbin/fix-info-dir -c %{_infodir}
1290 %postun devel -p /sbin/postshell
1291 -/usr/sbin/fix-info-dir -c %{_infodir}
1294 %groupadd -P nscd -g 144 -r nscd
1295 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "Name Service Cache Daemon" -g nscd nscd
1298 if [ ! -f /var/log/nscd ]; then
1301 chown root:root /var/log/nscd
1302 chmod 640 /var/log/nscd
1304 /sbin/chkconfig --add nscd
1305 %service nscd restart "Name Service Cache Daemon"
1308 if [ "$1" = "0" ]; then
1310 /sbin/chkconfig --del nscd
1314 if [ "$1" = "0" ]; then
1319 %files -f %{name}.lang
1320 %defattr(644,root,root,755)
1321 %doc README NEWS FAQ BUGS
1322 %if %{without cross}
1323 %attr(755,root,root) /sbin/glibc-postinst
1325 # TODO: package ldconfig symlinks as %ghost
1326 %attr(755,root,root) /%{_lib}/ld-%{version}.so
1327 # wildly arch-dependent ld.so SONAME symlink
1328 %ifarch %{ix86} sparc sparcv9 sparc64 alpha sh
1329 %attr(755,root,root) /%{_lib}/ld-linux.so.2
1332 %attr(755,root,root) /%{_lib}/ld-linux-ia64.so.2
1335 %attr(755,root,root) /%{_lib}/ld-linux-x86-64.so.2
1338 %attr(755,root,root) /%{_lib}/ld64.so.1
1340 %ifnarch %{ix86} sparc sparcv9 sparc64 alpha sh ia64 %{x8664} ppc64 s390x %{arm}
1341 %attr(755,root,root) /%{_lib}/ld.so.1
1343 %attr(755,root,root) /%{_lib}/libBrokenLocale-%{version}.so
1345 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1.1
1347 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1
1349 %attr(755,root,root) /%{_lib}/libSegFault.so
1350 %attr(755,root,root) /%{_lib}/libanl-%{version}.so
1351 %attr(755,root,root) /%{_lib}/libanl.so.1
1352 %attr(755,root,root) /%{_lib}/libc-%{version}.so
1354 %attr(755,root,root) /%{_lib}/libc.so.6.1
1356 %attr(755,root,root) /%{_lib}/libc.so.6
1358 %attr(755,root,root) /%{_lib}/libcidn-%{version}.so
1359 %attr(755,root,root) /%{_lib}/libcidn.so.1
1360 %attr(755,root,root) /%{_lib}/libdl-%{version}.so
1362 %attr(755,root,root) /%{_lib}/libdl.so.2.1
1364 %attr(755,root,root) /%{_lib}/libdl.so.2
1366 %attr(755,root,root) /%{_lib}/libm-%{version}.so
1368 %attr(755,root,root) /%{_lib}/libm.so.6.1
1370 %attr(755,root,root) /%{_lib}/libm.so.6
1372 %attr(755,root,root) /%{_lib}/libnsl-%{version}.so
1374 %attr(755,root,root) /%{_lib}/libnsl.so.1.1
1376 %attr(755,root,root) /%{_lib}/libnsl.so.1
1378 %attr(755,root,root) /%{_lib}/libpthread-%{version}.so
1379 %attr(755,root,root) /%{_lib}/libpthread.so.0
1380 %attr(755,root,root) /%{_lib}/libresolv-%{version}.so
1382 %attr(755,root,root) /%{_lib}/libresolv.so.2.1
1384 %attr(755,root,root) /%{_lib}/libresolv.so.2
1386 %attr(755,root,root) /%{_lib}/librt-%{version}.so
1387 %attr(755,root,root) /%{_lib}/librt.so.1
1388 %attr(755,root,root) /%{_lib}/libthread_db-1.0.so
1389 %attr(755,root,root) /%{_lib}/libthread_db.so.1
1390 %attr(755,root,root) /%{_lib}/libutil-%{version}.so
1392 %attr(755,root,root) /%{_lib}/libutil.so.1.1
1394 %attr(755,root,root) /%{_lib}/libutil.so.1
1396 %{?with_localedb:%dir %{_libdir}/locale}
1399 %defattr(644,root,root,755)
1400 %attr(755,root,root) /%{_lib}/libnss_dns-%{version}.so
1401 %attr(755,root,root) /%{_lib}/libnss_dns.so.2
1403 #%files -n nss_files
1404 %defattr(644,root,root,755)
1405 %attr(755,root,root) /%{_lib}/libnss_files-%{version}.so
1406 %attr(755,root,root) /%{_lib}/libnss_files.so.2
1408 %defattr(644,root,root,755)
1410 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1411 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1412 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/default/nss
1414 %config %{_sysconfdir}/rpc
1416 %attr(755,root,root) /sbin/sln
1417 %attr(755,root,root) %{_bindir}/getconf
1418 %attr(755,root,root) %{_bindir}/getent
1419 %attr(755,root,root) %{_bindir}/iconv
1420 %ifarch %{ix86} m68k sparc sparcv9
1421 %attr(755,root,root) %{_bindir}/lddlibc4
1423 %attr(755,root,root) %{_bindir}/locale
1424 %attr(755,root,root) %{_bindir}/rpcgen
1425 %attr(755,root,root) %{_bindir}/sotruss
1426 %attr(755,root,root) %{_sbindir}/zdump
1427 %attr(755,root,root) %{_sbindir}/zic
1429 %dir %{_libexecdir}/getconf
1430 %attr(755,root,root) %{_libexecdir}/getconf/*
1432 %dir %{_libdir}/audit
1433 %attr(755,root,root) %{_libdir}/audit/sotruss-lib.so
1435 %dir %{_datadir}/locale
1436 %{_datadir}/locale/locale.alias
1438 %{_mandir}/man1/getconf.1*
1439 %{_mandir}/man1/getent.1*
1440 %{_mandir}/man1/iconv.1*
1441 %{_mandir}/man1/locale.1*
1442 %{_mandir}/man1/rpcgen.1*
1443 %{_mandir}/man5/locale.5*
1444 %{_mandir}/man5/nsswitch.conf.5*
1445 %{_mandir}/man5/tzfile.5*
1446 %{_mandir}/man7/ascii.7*
1447 %{_mandir}/man7/charsets.7*
1448 %{_mandir}/man7/iso-8859-*.7*
1449 %{_mandir}/man7/iso_8859-*.7*
1450 %{_mandir}/man7/iso_8859_*.7*
1451 %{_mandir}/man7/koi8-r.7*
1452 %{_mandir}/man7/latin*.7*
1453 %{_mandir}/man7/locale.7*
1454 %{_mandir}/man7/unicode.7*
1455 %{_mandir}/man7/utf-8.7*
1456 %{_mandir}/man7/utf8.7*
1457 %{_mandir}/man8/ld-linux.8*
1458 %{_mandir}/man8/ld-linux.so.8*
1459 %{_mandir}/man8/ld.so.8*
1460 %{_mandir}/man8/sln.8*
1461 %{_mandir}/man8/zdump.8*
1462 %{_mandir}/man8/zic.8*
1463 %lang(cs) %{_mandir}/cs/man7/*
1464 %lang(de) %{_mandir}/de/man5/tzfile.5*
1465 %lang(de) %{_mandir}/de/man7/*
1466 %lang(es) %{_mandir}/es/man5/locale.5*
1467 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1468 %lang(es) %{_mandir}/es/man5/tzfile.5*
1469 %lang(es) %{_mandir}/es/man7/*
1470 %lang(es) %{_mandir}/es/man8/ld-linux.8*
1471 %lang(es) %{_mandir}/es/man8/ld-linux.so.8*
1472 %lang(es) %{_mandir}/es/man8/ld.so.8*
1473 %lang(es) %{_mandir}/es/man8/zdump.8*
1474 %lang(es) %{_mandir}/es/man8/zic.8*
1475 %lang(fr) %{_mandir}/fr/man5/locale.5*
1476 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1477 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1478 %lang(fr) %{_mandir}/fr/man7/*
1479 %lang(fr) %{_mandir}/fr/man8/ld-linux.8*
1480 %lang(fr) %{_mandir}/fr/man8/ld-linux.so.8*
1481 %lang(fr) %{_mandir}/fr/man8/ld.so.8*
1482 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1483 %lang(fr) %{_mandir}/fr/man8/zic.8*
1484 %lang(hu) %{_mandir}/hu/man7/*
1485 %lang(hu) %{_mandir}/hu/man8/ld-linux.8*
1486 %lang(hu) %{_mandir}/hu/man8/ld-linux.so.8*
1487 %lang(hu) %{_mandir}/hu/man8/ld.so.8*
1488 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1489 %lang(it) %{_mandir}/it/man5/locale.5*
1490 %lang(it) %{_mandir}/it/man7/*
1491 %lang(it) %{_mandir}/it/man8/zdump.8*
1492 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1493 %lang(ja) %{_mandir}/ja/man5/locale.5*
1494 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1495 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1496 %lang(ja) %{_mandir}/ja/man7/*
1497 %lang(ja) %{_mandir}/ja/man8/ld-linux.8*
1498 %lang(ja) %{_mandir}/ja/man8/ld-linux.so.8*
1499 %lang(ja) %{_mandir}/ja/man8/ld.so.8*
1500 %lang(ja) %{_mandir}/ja/man8/sln.8*
1501 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1502 %lang(ja) %{_mandir}/ja/man8/zic.8*
1503 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1504 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1505 %lang(ko) %{_mandir}/ko/man7/*
1506 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1507 %lang(pl) %{_mandir}/pl/man5/locale.5*
1508 %lang(pl) %{_mandir}/pl/man7/*
1509 %lang(pl) %{_mandir}/pl/man8/ld-linux.8*
1510 %lang(pl) %{_mandir}/pl/man8/ld-linux.so.8*
1511 %lang(pl) %{_mandir}/pl/man8/ld.so.8*
1512 %lang(pt) %{_mandir}/pt/man5/locale.5*
1513 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1514 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1515 %lang(pt) %{_mandir}/pt/man7/*
1516 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1517 %lang(pt) %{_mandir}/pt/man8/zic.8*
1518 %lang(ru) %{_mandir}/ru/man1/getent.1*
1519 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1520 %lang(ru) %{_mandir}/ru/man1/locale.1*
1521 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1522 %lang(ru) %{_mandir}/ru/man5/locale.5*
1523 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1524 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1525 %lang(ru) %{_mandir}/ru/man7/*
1526 %lang(ru) %{_mandir}/ru/man8/ld-linux.so.8*
1527 %lang(ru) %{_mandir}/ru/man8/ld.so.8*
1528 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1529 %lang(ru) %{_mandir}/ru/man8/zic.8*
1530 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1531 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1532 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1533 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1534 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1535 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1536 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1539 %defattr(644,root,root,755)
1540 %attr(755,root,root) %{_bindir}/catchsegv
1541 %attr(755,root,root) %{_bindir}/ldd
1542 %{_mandir}/man1/catchsegv.1*
1543 %{_mandir}/man1/ldd.1*
1544 %lang(es) %{_mandir}/es/man1/ldd.1*
1545 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1546 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1547 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1548 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1549 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1550 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1551 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1552 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1553 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1556 %defattr(644,root,root,755)
1557 %attr(755,root,root) /%{_lib}/libcrypt-%{version}.so
1559 %attr(755,root,root) %ghost /%{_lib}/libcrypt.so.1.1
1561 %attr(755,root,root) %ghost /%{_lib}/libcrypt.so.1
1565 %defattr(644,root,root,755)
1566 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1567 %dir %{_sysconfdir}/ld.so.conf.d
1568 %ghost %{_sysconfdir}/ld.so.cache
1569 %attr(755,root,root) /sbin/ldconfig
1570 %{_mandir}/man8/ldconfig.8*
1571 %lang(es) %{_mandir}/es/man8/ldconfig.8*
1572 %lang(fr) %{_mandir}/fr/man8/ldconfig.8*
1573 %lang(hu) %{_mandir}/hu/man8/ldconfig.8*
1574 %lang(ja) %{_mandir}/ja/man8/ldconfig.8*
1575 %lang(pl) %{_mandir}/pl/man8/ldconfig.8*
1576 %lang(pt) %{_mandir}/pt/man8/ldconfig.8*
1577 %lang(ru) %{_mandir}/ru/man8/ldconfig.8*
1578 %dir %attr(700,root,root) /var/cache/ldconfig
1579 %attr(600,root,root) %ghost /var/cache/ldconfig/aux-cache
1581 %files -n nss_compat
1582 %defattr(644,root,root,755)
1583 %attr(755,root,root) /%{_lib}/libnss_compat-%{version}.so
1584 %attr(755,root,root) /%{_lib}/libnss_compat.so.2
1586 %files -n nss_hesiod
1587 %defattr(644,root,root,755)
1588 %attr(755,root,root) /%{_lib}/libnss_hesiod-%{version}.so
1589 %attr(755,root,root) /%{_lib}/libnss_hesiod.so.2
1592 %defattr(644,root,root,755)
1593 %attr(755,root,root) /%{_lib}/libnss_nis-%{version}.so
1594 %attr(755,root,root) /%{_lib}/libnss_nis.so.2
1596 %files -n nss_nisplus
1597 %defattr(644,root,root,755)
1598 %attr(755,root,root) /%{_lib}/libnss_nisplus-%{version}.so
1599 %attr(755,root,root) /%{_lib}/libnss_nisplus.so.2
1601 %if %{with memusage}
1603 %defattr(644,root,root,755)
1604 %attr(755,root,root) %{_bindir}/memusage*
1605 %attr(755,root,root) %{_libdir}/libmemusage.so
1609 %defattr(644,root,root,755)
1610 %attr(755,root,root) %{_libdir}/libBrokenLocale.so
1611 %attr(755,root,root) %{_libdir}/libanl.so
1612 %attr(755,root,root) %{_libdir}/libcrypt.so
1613 %attr(755,root,root) %{_libdir}/libcidn.so
1614 %attr(755,root,root) %{_libdir}/libdl.so
1615 %attr(755,root,root) %{_libdir}/libm.so
1616 %attr(755,root,root) %{_libdir}/libnsl.so
1617 %attr(755,root,root) %{_libdir}/libpcprofile.so
1618 %attr(755,root,root) %{_libdir}/libresolv.so
1619 %attr(755,root,root) %{_libdir}/librt.so
1620 %attr(755,root,root) %{_libdir}/libthread_db.so
1621 %attr(755,root,root) %{_libdir}/libutil.so
1622 %{_libdir}/crt[1in].o
1623 %{_libdir}/[MSg]crt1.o
1626 %{_libdir}/libpthread.so
1628 %{_libdir}/libbsd-compat.a
1630 %{_libdir}/libc_nonshared.a
1632 %{_libdir}/libieee.a
1633 %ifarch alpha ppc sparc
1634 %{_libdir}/libnldbl_nonshared.a
1636 %{_libdir}/libpthread_nonshared.a
1637 %{_libdir}/librpcsvc.a
1638 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1639 # ABI-dependent headers
1640 %{_includedir}/gnu/stubs-*.h
1644 %defattr(644,root,root,755)
1647 %{_includedir}/alpha
1651 %dir %{_includedir}/gnu
1652 %{_includedir}/gnu/lib*.h
1653 %{_includedir}/gnu/stubs.h
1655 %{_includedir}/netash
1656 %{_includedir}/netatalk
1657 %{_includedir}/netax25
1658 %{_includedir}/neteconet
1659 %{_includedir}/netiucv
1660 %{_includedir}/netinet
1661 %{_includedir}/netipx
1662 %{_includedir}/netpacket
1663 %{_includedir}/netrom
1664 %{_includedir}/netrose
1666 %{_includedir}/protocols
1668 %{_includedir}/rpcsvc
1673 %defattr(644,root,root,755)
1674 %attr(755,root,root) %{_bindir}/gencat
1675 %attr(755,root,root) %{_bindir}/*prof*
1676 %attr(755,root,root) %{_bindir}/*trace
1679 %defattr(644,root,root,755)
1680 %doc documentation/* NOTES PROJECTS
1681 %{_infodir}/libc.info*
1683 %{_mandir}/man1/sprof.1*
1685 %lang(cs) %{_mandir}/cs/man3/*
1686 %lang(de) %{_mandir}/de/man3/*
1687 %lang(es) %{_mandir}/es/man3/*
1688 %lang(fr) %{_mandir}/fr/man3/*
1689 %lang(hu) %{_mandir}/hu/man3/*
1690 %lang(it) %{_mandir}/it/man3/*
1691 %lang(ja) %{_mandir}/ja/man3/*
1692 %lang(ko) %{_mandir}/ko/man3/*
1693 %lang(nl) %{_mandir}/nl/man3/*
1694 %lang(pl) %{_mandir}/pl/man3/*
1695 %lang(pt) %{_mandir}/pt/man3/*
1696 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1697 %lang(ru) %{_mandir}/ru/man3/*
1698 %lang(tr) %{_mandir}/tr/man3/*
1699 %lang(uk) %{_mandir}/uk/man3/*
1700 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1703 %defattr(644,root,root,755)
1704 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1705 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1706 %attr(754,root,root) /etc/rc.d/init.d/nscd
1707 %config(noreplace) %verify(not md5 mtime size) /etc/init/nscd.conf
1708 %attr(755,root,root) %{_sbindir}/nscd*
1709 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1710 %attr(640,root,root) %ghost /var/log/nscd
1713 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1714 %attr(600,root,root) %ghost /var/lib/nscd/group
1715 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1716 %{_mandir}/man5/nscd.conf.5*
1717 %{_mandir}/man8/nscd.8*
1718 %{_mandir}/man8/nscd_nischeck.8*
1719 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1720 %lang(es) %{_mandir}/es/man8/nscd.8*
1721 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1722 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1723 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1724 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1725 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1726 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1727 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1728 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1729 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1731 %files -n localedb-src
1732 %defattr(644,root,root,755)
1733 %attr(755,root,root) %{_bindir}/localedef
1734 %attr(755,root,root) %{_bindir}/localedb-gen
1736 %{_mandir}/man1/localedef.1*
1737 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1739 %if %{with localedb}
1741 %defattr(644,root,root,755)
1742 %{_libdir}/locale/locale-archive
1746 %defattr(644,root,root,755)
1747 %attr(755,root,root) %{_sbindir}/iconvconfig
1748 %dir %{_libdir}/gconv
1749 %{_libdir}/gconv/gconv-modules
1750 %verify(not md5 mtime size) %{_libdir}/gconv/gconv-modules.cache
1751 %attr(755,root,root) %{_libdir}/gconv/*.so
1754 %defattr(644,root,root,755)
1756 %{_libdir}/libBrokenLocale.a
1758 %{_libdir}/libcrypt.a
1761 %{_libdir}/libmcheck.a
1763 %{_libdir}/libpthread.a
1764 %{_libdir}/libresolv.a
1766 %{_libdir}/libutil.a
1769 %defattr(644,root,root,755)
1773 %defattr(644,root,root,755)
1774 %{_libdir}/lib*_pic.a