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
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 Patch30: %{name}-pax_dl-execstack.patch
80 Patch31: %{name}-pt_pax.patch
81 Patch32: %{name}-tzfile_read.patch
82 Patch33: %{name}-sparc-lowlevellock.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
851 %{?with_cross:%patch25 -p1}
853 %{?with_pax:%patch30 -p0}
854 %{?with_pax:%patch31 -p0}
858 # these would be copied to localedb-src
859 rm -f localedata/locales/*{.orig,~}
863 # i786 (aka pentium4) hack
864 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
865 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
867 # A lot of programs still misuse memcpy when they have to use
868 # memmove. The memcpy implementation below is not tolerant at
870 rm -f sysdeps/alpha/alphaev6/memcpy.S
873 # glibc has its own way to remove PLT relocations. / H. J. Lu.
874 unset LD_SYMBOLIC_FUNCTIONS || :
876 cp -f /usr/share/automake/config.sub scripts
884 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
888 --enable-kernel="%{min_kernel}" \
890 --with-headers=%{_includedir} \
891 --with%{!?with_selinux:out}-selinux \
893 --enable-add-ons=nptl,libidn \
894 --enable-stackguard-randomization \
895 --enable-hidden-plt \
905 for d in builddir; do
907 env LANGUAGE=C LC_ALL=C \
908 %{__make} tests 2>&1 | awk '
911 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
913 gsub(/.*\[/, NIL, file);
914 gsub(/\].*/, NIL, file);
918 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
924 diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
928 rm -rf $RPM_BUILD_ROOT
929 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
932 env LANGUAGE=C LC_ALL=C \
934 install_root=$RPM_BUILD_ROOT \
935 infodir=%{_infodir} \
939 env LANGUAGE=C LC_ALL=C \
940 %{__make} localedata/install-locales \
941 install_root=$RPM_BUILD_ROOT
944 PICFILES="libc_pic.a libc.map
945 math/libm_pic.a libm.map
946 resolv/libresolv_pic.a"
948 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
949 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
950 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
954 install glibc-postinst $RPM_BUILD_ROOT/sbin
957 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
958 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
960 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
961 # moved to tzdata package
962 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
964 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
966 # make symlinks across top-level directories absolute
967 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
968 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
969 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
972 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
973 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
974 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
975 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
976 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
977 install posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
979 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
980 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
981 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
982 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
983 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
985 :> $RPM_BUILD_ROOT/var/log/nscd
986 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
987 :> $RPM_BUILD_ROOT/var/lib/nscd/group
988 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
991 install -d documentation
993 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
994 cp -f nptl/$f documentation/$f.nptl
996 cp -f crypt/README.ufc-crypt ChangeLog* documentation
998 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1000 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
1001 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
1003 # Collect locale files and mark them with %%lang()
1005 echo '%defattr(644,root,root,755)' > glibc.lang
1006 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
1008 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
1010 # list of long %%lang values we do support
1011 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
1012 zh_CN zh_CN.gbk zh_HK zh_TW ; do
1013 if [ $j = "$lang" ]; then
1017 if [ -n "$twochar" ]; then
1018 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1019 lang=`echo $lang | sed "s,\..*,,"`
1021 lang=`echo $lang | sed "s,_.*,,"`
1024 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1025 echo "%lang($lang) $dir" >> glibc.lang
1030 # Languages not supported by glibc locales, but usable via $LANGUAGE:
1031 # ang - Old English (gtk+, gnome)
1032 # tlh - Klingon (bzflag)
1034 # sr@ije (use LANGUAGE=sr_ME@ije/sr_RS@ije) (gnome)
1036 # To be added when they become supported by glibc:
1039 # dv, haw, kok, ps, syr (iso-codes)
1040 # gn (gn_BR in gnome, maybe gn_PY)
1043 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
1046 # Omitted here - already existing (with libc.mo):
1047 # 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
1050 for i in aa aa@saaho af am an ang ar as ast az be@alternative be@latin bg bn \
1051 bn_IN br bs byn csb cy de_AT dz en en@boldquot en@quot en_AU en_CA en_US \
1052 eo es_AR es_CO es_MX es_NI es_PR et eu fa fil fo fr_BE fur fy ga gd gez \
1053 gu gv he hi hsb hy ia id ik is it_CH iu ka kk kl km kn ku kw ky lg li lo \
1054 lt lv mai mg mi mk ml mn mr ms mt nds ne nl_BE nn nr nso oc om or pa pap \
1055 pt rm ro sa sc se si sid sl so sq sr sr@ije sr@latin ss st sw ta \
1056 te tg th ti tig tk tl tlh tn ts tt ug uk ur uz uz@cyrillic ve vi wa wal \
1057 wo xh yi yo zh_HK zu ; do
1058 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1059 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1060 lang=`echo $i | sed -e 's/_.*//'`
1061 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1066 ln -s sr@latin $RPM_BUILD_ROOT%{_datadir}/locale/sr@Latn
1068 # localedb-gen infrastructure
1069 sed -e 's,@localedir@,%{_libdir}/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1070 chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1071 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1073 # shutup check-files
1074 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1075 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1076 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1077 # we don't support kernel without ptys support
1078 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1080 rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/rpcinfo.8
1081 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/rpcinfo.8
1082 rm -f $RPM_BUILD_ROOT%{_sbindir}/rpcinfo
1085 rm -rf $RPM_BUILD_ROOT
1087 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1088 # when %%postun is run
1091 %post -p /sbin/postshell
1092 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
1096 %postun -p /sbin/postshell
1100 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1101 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1102 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1106 if [ ! -L %{_datadir}/locale/sr@Latn -a -d %{_datadir}/locale/sr@latin ]; then
1107 mv %{_datadir}/locale/sr@Latn/* %{_datadir}/locale/sr@latin/ > /dev/null 2>&1
1108 rmdir %{_datadir}/locale/sr@Latn 2>/dev/null || mv -v %{_datadir}/locale/sr@Latn{,.rpmsave}
1111 %post memusage -p /sbin/ldconfig
1112 %postun memusage -p /sbin/ldconfig
1114 %post -n iconv -p %{_sbindir}/iconvconfig
1117 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1120 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1123 %groupadd -P nscd -g 144 -r nscd
1124 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1127 /sbin/chkconfig --add nscd
1129 chmod 000 /var/log/nscd
1130 chown root:root /var/log/nscd
1131 chmod 640 /var/log/nscd
1132 %service nscd restart "nscd daemon"
1135 if [ "$1" = "0" ]; then
1137 /sbin/chkconfig --del nscd
1141 if [ "$1" = "0" ]; then
1147 %defattr(644,root,root,755)
1148 %doc README NEWS FAQ BUGS
1150 %attr(755,root,root) /sbin/glibc-postinst
1152 %attr(755,root,root) /sbin/ldconfig
1153 # ld* and libc.so.6 SONAME symlinks must be in package because of
1154 # chicken-egg problem (postshell is dynamically linked with libc);
1155 # NOTE: postshell is now linked statically with diet
1156 # ld-*.so SONAME is:
1158 # ld64.so.1 on ppc64,s390x
1159 # ld-linux-ia64.so.2 on ia64
1160 # ld-linux-x86-64.so.2 on x86_64
1161 # ld-linux.so.2 on other archs
1162 %attr(755,root,root) /%{_lib}/ld*
1163 %attr(755,root,root) /%{_lib}/libanl*
1164 %attr(755,root,root) /%{_lib}/libdl*
1165 %attr(755,root,root) /%{_lib}/libnsl*
1166 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1167 %{?with_localedb:%dir %{_libdir}/locale}
1168 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1169 %dir %{_sysconfdir}/ld.so.conf.d
1170 %ghost %{_sysconfdir}/ld.so.cache
1173 %defattr(644,root,root,755)
1174 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1176 #%files -n nss_files
1177 %defattr(644,root,root,755)
1178 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1180 %files misc -f %{name}.lang
1181 %defattr(644,root,root,755)
1182 # not catched by find_lang due to being symlink
1183 %lang(sr@latin) %{_datadir}/locale/sr@Latn
1186 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1187 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1189 %config %{_sysconfdir}/rpc
1191 %attr(755,root,root) /sbin/sln
1192 %attr(755,root,root) %{_bindir}/catchsegv
1193 %attr(755,root,root) %{_bindir}/getconf
1194 %attr(755,root,root) %{_bindir}/getent
1195 %attr(755,root,root) %{_bindir}/iconv
1196 %attr(755,root,root) %{_bindir}/ldd
1197 %ifarch %{ix86} m68k sparc sparcv9
1198 %attr(755,root,root) %{_bindir}/lddlibc4
1200 %attr(755,root,root) %{_bindir}/locale
1201 %attr(755,root,root) %{_bindir}/rpcgen
1202 %attr(755,root,root) %{_bindir}/tzselect
1204 %attr(755,root,root) %{_sbindir}/zdump
1205 %attr(755,root,root) %{_sbindir}/zic
1207 %dir %{_libexecdir}/getconf
1208 %attr(755,root,root) %{_libexecdir}/getconf/*
1210 %dir %{_datadir}/locale
1211 %{_datadir}/locale/locale.alias
1213 %{_mandir}/man1/catchsegv.1*
1214 %{_mandir}/man1/getconf.1*
1215 %{_mandir}/man1/getent.1*
1216 %{_mandir}/man1/iconv.1*
1217 %{_mandir}/man1/ldd.1*
1218 %{_mandir}/man1/locale.1*
1219 %{_mandir}/man1/rpcgen.1*
1220 %{_mandir}/man5/locale.5*
1221 %{_mandir}/man5/nsswitch.conf.5*
1222 %{_mandir}/man5/tzfile.5*
1224 %{_mandir}/man8/ld*.8*
1225 %{_mandir}/man8/sln.8*
1226 %{_mandir}/man8/tzselect.8*
1227 %{_mandir}/man8/zdump.8*
1228 %{_mandir}/man8/zic.8*
1229 %lang(cs) %{_mandir}/cs/man7/*
1230 %lang(de) %{_mandir}/de/man5/tzfile.5*
1231 %lang(de) %{_mandir}/de/man7/*
1232 %lang(es) %{_mandir}/es/man1/ldd.1*
1233 %lang(es) %{_mandir}/es/man5/locale.5*
1234 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1235 %lang(es) %{_mandir}/es/man5/tzfile.5*
1236 %lang(es) %{_mandir}/es/man7/*
1237 %lang(es) %{_mandir}/es/man8/ld*.8*
1238 %lang(es) %{_mandir}/es/man8/tzselect.8*
1239 %lang(es) %{_mandir}/es/man8/zdump.8*
1240 %lang(es) %{_mandir}/es/man8/zic.8*
1241 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1242 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1243 %lang(fr) %{_mandir}/fr/man5/locale.5*
1244 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1245 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1246 %lang(fr) %{_mandir}/fr/man7/*
1247 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1248 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1249 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1250 %lang(fr) %{_mandir}/fr/man8/zic.8*
1251 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1252 %lang(hu) %{_mandir}/hu/man7/*
1253 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1254 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1255 %lang(it) %{_mandir}/it/man5/locale.5*
1256 %lang(it) %{_mandir}/it/man7/*
1257 %lang(it) %{_mandir}/it/man8/tzselect.8*
1258 %lang(it) %{_mandir}/it/man8/zdump.8*
1259 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1260 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1261 %lang(ja) %{_mandir}/ja/man5/locale.5*
1262 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1263 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1264 %lang(ja) %{_mandir}/ja/man7/*
1265 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1266 %lang(ja) %{_mandir}/ja/man8/sln.8*
1267 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1268 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1269 %lang(ja) %{_mandir}/ja/man8/zic.8*
1270 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1271 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1272 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1273 %lang(ko) %{_mandir}/ko/man7/*
1274 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1275 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1276 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1277 %lang(pl) %{_mandir}/pl/man5/locale.5*
1278 %lang(pl) %{_mandir}/pl/man7/*
1279 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1280 %lang(pt) %{_mandir}/pt/man5/locale.5*
1281 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1282 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1283 %lang(pt) %{_mandir}/pt/man7/*
1284 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1285 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1286 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1287 %lang(pt) %{_mandir}/pt/man8/zic.8*
1288 %lang(ru) %{_mandir}/ru/man1/getent.1*
1289 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1290 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1291 %lang(ru) %{_mandir}/ru/man1/locale.1*
1292 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1293 %lang(ru) %{_mandir}/ru/man5/locale.5*
1294 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1295 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1296 %lang(ru) %{_mandir}/ru/man7/*
1297 %lang(ru) %{_mandir}/ru/man8/ld*.8*
1298 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1299 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1300 %lang(ru) %{_mandir}/ru/man8/zic.8*
1301 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1302 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1303 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1304 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1305 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1306 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1307 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1308 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1309 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1310 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1312 %files -n nss_compat
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1316 %files -n nss_hesiod
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1323 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1325 %files -n nss_nisplus
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1329 %if %{with memusage}
1331 %defattr(644,root,root,755)
1332 %attr(755,root,root) %{_bindir}/memusage*
1333 %attr(755,root,root) %{_libdir}/libmemusage.so
1337 %defattr(644,root,root,755)
1338 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1339 %attr(755,root,root) %{_libdir}/libcrypt.so
1340 %attr(755,root,root) %{_libdir}/libm.so
1341 %attr(755,root,root) %{_libdir}/libpcprofile.so
1342 %attr(755,root,root) %{_libdir}/*crt*.o
1345 %{_libdir}/libpthread.so
1346 %{_libdir}/libbsd-compat.a
1348 %{_libdir}/libc_nonshared.a
1350 %{_libdir}/libieee.a
1351 %ifarch alpha ppc sparc
1352 %{_libdir}/libnldbl_nonshared.a
1354 %{_libdir}/libpthread_nonshared.a
1355 %{_libdir}/librpcsvc.a
1356 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1357 %{_includedir}/gnu/stubs-*.h
1361 %defattr(644,root,root,755)
1364 %{_includedir}/alpha
1368 %dir %{_includedir}/gnu
1369 %{_includedir}/gnu/lib*.h
1370 %{_includedir}/gnu/stubs.h
1372 %{_includedir}/netash
1373 %{_includedir}/netatalk
1374 %{_includedir}/netax25
1375 %{_includedir}/neteconet
1376 %{_includedir}/netinet
1377 %{_includedir}/netipx
1378 %{_includedir}/netpacket
1379 %{_includedir}/netrom
1380 %{_includedir}/netrose
1382 %{_includedir}/protocols
1384 %{_includedir}/rpcsvc
1389 %defattr(644,root,root,755)
1390 %attr(755,root,root) %{_bindir}/gencat
1391 %attr(755,root,root) %{_bindir}/*prof*
1392 %attr(755,root,root) %{_bindir}/*trace
1395 %defattr(644,root,root,755)
1396 %doc documentation/* NOTES PROJECTS
1397 %{_infodir}/libc.info*
1399 %{_mandir}/man1/sprof.1*
1401 %lang(cs) %{_mandir}/cs/man3/*
1402 %lang(de) %{_mandir}/de/man3/*
1403 %lang(es) %{_mandir}/es/man3/*
1404 %lang(fr) %{_mandir}/fr/man3/*
1405 %lang(hu) %{_mandir}/hu/man3/*
1406 %lang(it) %{_mandir}/it/man3/*
1407 %lang(ja) %{_mandir}/ja/man3/*
1408 %lang(ko) %{_mandir}/ko/man3/*
1409 %lang(nl) %{_mandir}/nl/man3/*
1410 %lang(pl) %{_mandir}/pl/man3/*
1411 %lang(pt) %{_mandir}/pt/man3/*
1412 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1413 %lang(ru) %{_mandir}/ru/man3/*
1414 %lang(tr) %{_mandir}/tr/man3/*
1415 %lang(uk) %{_mandir}/uk/man3/*
1416 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1419 %defattr(644,root,root,755)
1420 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1421 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1422 %attr(754,root,root) /etc/rc.d/init.d/nscd
1423 %attr(755,root,root) %{_sbindir}/nscd*
1424 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1425 %attr(640,root,root) %ghost /var/log/nscd
1428 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1429 %attr(600,root,root) %ghost /var/lib/nscd/group
1430 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1431 %{_mandir}/man5/nscd.conf.5*
1432 %{_mandir}/man8/nscd.8*
1433 %{_mandir}/man8/nscd_nischeck.8*
1434 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1435 %lang(es) %{_mandir}/es/man8/nscd.8*
1436 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1437 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1438 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1439 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1440 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1441 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1442 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1443 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1444 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1446 %files -n localedb-src
1447 %defattr(644,root,root,755)
1448 %attr(755,root,root) %{_bindir}/localedef
1449 %attr(755,root,root) %{_bindir}/localedb-gen
1451 %{_mandir}/man1/localedef.1*
1452 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1454 %if %{with localedb}
1456 %defattr(644,root,root,755)
1457 %{_libdir}/locale/locale-archive
1461 %defattr(644,root,root,755)
1462 %attr(755,root,root) %{_sbindir}/iconvconfig
1463 %dir %{_libdir}/gconv
1464 %{_libdir}/gconv/gconv-modules
1465 %attr(755,root,root) %{_libdir}/gconv/*.so
1468 %defattr(644,root,root,755)
1470 %{_libdir}/libBrokenLocale.a
1472 %{_libdir}/libcrypt.a
1475 %{_libdir}/libmcheck.a
1477 %{_libdir}/libpthread.a
1478 %{_libdir}/libresolv.a
1480 %{_libdir}/libutil.a
1483 %defattr(644,root,root,755)
1487 %defattr(644,root,root,755)
1488 %{_libdir}/lib*_pic.a