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: 11cf6d3fc86dbe0890b8d00372eb6286
42 Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-libidn-%{version}.tar.bz2
43 # Source1-md5: 503f1315afd808728ebaa75b3d87a7d9
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 Patch13: %{name}-gcc42.patch
65 Patch14: %{name}-sparc-errno_fix.patch
67 Patch17: %{name}-new-charsets.patch
69 Patch20: %{name}-tzfile-noassert.patch
70 Patch21: %{name}-morelocales.patch
71 Patch22: %{name}-locale_fixes.patch
72 Patch23: %{name}-ZA_collate.patch
73 Patch24: %{name}-iconvconfig-nxstack.patch
74 Patch25: %{name}-cross-gcc_eh.patch
75 Patch26: %{name}-with-stroke.patch
76 Patch27: %{name}-sparc64-undefined-registers.patch
78 #Patch30: %{name}-pax_dl-execstack.patch
79 URL: http://www.gnu.org/software/libc/
80 %{?with_selinux:BuildRequires: audit-libs-devel}
81 BuildRequires: autoconf
82 BuildRequires: automake
84 BuildRequires: binutils >= 2:2.17.50.0.7
86 BuildRequires: binutils >= 2:2.15.90.0.3
88 BuildRequires: gcc >= 5:3.4
90 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
91 BuildRequires: gettext-devel >= 0.10.36
92 %{!?with_cross:BuildRequires: dietlibc-static}
93 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
94 BuildRequires: linux-libc-headers >= %{llh_version}
95 BuildRequires: perl-base
96 BuildRequires: rpm-build >= 4.3-0.20030610.28
97 BuildRequires: rpm-perlprov
98 BuildRequires: rpmbuild(macros) >= 1.315
99 BuildRequires: sed >= 4.0.5
100 BuildRequires: texinfo
102 Requires: %{name}-misc = %{epoch}:%{version}-%{release}
104 Requires: uname(release) >= %{min_kernel}
105 Provides: /sbin/ldconfig
106 Provides: glibc(nptl)
109 Provides: rtld(GNU_HASH)
110 Obsoletes: glibc-common
111 Obsoletes: glibc-debug
113 %ifarch %{x8664} sparc64 ppc64
117 Conflicts: kernel < %{min_kernel}
119 Conflicts: kernel24-smp
120 Conflicts: ld.so < 1.9.9-10
121 Conflicts: man-pages < 1.43
122 Conflicts: poldek < 0.18.8-5
123 Conflicts: rc-scripts < 0.3.1-13
125 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64
126 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
128 # avoid -s here (ld.so must not be stripped to allow any program debugging)
129 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
130 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
132 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
133 %ifarch sparc sparcv9
134 %{expand:%%define __cc %{__cc} -m32}
138 %define specflags_ia32 -mno-tls-direct-seg-refs
139 %define specflags_x86_64 -mno-tls-direct-seg-refs
140 %define specflags_amd64 -mno-tls-direct-seg-refs
141 %define specflags_ia32e -mno-tls-direct-seg-refs
143 # we don't want perl dependency in glibc-devel
144 %define _noautoreqfiles %{_bindir}/mtrace
145 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
146 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
147 # patched not to crash on partial hardlinks too)
148 %define _hack_dontneed_PartialHardlinkSets 1
149 %define _noautochrpath .*\\(ldconfig\\|sln\\)
152 Contains the standard libraries that are used by multiple programs on
153 the system. In order to save disk space and memory, as well as to ease
154 upgrades, common system code is kept in one place and shared between
155 programs. This package contains the most important sets of shared
156 libraries, the standard C library and the standard math library.
157 Without these, a Linux system will not function. It also contains
158 national language (locale) support.
160 Can be used on: Linux kernel >= %{min_kernel}.
162 %description -l es.UTF-8
163 Contiene las bibliotecas estándared que son usadas por varios
164 programas del sistema. Para ahorrar el espacio en el disco y la
165 memoria, igual que para facilitar actualizaciones, código común del
166 sistema se guarda en un sitio y es compartido entre los programas.
167 Este paquete contiene las bibliotecas compartidas más importantes, es
168 decir la biblioteca C estándar y la biblioteca estándar de matemática.
169 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
170 soporte de idiomas nacionales (locale).
172 Puede usarse con: núcleo Linux >= %{min_kernel}.
174 %description -l de.UTF-8
175 Enthält die Standard-Libraries, die von verschiedenen Programmen im
176 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
177 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
178 einer einzigen Stelle gespeichert und wird von den Programmen
179 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
180 shared Libraries, die Standard-C-Library und die
181 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
182 Ferner enthält es den Support für die verschiedenen Sprachgregionen
185 Can be used on: Linux kernel >= %{min_kernel}.
187 %description -l fr.UTF-8
188 Contient les bibliothèques standards utilisées par de nombreux
189 programmes du système. Afin d'économiser l'espace disque et mémoire,
190 et de faciliter les mises à jour, le code commun au système est mis à
191 un endroit et partagé entre les programmes. Ce paquetage contient les
192 bibliothèques partagées les plus importantes, la bibliothèque standard
193 du C et la bibliothèque mathématique standard. Sans celles-ci, un
194 système Linux ne peut fonctionner. Il contient aussi la gestion des
195 langues nationales (locales).
197 Can be used on: Linux kernel >= %{min_kernel}.
199 %description -l ja.UTF-8
201 パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
202 ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
203 用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
204 間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
205 重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
206 この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc
207 パッケージはまた地域言語 (locale) サポートとタイムゾーンデータベース
210 Can be used on: Linux kernel >= %{min_kernel}.
212 %description -l pl.UTF-8
213 W pakiecie znajdują się podstawowe biblioteki, używane przez różne
214 programy w Twoim systemie. Używanie przez programy bibliotek z tego
215 pakietu oszczędza miejsce na dysku i pamięć. Większość kodu
216 systemowego jest usytuowane w jednym miejscu i dzielone między wieloma
217 programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek
218 standardowych, współdzielonych (dynamicznych) bibliotek C i
219 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować.
220 Znajdują się tutaj również definicje różnych informacji dla wielu
223 Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}.
225 %description -l ru.UTF-8
226 Содержит стандартные библиотеки, используемые многочисленными
227 программами в системе. Для того, чтобы сохранить дисковое пространство
228 и память, а также для простоты обновления, системный код, общий для
229 всех программ, хранится в одном месте и коллективно используется всеми
230 программами. Этот пакет содержит наиболее важные из разделяемых
231 библиотек - стандартную библиотеку C и стандартную библиотеку
232 математики. Без этих библиотек Linux функционировать не будет. Также
233 пакет содержит поддержку национальных языков (locale).
235 Can be used on: Linux kernel >= %{min_kernel}.
237 %description -l tr.UTF-8
238 Bu paket, birçok programın kullandığı standart kitaplıkları içerir.
239 Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme
240 işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde
241 tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak
242 kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını
243 içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel
244 dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır.
246 Can be used on: Linux kernel >= %{min_kernel}.
248 %description -l uk.UTF-8
249 Містить стандартні бібліотеки, котрі використовуються численними
250 програмами в системі. Для того, щоб зберегти дисковий простір та
251 пам'ять, а також для простоти поновлення системи, системний код,
252 спільний для всіх програм, зберігається в одному місці і колективно
253 використовується всіма програмами. Цей пакет містить найбільш важливі
254 з динамічних бібліотек - стандартну бібліотеку С та стандартну
255 бібліотеку математики. Без цих бібліотек Linux функціонувати не буде.
256 Також пакет містить підтримку національних мов (locale).
258 Can be used on: Linux kernel >= %{min_kernel}.
261 Summary: Utilities and data used by glibc
262 Summary(pl.UTF-8): Narzędzia i dane używane przez glibc
263 Group: Applications/System
265 Requires(pre): %{name} = %{epoch}:%{version}-%{release}
266 Requires: %{name} = %{epoch}:%{version}-%{release}
269 Utilities and data used by glibc.
271 %description misc -l pl.UTF-8
272 Narzędzia i dane używane przez glibc.
275 Summary: Additional libraries required to compile
276 Summary(de.UTF-8): Weitere Libraries zum Kompilieren
277 Summary(es.UTF-8): Bibliotecas adicionales necesarias para la compilación
278 Summary(fr.UTF-8): Librairies supplémentaires nécessaires à la compilation
279 Summary(ja.UTF-8): 標準 C ライブラリで使われるヘッダーとオブジェクトファイル
280 Summary(pl.UTF-8): Dodatkowe biblioteki wymagane podczas kompilacji
281 Summary(ru.UTF-8): Дополнительные библиотеки, необходимые для компиляции
282 Summary(tr.UTF-8): Geliştirme için gerekli diğer kitaplıklar
283 Summary(uk.UTF-8): Додаткові бібліотеки, потрібні для компіляції
284 Group: Development/Libraries
285 Requires: %{name} = %{epoch}:%{version}-%{release}
286 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
287 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
288 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
289 Obsoletes: libiconv-devel
292 To develop programs which use the standard C libraries (which nearly
293 all programs do), the system needs to have these standard header files
294 and object files available for creating the executables.
296 %description devel -l de.UTF-8
297 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
298 verwenden (also fast alle), benötigt das System diese Standard-Header-
299 und Objektdateien zum Erstellen der ausführbaren Programme.
301 %description devel -l es.UTF-8
302 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
303 cual hacen prácticamente todos los programas), el sistema necesita
304 disponer de estos ficheros de cabecera y de objetos para crear los
307 %description devel -l fr.UTF-8
308 Pour développer des programmes utilisant les bibliothèques standard du
309 C (ce que presque tous les programmes font), le système doit posséder
310 ces fichiers en-têtes et objets standards pour créer les exécutables.
312 %description devel -l ja.UTF-8
313 glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C
314 ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト
316 ライブラリを使用するプログラムを開発するなら
317 実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル
320 %description devel -l pl.UTF-8
321 Pakiet ten jest niezbędny przy tworzeniu własnych programów
322 korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki
323 nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów
324 wykonywalnych i innych bibliotek.
326 %description devel -l ru.UTF-8
327 Для разработки программ, использующих стандартные библиотеки C (а
328 практически все программы их используют), системе НЕОБХОДИМЫ хедеры и
329 объектные файлы, содержащиеся в этом пакете, чтобы создавать
332 %description devel -l tr.UTF-8
333 C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar
334 geliştirmek için gereken standart başlık dosyaları ve statik
337 %description devel -l uk.UTF-8
338 Для розробки програм, що використовують стандартні бібліотеки C
339 (практично всі програми їх використовують), системі НЕОБХІДНІ хедери
340 та об'єктні файли, що містяться в цьому пакеті, цоб створювати
344 Summary: Header files for development using standard C libraries
345 Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C
346 Group: Development/Building
347 Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
349 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
350 # have to be installed, not ix86 one.
351 Obsoletes: %{name}-headers(i386)
352 Obsoletes: %{name}-headers(i486)
353 Obsoletes: %{name}-headers(i586)
354 Obsoletes: %{name}-headers(i686)
355 Obsoletes: %{name}-headers(athlon)
356 Obsoletes: %{name}-headers(pentium3)
357 Obsoletes: %{name}-headers(pentium4)
360 Obsoletes: %{name}-headers(ppc)
363 Obsoletes: %{name}-headers(s390)
366 Obsoletes: %{name}-headers(sparc)
368 Requires: linux-libc-headers >= %{llh_version}
371 The glibc-headers package contains the header files necessary for
372 developing programs which use the standard C libraries (which are used
373 by nearly all programs). If you are developing programs which will use
374 the standard C libraries, your system needs to have these standard
375 header files available in order to create the executables.
377 Install glibc-headers if you are going to develop programs which will
378 use the standard C libraries.
380 %description headers -l pl.UTF-8
381 Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania
382 programów używających standardowych bibliotek C (używanych przez
383 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
384 standardowych bibliotek C, system wymaga dostępności tych
385 standardowych plików nagłówkowych do tworzenia programów
388 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
389 korzystające ze standardowych bibliotek C.
392 Summary: Utilities needed for development using standard C libraries
393 Summary(pl.UTF-8): Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C
394 Group: Development/Libraries
395 Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
397 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
398 # have to be installed, not ix86 one.
399 Obsoletes: %{name}-devel-utils(i386)
400 Obsoletes: %{name}-devel-utils(i486)
401 Obsoletes: %{name}-devel-utils(i586)
402 Obsoletes: %{name}-devel-utils(i686)
403 Obsoletes: %{name}-devel-utils(athlon)
404 Obsoletes: %{name}-devel-utils(pentium3)
405 Obsoletes: %{name}-devel-utils(pentium4)
408 Obsoletes: %{name}-devel-utils(ppc)
411 Obsoletes: %{name}-devel-utils(s390)
414 Obsoletes: %{name}-devel-utils(sparc)
417 %description devel-utils
418 The glibc-devel-utils package contains utilities necessary for
419 developing programs which use the standard C libraries (which are used
420 by nearly all programs). If you are developing programs which will use
421 the standard C libraries, your system needs to have these utilities
424 Install glibc-devel-utils if you are going to develop programs which
425 will use the standard C libraries.
427 %description devel-utils -l pl.UTF-8
428 Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania
429 programów używających standardowych bibliotek C (używanych przez
430 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
431 standardowych bibliotek C, system wymaga dostępności tych narzędzi do
432 tworzenia programów wykonywalnych.
434 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
435 korzystające ze standardowych bibliotek C.
438 Summary: Documentation needed for development using standard C libraries
439 Summary(pl.UTF-8): Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C
441 Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
443 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
444 # have to be installed, not ix86 one.
445 Obsoletes: %{name}-devel-doc(i386)
446 Obsoletes: %{name}-devel-doc(i486)
447 Obsoletes: %{name}-devel-doc(i586)
448 Obsoletes: %{name}-devel-doc(i686)
449 Obsoletes: %{name}-devel-doc(athlon)
450 Obsoletes: %{name}-devel-doc(pentium3)
451 Obsoletes: %{name}-devel-doc(pentium4)
454 Obsoletes: %{name}-devel-doc(ppc)
457 Obsoletes: %{name}-devel-doc(s390)
460 Obsoletes: %{name}-devel-doc(sparc)
463 %description devel-doc
464 The glibc-devel-doc package contains info and manual pages necessary
465 for developing programs which use the standard C libraries (which are
466 used by nearly all programs).
468 Install glibc-devel-doc if you are going to develop programs which
469 will use the standard C libraries.
471 %description devel-doc -l pl.UTF-8
472 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
473 rozwijania programów używających standardowych bibliotek C (używanych
474 przez prawie wszystkie programy).
476 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
477 korzystające ze standardowych bibliotek C.
480 Summary: Name Service Caching Daemon
481 Summary(es.UTF-8): Demonio de caché del servicio de nombres
482 Summary(ja.UTF-8): ネームサービスキャッシングデーモン (nacd)
483 Summary(pl.UTF-8): Demon zapamiętujący odpowiedzi serwisów nazw
484 Summary(ru.UTF-8): Кэширующий демон сервисов имен
485 Summary(uk.UTF-8): Кешуючий демон севісів імен
486 Group: Networking/Daemons
487 Requires(post): fileutils
488 Requires(post,preun): /sbin/chkconfig
489 Requires(postun): /usr/sbin/groupdel
490 Requires(postun): /usr/sbin/userdel
491 Requires(pre): /bin/id
492 Requires(pre): /usr/bin/getgid
493 Requires(pre): /usr/sbin/groupadd
494 Requires(pre): /usr/sbin/useradd
495 Requires: %{name} = %{epoch}:%{version}-%{release}
496 %{?with_selinux:Requires: libselinux >= 1.18}
497 Requires: rc-scripts >= 0.2.0
498 Provides: group(nscd)
502 nscd caches name service lookups; it can dramatically improve
503 performance with NIS+, and may help with DNS as well.
505 %description -n nscd -l es.UTF-8
506 nscd guarda las peticiones del servicio de nombres en una caché; eso
507 puede aumentar drásticamente las prestaciones de NIS+, y también puede
510 %description -n nscd -l ja.UTF-8
511 Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
512 ドラマティックに改善することができ、DNS を同様に補助します。
514 %description -n nscd -l pl.UTF-8
515 nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
516 drastycznie poprawić szybkość działania NIS+.
518 %description -n nscd -l ru.UTF-8
519 nscd кэширует результаты запросов к сервисам имен; это может резко
520 увеличить производительность работы с NIS+ и, также, может помочь с
523 %description -n nscd -l uk.UTF-8
524 nscd кешує результати запросів до сервісів імен; це може сильно
525 збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS.
527 %package -n localedb-src
528 Summary: locale database source code
529 Summary(es.UTF-8): Código fuente de la base de datos de los locales
530 Summary(pl.UTF-8): Kod źródłowy bazy locale
532 Requires: %{name} = %{epoch}:%{version}-%{release}
536 %description -n localedb-src
537 This add-on package contains the data needed to build the locale data
538 files to use the internationalization features of the GNU libc.
540 %description -n localedb-src -l es.UTF-8
541 Este paquete adicional contiene los datos necesarios para construir
542 los ficheros de locale, imprescindibles para usar las cualidades de
543 internacionalización de GNU libc.
545 %description -n localedb-src -l pl.UTF-8
546 Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików
547 lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU
550 %package localedb-all
551 Summary: locale database for all locales supported by glibc
552 Summary(es.UTF-8): Base de datos de todos los locales soportados por glibc
553 Summary(pl.UTF-8): Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc
555 Requires: %{name} = %{epoch}:%{version}-%{release}
556 Requires: iconv = %{epoch}:%{version}-%{release}
558 %description localedb-all
559 This package contains locale database for all locales supported by
560 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
561 something smaller with support for chosen locales only, consider
562 installing localedb-src and regenerating database using localedb-gen
563 script (when database is generated, localedb-src can be uninstalled).
565 %description localedb-all -l es.UTF-8
566 Este paquete contiene una base de datos de todos los locales
567 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
568 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
569 locales elegidos, considérese instalar localedb-src y regenerar la
570 base de datos usando el escript localedb-gen (una vez que la base de
571 datos esté creada, localedb-src se podrá desinstalar).
573 %description localedb-all -l pl.UTF-8
574 Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji
575 obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik
576 (około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych
577 lokalizacji, należy zainstalować pakiet localedb-src i przegenerować
578 bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy
579 pakiet localedb-src można odinstalować).
582 Summary: Convert encoding of given files from one encoding to another
583 Summary(es.UTF-8): Convierte entre varias codificaciones de los ficheros dados
584 Summary(pl.UTF-8): Moduły do konwersji plików tekstowych z jednego kodowania do innego
586 Requires: %{name} = %{epoch}:%{version}-%{release}
588 %description -n iconv
589 Convert encoding of given files from one encoding to another. You need
590 this package if you want to convert some document from one encoding to
591 another or if you have installed some programs which use Generic
592 Character Set Conversion Interface.
594 %description -n iconv -l es.UTF-8
595 Convierte la codificación de dados ficheros. Necesita este paquete si
596 quiere convertir un documento entre una codificación (juego de
597 caracteres) y otra, o si tiene instalado algún programa que usa el
598 Generic Character Set Conversion Interface (interfaz genérica de
599 conversión de juegos de caracteres).
601 %description -n iconv -l pl.UTF-8
602 Moduły do konwersji plików tekstowych z jednego kodowania do innego.
603 Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję
604 dokumentów z jednego kodowania do innego lub do używania programów
605 korzystających z Generic Character Set Conversion Interface w glibc,
606 czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję
607 kodowania danych z poziomu dowolnego programu.
610 Summary: Static libraries
611 Summary(es.UTF-8): Bibliotecas estáticas
612 Summary(pl.UTF-8): Biblioteki statyczne
613 Summary(ru.UTF-8): Статические библиотеки glibc
614 Summary(uk.UTF-8): Статичні бібліотеки glibc
615 Group: Development/Libraries
616 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
617 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
618 Obsoletes: libiconv-static
621 GNU libc static libraries.
623 %description static -l es.UTF-8
624 Bibliotecas estáticas de GNU libc.
626 %description static -l pl.UTF-8
627 Biblioteki statyczne GNU libc.
629 %description static -l ru.UTF-8
630 Это отдельный пакет со статическими библиотеками, которые больше не
631 входят в glibc-devel.
633 %description static -l uk.UTF-8
634 Це окремий пакет зі статичними бібліотеками, що більше не входять в
638 Summary: glibc with profiling support
639 Summary(de.UTF-8): glibc mit Profil-Unterstützung
640 Summary(es.UTF-8): glibc con soporte de perfilamiento
641 Summary(fr.UTF-8): glibc avec support pour profiling
642 Summary(pl.UTF-8): glibc ze wsparciem dla profilowania
643 Summary(ru.UTF-8): GNU libc с поддержкой профайлера
644 Summary(tr.UTF-8): Ölçüm desteği olan glibc
645 Summary(uk.UTF-8): GNU libc з підтримкою профайлера
646 Group: Development/Libraries/Libc
647 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
648 Obsoletes: libc-profile
651 When programs are being profiled using gprof, they must use these
652 libraries instead of the standard C libraries for gprof to be able to
653 profile them correctly.
655 %description profile -l de.UTF-8
656 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
657 Libraries anstelle der üblichen C-Libraries verwendet werden.
659 %description profile -l es.UTF-8
660 Cuando programas son perfilidas usando gprof, tienen que usar estas
661 biblioteces en vez de las estándares para que gprof pueda perfilarlas
664 %description profile -l pl.UTF-8
665 Programy profilowane za pomocą gprof muszą używać tych bibliotek
666 zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je
669 %description profile -l uk.UTF-8
670 Коли програми досліджуються профайлером gprof, вони повинні
671 використовувати замість стандартних бібліотек бібліотеки, що містяться
672 в цьому пакеті. При використанні стандартних бібліотек gprof замість
673 реальних результатів буде показувати ціни на папайю в Гонолулу в
676 %description profile -l tr.UTF-8
677 gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu
678 kitaplığı kullanmak zorundadırlar.
680 %description profile -l ru.UTF-8
681 Когда программы исследуются профайлером gprof, они должны
682 использовать, вместо стандартных библиотек, библиотеки, включенные в
683 этот пакет. При использовании стандартных библиотек gprof вместо
684 реальных результатов будет показывать цены на папайю в Гонолулу в
688 Summary: glibc PIC archive
689 Summary(es.UTF-8): Archivo PIC de glibc
690 Summary(pl.UTF-8): Archiwum PIC glibc
691 Group: Development/Libraries/Libc
692 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
695 GNU C Library PIC archive contains an archive library (ar file)
696 composed of individual shared objects. This is used for creating a
697 library which is a smaller subset of the standard libc shared library.
699 %description pic -l es.UTF-8
700 El archivo PIC de la biblioteca glibc contiene una biblioteca
701 archivada (un fichero ar) compuesta de individuales objetos
702 compartidos. Es usado para crear una biblioteca que sea un subconjunto
703 más pequeño de la biblioteca libc compartida estándar.
705 %description pic -l pl.UTF-8
706 Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar)
707 złożoną z pojedynczych obiektów współdzielonych. Używana jest do
708 tworzenia biblioteki będącej mniejszym podzestawem standardowej
709 biblioteki współdzielonej libc.
711 %package -n nss_compat
712 Summary: Old style NYS NSS glibc module
713 Summary(es.UTF-8): El antiguo módulo NYS NSS de glibc
714 Summary(pl.UTF-8): Stary moduł NYS NSS glibc
716 Requires: %{name} = %{epoch}:%{version}-%{release}
718 %description -n nss_compat
719 Old style NYS NSS glibc module.
721 %description -n nss_compat -l es.UTF-8
722 El antiguo módulo NYS NSS de glibc
724 %description -n nss_compat -l pl.UTF-8
725 Stary moduł NYS NSS glibc.
728 Summary: BIND NSS glibc module
729 Summary(es.UTF-8): Módulo BIND NSS de glibc
730 Summary(pl.UTF-8): Moduł BIND NSS glibc
732 Requires: %{name} = %{epoch}:%{version}-%{release}
734 %description -n nss_dns
735 BIND NSS glibc module.
737 %description -n nss_dns -l es.UTF-8
738 Módulo BIND NSS de glibc.
740 %description -n nss_dns -l pl.UTF-8
741 Moduł BIND NSS glibc.
743 %package -n nss_files
744 Summary: Traditional files databases NSS glibc module
745 Summary(es.UTF-8): Módulo de tradicionales bases de datos en ficheros para glibc
746 Summary(pl.UTF-8): Moduł tradycyjnych plikowych baz danych NSS glibc
748 Requires: %{name} = %{epoch}:%{version}-%{release}
750 %description -n nss_files
751 Traditional files databases NSS glibc module.
753 %description -n nss_files -l es.UTF-8
754 Módulo de tradicionales bases de datos en ficheros para glibc.
756 %description -n nss_files -l pl.UTF-8
757 Moduł tradycyjnych plikowych baz danych NSS glibc.
759 %package -n nss_hesiod
760 Summary: hesiod NSS glibc module
761 Summary(es.UTF-8): Módulo hesiod NSS de glibc
762 Summary(pl.UTF-8): Moduł hesiod NSS glibc
764 Requires: %{name} = %{epoch}:%{version}-%{release}
766 %description -n nss_hesiod
767 glibc NSS (Name Service Switch) module for databases access.
769 %description -n nss_hesiod -l es.UTF-8
770 Módulo hesiod NSS de glibc.
772 %description -n nss_hesiod -l pl.UTF-8
773 Moduł glibc NSS (Name Service Switch) dostępu do baz danych.
776 Summary: NIS(YP) NSS glibc module
777 Summary(es.UTF-8): Módulo NIS(YP) NSS de glibc
778 Summary(pl.UTF-8): Moduł NIS(YP) NSS glibc
780 Requires: %{name} = %{epoch}:%{version}-%{release}
782 %description -n nss_nis
783 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
785 %description -n nss_nis -l es.UTF-8
786 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
788 %description -n nss_nis -l pl.UTF-8
789 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS(YP).
791 %package -n nss_nisplus
792 Summary: NIS+ NSS module
793 Summary(es.UTF-8): Módulo NIS+ NSS
794 Summary(pl.UTF-8): Moduł NIS+ NSS
796 Requires: %{name} = %{epoch}:%{version}-%{release}
798 %description -n nss_nisplus
799 glibc NSS (Name Service Switch) module for NIS+ databases access.
801 %description -n nss_nisplus -l es.UTF-8
802 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
805 %description -n nss_nisplus -l pl.UTF-8
806 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS+.
810 Summary(es.UTF-8): Un juguete
811 Summary(pl.UTF-8): Zabawka
813 Requires: %{name} = %{epoch}:%{version}-%{release}
815 %description memusage
818 %description memusage -l es.UTF-8
821 %description memusage -l pl.UTF-8
826 ln -s glibc-libidn-%{version} libidn
850 %{?with_cross:%patch25 -p1}
856 # these would be copied to localedb-src
857 rm -f localedata/locales/*{.orig,~}
861 # i786 (aka pentium4) hack
862 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
863 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
865 # A lot of programs still misuse memcpy when they have to use
866 # memmove. The memcpy implementation below is not tolerant at
868 rm -f sysdeps/alpha/alphaev6/memcpy.S
871 # glibc has its own way to remove PLT relocations. / H. J. Lu.
872 unset LD_SYMBOLIC_FUNCTIONS || :
874 cp -f /usr/share/automake/config.sub scripts
882 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
886 --enable-kernel="%{min_kernel}" \
888 --with-headers=%{_includedir} \
889 --with%{!?with_selinux:out}-selinux \
891 --enable-add-ons=nptl,libidn \
892 --enable-stackguard-randomization \
893 --enable-hidden-plt \
903 for d in builddir; do
905 env LANGUAGE=C LC_ALL=C \
906 %{__make} tests 2>&1 | awk '
909 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
911 gsub(/.*\[/, NIL, file);
912 gsub(/\].*/, NIL, file);
916 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
922 diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
926 rm -rf $RPM_BUILD_ROOT
927 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
930 env LANGUAGE=C LC_ALL=C \
932 install_root=$RPM_BUILD_ROOT \
933 infodir=%{_infodir} \
937 env LANGUAGE=C LC_ALL=C \
938 %{__make} localedata/install-locales \
939 install_root=$RPM_BUILD_ROOT
942 PICFILES="libc_pic.a libc.map
943 math/libm_pic.a libm.map
944 resolv/libresolv_pic.a"
946 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
947 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
948 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
952 install glibc-postinst $RPM_BUILD_ROOT/sbin
955 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
956 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
958 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
959 # moved to tzdata package
960 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
962 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
964 # make symlinks across top-level directories absolute
965 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
966 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
967 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
970 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
971 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
972 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
973 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
974 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
975 install posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
977 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
978 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
979 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
980 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
981 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
983 :> $RPM_BUILD_ROOT/var/log/nscd
984 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
985 :> $RPM_BUILD_ROOT/var/lib/nscd/group
986 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
989 install -d documentation
991 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
992 cp -f nptl/$f documentation/$f.nptl
994 cp -f crypt/README.ufc-crypt ChangeLog* documentation
996 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
998 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
999 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
1001 # Collect locale files and mark them with %%lang()
1003 echo '%defattr(644,root,root,755)' > glibc.lang
1004 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
1006 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
1008 # list of long %%lang values we do support
1009 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
1010 zh_CN zh_CN.gbk zh_HK zh_TW ; do
1011 if [ $j = "$lang" ]; then
1015 if [ -n "$twochar" ]; then
1016 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1017 lang=`echo $lang | sed "s,\..*,,"`
1019 lang=`echo $lang | sed "s,_.*,,"`
1022 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1023 echo "%lang($lang) $dir" >> glibc.lang
1028 # Languages not supported by glibc locales, but usable via $LANGUAGE:
1029 # ang - Old English (gtk+, gnome)
1030 # tlh - Klingon (bzflag)
1032 # sr@ije (use LANGUAGE=sr_ME@ije/sr_RS@ije) (gnome)
1034 # To be added when they become supported by glibc:
1037 # dv, haw, kok, ps, syr (iso-codes)
1038 # gn (gn_BR in gnome, maybe gn_PY)
1041 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
1044 # Omitted here - already existing (with libc.mo):
1045 # 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
1048 for i in aa aa@saaho af am an ang ar as ast az be@alternative be@latin bg bn \
1049 bn_IN br bs byn csb cy de_AT dz en en@boldquot en@quot en_AU en_CA en_US \
1050 eo es_AR es_MX es_NI es_PR et eu fa fil fo fr_BE fur fy ga gd gez gu gv \
1051 he hi hsb hy ia id ik is it_CH iu ka kk kl km kn ku kw ky lg li lo lt lv \
1052 mai mg mi mk ml mn mr ms mt nds ne nl_BE nn nr nso oc om or pa pap pt rm \
1053 ro sa sc se si sid sl so sq sr sr@Latn sr@ije sr@latin ss st sw ta te tg th ti tig \
1054 tk tl tlh tn ts tt ug uk ur uz uz@cyrillic ve vi wa wal wo xh yi yo zh_HK \
1056 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1057 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1058 lang=`echo $i | sed -e 's/_.*//'`
1059 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1063 # localedb-gen infrastructure
1064 sed -e 's,@localedir@,%{_libdir}/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1065 chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1066 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1068 # shutup check-files
1069 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1070 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1071 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1072 # we don't support kernel without ptys support
1073 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1075 rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/rpcinfo.8
1076 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/rpcinfo.8
1077 rm -f $RPM_BUILD_ROOT%{_sbindir}/rpcinfo
1080 rm -rf $RPM_BUILD_ROOT
1082 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1083 # when %%postun is run
1086 %post -p /sbin/postshell
1087 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
1091 %postun -p /sbin/postshell
1095 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1096 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1097 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1100 %post memusage -p /sbin/ldconfig
1101 %postun memusage -p /sbin/ldconfig
1103 %post -n iconv -p %{_sbindir}/iconvconfig
1106 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1109 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1112 %groupadd -P nscd -g 144 -r nscd
1113 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1116 /sbin/chkconfig --add nscd
1118 chmod 000 /var/log/nscd
1119 chown root:root /var/log/nscd
1120 chmod 640 /var/log/nscd
1121 %service nscd restart "nscd daemon"
1124 if [ "$1" = "0" ]; then
1126 /sbin/chkconfig --del nscd
1130 if [ "$1" = "0" ]; then
1136 %defattr(644,root,root,755)
1137 %doc README NEWS FAQ BUGS
1139 %attr(755,root,root) /sbin/glibc-postinst
1141 %attr(755,root,root) /sbin/ldconfig
1142 # ld* and libc.so.6 SONAME symlinks must be in package because of
1143 # chicken-egg problem (postshell is dynamically linked with libc);
1144 # NOTE: postshell is now linked statically with diet
1145 # ld-*.so SONAME is:
1147 # ld64.so.1 on ppc64,s390x
1148 # ld-linux-ia64.so.2 on ia64
1149 # ld-linux-x86-64.so.2 on x86_64
1150 # ld-linux.so.2 on other archs
1151 %attr(755,root,root) /%{_lib}/ld*
1152 %attr(755,root,root) /%{_lib}/libanl*
1153 %attr(755,root,root) /%{_lib}/libdl*
1154 %attr(755,root,root) /%{_lib}/libnsl*
1155 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1156 %{?with_localedb:%dir %{_libdir}/locale}
1157 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1158 %dir %{_sysconfdir}/ld.so.conf.d
1159 %ghost %{_sysconfdir}/ld.so.cache
1162 %defattr(644,root,root,755)
1163 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1165 #%files -n nss_files
1166 %defattr(644,root,root,755)
1167 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1169 %files misc -f %{name}.lang
1170 %defattr(644,root,root,755)
1172 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1173 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1175 %config %{_sysconfdir}/rpc
1177 %attr(755,root,root) /sbin/sln
1178 %attr(755,root,root) %{_bindir}/catchsegv
1179 %attr(755,root,root) %{_bindir}/getconf
1180 %attr(755,root,root) %{_bindir}/getent
1181 %attr(755,root,root) %{_bindir}/iconv
1182 %attr(755,root,root) %{_bindir}/ldd
1183 %ifarch %{ix86} m68k sparc sparcv9
1184 %attr(755,root,root) %{_bindir}/lddlibc4
1186 %attr(755,root,root) %{_bindir}/locale
1187 %attr(755,root,root) %{_bindir}/rpcgen
1188 %attr(755,root,root) %{_bindir}/tzselect
1190 %attr(755,root,root) %{_sbindir}/zdump
1191 %attr(755,root,root) %{_sbindir}/zic
1193 %dir %{_libexecdir}/getconf
1194 %attr(755,root,root) %{_libexecdir}/getconf/*
1196 %dir %{_datadir}/locale
1197 %{_datadir}/locale/locale.alias
1199 %{_mandir}/man1/catchsegv.1*
1200 %{_mandir}/man1/getconf.1*
1201 %{_mandir}/man1/getent.1*
1202 %{_mandir}/man1/iconv.1*
1203 %{_mandir}/man1/ldd.1*
1204 %{_mandir}/man1/locale.1*
1205 %{_mandir}/man1/rpcgen.1*
1206 %{_mandir}/man5/locale.5*
1207 %{_mandir}/man5/nsswitch.conf.5*
1208 %{_mandir}/man5/tzfile.5*
1210 %{_mandir}/man8/ld*.8*
1211 %{_mandir}/man8/sln.8*
1212 %{_mandir}/man8/tzselect.8*
1213 %{_mandir}/man8/zdump.8*
1214 %{_mandir}/man8/zic.8*
1215 %lang(cs) %{_mandir}/cs/man7/*
1216 %lang(de) %{_mandir}/de/man5/tzfile.5*
1217 %lang(de) %{_mandir}/de/man7/*
1218 %lang(es) %{_mandir}/es/man1/ldd.1*
1219 %lang(es) %{_mandir}/es/man5/locale.5*
1220 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1221 %lang(es) %{_mandir}/es/man5/tzfile.5*
1222 %lang(es) %{_mandir}/es/man7/*
1223 %lang(es) %{_mandir}/es/man8/ld*.8*
1224 %lang(es) %{_mandir}/es/man8/tzselect.8*
1225 %lang(es) %{_mandir}/es/man8/zdump.8*
1226 %lang(es) %{_mandir}/es/man8/zic.8*
1227 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1228 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1229 %lang(fr) %{_mandir}/fr/man5/locale.5*
1230 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1231 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1232 %lang(fr) %{_mandir}/fr/man7/*
1233 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1234 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1235 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1236 %lang(fr) %{_mandir}/fr/man8/zic.8*
1237 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1238 %lang(hu) %{_mandir}/hu/man7/*
1239 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1240 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1241 %lang(it) %{_mandir}/it/man5/locale.5*
1242 %lang(it) %{_mandir}/it/man7/*
1243 %lang(it) %{_mandir}/it/man8/tzselect.8*
1244 %lang(it) %{_mandir}/it/man8/zdump.8*
1245 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1246 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1247 %lang(ja) %{_mandir}/ja/man5/locale.5*
1248 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1249 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1250 %lang(ja) %{_mandir}/ja/man7/*
1251 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1252 %lang(ja) %{_mandir}/ja/man8/sln.8*
1253 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1254 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1255 %lang(ja) %{_mandir}/ja/man8/zic.8*
1256 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1257 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1258 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1259 %lang(ko) %{_mandir}/ko/man7/*
1260 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1261 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1262 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1263 %lang(pl) %{_mandir}/pl/man5/locale.5*
1264 %lang(pl) %{_mandir}/pl/man7/*
1265 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1266 %lang(pt) %{_mandir}/pt/man5/locale.5*
1267 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1268 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1269 %lang(pt) %{_mandir}/pt/man7/*
1270 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1271 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1272 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1273 %lang(pt) %{_mandir}/pt/man8/zic.8*
1274 %lang(ru) %{_mandir}/ru/man1/getent.1*
1275 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1276 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1277 %lang(ru) %{_mandir}/ru/man1/locale.1*
1278 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1279 %lang(ru) %{_mandir}/ru/man5/locale.5*
1280 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1281 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1282 %lang(ru) %{_mandir}/ru/man7/*
1283 %lang(ru) %{_mandir}/ru/man8/ld*.8*
1284 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1285 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1286 %lang(ru) %{_mandir}/ru/man8/zic.8*
1287 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1288 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1289 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1290 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1291 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1292 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1293 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1294 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1295 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1296 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1298 %files -n nss_compat
1299 %defattr(644,root,root,755)
1300 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1302 %files -n nss_hesiod
1303 %defattr(644,root,root,755)
1304 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1307 %defattr(644,root,root,755)
1308 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1309 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1311 %files -n nss_nisplus
1312 %defattr(644,root,root,755)
1313 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1315 %if %{with memusage}
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_bindir}/memusage*
1319 %attr(755,root,root) %{_libdir}/libmemusage.so
1323 %defattr(644,root,root,755)
1324 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1325 %attr(755,root,root) %{_libdir}/libcrypt.so
1326 %attr(755,root,root) %{_libdir}/libm.so
1327 %attr(755,root,root) %{_libdir}/libpcprofile.so
1328 %attr(755,root,root) %{_libdir}/*crt*.o
1331 %{_libdir}/libpthread.so
1332 %{_libdir}/libbsd-compat.a
1334 %{_libdir}/libc_nonshared.a
1336 %{_libdir}/libieee.a
1337 %ifarch alpha ppc sparc
1338 %{_libdir}/libnldbl_nonshared.a
1340 %{_libdir}/libpthread_nonshared.a
1341 %{_libdir}/librpcsvc.a
1342 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1343 %{_includedir}/gnu/stubs-*.h
1347 %defattr(644,root,root,755)
1350 %{_includedir}/alpha
1354 %dir %{_includedir}/gnu
1355 %{_includedir}/gnu/lib*.h
1356 %{_includedir}/gnu/stubs.h
1358 %{_includedir}/netash
1359 %{_includedir}/netatalk
1360 %{_includedir}/netax25
1361 %{_includedir}/neteconet
1362 %{_includedir}/netinet
1363 %{_includedir}/netipx
1364 %{_includedir}/netpacket
1365 %{_includedir}/netrom
1366 %{_includedir}/netrose
1368 %{_includedir}/protocols
1370 %{_includedir}/rpcsvc
1375 %defattr(644,root,root,755)
1376 %attr(755,root,root) %{_bindir}/gencat
1377 %attr(755,root,root) %{_bindir}/*prof*
1378 %attr(755,root,root) %{_bindir}/*trace
1381 %defattr(644,root,root,755)
1382 %doc documentation/* NOTES PROJECTS
1383 %{_infodir}/libc.info*
1385 %{_mandir}/man1/sprof.1*
1387 %lang(cs) %{_mandir}/cs/man3/*
1388 %lang(de) %{_mandir}/de/man3/*
1389 %lang(es) %{_mandir}/es/man3/*
1390 %lang(fr) %{_mandir}/fr/man3/*
1391 %lang(hu) %{_mandir}/hu/man3/*
1392 %lang(it) %{_mandir}/it/man3/*
1393 %lang(ja) %{_mandir}/ja/man3/*
1394 %lang(ko) %{_mandir}/ko/man3/*
1395 %lang(nl) %{_mandir}/nl/man3/*
1396 %lang(pl) %{_mandir}/pl/man3/*
1397 %lang(pt) %{_mandir}/pt/man3/*
1398 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1399 %lang(ru) %{_mandir}/ru/man3/*
1400 %lang(tr) %{_mandir}/tr/man3/*
1401 %lang(uk) %{_mandir}/uk/man3/*
1402 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1405 %defattr(644,root,root,755)
1406 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1407 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1408 %attr(754,root,root) /etc/rc.d/init.d/nscd
1409 %attr(755,root,root) %{_sbindir}/nscd*
1410 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1411 %attr(640,root,root) %ghost /var/log/nscd
1414 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1415 %attr(600,root,root) %ghost /var/lib/nscd/group
1416 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1417 %{_mandir}/man5/nscd.conf.5*
1418 %{_mandir}/man8/nscd.8*
1419 %{_mandir}/man8/nscd_nischeck.8*
1420 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1421 %lang(es) %{_mandir}/es/man8/nscd.8*
1422 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1423 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1424 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1425 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1426 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1427 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1428 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1429 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1430 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1432 %files -n localedb-src
1433 %defattr(644,root,root,755)
1434 %attr(755,root,root) %{_bindir}/localedef
1435 %attr(755,root,root) %{_bindir}/localedb-gen
1437 %{_mandir}/man1/localedef.1*
1438 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1440 %if %{with localedb}
1442 %defattr(644,root,root,755)
1443 %{_libdir}/locale/locale-archive
1447 %defattr(644,root,root,755)
1448 %attr(755,root,root) %{_sbindir}/iconvconfig
1449 %dir %{_libdir}/gconv
1450 %{_libdir}/gconv/gconv-modules
1451 %attr(755,root,root) %{_libdir}/gconv/*.so
1454 %defattr(644,root,root,755)
1456 %{_libdir}/libBrokenLocale.a
1458 %{_libdir}/libcrypt.a
1461 %{_libdir}/libmcheck.a
1463 %{_libdir}/libpthread.a
1464 %{_libdir}/libresolv.a
1466 %{_libdir}/libutil.a
1469 %defattr(644,root,root,755)
1473 %defattr(644,root,root,755)
1474 %{_libdir}/lib*_pic.a