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