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