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)
9 %bcond_with pax # PaX support
12 # - look at locale fixes/updates in bugzilla
13 # - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section.
15 # - localedb-gen man pages(?)
16 # - math/{test-fenv,test-tgmath,test-float,test-ifloat},
17 # debug/backtrace-tst(SEGV) fail on alpha
18 # - separate pkg for ldconfig so can run ldconfig in glibc post and hacks not
20 %{!?min_kernel:%global min_kernel 2.6.12}
23 %undefine with_memusage
26 %define llh_version 7:2.6.20.4-1
29 Summary(de.UTF-8): GNU libc
30 Summary(es.UTF-8): GNU libc
31 Summary(fr.UTF-8): GNU libc
32 Summary(ja.UTF-8): GNU libc ライブラリ
33 Summary(pl.UTF-8): GNU libc
34 Summary(ru.UTF-8): GNU libc версии
35 Summary(tr.UTF-8): GNU libc
36 Summary(uk.UTF-8): GNU libc версії
43 Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
44 # Source0-md5: 065c5952b439deba40083ccd67bcc8f7
45 Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-libidn-%{version}.tar.bz2
46 # Source1-md5: 226809992fb1f3dc6ea23e0f26952ea4
48 Source3: nscd.sysconfig
49 Source4: nscd.logrotate
50 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
51 Source5: http://qboosh.pl/man/%{name}-man-pages.tar.bz2
52 # Source5-md5: f464eadf3cf06761f65639e44a179e6b
53 Source6: %{name}-localedb-gen
54 Source7: %{name}-LD-path.c
55 Patch1: %{name}-pl.po-update.patch
56 Patch2: %{name}-pld.patch
57 Patch3: %{name}-crypt-blowfish.patch
58 Patch4: %{name}-alpha-ev6-opcodes.patch
59 Patch5: %{name}-sparc-softfp-gcc.patch
60 Patch6: %{name}-paths.patch
61 Patch7: %{name}-no_opt_override.patch
62 Patch8: %{name}-missing-nls.patch
63 Patch9: %{name}-java-libc-wait.patch
64 Patch10: %{name}-info.patch
65 Patch11: %{name}-no_debuggable_objects.patch
66 Patch12: %{name}-includes.patch
67 Patch13: %{name}-awk.patch
68 Patch14: %{name}-sparc-errno_fix.patch
69 Patch15: %{name}-memmove.patch
70 Patch17: %{name}-new-charsets.patch
72 Patch20: %{name}-tzfile-noassert.patch
73 Patch21: %{name}-morelocales.patch
74 Patch22: %{name}-locale_fixes.patch
75 Patch23: %{name}-ZA_collate.patch
77 Patch25: %{name}-cross-gcc_eh.patch
78 Patch26: %{name}-with-stroke.patch
79 Patch27: %{name}-sparc64-undefined-registers.patch
80 Patch30: %{name}-pax_dl-execstack.patch
81 Patch31: %{name}-pt_pax.patch
82 URL: http://www.gnu.org/software/libc/
83 %{?with_selinux:BuildRequires: audit-libs-devel}
84 BuildRequires: autoconf
85 BuildRequires: automake
87 BuildRequires: binutils >= 2:2.17.50.0.7
89 BuildRequires: binutils >= 2:2.15.90.0.3
91 BuildRequires: gcc >= 5:3.4
93 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
94 BuildRequires: gettext-devel >= 0.10.36
95 %{!?with_cross:BuildRequires: dietlibc-static}
96 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
97 BuildRequires: linux-libc-headers >= %{llh_version}
98 BuildRequires: perl-base
99 BuildRequires: rpm-build >= 4.3-0.20030610.28
100 BuildRequires: rpm-perlprov
101 BuildRequires: rpmbuild(macros) >= 1.396
102 BuildRequires: sed >= 4.0.5
103 BuildRequires: texinfo
105 Requires: %{name}-misc = %{epoch}:%{version}-%{release}
107 Requires: uname(release) >= %{min_kernel}
108 Provides: /sbin/ldconfig
109 Provides: glibc(nptl)
112 Provides: rtld(GNU_HASH)
113 Obsoletes: glibc-common
114 Obsoletes: glibc-debug
116 %ifarch %{x8664} sparc64 ppc64
120 Conflicts: kernel < %{min_kernel}
122 Conflicts: kernel24-smp
123 Conflicts: ld.so < 1.9.9-10
124 Conflicts: man-pages < 1.43
125 Conflicts: poldek < 0.18.8-5
126 Conflicts: rc-scripts < 0.3.1-13
128 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64
129 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
131 # avoid -s here (ld.so must not be stripped to allow any program debugging)
132 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
133 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
135 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
136 %ifarch sparc sparcv9
137 %{expand:%%define __cc %{__cc} -m32}
141 %define specflags_ia32 -mno-tls-direct-seg-refs
142 %define specflags_x86_64 -mno-tls-direct-seg-refs
143 %define specflags_amd64 -mno-tls-direct-seg-refs
144 %define specflags_ia32e -mno-tls-direct-seg-refs
146 # we don't want perl dependency in glibc-devel
147 %define _noautoreqfiles %{_bindir}/mtrace
148 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
149 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
150 # patched not to crash on partial hardlinks too)
151 %define _hack_dontneed_PartialHardlinkSets 1
152 %define _noautochrpath .*\\(ldconfig\\|sln\\)
155 Contains the standard libraries that are used by multiple programs on
156 the system. In order to save disk space and memory, as well as to ease
157 upgrades, common system code is kept in one place and shared between
158 programs. This package contains the most important sets of shared
159 libraries, the standard C library and the standard math library.
160 Without these, a Linux system will not function. It also contains
161 national language (locale) support.
163 Can be used on: Linux kernel >= %{min_kernel}.
165 %description -l es.UTF-8
166 Contiene las bibliotecas estándared que son usadas por varios
167 programas del sistema. Para ahorrar el espacio en el disco y la
168 memoria, igual que para facilitar actualizaciones, código común del
169 sistema se guarda en un sitio y es compartido entre los programas.
170 Este paquete contiene las bibliotecas compartidas más importantes, es
171 decir la biblioteca C estándar y la biblioteca estándar de matemática.
172 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
173 soporte de idiomas nacionales (locale).
175 Puede usarse con: núcleo Linux >= %{min_kernel}.
177 %description -l de.UTF-8
178 Enthält die Standard-Libraries, die von verschiedenen Programmen im
179 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
180 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
181 einer einzigen Stelle gespeichert und wird von den Programmen
182 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
183 shared Libraries, die Standard-C-Library und die
184 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
185 Ferner enthält es den Support für die verschiedenen Sprachgregionen
188 Can be used on: Linux kernel >= %{min_kernel}.
190 %description -l fr.UTF-8
191 Contient les bibliothèques standards utilisées par de nombreux
192 programmes du système. Afin d'économiser l'espace disque et mémoire,
193 et de faciliter les mises à jour, le code commun au système est mis à
194 un endroit et partagé entre les programmes. Ce paquetage contient les
195 bibliothèques partagées les plus importantes, la bibliothèque standard
196 du C et la bibliothèque mathématique standard. Sans celles-ci, un
197 système Linux ne peut fonctionner. Il contient aussi la gestion des
198 langues nationales (locales).
200 Can be used on: Linux kernel >= %{min_kernel}.
202 %description -l ja.UTF-8
204 パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
205 ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
206 用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
207 間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
208 重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
209 この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc
210 パッケージはまた地域言語 (locale) サポートとタイムゾーンデータベース
213 Can be used on: Linux kernel >= %{min_kernel}.
215 %description -l pl.UTF-8
216 W pakiecie znajdują się podstawowe biblioteki, używane przez różne
217 programy w Twoim systemie. Używanie przez programy bibliotek z tego
218 pakietu oszczędza miejsce na dysku i pamięć. Większość kodu
219 systemowego jest usytuowane w jednym miejscu i dzielone między wieloma
220 programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek
221 standardowych, współdzielonych (dynamicznych) bibliotek C i
222 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować.
223 Znajdują się tutaj również definicje różnych informacji dla wielu
226 Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}.
228 %description -l ru.UTF-8
229 Содержит стандартные библиотеки, используемые многочисленными
230 программами в системе. Для того, чтобы сохранить дисковое пространство
231 и память, а также для простоты обновления, системный код, общий для
232 всех программ, хранится в одном месте и коллективно используется всеми
233 программами. Этот пакет содержит наиболее важные из разделяемых
234 библиотек - стандартную библиотеку C и стандартную библиотеку
235 математики. Без этих библиотек Linux функционировать не будет. Также
236 пакет содержит поддержку национальных языков (locale).
238 Can be used on: Linux kernel >= %{min_kernel}.
240 %description -l tr.UTF-8
241 Bu paket, birçok programın kullandığı standart kitaplıkları içerir.
242 Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme
243 işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde
244 tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak
245 kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını
246 içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel
247 dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır.
249 Can be used on: Linux kernel >= %{min_kernel}.
251 %description -l uk.UTF-8
252 Містить стандартні бібліотеки, котрі використовуються численними
253 програмами в системі. Для того, щоб зберегти дисковий простір та
254 пам'ять, а також для простоти поновлення системи, системний код,
255 спільний для всіх програм, зберігається в одному місці і колективно
256 використовується всіма програмами. Цей пакет містить найбільш важливі
257 з динамічних бібліотек - стандартну бібліотеку С та стандартну
258 бібліотеку математики. Без цих бібліотек Linux функціонувати не буде.
259 Також пакет містить підтримку національних мов (locale).
261 Can be used on: Linux kernel >= %{min_kernel}.
264 Summary: Utilities and data used by glibc
265 Summary(pl.UTF-8): Narzędzia i dane używane przez glibc
266 Group: Applications/System
268 Requires(pre): %{name} = %{epoch}:%{version}-%{release}
269 Requires: %{name} = %{epoch}:%{version}-%{release}
272 Utilities and data used by glibc.
274 %description misc -l pl.UTF-8
275 Narzędzia i dane używane przez glibc.
278 Summary: Additional libraries required to compile
279 Summary(de.UTF-8): Weitere Libraries zum Kompilieren
280 Summary(es.UTF-8): Bibliotecas adicionales necesarias para la compilación
281 Summary(fr.UTF-8): Librairies supplémentaires nécessaires à la compilation
282 Summary(ja.UTF-8): 標準 C ライブラリで使われるヘッダーとオブジェクトファイル
283 Summary(pl.UTF-8): Dodatkowe biblioteki wymagane podczas kompilacji
284 Summary(ru.UTF-8): Дополнительные библиотеки, необходимые для компиляции
285 Summary(tr.UTF-8): Geliştirme için gerekli diğer kitaplıklar
286 Summary(uk.UTF-8): Додаткові бібліотеки, потрібні для компіляції
287 Group: Development/Libraries
288 Requires: %{name} = %{epoch}:%{version}-%{release}
289 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
290 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
291 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
292 Obsoletes: libiconv-devel
295 To develop programs which use the standard C libraries (which nearly
296 all programs do), the system needs to have these standard header files
297 and object files available for creating the executables.
299 %description devel -l de.UTF-8
300 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
301 verwenden (also fast alle), benötigt das System diese Standard-Header-
302 und Objektdateien zum Erstellen der ausführbaren Programme.
304 %description devel -l es.UTF-8
305 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
306 cual hacen prácticamente todos los programas), el sistema necesita
307 disponer de estos ficheros de cabecera y de objetos para crear los
310 %description devel -l fr.UTF-8
311 Pour développer des programmes utilisant les bibliothèques standard du
312 C (ce que presque tous les programmes font), le système doit posséder
313 ces fichiers en-têtes et objets standards pour créer les exécutables.
315 %description devel -l ja.UTF-8
316 glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C
317 ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト
319 ライブラリを使用するプログラムを開発するなら
320 実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル
323 %description devel -l pl.UTF-8
324 Pakiet ten jest niezbędny przy tworzeniu własnych programów
325 korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki
326 nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów
327 wykonywalnych i innych bibliotek.
329 %description devel -l ru.UTF-8
330 Для разработки программ, использующих стандартные библиотеки C (а
331 практически все программы их используют), системе НЕОБХОДИМЫ хедеры и
332 объектные файлы, содержащиеся в этом пакете, чтобы создавать
335 %description devel -l tr.UTF-8
336 C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar
337 geliştirmek için gereken standart başlık dosyaları ve statik
340 %description devel -l uk.UTF-8
341 Для розробки програм, що використовують стандартні бібліотеки C
342 (практично всі програми їх використовують), системі НЕОБХІДНІ хедери
343 та об'єктні файли, що містяться в цьому пакеті, цоб створювати
347 Summary: Header files for development using standard C libraries
348 Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C
349 Group: Development/Building
350 Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
352 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
353 # have to be installed, not ix86 one.
354 Obsoletes: %{name}-headers(i386)
355 Obsoletes: %{name}-headers(i486)
356 Obsoletes: %{name}-headers(i586)
357 Obsoletes: %{name}-headers(i686)
358 Obsoletes: %{name}-headers(athlon)
359 Obsoletes: %{name}-headers(pentium3)
360 Obsoletes: %{name}-headers(pentium4)
363 Obsoletes: %{name}-headers(ppc)
366 Obsoletes: %{name}-headers(s390)
369 Obsoletes: %{name}-headers(sparc)
371 Requires: linux-libc-headers >= %{llh_version}
374 The glibc-headers package contains the header files necessary for
375 developing programs which use the standard C libraries (which are used
376 by nearly all programs). If you are developing programs which will use
377 the standard C libraries, your system needs to have these standard
378 header files available in order to create the executables.
380 Install glibc-headers if you are going to develop programs which will
381 use the standard C libraries.
383 %description headers -l pl.UTF-8
384 Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania
385 programów używających standardowych bibliotek C (używanych przez
386 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
387 standardowych bibliotek C, system wymaga dostępności tych
388 standardowych plików nagłówkowych do tworzenia programów
391 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
392 korzystające ze standardowych bibliotek C.
395 Summary: Utilities needed for development using standard C libraries
396 Summary(pl.UTF-8): Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C
397 Group: Development/Libraries
398 Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
400 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
401 # have to be installed, not ix86 one.
402 Obsoletes: %{name}-devel-utils(i386)
403 Obsoletes: %{name}-devel-utils(i486)
404 Obsoletes: %{name}-devel-utils(i586)
405 Obsoletes: %{name}-devel-utils(i686)
406 Obsoletes: %{name}-devel-utils(athlon)
407 Obsoletes: %{name}-devel-utils(pentium3)
408 Obsoletes: %{name}-devel-utils(pentium4)
411 Obsoletes: %{name}-devel-utils(ppc)
414 Obsoletes: %{name}-devel-utils(s390)
417 Obsoletes: %{name}-devel-utils(sparc)
420 %description devel-utils
421 The glibc-devel-utils package contains utilities necessary for
422 developing programs which use the standard C libraries (which are used
423 by nearly all programs). If you are developing programs which will use
424 the standard C libraries, your system needs to have these utilities
427 Install glibc-devel-utils if you are going to develop programs which
428 will use the standard C libraries.
430 %description devel-utils -l pl.UTF-8
431 Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania
432 programów używających standardowych bibliotek C (używanych przez
433 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
434 standardowych bibliotek C, system wymaga dostępności tych narzędzi do
435 tworzenia programów wykonywalnych.
437 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
438 korzystające ze standardowych bibliotek C.
441 Summary: Documentation needed for development using standard C libraries
442 Summary(pl.UTF-8): Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C
444 Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
446 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
447 # have to be installed, not ix86 one.
448 Obsoletes: %{name}-devel-doc(i386)
449 Obsoletes: %{name}-devel-doc(i486)
450 Obsoletes: %{name}-devel-doc(i586)
451 Obsoletes: %{name}-devel-doc(i686)
452 Obsoletes: %{name}-devel-doc(athlon)
453 Obsoletes: %{name}-devel-doc(pentium3)
454 Obsoletes: %{name}-devel-doc(pentium4)
457 Obsoletes: %{name}-devel-doc(ppc)
460 Obsoletes: %{name}-devel-doc(s390)
463 Obsoletes: %{name}-devel-doc(sparc)
466 %description devel-doc
467 The glibc-devel-doc package contains info and manual pages necessary
468 for developing programs which use the standard C libraries (which are
469 used by nearly all programs).
471 Install glibc-devel-doc if you are going to develop programs which
472 will use the standard C libraries.
474 %description devel-doc -l pl.UTF-8
475 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
476 rozwijania programów używających standardowych bibliotek C (używanych
477 przez prawie wszystkie programy).
479 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
480 korzystające ze standardowych bibliotek C.
483 Summary: Name Service Caching Daemon
484 Summary(es.UTF-8): Demonio de caché del servicio de nombres
485 Summary(ja.UTF-8): ネームサービスキャッシングデーモン (nacd)
486 Summary(pl.UTF-8): Demon zapamiętujący odpowiedzi serwisów nazw
487 Summary(ru.UTF-8): Кэширующий демон сервисов имен
488 Summary(uk.UTF-8): Кешуючий демон севісів імен
489 Group: Networking/Daemons
491 Requires(post): fileutils
492 Requires(post,preun): /sbin/chkconfig
493 Requires(postun): /usr/sbin/groupdel
494 Requires(postun): /usr/sbin/userdel
495 Requires(pre): /bin/id
496 Requires(pre): /usr/bin/getgid
497 Requires(pre): /usr/sbin/groupadd
498 Requires(pre): /usr/sbin/useradd
499 Requires: %{name} = %{epoch}:%{version}-%{release}
500 %{?with_selinux:Requires: libselinux >= 1.18}
501 Requires: rc-scripts >= 0.2.0
502 Provides: group(nscd)
506 nscd caches name service lookups; it can dramatically improve
507 performance with NIS+, and may help with DNS as well.
509 %description -n nscd -l es.UTF-8
510 nscd guarda las peticiones del servicio de nombres en una caché; eso
511 puede aumentar drásticamente las prestaciones de NIS+, y también puede
514 %description -n nscd -l ja.UTF-8
515 Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
516 ドラマティックに改善することができ、DNS を同様に補助します。
518 %description -n nscd -l pl.UTF-8
519 nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
520 drastycznie poprawić szybkość działania NIS+.
522 %description -n nscd -l ru.UTF-8
523 nscd кэширует результаты запросов к сервисам имен; это может резко
524 увеличить производительность работы с NIS+ и, также, может помочь с
527 %description -n nscd -l uk.UTF-8
528 nscd кешує результати запросів до сервісів імен; це може сильно
529 збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS.
531 %package -n localedb-src
532 Summary: locale database source code
533 Summary(es.UTF-8): Código fuente de la base de datos de los locales
534 Summary(pl.UTF-8): Kod źródłowy bazy locale
536 Requires: %{name} = %{epoch}:%{version}-%{release}
540 %description -n localedb-src
541 This add-on package contains the data needed to build the locale data
542 files to use the internationalization features of the GNU libc.
544 %description -n localedb-src -l es.UTF-8
545 Este paquete adicional contiene los datos necesarios para construir
546 los ficheros de locale, imprescindibles para usar las cualidades de
547 internacionalización de GNU libc.
549 %description -n localedb-src -l pl.UTF-8
550 Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików
551 lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU
554 %package localedb-all
555 Summary: locale database for all locales supported by glibc
556 Summary(es.UTF-8): Base de datos de todos los locales soportados por glibc
557 Summary(pl.UTF-8): Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc
559 Requires: %{name} = %{epoch}:%{version}-%{release}
560 Requires: iconv = %{epoch}:%{version}-%{release}
562 %description localedb-all
563 This package contains locale database for all locales supported by
564 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
565 something smaller with support for chosen locales only, consider
566 installing localedb-src and regenerating database using localedb-gen
567 script (when database is generated, localedb-src can be uninstalled).
569 %description localedb-all -l es.UTF-8
570 Este paquete contiene una base de datos de todos los locales
571 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
572 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
573 locales elegidos, considérese instalar localedb-src y regenerar la
574 base de datos usando el escript localedb-gen (una vez que la base de
575 datos esté creada, localedb-src se podrá desinstalar).
577 %description localedb-all -l pl.UTF-8
578 Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji
579 obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik
580 (około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych
581 lokalizacji, należy zainstalować pakiet localedb-src i przegenerować
582 bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy
583 pakiet localedb-src można odinstalować).
586 Summary: Convert encoding of given files from one encoding to another
587 Summary(es.UTF-8): Convierte entre varias codificaciones de los ficheros dados
588 Summary(pl.UTF-8): Moduły do konwersji plików tekstowych z jednego kodowania do innego
590 Requires: %{name} = %{epoch}:%{version}-%{release}
592 %description -n iconv
593 Convert encoding of given files from one encoding to another. You need
594 this package if you want to convert some document from one encoding to
595 another or if you have installed some programs which use Generic
596 Character Set Conversion Interface.
598 %description -n iconv -l es.UTF-8
599 Convierte la codificación de dados ficheros. Necesita este paquete si
600 quiere convertir un documento entre una codificación (juego de
601 caracteres) y otra, o si tiene instalado algún programa que usa el
602 Generic Character Set Conversion Interface (interfaz genérica de
603 conversión de juegos de caracteres).
605 %description -n iconv -l pl.UTF-8
606 Moduły do konwersji plików tekstowych z jednego kodowania do innego.
607 Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję
608 dokumentów z jednego kodowania do innego lub do używania programów
609 korzystających z Generic Character Set Conversion Interface w glibc,
610 czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję
611 kodowania danych z poziomu dowolnego programu.
614 Summary: Static libraries
615 Summary(es.UTF-8): Bibliotecas estáticas
616 Summary(pl.UTF-8): Biblioteki statyczne
617 Summary(ru.UTF-8): Статические библиотеки glibc
618 Summary(uk.UTF-8): Статичні бібліотеки glibc
619 Group: Development/Libraries
620 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
621 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
622 Obsoletes: libiconv-static
625 GNU libc static libraries.
627 %description static -l es.UTF-8
628 Bibliotecas estáticas de GNU libc.
630 %description static -l pl.UTF-8
631 Biblioteki statyczne GNU libc.
633 %description static -l ru.UTF-8
634 Это отдельный пакет со статическими библиотеками, которые больше не
635 входят в glibc-devel.
637 %description static -l uk.UTF-8
638 Це окремий пакет зі статичними бібліотеками, що більше не входять в
642 Summary: glibc with profiling support
643 Summary(de.UTF-8): glibc mit Profil-Unterstützung
644 Summary(es.UTF-8): glibc con soporte de perfilamiento
645 Summary(fr.UTF-8): glibc avec support pour profiling
646 Summary(pl.UTF-8): glibc ze wsparciem dla profilowania
647 Summary(ru.UTF-8): GNU libc с поддержкой профайлера
648 Summary(tr.UTF-8): Ölçüm desteği olan glibc
649 Summary(uk.UTF-8): GNU libc з підтримкою профайлера
650 Group: Development/Libraries/Libc
651 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
652 Obsoletes: libc-profile
655 When programs are being profiled using gprof, they must use these
656 libraries instead of the standard C libraries for gprof to be able to
657 profile them correctly.
659 %description profile -l de.UTF-8
660 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
661 Libraries anstelle der üblichen C-Libraries verwendet werden.
663 %description profile -l es.UTF-8
664 Cuando programas son perfilidas usando gprof, tienen que usar estas
665 biblioteces en vez de las estándares para que gprof pueda perfilarlas
668 %description profile -l pl.UTF-8
669 Programy profilowane za pomocą gprof muszą używać tych bibliotek
670 zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je
673 %description profile -l uk.UTF-8
674 Коли програми досліджуються профайлером gprof, вони повинні
675 використовувати замість стандартних бібліотек бібліотеки, що містяться
676 в цьому пакеті. При використанні стандартних бібліотек gprof замість
677 реальних результатів буде показувати ціни на папайю в Гонолулу в
680 %description profile -l tr.UTF-8
681 gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu
682 kitaplığı kullanmak zorundadırlar.
684 %description profile -l ru.UTF-8
685 Когда программы исследуются профайлером gprof, они должны
686 использовать, вместо стандартных библиотек, библиотеки, включенные в
687 этот пакет. При использовании стандартных библиотек gprof вместо
688 реальных результатов будет показывать цены на папайю в Гонолулу в
692 Summary: glibc PIC archive
693 Summary(es.UTF-8): Archivo PIC de glibc
694 Summary(pl.UTF-8): Archiwum PIC glibc
695 Group: Development/Libraries/Libc
696 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
699 GNU C Library PIC archive contains an archive library (ar file)
700 composed of individual shared objects. This is used for creating a
701 library which is a smaller subset of the standard libc shared library.
703 %description pic -l es.UTF-8
704 El archivo PIC de la biblioteca glibc contiene una biblioteca
705 archivada (un fichero ar) compuesta de individuales objetos
706 compartidos. Es usado para crear una biblioteca que sea un subconjunto
707 más pequeño de la biblioteca libc compartida estándar.
709 %description pic -l pl.UTF-8
710 Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar)
711 złożoną z pojedynczych obiektów współdzielonych. Używana jest do
712 tworzenia biblioteki będącej mniejszym podzestawem standardowej
713 biblioteki współdzielonej libc.
715 %package -n nss_compat
716 Summary: Old style NYS NSS glibc module
717 Summary(es.UTF-8): El antiguo módulo NYS NSS de glibc
718 Summary(pl.UTF-8): Stary moduł NYS NSS glibc
720 Requires: %{name} = %{epoch}:%{version}-%{release}
722 %description -n nss_compat
723 Old style NYS NSS glibc module.
725 %description -n nss_compat -l es.UTF-8
726 El antiguo módulo NYS NSS de glibc
728 %description -n nss_compat -l pl.UTF-8
729 Stary moduł NYS NSS glibc.
732 Summary: BIND NSS glibc module
733 Summary(es.UTF-8): Módulo BIND NSS de glibc
734 Summary(pl.UTF-8): Moduł BIND NSS glibc
736 Requires: %{name} = %{epoch}:%{version}-%{release}
738 %description -n nss_dns
739 BIND NSS glibc module.
741 %description -n nss_dns -l es.UTF-8
742 Módulo BIND NSS de glibc.
744 %description -n nss_dns -l pl.UTF-8
745 Moduł BIND NSS glibc.
747 %package -n nss_files
748 Summary: Traditional files databases NSS glibc module
749 Summary(es.UTF-8): Módulo de tradicionales bases de datos en ficheros para glibc
750 Summary(pl.UTF-8): Moduł tradycyjnych plikowych baz danych NSS glibc
752 Requires: %{name} = %{epoch}:%{version}-%{release}
754 %description -n nss_files
755 Traditional files databases NSS glibc module.
757 %description -n nss_files -l es.UTF-8
758 Módulo de tradicionales bases de datos en ficheros para glibc.
760 %description -n nss_files -l pl.UTF-8
761 Moduł tradycyjnych plikowych baz danych NSS glibc.
763 %package -n nss_hesiod
764 Summary: hesiod NSS glibc module
765 Summary(es.UTF-8): Módulo hesiod NSS de glibc
766 Summary(pl.UTF-8): Moduł hesiod NSS glibc
768 Requires: %{name} = %{epoch}:%{version}-%{release}
770 %description -n nss_hesiod
771 glibc NSS (Name Service Switch) module for databases access.
773 %description -n nss_hesiod -l es.UTF-8
774 Módulo hesiod NSS de glibc.
776 %description -n nss_hesiod -l pl.UTF-8
777 Moduł glibc NSS (Name Service Switch) dostępu do baz danych.
780 Summary: NIS(YP) NSS glibc module
781 Summary(es.UTF-8): Módulo NIS(YP) NSS de glibc
782 Summary(pl.UTF-8): Moduł NIS(YP) NSS glibc
784 Requires: %{name} = %{epoch}:%{version}-%{release}
786 %description -n nss_nis
787 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
789 %description -n nss_nis -l es.UTF-8
790 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
792 %description -n nss_nis -l pl.UTF-8
793 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS(YP).
795 %package -n nss_nisplus
796 Summary: NIS+ NSS module
797 Summary(es.UTF-8): Módulo NIS+ NSS
798 Summary(pl.UTF-8): Moduł NIS+ NSS
800 Requires: %{name} = %{epoch}:%{version}-%{release}
802 %description -n nss_nisplus
803 glibc NSS (Name Service Switch) module for NIS+ databases access.
805 %description -n nss_nisplus -l es.UTF-8
806 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
809 %description -n nss_nisplus -l pl.UTF-8
810 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS+.
814 Summary(es.UTF-8): Un juguete
815 Summary(pl.UTF-8): Zabawka
817 Requires: %{name} = %{epoch}:%{version}-%{release}
819 %description memusage
822 %description memusage -l es.UTF-8
825 %description memusage -l pl.UTF-8
830 ln -s glibc-libidn-%{version} libidn
851 %{?with_cross:%patch25 -p1}
856 %{?with_pax:%patch30 -p0}
857 %{?with_pax:%patch31 -p0}
859 # these would be copied to localedb-src
860 rm -f localedata/locales/*{.orig,~}
864 # i786 (aka pentium4) hack
865 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
866 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
868 # A lot of programs still misuse memcpy when they have to use
869 # memmove. The memcpy implementation below is not tolerant at
871 rm -f sysdeps/alpha/alphaev6/memcpy.S
874 # glibc has its own way to remove PLT relocations. / H. J. Lu.
875 unset LD_SYMBOLIC_FUNCTIONS || :
877 cp -f /usr/share/automake/config.sub scripts
885 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
889 --enable-kernel="%{min_kernel}" \
891 --with-headers=%{_includedir} \
892 --with%{!?with_selinux:out}-selinux \
894 --enable-add-ons=nptl,libidn \
895 --enable-stackguard-randomization \
896 --enable-hidden-plt \
906 for d in builddir; do
908 env LANGUAGE=C LC_ALL=C \
909 %{__make} tests 2>&1 | awk '
912 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
914 gsub(/.*\[/, NIL, file);
915 gsub(/\].*/, NIL, file);
919 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
925 diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
929 rm -rf $RPM_BUILD_ROOT
930 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
933 env LANGUAGE=C LC_ALL=C \
935 install_root=$RPM_BUILD_ROOT \
936 infodir=%{_infodir} \
940 env LANGUAGE=C LC_ALL=C \
941 %{__make} localedata/install-locales \
942 install_root=$RPM_BUILD_ROOT
945 PICFILES="libc_pic.a libc.map
946 math/libm_pic.a libm.map
947 resolv/libresolv_pic.a"
949 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
950 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
951 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
955 install glibc-postinst $RPM_BUILD_ROOT/sbin
958 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
959 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
961 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
962 # moved to tzdata package
963 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
965 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
967 # make symlinks across top-level directories absolute
968 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
969 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
970 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
973 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
974 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
975 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
976 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
977 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
978 install posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
980 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
981 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
982 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
983 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
984 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
986 :> $RPM_BUILD_ROOT/var/log/nscd
987 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
988 :> $RPM_BUILD_ROOT/var/lib/nscd/group
989 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
992 install -d documentation
994 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
995 cp -f nptl/$f documentation/$f.nptl
997 cp -f crypt/README.ufc-crypt ChangeLog* documentation
999 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1001 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
1002 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
1004 # Collect locale files and mark them with %%lang()
1006 echo '%defattr(644,root,root,755)' > glibc.lang
1007 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
1009 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
1011 # list of long %%lang values we do support
1012 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
1013 zh_CN zh_CN.gbk zh_HK zh_TW ; do
1014 if [ $j = "$lang" ]; then
1018 if [ -n "$twochar" ]; then
1019 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1020 lang=`echo $lang | sed "s,\..*,,"`
1022 lang=`echo $lang | sed "s,_.*,,"`
1025 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1026 echo "%lang($lang) $dir" >> glibc.lang
1031 # Languages not supported by glibc locales, but usable via $LANGUAGE:
1032 # ang - Old English (gtk+, gnome)
1033 # tlh - Klingon (bzflag)
1035 # sr@ije (use LANGUAGE=sr_ME@ije/sr_RS@ije) (gnome)
1037 # To be added when they become supported by glibc:
1040 # dv, haw, kok, ps, syr (iso-codes)
1041 # gn (gn_BR in gnome, maybe gn_PY)
1044 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
1047 # Omitted here - already existing (with libc.mo):
1048 # 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
1051 for i in aa aa@saaho af am an ang ar as ast az be@alternative be@latin bg bn \
1052 bn_IN br bs byn csb cy de_AT dz en en@boldquot en@quot en_AU en_CA en_US \
1053 eo es_AR es_CO es_MX es_NI es_PR et eu fa fil fo fr_BE fur fy ga gd gez \
1054 gu gv he hi hsb hy ia id ik is it_CH iu ka kk kl km kn ku kw ky lg li lo \
1055 lt lv mai mg mi mk ml mn mr ms mt nds ne nl_BE nn nr nso oc om or pa pap \
1056 pt rm ro sa sc se si sid sl so sq sr sr@ije sr@latin ss st sw ta \
1057 te tg th ti tig tk tl tlh tn ts tt ug uk ur uz uz@cyrillic ve vi wa wal \
1058 wo xh yi yo zh_HK zu ; do
1059 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1060 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1061 lang=`echo $i | sed -e 's/_.*//'`
1062 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1067 ln -s sr@latin $RPM_BUILD_ROOT%{_datadir}/locale/sr@Latn
1069 # localedb-gen infrastructure
1070 sed -e 's,@localedir@,%{_libdir}/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1071 chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1072 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1074 # shutup check-files
1075 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1076 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1077 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1078 # we don't support kernel without ptys support
1079 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1081 rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/rpcinfo.8
1082 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/rpcinfo.8
1083 rm -f $RPM_BUILD_ROOT%{_sbindir}/rpcinfo
1086 rm -rf $RPM_BUILD_ROOT
1088 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1089 # when %%postun is run
1092 %post -p /sbin/postshell
1093 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
1097 %postun -p /sbin/postshell
1101 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1102 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1103 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1106 %post memusage -p /sbin/ldconfig
1107 %postun memusage -p /sbin/ldconfig
1109 %post -n iconv -p %{_sbindir}/iconvconfig
1112 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1115 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1118 %groupadd -P nscd -g 144 -r nscd
1119 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1122 /sbin/chkconfig --add nscd
1124 chmod 000 /var/log/nscd
1125 chown root:root /var/log/nscd
1126 chmod 640 /var/log/nscd
1127 %service nscd restart "nscd daemon"
1130 if [ "$1" = "0" ]; then
1132 /sbin/chkconfig --del nscd
1136 if [ "$1" = "0" ]; then
1142 %defattr(644,root,root,755)
1143 %doc README NEWS FAQ BUGS
1145 %attr(755,root,root) /sbin/glibc-postinst
1147 %attr(755,root,root) /sbin/ldconfig
1148 # ld* and libc.so.6 SONAME symlinks must be in package because of
1149 # chicken-egg problem (postshell is dynamically linked with libc);
1150 # NOTE: postshell is now linked statically with diet
1151 # ld-*.so SONAME is:
1153 # ld64.so.1 on ppc64,s390x
1154 # ld-linux-ia64.so.2 on ia64
1155 # ld-linux-x86-64.so.2 on x86_64
1156 # ld-linux.so.2 on other archs
1157 %attr(755,root,root) /%{_lib}/ld*
1158 %attr(755,root,root) /%{_lib}/libanl*
1159 %attr(755,root,root) /%{_lib}/libdl*
1160 %attr(755,root,root) /%{_lib}/libnsl*
1161 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1162 %{?with_localedb:%dir %{_libdir}/locale}
1163 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1164 %dir %{_sysconfdir}/ld.so.conf.d
1165 %ghost %{_sysconfdir}/ld.so.cache
1168 %defattr(644,root,root,755)
1169 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1171 #%files -n nss_files
1172 %defattr(644,root,root,755)
1173 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1175 %files misc -f %{name}.lang
1176 %defattr(644,root,root,755)
1178 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1179 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1181 %config %{_sysconfdir}/rpc
1183 %attr(755,root,root) /sbin/sln
1184 %attr(755,root,root) %{_bindir}/catchsegv
1185 %attr(755,root,root) %{_bindir}/getconf
1186 %attr(755,root,root) %{_bindir}/getent
1187 %attr(755,root,root) %{_bindir}/iconv
1188 %attr(755,root,root) %{_bindir}/ldd
1189 %ifarch %{ix86} m68k sparc sparcv9
1190 %attr(755,root,root) %{_bindir}/lddlibc4
1192 %attr(755,root,root) %{_bindir}/locale
1193 %attr(755,root,root) %{_bindir}/rpcgen
1194 %attr(755,root,root) %{_bindir}/tzselect
1196 %attr(755,root,root) %{_sbindir}/zdump
1197 %attr(755,root,root) %{_sbindir}/zic
1199 %dir %{_libexecdir}/getconf
1200 %attr(755,root,root) %{_libexecdir}/getconf/*
1202 %dir %{_datadir}/locale
1203 %{_datadir}/locale/locale.alias
1205 %{_mandir}/man1/catchsegv.1*
1206 %{_mandir}/man1/getconf.1*
1207 %{_mandir}/man1/getent.1*
1208 %{_mandir}/man1/iconv.1*
1209 %{_mandir}/man1/ldd.1*
1210 %{_mandir}/man1/locale.1*
1211 %{_mandir}/man1/rpcgen.1*
1212 %{_mandir}/man5/locale.5*
1213 %{_mandir}/man5/nsswitch.conf.5*
1214 %{_mandir}/man5/tzfile.5*
1216 %{_mandir}/man8/ld*.8*
1217 %{_mandir}/man8/sln.8*
1218 %{_mandir}/man8/tzselect.8*
1219 %{_mandir}/man8/zdump.8*
1220 %{_mandir}/man8/zic.8*
1221 %lang(cs) %{_mandir}/cs/man7/*
1222 %lang(de) %{_mandir}/de/man5/tzfile.5*
1223 %lang(de) %{_mandir}/de/man7/*
1224 %lang(es) %{_mandir}/es/man1/ldd.1*
1225 %lang(es) %{_mandir}/es/man5/locale.5*
1226 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1227 %lang(es) %{_mandir}/es/man5/tzfile.5*
1228 %lang(es) %{_mandir}/es/man7/*
1229 %lang(es) %{_mandir}/es/man8/ld*.8*
1230 %lang(es) %{_mandir}/es/man8/tzselect.8*
1231 %lang(es) %{_mandir}/es/man8/zdump.8*
1232 %lang(es) %{_mandir}/es/man8/zic.8*
1233 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1234 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1235 %lang(fr) %{_mandir}/fr/man5/locale.5*
1236 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1237 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1238 %lang(fr) %{_mandir}/fr/man7/*
1239 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1240 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1241 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1242 %lang(fr) %{_mandir}/fr/man8/zic.8*
1243 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1244 %lang(hu) %{_mandir}/hu/man7/*
1245 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1246 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1247 %lang(it) %{_mandir}/it/man5/locale.5*
1248 %lang(it) %{_mandir}/it/man7/*
1249 %lang(it) %{_mandir}/it/man8/tzselect.8*
1250 %lang(it) %{_mandir}/it/man8/zdump.8*
1251 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1252 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1253 %lang(ja) %{_mandir}/ja/man5/locale.5*
1254 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1255 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1256 %lang(ja) %{_mandir}/ja/man7/*
1257 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1258 %lang(ja) %{_mandir}/ja/man8/sln.8*
1259 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1260 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1261 %lang(ja) %{_mandir}/ja/man8/zic.8*
1262 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1263 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1264 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1265 %lang(ko) %{_mandir}/ko/man7/*
1266 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1267 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1268 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1269 %lang(pl) %{_mandir}/pl/man5/locale.5*
1270 %lang(pl) %{_mandir}/pl/man7/*
1271 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1272 %lang(pt) %{_mandir}/pt/man5/locale.5*
1273 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1274 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1275 %lang(pt) %{_mandir}/pt/man7/*
1276 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1277 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1278 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1279 %lang(pt) %{_mandir}/pt/man8/zic.8*
1280 %lang(ru) %{_mandir}/ru/man1/getent.1*
1281 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1282 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1283 %lang(ru) %{_mandir}/ru/man1/locale.1*
1284 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1285 %lang(ru) %{_mandir}/ru/man5/locale.5*
1286 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1287 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1288 %lang(ru) %{_mandir}/ru/man7/*
1289 %lang(ru) %{_mandir}/ru/man8/ld*.8*
1290 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1291 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1292 %lang(ru) %{_mandir}/ru/man8/zic.8*
1293 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1294 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1295 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1296 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1297 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1298 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1299 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1300 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1301 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1302 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1304 %files -n nss_compat
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1308 %files -n nss_hesiod
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1315 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1317 %files -n nss_nisplus
1318 %defattr(644,root,root,755)
1319 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1321 %if %{with memusage}
1323 %defattr(644,root,root,755)
1324 %attr(755,root,root) %{_bindir}/memusage*
1325 %attr(755,root,root) %{_libdir}/libmemusage.so
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1331 %attr(755,root,root) %{_libdir}/libcrypt.so
1332 %attr(755,root,root) %{_libdir}/libm.so
1333 %attr(755,root,root) %{_libdir}/libpcprofile.so
1334 %attr(755,root,root) %{_libdir}/*crt*.o
1337 %{_libdir}/libpthread.so
1338 %{_libdir}/libbsd-compat.a
1340 %{_libdir}/libc_nonshared.a
1342 %{_libdir}/libieee.a
1343 %ifarch alpha ppc sparc
1344 %{_libdir}/libnldbl_nonshared.a
1346 %{_libdir}/libpthread_nonshared.a
1347 %{_libdir}/librpcsvc.a
1348 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1349 %{_includedir}/gnu/stubs-*.h
1353 %defattr(644,root,root,755)
1356 %{_includedir}/alpha
1360 %dir %{_includedir}/gnu
1361 %{_includedir}/gnu/lib*.h
1362 %{_includedir}/gnu/stubs.h
1364 %{_includedir}/netash
1365 %{_includedir}/netatalk
1366 %{_includedir}/netax25
1367 %{_includedir}/neteconet
1368 %{_includedir}/netinet
1369 %{_includedir}/netipx
1370 %{_includedir}/netpacket
1371 %{_includedir}/netrom
1372 %{_includedir}/netrose
1374 %{_includedir}/protocols
1376 %{_includedir}/rpcsvc
1381 %defattr(644,root,root,755)
1382 %attr(755,root,root) %{_bindir}/gencat
1383 %attr(755,root,root) %{_bindir}/*prof*
1384 %attr(755,root,root) %{_bindir}/*trace
1387 %defattr(644,root,root,755)
1388 %doc documentation/* NOTES PROJECTS
1389 %{_infodir}/libc.info*
1391 %{_mandir}/man1/sprof.1*
1393 %lang(cs) %{_mandir}/cs/man3/*
1394 %lang(de) %{_mandir}/de/man3/*
1395 %lang(es) %{_mandir}/es/man3/*
1396 %lang(fr) %{_mandir}/fr/man3/*
1397 %lang(hu) %{_mandir}/hu/man3/*
1398 %lang(it) %{_mandir}/it/man3/*
1399 %lang(ja) %{_mandir}/ja/man3/*
1400 %lang(ko) %{_mandir}/ko/man3/*
1401 %lang(nl) %{_mandir}/nl/man3/*
1402 %lang(pl) %{_mandir}/pl/man3/*
1403 %lang(pt) %{_mandir}/pt/man3/*
1404 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1405 %lang(ru) %{_mandir}/ru/man3/*
1406 %lang(tr) %{_mandir}/tr/man3/*
1407 %lang(uk) %{_mandir}/uk/man3/*
1408 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1411 %defattr(644,root,root,755)
1412 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1413 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1414 %attr(754,root,root) /etc/rc.d/init.d/nscd
1415 %attr(755,root,root) %{_sbindir}/nscd*
1416 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1417 %attr(640,root,root) %ghost /var/log/nscd
1420 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1421 %attr(600,root,root) %ghost /var/lib/nscd/group
1422 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1423 %{_mandir}/man5/nscd.conf.5*
1424 %{_mandir}/man8/nscd.8*
1425 %{_mandir}/man8/nscd_nischeck.8*
1426 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1427 %lang(es) %{_mandir}/es/man8/nscd.8*
1428 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1429 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1430 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1431 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1432 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1433 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1434 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1435 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1436 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1438 %files -n localedb-src
1439 %defattr(644,root,root,755)
1440 %attr(755,root,root) %{_bindir}/localedef
1441 %attr(755,root,root) %{_bindir}/localedb-gen
1443 %{_mandir}/man1/localedef.1*
1444 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1446 %if %{with localedb}
1448 %defattr(644,root,root,755)
1449 %{_libdir}/locale/locale-archive
1453 %defattr(644,root,root,755)
1454 %attr(755,root,root) %{_sbindir}/iconvconfig
1455 %dir %{_libdir}/gconv
1456 %{_libdir}/gconv/gconv-modules
1457 %attr(755,root,root) %{_libdir}/gconv/*.so
1460 %defattr(644,root,root,755)
1462 %{_libdir}/libBrokenLocale.a
1464 %{_libdir}/libcrypt.a
1467 %{_libdir}/libmcheck.a
1469 %{_libdir}/libpthread.a
1470 %{_libdir}/libresolv.a
1472 %{_libdir}/libutil.a
1475 %defattr(644,root,root,755)
1479 %defattr(644,root,root,755)
1480 %{_libdir}/lib*_pic.a