3 # min_kernel (default is 2.6.12)
4 %bcond_without memusage # don't build memusage utility
5 %bcond_without selinux # without SELinux support (in nscd)
6 %bcond_with tests # perform "make test"
7 %bcond_without localedb # don't build localedb-all (is time consuming)
8 %bcond_with cross # build using crossgcc (without libgcc_eh)
11 # - look at locale fixes/updates in bugzilla
12 # - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section.
14 # - localedb-gen man pages(?)
15 # - math/{test-fenv,test-tgmath,test-float,test-ifloat},
16 # debug/backtrace-tst(SEGV) fail on alpha
17 %{!?min_kernel:%global min_kernel 2.6.12}
20 %undefine with_memusage
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 версии 2.3
32 Summary(tr.UTF-8): GNU libc
33 Summary(uk.UTF-8): GNU libc версії 2.3
40 Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
41 # Source0-md5: 0f471d7cb29dd07786082ad23f787949
42 Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-libidn-%{version}.tar.bz2
43 # Source1-md5: ed20ad629986c2746c77cda46fb0602c
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
52 Patch1: %{name}-pl.po-update.patch
53 Patch2: %{name}-pld.patch
54 Patch3: %{name}-crypt-blowfish.patch
55 Patch4: %{name}-alpha-ev6-opcodes.patch
56 Patch5: %{name}-sparc-softfp-gcc.patch
57 Patch6: %{name}-paths.patch
58 Patch7: %{name}-no_opt_override.patch
59 Patch8: %{name}-missing-nls.patch
60 Patch9: %{name}-java-libc-wait.patch
61 Patch10: %{name}-info.patch
62 Patch11: %{name}-no_debuggable_objects.patch
63 Patch12: %{name}-includes.patch
64 Patch14: %{name}-sparc-errno_fix.patch
66 Patch17: %{name}-new-charsets.patch
68 Patch20: %{name}-tzfile-noassert.patch
69 Patch21: %{name}-morelocales.patch
70 Patch22: %{name}-locale_fixes.patch
71 Patch23: %{name}-ZA_collate.patch
72 Patch24: %{name}-iconvconfig-nxstack.patch
73 Patch25: %{name}-cross-gcc_eh.patch
74 Patch26: %{name}-with-stroke.patch
76 #Patch30: %{name}-pax_dl-execstack.patch
77 URL: http://www.gnu.org/software/libc/
78 %{?with_selinux:BuildRequires: audit-libs-devel}
79 BuildRequires: autoconf
80 BuildRequires: automake
81 BuildRequires: binutils >= 2:2.15.90.0.3
82 BuildRequires: gcc >= 6:4.2.0
84 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
85 BuildRequires: gettext-devel >= 0.10.36
86 %{!?with_cross:BuildRequires: dietlibc-static}
87 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
88 BuildRequires: linux-libc-headers >= %{llh_version}
89 BuildRequires: perl-base
90 BuildRequires: rpm-build >= 4.3-0.20030610.28
91 BuildRequires: rpm-perlprov
92 BuildRequires: rpmbuild(macros) >= 1.315
93 BuildRequires: sed >= 4.0.5
94 BuildRequires: texinfo
96 Requires: %{name}-misc = %{epoch}:%{version}-%{release}
98 Requires: uname(release) >= %{min_kernel}
99 Provides: /sbin/ldconfig
100 Provides: glibc(nptl)
104 Provides: rtld(GNU_HASH)
105 Obsoletes: glibc-common
106 Obsoletes: glibc-debug
109 Conflicts: kernel < %{min_kernel}
111 Conflicts: kernel24-smp
112 Conflicts: ld.so < 1.9.9-10
113 Conflicts: man-pages < 1.43
114 Conflicts: poldek < 0.18.8-5
115 Conflicts: rc-scripts < 0.3.1-13
117 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64
118 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
120 # avoid -s here (ld.so must not be stripped to allow any program debugging)
121 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
122 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
124 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
125 %ifarch sparc sparcv9
126 %{expand:%%define __cc %{__cc} -m32}
130 %define specflags_ia32 -mno-tls-direct-seg-refs
131 %define specflags_x86_64 -mno-tls-direct-seg-refs
132 %define specflags_amd64 -mno-tls-direct-seg-refs
133 %define specflags_ia32e -mno-tls-direct-seg-refs
135 # we don't want perl dependency in glibc-devel
136 %define _noautoreqfiles %{_bindir}/mtrace
137 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
138 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
139 # patched not to crash on partial hardlinks too)
140 %define _hack_dontneed_PartialHardlinkSets 1
141 %define _noautochrpath .*\\(ldconfig\\|sln\\)
143 # glibc uses traditional gnu extern-inline semantics but builds
144 # with c99 mode enabled ( strictly it's gnu99 mode ).
145 # this switch disables unwanted warnings.
146 %define specflags -fgnu89-inline
149 Contains the standard libraries that are used by multiple programs on
150 the system. In order to save disk space and memory, as well as to ease
151 upgrades, common system code is kept in one place and shared between
152 programs. This package contains the most important sets of shared
153 libraries, the standard C library and the standard math library.
154 Without these, a Linux system will not function. It also contains
155 national language (locale) support.
157 Can be used on: Linux kernel >= %{min_kernel}.
159 %description -l es.UTF-8
160 Contiene las bibliotecas estándared que son usadas por varios
161 programas del sistema. Para ahorrar el espacio en el disco y la
162 memoria, igual que para facilitar actualizaciones, código común del
163 sistema se guarda en un sitio y es compartido entre los programas.
164 Este paquete contiene las bibliotecas compartidas más importantes, es
165 decir la biblioteca C estándar y la biblioteca estándar de matemática.
166 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
167 soporte de idiomas nacionales (locale).
169 Puede usarse con: núcleo Linux >= %{min_kernel}.
171 %description -l de.UTF-8
172 Enthält die Standard-Libraries, die von verschiedenen Programmen im
173 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
174 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
175 einer einzigen Stelle gespeichert und wird von den Programmen
176 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
177 shared Libraries, die Standard-C-Library und die
178 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
179 Ferner enthält es den Support für die verschiedenen Sprachgregionen
182 Can be used on: Linux kernel >= %{min_kernel}.
184 %description -l fr.UTF-8
185 Contient les bibliothèques standards utilisées par de nombreux
186 programmes du système. Afin d'économiser l'espace disque et mémoire,
187 et de faciliter les mises à jour, le code commun au système est mis à
188 un endroit et partagé entre les programmes. Ce paquetage contient les
189 bibliothèques partagées les plus importantes, la bibliothèque standard
190 du C et la bibliothèque mathématique standard. Sans celles-ci, un
191 système Linux ne peut fonctionner. Il contient aussi la gestion des
192 langues nationales (locales).
194 Can be used on: Linux kernel >= %{min_kernel}.
196 %description -l ja.UTF-8
198 パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
199 ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
200 用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
201 間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
202 重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
203 この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc
204 パッケージはまた地域言語 (locale) サポートとタイムゾーンデータベース
207 Can be used on: Linux kernel >= %{min_kernel}.
209 %description -l pl.UTF-8
210 W pakiecie znajdują się podstawowe biblioteki, używane przez różne
211 programy w Twoim systemie. Używanie przez programy bibliotek z tego
212 pakietu oszczędza miejsce na dysku i pamięć. Większość kodu
213 systemowego jest usytuowane w jednym miejscu i dzielone między wieloma
214 programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek
215 standardowych, współdzielonych (dynamicznych) bibliotek C i
216 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować.
217 Znajdują się tutaj również definicje różnych informacji dla wielu
220 Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}.
222 %description -l ru.UTF-8
223 Содержит стандартные библиотеки, используемые многочисленными
224 программами в системе. Для того, чтобы сохранить дисковое пространство
225 и память, а также для простоты обновления, системный код, общий для
226 всех программ, хранится в одном месте и коллективно используется всеми
227 программами. Этот пакет содержит наиболее важные из разделяемых
228 библиотек - стандартную библиотеку C и стандартную библиотеку
229 математики. Без этих библиотек Linux функционировать не будет. Также
230 пакет содержит поддержку национальных языков (locale).
232 Can be used on: Linux kernel >= %{min_kernel}.
234 %description -l tr.UTF-8
235 Bu paket, birçok programın kullandığı standart kitaplıkları içerir.
236 Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme
237 işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde
238 tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak
239 kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını
240 içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel
241 dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır.
243 Can be used on: Linux kernel >= %{min_kernel}.
245 %description -l uk.UTF-8
246 Містить стандартні бібліотеки, котрі використовуються численними
247 програмами в системі. Для того, щоб зберегти дисковий простір та
248 пам'ять, а також для простоти поновлення системи, системний код,
249 спільний для всіх програм, зберігається в одному місці і колективно
250 використовується всіма програмами. Цей пакет містить найбільш важливі
251 з динамічних бібліотек - стандартну бібліотеку С та стандартну
252 бібліотеку математики. Без цих бібліотек Linux функціонувати не буде.
253 Також пакет містить підтримку національних мов (locale).
255 Can be used on: Linux kernel >= %{min_kernel}.
258 Summary: Utilities and data used by glibc
259 Summary(pl.UTF-8): Narzędzia i dane używane przez glibc
260 Group: Applications/System
262 Requires(pre): %{name} = %{epoch}:%{version}-%{release}
263 Requires: %{name} = %{epoch}:%{version}-%{release}
264 Requires: tzdata >= 2006g-2
267 Utilities and data used by glibc.
269 %description misc -l pl.UTF-8
270 Narzędzia i dane używane przez glibc.
273 Summary: Additional libraries required to compile
274 Summary(de.UTF-8): Weitere Libraries zum Kompilieren
275 Summary(es.UTF-8): Bibliotecas adicionales necesarias para la compilación
276 Summary(fr.UTF-8): Librairies supplémentaires nécessaires à la compilation
277 Summary(ja.UTF-8): 標準 C ライブラリで使われるヘッダーとオブジェクトファイル
278 Summary(pl.UTF-8): Dodatkowe biblioteki wymagane podczas kompilacji
279 Summary(ru.UTF-8): Дополнительные библиотеки, необходимые для компиляции
280 Summary(tr.UTF-8): Geliştirme için gerekli diğer kitaplıklar
281 Summary(uk.UTF-8): Додаткові бібліотеки, потрібні для компіляції
282 Group: Development/Libraries
283 Requires: %{name} = %{epoch}:%{version}-%{release}
284 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
285 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
286 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
287 Obsoletes: libiconv-devel
290 To develop programs which use the standard C libraries (which nearly
291 all programs do), the system needs to have these standard header files
292 and object files available for creating the executables.
294 %description devel -l de.UTF-8
295 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
296 verwenden (also fast alle), benötigt das System diese Standard-Header-
297 und Objektdateien zum Erstellen der ausführbaren Programme.
299 %description devel -l es.UTF-8
300 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
301 cual hacen prácticamente todos los programas), el sistema necesita
302 disponer de estos ficheros de cabecera y de objetos para crear los
305 %description devel -l fr.UTF-8
306 Pour développer des programmes utilisant les bibliothèques standard du
307 C (ce que presque tous les programmes font), le système doit posséder
308 ces fichiers en-têtes et objets standards pour créer les exécutables.
310 %description devel -l ja.UTF-8
311 glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C
312 ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト
314 ライブラリを使用するプログラムを開発するなら
315 実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル
318 %description devel -l pl.UTF-8
319 Pakiet ten jest niezbędny przy tworzeniu własnych programów
320 korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki
321 nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów
322 wykonywalnych i innych bibliotek.
324 %description devel -l ru.UTF-8
325 Для разработки программ, использующих стандартные библиотеки C (а
326 практически все программы их используют), системе НЕОБХОДИМЫ хедеры и
327 объектные файлы, содержащиеся в этом пакете, чтобы создавать
330 %description devel -l tr.UTF-8
331 C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar
332 geliştirmek için gereken standart başlık dosyaları ve statik
335 %description devel -l uk.UTF-8
336 Для розробки програм, що використовують стандартні бібліотеки C
337 (практично всі програми їх використовують), системі НЕОБХІДНІ хедери
338 та об'єктні файли, що містяться в цьому пакеті, цоб створювати
342 Summary: Header files for development using standard C libraries
343 Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C
344 Group: Development/Building
345 Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
347 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
348 # have to be installed, not ix86 one.
349 Obsoletes: %{name}-headers(i386)
350 Obsoletes: %{name}-headers(i486)
351 Obsoletes: %{name}-headers(i586)
352 Obsoletes: %{name}-headers(i686)
353 Obsoletes: %{name}-headers(athlon)
354 Obsoletes: %{name}-headers(pentium3)
355 Obsoletes: %{name}-headers(pentium4)
358 Obsoletes: %{name}-headers(ppc)
361 Obsoletes: %{name}-headers(s390)
364 Obsoletes: %{name}-headers(sparc)
366 Requires: linux-libc-headers >= %{llh_version}
369 The glibc-headers package contains the header files necessary for
370 developing programs which use the standard C libraries (which are used
371 by nearly all programs). If you are developing programs which will use
372 the standard C libraries, your system needs to have these standard
373 header files available in order to create the executables.
375 Install glibc-headers if you are going to develop programs which will
376 use the standard C libraries.
378 %description headers -l pl.UTF-8
379 Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania
380 programów używających standardowych bibliotek C (używanych przez
381 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
382 standardowych bibliotek C, system wymaga dostępności tych
383 standardowych plików nagłówkowych do tworzenia programów
386 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
387 korzystające ze standardowych bibliotek C.
390 Summary: Utilities needed for development using standard C libraries
391 Summary(pl.UTF-8): Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C
392 Group: Development/Libraries
393 Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
395 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
396 # have to be installed, not ix86 one.
397 Obsoletes: %{name}-devel-utils(i386)
398 Obsoletes: %{name}-devel-utils(i486)
399 Obsoletes: %{name}-devel-utils(i586)
400 Obsoletes: %{name}-devel-utils(i686)
401 Obsoletes: %{name}-devel-utils(athlon)
402 Obsoletes: %{name}-devel-utils(pentium3)
403 Obsoletes: %{name}-devel-utils(pentium4)
406 Obsoletes: %{name}-devel-utils(ppc)
409 Obsoletes: %{name}-devel-utils(s390)
412 Obsoletes: %{name}-devel-utils(sparc)
415 %description devel-utils
416 The glibc-devel-utils package contains utilities necessary for
417 developing programs which use the standard C libraries (which are used
418 by nearly all programs). If you are developing programs which will use
419 the standard C libraries, your system needs to have these utilities
422 Install glibc-devel-utils if you are going to develop programs which
423 will use the standard C libraries.
425 %description devel-utils -l pl.UTF-8
426 Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania
427 programów używających standardowych bibliotek C (używanych przez
428 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
429 standardowych bibliotek C, system wymaga dostępności tych narzędzi do
430 tworzenia programów wykonywalnych.
432 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
433 korzystające ze standardowych bibliotek C.
436 Summary: Documentation needed for development using standard C libraries
437 Summary(pl.UTF-8): Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C
439 Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
441 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
442 # have to be installed, not ix86 one.
443 Obsoletes: %{name}-devel-doc(i386)
444 Obsoletes: %{name}-devel-doc(i486)
445 Obsoletes: %{name}-devel-doc(i586)
446 Obsoletes: %{name}-devel-doc(i686)
447 Obsoletes: %{name}-devel-doc(athlon)
448 Obsoletes: %{name}-devel-doc(pentium3)
449 Obsoletes: %{name}-devel-doc(pentium4)
452 Obsoletes: %{name}-devel-doc(ppc)
455 Obsoletes: %{name}-devel-doc(s390)
458 Obsoletes: %{name}-devel-doc(sparc)
461 %description devel-doc
462 The glibc-devel-doc package contains info and manual pages necessary
463 for developing programs which use the standard C libraries (which are
464 used by nearly all programs).
466 Install glibc-devel-doc if you are going to develop programs which
467 will use the standard C libraries.
469 %description devel-doc -l pl.UTF-8
470 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
471 rozwijania programów używających standardowych bibliotek C (używanych
472 przez prawie wszystkie programy).
474 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
475 korzystające ze standardowych bibliotek C.
478 Summary: Name Service Caching Daemon
479 Summary(es.UTF-8): Demonio de caché del servicio de nombres
480 Summary(ja.UTF-8): ネームサービスキャッシングデーモン (nacd)
481 Summary(pl.UTF-8): Demon zapamiętujący odpowiedzi serwisów nazw
482 Summary(ru.UTF-8): Кэширующий демон сервисов имен
483 Summary(uk.UTF-8): Кешуючий демон севісів імен
484 Group: Networking/Daemons
485 Requires(post): fileutils
486 Requires(post,preun): /sbin/chkconfig
487 Requires(postun): /usr/sbin/groupdel
488 Requires(postun): /usr/sbin/userdel
489 Requires(pre): /bin/id
490 Requires(pre): /usr/bin/getgid
491 Requires(pre): /usr/sbin/groupadd
492 Requires(pre): /usr/sbin/useradd
493 Requires: %{name} = %{epoch}:%{version}-%{release}
494 %{?with_selinux:Requires: libselinux >= 1.18}
495 Requires: rc-scripts >= 0.2.0
496 Provides: group(nscd)
500 nscd caches name service lookups; it can dramatically improve
501 performance with NIS+, and may help with DNS as well.
503 %description -n nscd -l es.UTF-8
504 nscd guarda las peticiones del servicio de nombres en una caché; eso
505 puede aumentar drásticamente las prestaciones de NIS+, y también puede
508 %description -n nscd -l ja.UTF-8
509 Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
510 ドラマティックに改善することができ、DNS を同様に補助します。
512 %description -n nscd -l pl.UTF-8
513 nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
514 drastycznie poprawić szybkość działania NIS+.
516 %description -n nscd -l ru.UTF-8
517 nscd кэширует результаты запросов к сервисам имен; это может резко
518 увеличить производительность работы с NIS+ и, также, может помочь с
521 %description -n nscd -l uk.UTF-8
522 nscd кешує результати запросів до сервісів імен; це може сильно
523 збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS.
525 %package -n localedb-src
526 Summary: locale database source code
527 Summary(es.UTF-8): Código fuente de la base de datos de los locales
528 Summary(pl.UTF-8): Kod źródłowy bazy locale
530 Requires: %{name} = %{epoch}:%{version}-%{release}
534 %description -n localedb-src
535 This add-on package contains the data needed to build the locale data
536 files to use the internationalization features of the GNU libc.
538 %description -n localedb-src -l es.UTF-8
539 Este paquete adicional contiene los datos necesarios para construir
540 los ficheros de locale, imprescindibles para usar las cualidades de
541 internacionalización de GNU libc.
543 %description -n localedb-src -l pl.UTF-8
544 Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików
545 lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU
548 %package localedb-all
549 Summary: locale database for all locales supported by glibc
550 Summary(es.UTF-8): Base de datos de todos los locales soportados por glibc
551 Summary(pl.UTF-8): Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc
553 Requires: %{name} = %{epoch}:%{version}-%{release}
554 Requires: iconv = %{epoch}:%{version}-%{release}
556 %description localedb-all
557 This package contains locale database for all locales supported by
558 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
559 something smaller with support for chosen locales only, consider
560 installing localedb-src and regenerating database using localedb-gen
561 script (when database is generated, localedb-src can be uninstalled).
563 %description localedb-all -l es.UTF-8
564 Este paquete contiene una base de datos de todos los locales
565 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
566 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
567 locales elegidos, considérese instalar localedb-src y regenerar la
568 base de datos usando el escript localedb-gen (una vez que la base de
569 datos esté creada, localedb-src se podrá desinstalar).
571 %description localedb-all -l pl.UTF-8
572 Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji
573 obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik
574 (około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych
575 lokalizacji, należy zainstalować pakiet localedb-src i przegenerować
576 bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy
577 pakiet localedb-src można odinstalować).
580 Summary: Convert encoding of given files from one encoding to another
581 Summary(es.UTF-8): Convierte entre varias codificaciones de los ficheros dados
582 Summary(pl.UTF-8): Moduły do konwersji plików tekstowych z jednego kodowania do innego
584 Requires: %{name} = %{epoch}:%{version}-%{release}
586 %description -n iconv
587 Convert encoding of given files from one encoding to another. You need
588 this package if you want to convert some document from one encoding to
589 another or if you have installed some programs which use Generic
590 Character Set Conversion Interface.
592 %description -n iconv -l es.UTF-8
593 Convierte la codificación de dados ficheros. Necesita este paquete si
594 quiere convertir un documento entre una codificación (juego de
595 caracteres) y otra, o si tiene instalado algún programa que usa el
596 Generic Character Set Conversion Interface (interfaz genérica de
597 conversión de juegos de caracteres).
599 %description -n iconv -l pl.UTF-8
600 Moduły do konwersji plików tekstowych z jednego kodowania do innego.
601 Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję
602 dokumentów z jednego kodowania do innego lub do używania programów
603 korzystających z Generic Character Set Conversion Interface w glibc,
604 czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję
605 kodowania danych z poziomu dowolnego programu.
608 Summary: Static libraries
609 Summary(es.UTF-8): Bibliotecas estáticas
610 Summary(pl.UTF-8): Biblioteki statyczne
611 Summary(ru.UTF-8): Статические библиотеки glibc
612 Summary(uk.UTF-8): Статичні бібліотеки glibc
613 Group: Development/Libraries
614 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
615 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
616 Obsoletes: libiconv-static
619 GNU libc static libraries.
621 %description static -l es.UTF-8
622 Bibliotecas estáticas de GNU libc.
624 %description static -l pl.UTF-8
625 Biblioteki statyczne GNU libc.
627 %description static -l ru.UTF-8
628 Это отдельный пакет со статическими библиотеками, которые больше не
629 входят в glibc-devel.
631 %description static -l uk.UTF-8
632 Це окремий пакет зі статичними бібліотеками, що більше не входять в
636 Summary: glibc with profiling support
637 Summary(de.UTF-8): glibc mit Profil-Unterstützung
638 Summary(es.UTF-8): glibc con soporte de perfilamiento
639 Summary(fr.UTF-8): glibc avec support pour profiling
640 Summary(pl.UTF-8): glibc ze wsparciem dla profilowania
641 Summary(ru.UTF-8): GNU libc с поддержкой профайлера
642 Summary(tr.UTF-8): Ölçüm desteği olan glibc
643 Summary(uk.UTF-8): GNU libc з підтримкою профайлера
644 Group: Development/Libraries/Libc
645 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
646 Obsoletes: libc-profile
649 When programs are being profiled using gprof, they must use these
650 libraries instead of the standard C libraries for gprof to be able to
651 profile them correctly.
653 %description profile -l de.UTF-8
654 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
655 Libraries anstelle der üblichen C-Libraries verwendet werden.
657 %description profile -l es.UTF-8
658 Cuando programas son perfilidas usando gprof, tienen que usar estas
659 biblioteces en vez de las estándares para que gprof pueda perfilarlas
662 %description profile -l pl.UTF-8
663 Programy profilowane za pomocą gprof muszą używać tych bibliotek
664 zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je
667 %description profile -l uk.UTF-8
668 Коли програми досліджуються профайлером gprof, вони повинні
669 використовувати замість стандартних бібліотек бібліотеки, що містяться
670 в цьому пакеті. При використанні стандартних бібліотек gprof замість
671 реальних результатів буде показувати ціни на папайю в Гонолулу в
674 %description profile -l tr.UTF-8
675 gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu
676 kitaplığı kullanmak zorundadırlar.
678 %description profile -l ru.UTF-8
679 Когда программы исследуются профайлером gprof, они должны
680 использовать, вместо стандартных библиотек, библиотеки, включенные в
681 этот пакет. При использовании стандартных библиотек gprof вместо
682 реальных результатов будет показывать цены на папайю в Гонолулу в
686 Summary: glibc PIC archive
687 Summary(es.UTF-8): Archivo PIC de glibc
688 Summary(pl.UTF-8): Archiwum PIC glibc
689 Group: Development/Libraries/Libc
690 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
693 GNU C Library PIC archive contains an archive library (ar file)
694 composed of individual shared objects. This is used for creating a
695 library which is a smaller subset of the standard libc shared library.
697 %description pic -l es.UTF-8
698 El archivo PIC de la biblioteca glibc contiene una biblioteca
699 archivada (un fichero ar) compuesta de individuales objetos
700 compartidos. Es usado para crear una biblioteca que sea un subconjunto
701 más pequeño de la biblioteca libc compartida estándar.
703 %description pic -l pl.UTF-8
704 Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar)
705 złożoną z pojedynczych obiektów współdzielonych. Używana jest do
706 tworzenia biblioteki będącej mniejszym podzestawem standardowej
707 biblioteki współdzielonej libc.
709 %package -n nss_compat
710 Summary: Old style NYS NSS glibc module
711 Summary(es.UTF-8): El antiguo módulo NYS NSS de glibc
712 Summary(pl.UTF-8): Stary moduł NYS NSS glibc
714 Requires: %{name} = %{epoch}:%{version}-%{release}
716 %description -n nss_compat
717 Old style NYS NSS glibc module.
719 %description -n nss_compat -l es.UTF-8
720 El antiguo módulo NYS NSS de glibc
722 %description -n nss_compat -l pl.UTF-8
723 Stary moduł NYS NSS glibc.
726 Summary: BIND NSS glibc module
727 Summary(es.UTF-8): Módulo BIND NSS de glibc
728 Summary(pl.UTF-8): Moduł BIND NSS glibc
730 Requires: %{name} = %{epoch}:%{version}-%{release}
732 %description -n nss_dns
733 BIND NSS glibc module.
735 %description -n nss_dns -l es.UTF-8
736 Módulo BIND NSS de glibc.
738 %description -n nss_dns -l pl.UTF-8
739 Moduł BIND NSS glibc.
741 %package -n nss_files
742 Summary: Traditional files databases NSS glibc module
743 Summary(es.UTF-8): Módulo de tradicionales bases de datos en ficheros para glibc
744 Summary(pl.UTF-8): Moduł tradycyjnych plikowych baz danych NSS glibc
746 Requires: %{name} = %{epoch}:%{version}-%{release}
748 %description -n nss_files
749 Traditional files databases NSS glibc module.
751 %description -n nss_files -l es.UTF-8
752 Módulo de tradicionales bases de datos en ficheros para glibc.
754 %description -n nss_files -l pl.UTF-8
755 Moduł tradycyjnych plikowych baz danych NSS glibc.
757 %package -n nss_hesiod
758 Summary: hesiod NSS glibc module
759 Summary(es.UTF-8): Módulo hesiod NSS de glibc
760 Summary(pl.UTF-8): Moduł hesiod NSS glibc
762 Requires: %{name} = %{epoch}:%{version}-%{release}
764 %description -n nss_hesiod
765 glibc NSS (Name Service Switch) module for databases access.
767 %description -n nss_hesiod -l es.UTF-8
768 Módulo hesiod NSS de glibc.
770 %description -n nss_hesiod -l pl.UTF-8
771 Moduł glibc NSS (Name Service Switch) dostępu do baz danych.
774 Summary: NIS(YP) NSS glibc module
775 Summary(es.UTF-8): Módulo NIS(YP) NSS de glibc
776 Summary(pl.UTF-8): Moduł NIS(YP) NSS glibc
778 Requires: %{name} = %{epoch}:%{version}-%{release}
780 %description -n nss_nis
781 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
783 %description -n nss_nis -l es.UTF-8
784 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
786 %description -n nss_nis -l pl.UTF-8
787 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS(YP).
789 %package -n nss_nisplus
790 Summary: NIS+ NSS module
791 Summary(es.UTF-8): Módulo NIS+ NSS
792 Summary(pl.UTF-8): Moduł NIS+ NSS
794 Requires: %{name} = %{epoch}:%{version}-%{release}
796 %description -n nss_nisplus
797 glibc NSS (Name Service Switch) module for NIS+ databases access.
799 %description -n nss_nisplus -l es.UTF-8
800 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
803 %description -n nss_nisplus -l pl.UTF-8
804 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS+.
808 Summary(es.UTF-8): Un juguete
809 Summary(pl.UTF-8): Zabawka
811 Requires: %{name} = %{epoch}:%{version}-%{release}
813 %description memusage
816 %description memusage -l es.UTF-8
819 %description memusage -l pl.UTF-8
824 ln -s glibc-libidn-%{version} libidn
848 %{?with_cross:%patch25 -p1}
851 # these would be copied to localedb-src
852 rm -f localedata/locales/*{.orig,~}
856 # i786 (aka pentium4) hack
857 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
858 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
860 # A lot of programs still misuse memcpy when they have to use
861 # memmove. The memcpy implementation below is not tolerant at
863 rm -f sysdeps/alpha/alphaev6/memcpy.S
866 # glibc has its own way to remove PLT relocations. / H. J. Lu.
867 unset LD_SYMBOLIC_FUNCTIONS || :
869 cp -f /usr/share/automake/config.sub scripts
877 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
881 --enable-kernel="%{min_kernel}" \
883 --with-headers=%{_includedir} \
884 --with%{!?with_selinux:out}-selinux \
886 --enable-add-ons=nptl,libidn \
887 --enable-stackguard-randomization \
888 --enable-hidden-plt \
898 for d in builddir; do
900 env LANGUAGE=C LC_ALL=C \
901 %{__make} tests 2>&1 | awk '
904 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
906 gsub(/.*\[/, NIL, file);
907 gsub(/\].*/, NIL, file);
911 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
917 diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
921 rm -rf $RPM_BUILD_ROOT
922 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
925 env LANGUAGE=C LC_ALL=C \
927 install_root=$RPM_BUILD_ROOT \
928 infodir=%{_infodir} \
932 env LANGUAGE=C LC_ALL=C \
933 %{__make} localedata/install-locales \
934 install_root=$RPM_BUILD_ROOT
937 PICFILES="libc_pic.a libc.map
938 math/libm_pic.a libm.map
939 resolv/libresolv_pic.a"
941 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
942 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
943 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
947 install glibc-postinst $RPM_BUILD_ROOT/sbin
950 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
951 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
953 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
954 # moved to tzdata package
955 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
957 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
959 # make symlinks across top-level directories absolute
960 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
961 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
962 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
965 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
966 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
967 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
968 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
969 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
970 install posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
972 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
973 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
974 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
975 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
976 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
978 :> $RPM_BUILD_ROOT/var/log/nscd
979 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
980 :> $RPM_BUILD_ROOT/var/lib/nscd/group
981 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
984 install -d documentation
986 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
987 cp -f nptl/$f documentation/$f.nptl
989 cp -f crypt/README.ufc-crypt ChangeLog* documentation
991 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
993 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
994 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
996 # Collect locale files and mark them with %%lang()
998 echo '%defattr(644,root,root,755)' > glibc.lang
999 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
1001 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
1003 # list of long %%lang values we do support
1004 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
1005 zh_CN zh_CN.gbk zh_HK zh_TW ; do
1006 if [ $j = "$lang" ]; then
1010 if [ -n "$twochar" ]; then
1011 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1012 lang=`echo $lang | sed "s,\..*,,"`
1014 lang=`echo $lang | sed "s,_.*,,"`
1017 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1018 echo "%lang($lang) $dir" >> glibc.lang
1023 # Languages not supported by glibc locales, but usable via $LANGUAGE:
1024 # ang - Old English (gtk+, gnome)
1025 # tlh - Klingon (bzflag)
1027 # To be added when they become supported by glibc:
1029 # dv, haw, kok, ps, syr (iso-codes)
1030 # gn (gn_BR in gnome, maybe gn_PY)
1033 # What about sr@ije? It used to be sr_CS@ije (should be @[i]jekavian?),
1034 # but now this dialect uses sr_ME locale - rename dir to sr_ME?
1036 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
1039 # Omitted here - already existing (with libc.mo):
1040 # 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
1043 for i in aa aa@saaho af am an ang ar as ast az be@alternative be@latin bg bn \
1044 bn_IN br bs byn csb cy de_AT dz en en@boldquot en@quot en_AU en_CA en_US \
1045 eo es_AR es_MX es_NI es_PR et eu fa fil fo fr_BE fur fy ga gd gez gu gv \
1046 he hi hsb hy ia id ik is it_CH iu ka kk kl km kn ku kw ky lg li lo lt lv \
1047 mai mg mi mk ml mn mr ms mt nds ne nl_BE nn nr nso oc om or pa pap pt rm \
1048 ro sa sc se si sid sl so sq sr sr@Latn sr@ije ss st sw ta te tg th ti tig \
1049 tk tl tlh tn ts tt ug uk ur uz uz@cyrillic ve vi wa wal wo xh yi yo zh_HK \
1051 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1052 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1053 lang=`echo $i | sed -e 's/_.*//'`
1054 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1058 # localedb-gen infrastructure
1059 sed -e 's,@localedir@,%{_libdir}/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1060 chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1061 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1063 # shutup check-files
1064 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1065 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1066 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1067 # we don't support kernel without ptys support
1068 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1070 rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/rpcinfo.8
1071 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/rpcinfo.8
1072 rm -f $RPM_BUILD_ROOT%{_sbindir}/rpcinfo
1075 rm -rf $RPM_BUILD_ROOT
1077 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1078 # when %%postun is run
1081 %post -p /sbin/postshell
1082 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
1086 %postun -p /sbin/postshell
1090 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1091 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1092 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1095 %post memusage -p /sbin/ldconfig
1096 %postun memusage -p /sbin/ldconfig
1098 %post -n iconv -p %{_sbindir}/iconvconfig
1101 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1104 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1107 %groupadd -P nscd -g 144 -r nscd
1108 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1111 /sbin/chkconfig --add nscd
1113 chmod 000 /var/log/nscd
1114 chown root:root /var/log/nscd
1115 chmod 640 /var/log/nscd
1116 %service nscd restart "nscd daemon"
1119 if [ "$1" = "0" ]; then
1121 /sbin/chkconfig --del nscd
1125 if [ "$1" = "0" ]; then
1131 %defattr(644,root,root,755)
1132 %doc README NEWS FAQ BUGS
1134 %attr(755,root,root) /sbin/glibc-postinst
1136 %attr(755,root,root) /sbin/ldconfig
1137 # ld* and libc.so.6 SONAME symlinks must be in package because of
1138 # chicken-egg problem (postshell is dynamically linked with libc);
1139 # NOTE: postshell is now linked statically with diet
1140 # ld-*.so SONAME is:
1142 # ld64.so.1 on ppc64,s390x
1143 # ld-linux-ia64.so.2 on ia64
1144 # ld-linux-x86-64.so.2 on x86_64
1145 # ld-linux.so.2 on other archs
1146 %attr(755,root,root) /%{_lib}/ld*
1147 %attr(755,root,root) /%{_lib}/libanl*
1148 %attr(755,root,root) /%{_lib}/libdl*
1149 %attr(755,root,root) /%{_lib}/libnsl*
1150 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1151 %{?with_localedb:%dir %{_libdir}/locale}
1152 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1153 %dir %{_sysconfdir}/ld.so.conf.d
1154 %ghost %{_sysconfdir}/ld.so.cache
1157 %defattr(644,root,root,755)
1158 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1160 #%files -n nss_files
1161 %defattr(644,root,root,755)
1162 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1164 %files misc -f %{name}.lang
1165 %defattr(644,root,root,755)
1167 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1168 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1170 %config %{_sysconfdir}/rpc
1172 %attr(755,root,root) /sbin/sln
1173 %attr(755,root,root) %{_bindir}/catchsegv
1174 %attr(755,root,root) %{_bindir}/getconf
1175 %attr(755,root,root) %{_bindir}/getent
1176 %attr(755,root,root) %{_bindir}/iconv
1177 %attr(755,root,root) %{_bindir}/ldd
1178 %ifarch %{ix86} m68k sparc sparcv9
1179 %attr(755,root,root) %{_bindir}/lddlibc4
1181 %attr(755,root,root) %{_bindir}/locale
1182 %attr(755,root,root) %{_bindir}/rpcgen
1183 %attr(755,root,root) %{_bindir}/tzselect
1185 %attr(755,root,root) %{_sbindir}/zdump
1186 %attr(755,root,root) %{_sbindir}/zic
1188 %dir %{_libexecdir}/getconf
1189 %attr(755,root,root) %{_libexecdir}/getconf/*
1191 %dir %{_datadir}/locale
1192 %{_datadir}/locale/locale.alias
1194 %{_mandir}/man1/catchsegv.1*
1195 %{_mandir}/man1/getconf.1*
1196 %{_mandir}/man1/getent.1*
1197 %{_mandir}/man1/iconv.1*
1198 %{_mandir}/man1/ldd.1*
1199 %{_mandir}/man1/locale.1*
1200 %{_mandir}/man1/rpcgen.1*
1201 %{_mandir}/man5/locale.5*
1202 %{_mandir}/man5/nsswitch.conf.5*
1203 %{_mandir}/man5/tzfile.5*
1205 %{_mandir}/man8/ld*.8*
1206 %{_mandir}/man8/sln.8*
1207 %{_mandir}/man8/tzselect.8*
1208 %{_mandir}/man8/zdump.8*
1209 %{_mandir}/man8/zic.8*
1210 %lang(cs) %{_mandir}/cs/man7/*
1211 %lang(de) %{_mandir}/de/man5/tzfile.5*
1212 %lang(de) %{_mandir}/de/man7/*
1213 %lang(es) %{_mandir}/es/man1/ldd.1*
1214 %lang(es) %{_mandir}/es/man5/locale.5*
1215 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1216 %lang(es) %{_mandir}/es/man5/tzfile.5*
1217 %lang(es) %{_mandir}/es/man7/*
1218 %lang(es) %{_mandir}/es/man8/ld*.8*
1219 %lang(es) %{_mandir}/es/man8/tzselect.8*
1220 %lang(es) %{_mandir}/es/man8/zdump.8*
1221 %lang(es) %{_mandir}/es/man8/zic.8*
1222 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1223 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1224 %lang(fr) %{_mandir}/fr/man5/locale.5*
1225 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1226 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1227 %lang(fr) %{_mandir}/fr/man7/*
1228 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1229 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1230 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1231 %lang(fr) %{_mandir}/fr/man8/zic.8*
1232 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1233 %lang(hu) %{_mandir}/hu/man7/*
1234 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1235 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1236 %lang(it) %{_mandir}/it/man5/locale.5*
1237 %lang(it) %{_mandir}/it/man7/*
1238 %lang(it) %{_mandir}/it/man8/tzselect.8*
1239 %lang(it) %{_mandir}/it/man8/zdump.8*
1240 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1241 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1242 %lang(ja) %{_mandir}/ja/man5/locale.5*
1243 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1244 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1245 %lang(ja) %{_mandir}/ja/man7/*
1246 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1247 %lang(ja) %{_mandir}/ja/man8/sln.8*
1248 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1249 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1250 %lang(ja) %{_mandir}/ja/man8/zic.8*
1251 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1252 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1253 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1254 %lang(ko) %{_mandir}/ko/man7/*
1255 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1256 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1257 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1258 %lang(pl) %{_mandir}/pl/man5/locale.5*
1259 %lang(pl) %{_mandir}/pl/man7/*
1260 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1261 %lang(pt) %{_mandir}/pt/man5/locale.5*
1262 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1263 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1264 %lang(pt) %{_mandir}/pt/man7/*
1265 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1266 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1267 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1268 %lang(pt) %{_mandir}/pt/man8/zic.8*
1269 %lang(ru) %{_mandir}/ru/man1/getent.1*
1270 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1271 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1272 %lang(ru) %{_mandir}/ru/man1/locale.1*
1273 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1274 %lang(ru) %{_mandir}/ru/man5/locale.5*
1275 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1276 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1277 %lang(ru) %{_mandir}/ru/man7/*
1278 %lang(ru) %{_mandir}/ru/man8/ld*.8*
1279 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1280 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1281 %lang(ru) %{_mandir}/ru/man8/zic.8*
1282 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1283 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1284 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1285 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1286 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1287 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1288 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1289 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1290 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1291 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1293 %files -n nss_compat
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1297 %files -n nss_hesiod
1298 %defattr(644,root,root,755)
1299 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1302 %defattr(644,root,root,755)
1303 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1304 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1306 %files -n nss_nisplus
1307 %defattr(644,root,root,755)
1308 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1310 %if %{with memusage}
1312 %defattr(644,root,root,755)
1313 %attr(755,root,root) %{_bindir}/memusage*
1314 %attr(755,root,root) %{_libdir}/libmemusage.so
1318 %defattr(644,root,root,755)
1319 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1320 %attr(755,root,root) %{_libdir}/libcrypt.so
1321 %attr(755,root,root) %{_libdir}/libm.so
1322 %attr(755,root,root) %{_libdir}/libpcprofile.so
1323 %attr(755,root,root) %{_libdir}/*crt*.o
1326 %{_libdir}/libpthread.so
1327 %{_libdir}/libbsd-compat.a
1329 %{_libdir}/libc_nonshared.a
1331 %{_libdir}/libieee.a
1332 %ifarch alpha ppc sparc
1333 %{_libdir}/libnldbl_nonshared.a
1335 %{_libdir}/libpthread_nonshared.a
1336 %{_libdir}/librpcsvc.a
1337 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1338 %{_includedir}/gnu/stubs-*.h
1342 %defattr(644,root,root,755)
1345 %{_includedir}/alpha
1349 %dir %{_includedir}/gnu
1350 %{_includedir}/gnu/lib*.h
1351 %{_includedir}/gnu/stubs.h
1353 %{_includedir}/netash
1354 %{_includedir}/netatalk
1355 %{_includedir}/netax25
1356 %{_includedir}/neteconet
1357 %{_includedir}/netinet
1358 %{_includedir}/netipx
1359 %{_includedir}/netpacket
1360 %{_includedir}/netrom
1361 %{_includedir}/netrose
1363 %{_includedir}/protocols
1365 %{_includedir}/rpcsvc
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{_bindir}/gencat
1372 %attr(755,root,root) %{_bindir}/*prof*
1373 %attr(755,root,root) %{_bindir}/*trace
1376 %defattr(644,root,root,755)
1377 %doc documentation/* NOTES PROJECTS
1378 %{_infodir}/libc.info*
1380 %{_mandir}/man1/sprof.1*
1382 %lang(cs) %{_mandir}/cs/man3/*
1383 %lang(de) %{_mandir}/de/man3/*
1384 %lang(es) %{_mandir}/es/man3/*
1385 %lang(fr) %{_mandir}/fr/man3/*
1386 %lang(hu) %{_mandir}/hu/man3/*
1387 %lang(it) %{_mandir}/it/man3/*
1388 %lang(ja) %{_mandir}/ja/man3/*
1389 %lang(ko) %{_mandir}/ko/man3/*
1390 %lang(nl) %{_mandir}/nl/man3/*
1391 %lang(pl) %{_mandir}/pl/man3/*
1392 %lang(pt) %{_mandir}/pt/man3/*
1393 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1394 %lang(ru) %{_mandir}/ru/man3/*
1395 %lang(tr) %{_mandir}/tr/man3/*
1396 %lang(uk) %{_mandir}/uk/man3/*
1397 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1400 %defattr(644,root,root,755)
1401 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1402 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1403 %attr(754,root,root) /etc/rc.d/init.d/nscd
1404 %attr(755,root,root) %{_sbindir}/nscd*
1405 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1406 %attr(640,root,root) %ghost /var/log/nscd
1409 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1410 %attr(600,root,root) %ghost /var/lib/nscd/group
1411 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1412 %{_mandir}/man5/nscd.conf.5*
1413 %{_mandir}/man8/nscd.8*
1414 %{_mandir}/man8/nscd_nischeck.8*
1415 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1416 %lang(es) %{_mandir}/es/man8/nscd.8*
1417 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1418 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1419 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1420 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1421 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1422 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1423 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1424 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1425 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1427 %files -n localedb-src
1428 %defattr(644,root,root,755)
1429 %attr(755,root,root) %{_bindir}/localedef
1430 %attr(755,root,root) %{_bindir}/localedb-gen
1432 %{_mandir}/man1/localedef.1*
1433 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1435 %if %{with localedb}
1437 %defattr(644,root,root,755)
1438 %{_libdir}/locale/locale-archive
1442 %defattr(644,root,root,755)
1443 %attr(755,root,root) %{_sbindir}/iconvconfig
1444 %dir %{_libdir}/gconv
1445 %{_libdir}/gconv/gconv-modules
1446 %attr(755,root,root) %{_libdir}/gconv/*.so
1449 %defattr(644,root,root,755)
1451 %{_libdir}/libBrokenLocale.a
1453 %{_libdir}/libcrypt.a
1456 %{_libdir}/libmcheck.a
1458 %{_libdir}/libpthread.a
1459 %{_libdir}/libresolv.a
1461 %{_libdir}/libutil.a
1464 %defattr(644,root,root,755)
1468 %defattr(644,root,root,755)
1469 %{_libdir}/lib*_pic.a