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