2 # - restore --with-pkgversion when tcl upstream fixes the #3599098 (broken platform::identify).
4 # - look at locale fixes/updates in bugzilla
5 # - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section.
7 # - localedb-gen man pages(?)
8 # - math/{test-fenv,test-tgmath,test-float,test-ifloat}, debug/backtrace-tst(SEGV) fail on alpha
11 # min_kernel (default is 2.6.32)
12 %bcond_without memusage # don't build memusage utility
13 %bcond_without selinux # without SELinux support (in nscd)
14 %bcond_with tests # perform "make test"
15 %bcond_without localedb # don't build localedb-all (is time consuming)
16 %bcond_with cross # make a cross build, skip native programs
17 %bcond_without nss_crypt # disable crypt features based on Mozilla NSS library
20 %{!?min_kernel:%global min_kernel 3.4.0}
22 %{!?min_kernel:%global min_kernel 2.6.32}
26 %undefine with_memusage
29 %define core_version 2.20
30 %define llh_version 7:2.6.32.1-1
33 Summary(de.UTF-8): GNU libc
34 Summary(es.UTF-8): GNU libc
35 Summary(fr.UTF-8): GNU libc
36 Summary(ja.UTF-8): GNU libc ライブラリ
37 Summary(pl.UTF-8): GNU libc
38 Summary(ru.UTF-8): GNU libc версии
39 Summary(tr.UTF-8): GNU libc
40 Summary(uk.UTF-8): GNU libc версії
42 Version: %{core_version}
47 Source0: http://ftp.gnu.org/gnu/glibc/%{name}-%{version}.tar.xz
48 # Source0-md5: 948a6e06419a01bd51e97206861595b0
50 Source3: nscd.sysconfig
51 Source4: nscd.logrotate
52 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
53 Source5: %{name}-man-pages.tar.bz2
54 # Source5-md5: 0d93d9628f35f1eae015affb11390df3
55 Source6: %{name}-localedb-gen
56 Source7: %{name}-LD-path.c
58 Source9: nscd.tmpfiles
59 Patch0: %{name}-git.patch
60 # against GNU TP (libc domain)
61 #Patch1: %{name}-pl.po-update.patch
62 Patch2: %{name}-pld.patch
63 Patch3: %{name}-crypt-blowfish.patch
64 Patch4: %{name}-sotruss-sh.patch
65 Patch5: %{name}-sparc-softfp-gcc.patch
66 Patch6: %{name}-paths.patch
67 Patch7: 1070_all_glibc-fadvise64_64.patch
68 Patch8: %{name}-missing-nls.patch
69 Patch9: %{name}-nss_include_dirs.patch
70 Patch10: %{name}-info.patch
71 Patch11: %{name}-autoconf.patch
72 Patch12: %{name}-format.patch
74 Patch14: %{name}-sparc-errno_fix.patch
75 Patch15: %{name}-new-charsets.patch
76 Patch16: %{name}-tzfile-noassert.patch
77 # additions pending for upstream merge or taken from other distros
78 Patch17: %{name}-morelocales.patch
79 # fixes mostly pending for upstream merge
80 Patch18: %{name}-locale_fixes.patch
81 Patch19: %{name}-ZA_collate.patch
82 Patch20: %{name}-thread_start.patch
83 Patch22: %{name}-with-stroke.patch
84 Patch23: %{name}-pt_pax.patch
85 Patch25: %{name}-cv_gnu89_inline.patch
86 Patch26: %{name}-posix-sh.patch
87 Patch27: %{name}-locale-C.patch.xz
88 # Patch27-md5: 34ebe52a2afb923e33af0fb7c541f540
89 Patch28: %{name}-locale-C-pld.patch
90 Patch29: %{name}-arm-alignment-fix.patch
91 Patch30: glibc-rh1124987.patch
92 Patch31: %{name}-origin.patch
93 Patch32: %{name}-Os-fail-workaround.patch
94 Patch33: fix-broken-echo.patch
95 Patch38: 1055_all_glibc-resolv-dynamic.patch
96 URL: http://www.gnu.org/software/libc/
97 %{?with_selinux:BuildRequires: audit-libs-devel}
98 BuildRequires: autoconf
99 BuildRequires: automake
101 BuildRequires: binutils >= 2:2.17.50.0.7
103 BuildRequires: binutils >= 2:2.15.90.0.3
105 %{!?with_cross:BuildRequires: dietlibc-static}
107 BuildRequires: gcc >= 6:4.3
108 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
109 BuildRequires: gettext-tools >= 0.10.36
110 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
111 BuildRequires: linux-libc-headers >= %{llh_version}
112 %{?with_nss_crypt:BuildRequires: nss-devel >= 1:3.15.1-2}
113 BuildRequires: perl-base
114 BuildRequires: rpm-build >= 4.3-0.20030610.28
115 BuildRequires: rpmbuild(macros) >= 1.567
116 BuildRequires: sed >= 4.0.5
117 BuildRequires: texinfo
118 Requires(post): ldconfig = %{epoch}:%{version}-%{release}
120 Requires: uname(release) >= %{min_kernel}
121 Provides: %{name}(%{_target_cpu}) = %{epoch}:%{version}-%{release}
123 Provides: %{name}(ix86) = %{epoch}:%{version}-%{release}
125 Provides: glibc(nptl)
127 Provides: rtld(GNU_HASH)
128 Obsoletes: glibc-common
129 Obsoletes: glibc-debug
130 %ifarch %{x8664} sparc64 ppc64
136 Conflicts: %{name}-misc < %{epoch}:%{version}-%{release}
137 Conflicts: SysVinit < 2.86-11
138 Conflicts: kernel < %{min_kernel}
140 Conflicts: kernel24-smp
141 Conflicts: ld.so < 1.9.9-10
142 Conflicts: man-pages < 1.43
143 Conflicts: poldek < 0.18.8-5
144 Conflicts: rc-scripts < 0.3.1-13
146 Conflicts: xorg-driver-video-nvidia-libs < 1:295.33
147 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} x32 ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64 armv5tel
148 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
150 # avoid -s here (ld.so must not be stripped to allow any program debugging)
151 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
152 # disable -D_FORTIFY_SOURCE=X and -fstack-protector
153 %define _fortify_cflags %{nil}
154 %define _ssp_cflags %{nil}
156 %define specflags_sparcv9 -mcpu=ultrasparc -mvis -fcall-used-g6
157 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
159 # ld.so needs not to be stripped to work
160 # gdb needs unstripped libpthread for some threading support
161 # ...but we can strip at least debuginfo from them
162 %define _autostripdebug .*/ld-[0-9.]*so\\|.*/libpthread-[0-9.]*so
164 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
165 %ifarch sparc sparcv9
166 %{expand:%%define __cc %{__cc} -m32}
170 %define specflags_ia32 -mno-tls-direct-seg-refs
171 %define specflags_x86_64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
172 %define specflags_amd64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
173 %define specflags_ia32e -mno-tls-direct-seg-refs
175 # we don't want perl dependency in glibc-devel
176 %define _noautoreqfiles %{_bindir}/mtrace
177 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
178 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
179 # patched not to crash on partial hardlinks too)
180 %define _hack_dontneed_PartialHardlinkSets 1
181 %define _noautochrpath .*\\(ldconfig\\|sln\\)
183 %define _noautoprov .*\(GLIBC_PRIVATE\)
184 %define _noautoreq .*\(GLIBC_PRIVATE\)
187 Contains the standard libraries that are used by multiple programs on
188 the system. In order to save disk space and memory, as well as to ease
189 upgrades, common system code is kept in one place and shared between
190 programs. This package contains the most important sets of shared
191 libraries, the standard C library and the standard math library.
192 Without these, a Linux system will not function. It also contains
193 national language (locale) support.
195 Can be used on: Linux kernel >= %{min_kernel}.
197 %description -l es.UTF-8
198 Contiene las bibliotecas estándared que son usadas por varios
199 programas del sistema. Para ahorrar el espacio en el disco y la
200 memoria, igual que para facilitar actualizaciones, código común del
201 sistema se guarda en un sitio y es compartido entre los programas.
202 Este paquete contiene las bibliotecas compartidas más importantes, es
203 decir la biblioteca C estándar y la biblioteca estándar de matemática.
204 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
205 soporte de idiomas nacionales (locale).
207 Puede usarse con: núcleo Linux >= %{min_kernel}.
209 %description -l de.UTF-8
210 Enthält die Standard-Libraries, die von verschiedenen Programmen im
211 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
212 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
213 einer einzigen Stelle gespeichert und wird von den Programmen
214 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
215 shared Libraries, die Standard-C-Library und die
216 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
217 Ferner enthält es den Support für die verschiedenen Sprachgregionen
220 Can be used on: Linux kernel >= %{min_kernel}.
222 %description -l fr.UTF-8
223 Contient les bibliothèques standards utilisées par de nombreux
224 programmes du système. Afin d'économiser l'espace disque et mémoire,
225 et de faciliter les mises à jour, le code commun au système est mis à
226 un endroit et partagé entre les programmes. Ce paquetage contient les
227 bibliothèques partagées les plus importantes, la bibliothèque standard
228 du C et la bibliothèque mathématique standard. Sans celles-ci, un
229 système Linux ne peut fonctionner. Il contient aussi la gestion des
230 langues nationales (locales).
232 Can be used on: Linux kernel >= %{min_kernel}.
234 %description -l ja.UTF-8
236 パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
237 ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
238 用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
239 間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
240 重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
241 この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc
242 パッケージはまた地域言語 (locale) サポートとタイムゾーンデータベース
245 Can be used on: Linux kernel >= %{min_kernel}.
247 %description -l pl.UTF-8
248 W pakiecie znajdują się podstawowe biblioteki, używane przez różne
249 programy w Twoim systemie. Używanie przez programy bibliotek z tego
250 pakietu oszczędza miejsce na dysku i pamięć. Większość kodu
251 systemowego jest usytuowane w jednym miejscu i dzielone między wieloma
252 programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek
253 standardowych, współdzielonych (dynamicznych) bibliotek C i
254 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować.
255 Znajdują się tutaj również definicje różnych informacji dla wielu
258 Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}.
260 %description -l ru.UTF-8
261 Содержит стандартные библиотеки, используемые многочисленными
262 программами в системе. Для того, чтобы сохранить дисковое пространство
263 и память, а также для простоты обновления, системный код, общий для
264 всех программ, хранится в одном месте и коллективно используется всеми
265 программами. Этот пакет содержит наиболее важные из разделяемых
266 библиотек - стандартную библиотеку C и стандартную библиотеку
267 математики. Без этих библиотек Linux функционировать не будет. Также
268 пакет содержит поддержку национальных языков (locale).
270 Can be used on: Linux kernel >= %{min_kernel}.
272 %description -l tr.UTF-8
273 Bu paket, birçok programın kullandığı standart kitaplıkları içerir.
274 Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme
275 işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde
276 tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak
277 kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını
278 içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel
279 dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır.
281 Can be used on: Linux kernel >= %{min_kernel}.
283 %description -l uk.UTF-8
284 Містить стандартні бібліотеки, котрі використовуються численними
285 програмами в системі. Для того, щоб зберегти дисковий простір та
286 пам'ять, а також для простоти поновлення системи, системний код,
287 спільний для всіх програм, зберігається в одному місці і колективно
288 використовується всіма програмами. Цей пакет містить найбільш важливі
289 з динамічних бібліотек - стандартну бібліотеку С та стандартну
290 бібліотеку математики. Без цих бібліотек Linux функціонувати не буде.
291 Також пакет містить підтримку національних мов (locale).
293 Can be used on: Linux kernel >= %{min_kernel}.
296 Summary: Utilities and data used by glibc
297 Summary(pl.UTF-8): Narzędzia i dane używane przez glibc
298 Group: Applications/System
299 Requires: %{name} = %{epoch}:%{version}-%{release}
301 Conflicts: %{name}(x32)
302 Conflicts: %{name}(x86_64)
306 Utilities and data used by glibc.
308 %description misc -l pl.UTF-8
309 Narzędzia i dane używane przez glibc.
312 Summary: glibc library for crypt(3)
313 Summary(pl.UTF-8): Biblioteka glibc z funkcją crypt(3)
315 Requires: %{name} = %{epoch}:%{version}-%{release}
316 Provides: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
318 Provides: %{name}-libcrypt(ix86) = %{epoch}:%{version}-%{release}
320 Provides: crypt(blowfish)
322 %description libcrypt
323 glibc library for crypt(3).
325 %description libcrypt -l pl.UTF-8
326 Biblioteka glibc z funkcją crypt(3).
329 Summary: Create shared library cache and maintains symlinks
330 Summary(de.UTF-8): Erstellt ein shared library cache und verwaltet symlinks
331 Summary(fr.UTF-8): Crée un cache de bibliothčque partagée et gčre *.so
332 Summary(pl.UTF-8): Tworzenie cache'u bibliotek dynamicznych i ich dowiązań symbolicznych
333 Summary(tr.UTF-8): Ortak kitaplýk önbelleđi yaratýr ve bađlantýlarý kurar
334 Group: Applications/System
335 # This is needed because previous package (glibc) had autoreq false and had
336 # provided this manually. Probably poldek bug that have to have it here.
337 Provides: /sbin/ldconfig
338 # we want FHS being installed before ldconfig, altho they are both unrelated to each-other.
341 %description -n ldconfig
342 ldconfig scans a running system and sets up the symbolic links that
343 are used to load shared libraries properly. It also creates
344 /etc/ld.so.cache which speeds the loading programs which use shared
347 %description -n ldconfig -l de.UTF-8
348 ldconfig scannt ein laufendes System und richtet die symbolischen
349 Verknüpfungen zum Laden der gemeinsam genutzten Libraries ein.
350 Außerdem erstellt es /etc/ld.so.cache, was das Laden von Programmen
351 mit gemeinsam genutzten Libraries beschleunigt.
353 %description -n ldconfig -l fr.UTF-8
354 ldconfig analyse un systčme et configure les liens symboliques
355 utilisés pour charger correctement les bibliothčques partagées. Il
356 crée aussi /etc/ld.so.cache qui accélčre le chargement des programmes
357 utilisant les bibliothčques partagées.
359 %description -n ldconfig -l pl.UTF-8
360 ldconfig testuje uruchomiony system i tworzy dowiązania symboliczne,
361 które są następnie używane do poprawnego ładowania bibliotek
362 dynamicznych. Program ten tworzy plik /etc/ld.so.cache, który
363 przyśpiesza ładowanie programów korzystających z bibliotek
366 %description -n ldconfig -l tr.UTF-8
367 ldconfig, çalýţmakta olan sistemi araţtýrýr ve ortak kitaplýklarýn
368 düzgün bir ţekilde yüklenmesi için gereken simgesel bađlantýlarý
369 kurar. Ayrýca ortak kitaplýklarý kullanan programlarýn yüklenmesini
370 hýzlandýran /etc/ld.so.cache dosyasýný yaratýr.
373 Summary: Additional libraries required to compile
374 Summary(de.UTF-8): Weitere Libraries zum Kompilieren
375 Summary(es.UTF-8): Bibliotecas adicionales necesarias para la compilación
376 Summary(fr.UTF-8): Librairies supplémentaires nécessaires à la compilation
377 Summary(ja.UTF-8): 標準 C ライブラリで使われるヘッダーとオブジェクトファイル
378 Summary(pl.UTF-8): Dodatkowe biblioteki wymagane podczas kompilacji
379 Summary(ru.UTF-8): Дополнительные библиотеки, необходимые для компиляции
380 Summary(tr.UTF-8): Geliştirme için gerekli diğer kitaplıklar
381 Summary(uk.UTF-8): Додаткові бібліотеки, потрібні для компіляції
382 Group: Development/Libraries
383 Requires: %{name} = %{epoch}:%{version}-%{release}
384 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
385 Requires: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
386 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
387 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
389 Provides: %{name}-devel(ix86) = %{epoch}:%{version}-%{release}
391 Obsoletes: libiconv-devel
394 To develop programs which use the standard C libraries (which nearly
395 all programs do), the system needs to have these standard header files
396 and object files available for creating the executables.
398 %description devel -l de.UTF-8
399 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
400 verwenden (also fast alle), benötigt das System diese Standard-Header-
401 und Objektdateien zum Erstellen der ausführbaren Programme.
403 %description devel -l es.UTF-8
404 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
405 cual hacen prácticamente todos los programas), el sistema necesita
406 disponer de estos ficheros de cabecera y de objetos para crear los
409 %description devel -l fr.UTF-8
410 Pour développer des programmes utilisant les bibliothèques standard du
411 C (ce que presque tous les programmes font), le système doit posséder
412 ces fichiers en-têtes et objets standards pour créer les exécutables.
414 %description devel -l ja.UTF-8
415 glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C
416 ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト
418 ライブラリを使用するプログラムを開発するなら
419 実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル
422 %description devel -l pl.UTF-8
423 Pakiet ten jest niezbędny przy tworzeniu własnych programów
424 korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki
425 nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów
426 wykonywalnych i innych bibliotek.
428 %description devel -l ru.UTF-8
429 Для разработки программ, использующих стандартные библиотеки C (а
430 практически все программы их используют), системе НЕОБХОДИМЫ хедеры и
431 объектные файлы, содержащиеся в этом пакете, чтобы создавать
434 %description devel -l tr.UTF-8
435 C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar
436 geliştirmek için gereken standart başlık dosyaları ve statik
439 %description devel -l uk.UTF-8
440 Для розробки програм, що використовують стандартні бібліотеки C
441 (практично всі програми їх використовують), системі НЕОБХІДНІ хедери
442 та об'єктні файли, що містяться в цьому пакеті, цоб створювати
446 Summary: Header files for development using standard C libraries
447 Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C
448 Group: Development/Building
449 Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
451 Provides: %{name}-headers(ix86) = %{epoch}:%{version}-%{release}
454 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
455 # have to be installed, not ix86 one.
456 Obsoletes: glibc-headers(athlon)
457 Obsoletes: glibc-headers(i386)
458 Obsoletes: glibc-headers(i486)
459 Obsoletes: glibc-headers(i586)
460 Obsoletes: glibc-headers(i686)
461 Obsoletes: glibc-headers(pentium3)
462 Obsoletes: glibc-headers(pentium4)
463 Obsoletes: glibc-headers(ix86)
466 Obsoletes: glibc-headers(x86_64)
469 Obsoletes: glibc-headers(ppc)
472 Obsoletes: glibc-headers(s390)
475 Obsoletes: glibc-headers(sparc)
477 Requires: linux-libc-headers >= %{llh_version}
480 The glibc-headers package contains the header files necessary for
481 developing programs which use the standard C libraries (which are used
482 by nearly all programs). If you are developing programs which will use
483 the standard C libraries, your system needs to have these standard
484 header files available in order to create the executables.
486 Install glibc-headers if you are going to develop programs which will
487 use the standard C libraries.
489 %description headers -l pl.UTF-8
490 Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania
491 programów używających standardowych bibliotek C (używanych przez
492 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
493 standardowych bibliotek C, system wymaga dostępności tych
494 standardowych plików nagłówkowych do tworzenia programów
497 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
498 korzystające ze standardowych bibliotek C.
501 Summary: Utilities needed for development using standard C libraries
502 Summary(pl.UTF-8): Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C
503 Group: Development/Libraries
504 Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
506 Provides: %{name}-devel-utils(ix86) = %{epoch}:%{version}-%{release}
509 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
510 # have to be installed, not ix86 one.
511 Obsoletes: glibc-devel-utils(athlon)
512 Obsoletes: glibc-devel-utils(i386)
513 Obsoletes: glibc-devel-utils(i486)
514 Obsoletes: glibc-devel-utils(i586)
515 Obsoletes: glibc-devel-utils(i686)
516 Obsoletes: glibc-devel-utils(pentium3)
517 Obsoletes: glibc-devel-utils(pentium4)
518 Obsoletes: glibc-devel-utils(ix86)
521 Obsoletes: glibc-devel-utils(x86_64)
524 Obsoletes: glibc-devel-utils(ppc)
527 Obsoletes: glibc-devel-utils(s390)
530 Obsoletes: glibc-devel-utils(sparc)
533 %description devel-utils
534 The glibc-devel-utils package contains utilities necessary for
535 developing programs which use the standard C libraries (which are used
536 by nearly all programs). If you are developing programs which will use
537 the standard C libraries, your system needs to have these utilities
540 Install glibc-devel-utils if you are going to develop programs which
541 will use the standard C libraries.
543 %description devel-utils -l pl.UTF-8
544 Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania
545 programów używających standardowych bibliotek C (używanych przez
546 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
547 standardowych bibliotek C, system wymaga dostępności tych narzędzi do
548 tworzenia programów wykonywalnych.
550 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
551 korzystające ze standardowych bibliotek C.
554 Summary: Documentation needed for development using standard C libraries
555 Summary(pl.UTF-8): Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C
557 Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
559 Provides: %{name}-devel-doc(ix86) = %{epoch}:%{version}-%{release}
562 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
563 # have to be installed, not ix86 one.
564 Obsoletes: glibc-devel-doc(athlon)
565 Obsoletes: glibc-devel-doc(i386)
566 Obsoletes: glibc-devel-doc(i486)
567 Obsoletes: glibc-devel-doc(i586)
568 Obsoletes: glibc-devel-doc(i686)
569 Obsoletes: glibc-devel-doc(pentium3)
570 Obsoletes: glibc-devel-doc(pentium4)
571 Obsoletes: glibc-devel-doc(ix86)
574 Obsoletes: glibc-devel-doc(x86_64)
577 Obsoletes: glibc-devel-doc(ppc)
580 Obsoletes: glibc-devel-doc(s390)
583 Obsoletes: glibc-devel-doc(sparc)
586 %description devel-doc
587 The glibc-devel-doc package contains info and manual pages necessary
588 for developing programs which use the standard C libraries (which are
589 used by nearly all programs).
591 Install glibc-devel-doc if you are going to develop programs which
592 will use the standard C libraries.
594 %description devel-doc -l pl.UTF-8
595 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
596 rozwijania programów używających standardowych bibliotek C (używanych
597 przez prawie wszystkie programy).
599 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
600 korzystające ze standardowych bibliotek C.
603 Summary: Name Service Caching Daemon
604 Summary(es.UTF-8): Demonio de caché del servicio de nombres
605 Summary(ja.UTF-8): ネームサービスキャッシングデーモン (nacd)
606 Summary(pl.UTF-8): Demon zapamiętujący odpowiedzi serwisów nazw
607 Summary(ru.UTF-8): Кэширующий демон сервисов имен
608 Summary(uk.UTF-8): Кешуючий демон севісів імен
610 Group: Networking/Daemons
611 Requires(post): fileutils
612 Requires(post,preun): /sbin/chkconfig
613 Requires(postun): /usr/sbin/groupdel
614 Requires(postun): /usr/sbin/userdel
615 Requires(pre): /bin/id
616 Requires(pre): /usr/bin/getgid
617 Requires(pre): /usr/sbin/groupadd
618 Requires(pre): /usr/sbin/useradd
619 Requires: %{name} = %{epoch}:%{version}-%{release}
620 %{?with_selinux:Requires: libselinux >= 1.18}
621 Requires: rc-scripts >= 0.4.3.0
622 Provides: group(nscd)
628 nscd caches name service lookups; it can dramatically improve
629 performance with NIS+, and may help with DNS as well.
631 %description -n nscd -l es.UTF-8
632 nscd guarda las peticiones del servicio de nombres en una caché; eso
633 puede aumentar drásticamente las prestaciones de NIS+, y también puede
636 %description -n nscd -l ja.UTF-8
637 Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
638 ドラマティックに改善することができ、DNS を同様に補助します。
640 %description -n nscd -l pl.UTF-8
641 nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
642 drastycznie poprawić szybkość działania NIS+.
644 %description -n nscd -l ru.UTF-8
645 nscd кэширует результаты запросов к сервисам имен; это может резко
646 увеличить производительность работы с NIS+ и, также, может помочь с
649 %description -n nscd -l uk.UTF-8
650 nscd кешує результати запросів до сервісів імен; це може сильно
651 збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS.
653 %package -n localedb-src
654 Summary: locale database source code
655 Summary(es.UTF-8): Código fuente de la base de datos de los locales
656 Summary(pl.UTF-8): Kod źródłowy bazy locale
658 Requires: %{name} = %{epoch}:%{version}-%{release}
663 %description -n localedb-src
664 This add-on package contains the data needed to build the locale data
665 files to use the internationalization features of the GNU libc.
667 %description -n localedb-src -l es.UTF-8
668 Este paquete adicional contiene los datos necesarios para construir
669 los ficheros de locale, imprescindibles para usar las cualidades de
670 internacionalización de GNU libc.
672 %description -n localedb-src -l pl.UTF-8
673 Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików
674 lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU
677 %package localedb-all
678 Summary: locale database for all locales supported by glibc
679 Summary(es.UTF-8): Base de datos de todos los locales soportados por glibc
680 Summary(pl.UTF-8): Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc
682 Requires: %{name} = %{epoch}:%{version}-%{release}
683 Requires: iconv = %{epoch}:%{version}-%{release}
686 %description localedb-all
687 This package contains locale database for all locales supported by
688 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
689 something smaller with support for chosen locales only, consider
690 installing localedb-src and regenerating database using localedb-gen
691 script (when database is generated, localedb-src can be uninstalled).
693 %description localedb-all -l es.UTF-8
694 Este paquete contiene una base de datos de todos los locales
695 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
696 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
697 locales elegidos, considérese instalar localedb-src y regenerar la
698 base de datos usando el escript localedb-gen (una vez que la base de
699 datos esté creada, localedb-src se podrá desinstalar).
701 %description localedb-all -l pl.UTF-8
702 Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji
703 obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik
704 (około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych
705 lokalizacji, należy zainstalować pakiet localedb-src i przegenerować
706 bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy
707 pakiet localedb-src można odinstalować).
710 Summary: Convert encoding of given files from one encoding to another
711 Summary(es.UTF-8): Convierte entre varias codificaciones de los ficheros dados
712 Summary(pl.UTF-8): Moduły do konwersji plików tekstowych z jednego kodowania do innego
714 Requires: %{name} = %{epoch}:%{version}-%{release}
715 Provides: iconv(%{_target_base_arch})
717 %description -n iconv
718 Convert encoding of given files from one encoding to another. You need
719 this package if you want to convert some document from one encoding to
720 another or if you have installed some programs which use Generic
721 Character Set Conversion Interface.
723 %description -n iconv -l es.UTF-8
724 Convierte la codificación de dados ficheros. Necesita este paquete si
725 quiere convertir un documento entre una codificación (juego de
726 caracteres) y otra, o si tiene instalado algún programa que usa el
727 Generic Character Set Conversion Interface (interfaz genérica de
728 conversión de juegos de caracteres).
730 %description -n iconv -l pl.UTF-8
731 Moduły do konwersji plików tekstowych z jednego kodowania do innego.
732 Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję
733 dokumentów z jednego kodowania do innego lub do używania programów
734 korzystających z Generic Character Set Conversion Interface w glibc,
735 czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję
736 kodowania danych z poziomu dowolnego programu.
739 Summary: Static GNU libc libraries
740 Summary(es.UTF-8): Bibliotecas estáticas
741 Summary(pl.UTF-8): Biblioteki statyczne GNU libc
742 Summary(ru.UTF-8): Статические библиотеки glibc
743 Summary(uk.UTF-8): Статичні бібліотеки glibc
744 Group: Development/Libraries
745 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
746 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
748 Provides: %{name}-static(ix86) = %{epoch}:%{version}-%{release}
750 Obsoletes: libiconv-static
753 GNU libc static libraries.
755 %description static -l es.UTF-8
756 Bibliotecas estáticas de GNU libc.
758 %description static -l pl.UTF-8
759 Biblioteki statyczne GNU libc.
761 %description static -l ru.UTF-8
762 Это отдельный пакет со статическими библиотеками, которые больше не
763 входят в glibc-devel.
765 %description static -l uk.UTF-8
766 Це окремий пакет зі статичними бібліотеками, що більше не входять в
770 Summary: glibc with profiling support
771 Summary(de.UTF-8): glibc mit Profil-Unterstützung
772 Summary(es.UTF-8): glibc con soporte de perfilamiento
773 Summary(fr.UTF-8): glibc avec support pour profiling
774 Summary(pl.UTF-8): glibc ze wsparciem dla profilowania
775 Summary(ru.UTF-8): GNU libc с поддержкой профайлера
776 Summary(tr.UTF-8): Ölçüm desteği olan glibc
777 Summary(uk.UTF-8): GNU libc з підтримкою профайлера
778 Group: Development/Libraries/Libc
779 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
780 Obsoletes: libc-profile
783 When programs are being profiled using gprof, they must use these
784 libraries instead of the standard C libraries for gprof to be able to
785 profile them correctly.
787 %description profile -l de.UTF-8
788 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
789 Libraries anstelle der üblichen C-Libraries verwendet werden.
791 %description profile -l es.UTF-8
792 Cuando programas son perfilidas usando gprof, tienen que usar estas
793 biblioteces en vez de las estándares para que gprof pueda perfilarlas
796 %description profile -l pl.UTF-8
797 Programy profilowane za pomocą gprof muszą używać tych bibliotek
798 zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je
801 %description profile -l uk.UTF-8
802 Коли програми досліджуються профайлером gprof, вони повинні
803 використовувати замість стандартних бібліотек бібліотеки, що містяться
804 в цьому пакеті. При використанні стандартних бібліотек gprof замість
805 реальних результатів буде показувати ціни на папайю в Гонолулу в
808 %description profile -l tr.UTF-8
809 gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu
810 kitaplığı kullanmak zorundadırlar.
812 %description profile -l ru.UTF-8
813 Когда программы исследуются профайлером gprof, они должны
814 использовать, вместо стандартных библиотек, библиотеки, включенные в
815 этот пакет. При использовании стандартных библиотек gprof вместо
816 реальных результатов будет показывать цены на папайю в Гонолулу в
820 Summary: glibc PIC archive
821 Summary(es.UTF-8): Archivo PIC de glibc
822 Summary(pl.UTF-8): Archiwum PIC glibc
823 Group: Development/Libraries/Libc
824 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
827 GNU C Library PIC archive contains an archive library (ar file)
828 composed of individual shared objects. This is used for creating a
829 library which is a smaller subset of the standard libc shared library.
831 %description pic -l es.UTF-8
832 El archivo PIC de la biblioteca glibc contiene una biblioteca
833 archivada (un fichero ar) compuesta de individuales objetos
834 compartidos. Es usado para crear una biblioteca que sea un subconjunto
835 más pequeño de la biblioteca libc compartida estándar.
837 %description pic -l pl.UTF-8
838 Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar)
839 złożoną z pojedynczych obiektów współdzielonych. Używana jest do
840 tworzenia biblioteki będącej mniejszym podzestawem standardowej
841 biblioteki współdzielonej libc.
843 %package -n nss_compat
844 Summary: Old style NYS NSS glibc module
845 Summary(es.UTF-8): El antiguo módulo NYS NSS de glibc
846 Summary(pl.UTF-8): Stary moduł NYS NSS glibc
848 Requires: %{name} = %{epoch}:%{version}-%{release}
850 %description -n nss_compat
851 Old style NYS NSS glibc module.
853 %description -n nss_compat -l es.UTF-8
854 El antiguo módulo NYS NSS de glibc
856 %description -n nss_compat -l pl.UTF-8
857 Stary moduł NYS NSS glibc.
860 Summary: BIND NSS glibc module
861 Summary(es.UTF-8): Módulo BIND NSS de glibc
862 Summary(pl.UTF-8): Moduł BIND NSS glibc
864 Requires: %{name} = %{epoch}:%{version}-%{release}
866 %description -n nss_dns
867 BIND NSS glibc module.
869 %description -n nss_dns -l es.UTF-8
870 Módulo BIND NSS de glibc.
872 %description -n nss_dns -l pl.UTF-8
873 Moduł BIND NSS glibc.
875 %package -n nss_files
876 Summary: Traditional files databases NSS glibc module
877 Summary(es.UTF-8): Módulo de tradicionales bases de datos en ficheros para glibc
878 Summary(pl.UTF-8): Moduł tradycyjnych plikowych baz danych NSS glibc
880 Requires: %{name} = %{epoch}:%{version}-%{release}
882 %description -n nss_files
883 Traditional files databases NSS glibc module.
885 %description -n nss_files -l es.UTF-8
886 Módulo de tradicionales bases de datos en ficheros para glibc.
888 %description -n nss_files -l pl.UTF-8
889 Moduł tradycyjnych plikowych baz danych NSS glibc.
891 %package -n nss_hesiod
892 Summary: hesiod NSS glibc module
893 Summary(es.UTF-8): Módulo hesiod NSS de glibc
894 Summary(pl.UTF-8): Moduł hesiod NSS glibc
896 Requires: %{name} = %{epoch}:%{version}-%{release}
898 %description -n nss_hesiod
899 glibc NSS (Name Service Switch) module for databases access.
901 %description -n nss_hesiod -l es.UTF-8
902 Módulo hesiod NSS de glibc.
904 %description -n nss_hesiod -l pl.UTF-8
905 Moduł glibc NSS (Name Service Switch) dostępu do baz danych.
908 Summary: NIS(YP) NSS glibc module
909 Summary(es.UTF-8): Módulo NIS(YP) NSS de glibc
910 Summary(pl.UTF-8): Moduł NIS(YP) NSS glibc
912 Requires: %{name} = %{epoch}:%{version}-%{release}
914 %description -n nss_nis
915 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
917 %description -n nss_nis -l es.UTF-8
918 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
920 %description -n nss_nis -l pl.UTF-8
921 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS(YP).
923 %package -n nss_nisplus
924 Summary: NIS+ NSS module
925 Summary(es.UTF-8): Módulo NIS+ NSS
926 Summary(pl.UTF-8): Moduł NIS+ NSS
928 Requires: %{name} = %{epoch}:%{version}-%{release}
930 %description -n nss_nisplus
931 glibc NSS (Name Service Switch) module for NIS+ databases access.
933 %description -n nss_nisplus -l es.UTF-8
934 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
937 %description -n nss_nisplus -l pl.UTF-8
938 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS+.
941 Summary: Memory usage profiler
942 Summary(pl.UTF-8): Narzędzie do profilowania zużycia pamięci
943 Group: Development/Tools
944 Requires: %{name} = %{epoch}:%{version}-%{release}
946 %description memusage
947 Memory usage profiler.
949 %description memusage -l pl.UTF-8
950 Narzędzie do profilowania zużycia pamięci.
955 %if "%{min_kernel}" < "2.6.32"
956 echo "Minimal supported kernel is 2.6.32" >&2
996 # cleanup backups after patching
997 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1002 # glibc has its own way to remove PLT relocations. / H. J. Lu.
1003 unset LD_SYMBOLIC_FUNCTIONS || :
1005 cp -f /usr/share/automake/config.sub scripts
1013 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
1016 # force ld bfd (instead of gold)
1017 install -d alt-tools
1018 ln -sf %{_bindir}/ld.bfd alt-tools/ld
1019 PATH=$(pwd)/alt-tools:$PATH; export PATH
1023 --enable-add-ons=libidn \
1025 --enable-experimental-malloc \
1026 --enable-hidden-plt \
1027 --enable-kernel="%{min_kernel}" \
1028 --enable-nss-crypt%{!?with_nss_crypt:=no} \
1029 --enable-obsolete-rpc \
1031 --enable-stackguard-randomization \
1032 --with-binutils=$(pwd)/alt-tools \
1033 --with-bugurl=http://bugs.pld-linux.org/ \
1034 --with-headers=%{_includedir} \
1035 --with-selinux%{!?with_selinux:=no} \
1040 localedir=%{_prefix}/lib/locale \
1046 env LANGUAGE=C LC_ALL=C \
1047 %{__make} -j1 -C builddir tests
1050 %if %{without cross}
1052 diet ${CC#*ccache } %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
1056 rm -rf $RPM_BUILD_ROOT
1057 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,default,logrotate.d,init} \
1058 $RPM_BUILD_ROOT{%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd} \
1059 $RPM_BUILD_ROOT{/var/cache/ldconfig,%{systemdtmpfilesdir}}
1062 env LANGUAGE=C LC_ALL=C \
1064 install_root=$RPM_BUILD_ROOT \
1065 localedir=%{_prefix}/lib/locale \
1066 infodir=%{_infodir} \
1069 %if %{with localedb}
1070 env LANGUAGE=C LC_ALL=C \
1071 %{__make} localedata/install-locales \
1072 localedir=%{_prefix}/lib/locale \
1073 install_root=$RPM_BUILD_ROOT
1075 install -d $RPM_BUILD_ROOT%{_prefix}/lib/locale
1078 PICFILES="libc_pic.a libc.map
1079 math/libm_pic.a libm.map
1080 resolv/libresolv_pic.a"
1082 install -p $PICFILES $RPM_BUILD_ROOT%{_libdir}
1083 install -p elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
1084 install -p elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
1086 # Include %{_libdir}/gconv/gconv-modules.cache
1087 $(pwd)/elf/ld.so --library-path $(pwd) ./iconv/iconvconfig --nostdlib --prefix=$RPM_BUILD_ROOT %{_libdir}/gconv -o $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.cache
1090 %if %{without cross}
1091 install -p glibc-postinst $RPM_BUILD_ROOT/sbin
1094 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
1095 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
1097 # make symlinks across top-level directories absolute
1098 for l in BrokenLocale anl cidn crypt dl m nsl resolv rt thread_db util; do
1099 test -L $RPM_BUILD_ROOT%{_libdir}/lib${l}.so || exit 1
1100 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1101 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib${l}.so.*) $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1104 # linking nss modules directly is not supported
1105 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1107 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
1108 cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/init/nscd.conf
1109 cp -a %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
1110 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1111 cp -a nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
1112 cp -a posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
1113 cp -a nis/nss $RPM_BUILD_ROOT/etc/default/nss
1114 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
1116 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1117 : > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
1118 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
1119 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
1120 : > $RPM_BUILD_ROOT/var/cache/ldconfig/aux-cache
1122 # doesn't fit with out tzdata concept and configure.in is stupid assuming bash
1123 # is first posix compatible shell making this script depend on bash.
1124 %{__rm} $RPM_BUILD_ROOT%{_bindir}/tzselect
1125 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tzselect.8*
1126 %{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man8/tzselect.8*
1128 : > $RPM_BUILD_ROOT/var/log/nscd
1129 : > $RPM_BUILD_ROOT/var/lib/nscd/passwd
1130 : > $RPM_BUILD_ROOT/var/lib/nscd/group
1131 : > $RPM_BUILD_ROOT/var/lib/nscd/hosts
1133 install %{SOURCE9} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/nscd.conf
1135 rm -rf documentation
1136 install -d documentation
1138 for f in ChangeLog.old DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
1139 cp -af nptl/$f documentation/$f.nptl
1141 cp -af crypt/README.ufc-crypt ChangeLog* documentation
1143 # Collect locale files and mark them with %%lang()
1144 echo '%defattr(644,root,root,755)' > glibc.lang
1145 for i in $RPM_BUILD_ROOT%{_localedir}/*; do
1148 dir="${i#$RPM_BUILD_ROOT}"
1149 echo "%lang($lang) $dir" >> glibc.lang
1154 # Languages not supported by glibc locales, but usable via $LANGUAGE:
1155 # ang - Old English (gtk+, gnome)
1156 # ca@valencia (gtk+, gnome; as ca_ES@valencia in FileZilla; locale exists in Debian)
1157 # en@shaw - English with Shavian alphabet (gnome)
1159 # tlh - Klingon (bzflag)
1161 # To be added when they become supported by glibc:
1164 # bal (newt,pessulus)
1167 # frp (xfce, lxlauncher)
1168 # gn (gn_BR in gnome, maybe gn_PY)
1169 # haw (iso-codes, stellarium)
1172 # io (gtk+2, gnome, alacarte)
1173 # jv (gmpc, avant-window-navigator, kdesudo)
1175 # man (ccsm; incorrectly named md)
1177 # nah (mate-system-monitor)
1179 # sco (gnomad2, picard, stellarium)
1184 # vec (mate-applet-indicator)
1186 # To be removed (after fixing packages still using it):
1187 # sr@Latn (use sr@latin instead)
1188 # sr@ije (use sr@ijekavian instead)
1190 # Short forms (omitted country code, used instead of long form) for ambiguous or unclear cases:
1192 # ar=common? (AE, BH, DZ, EG, IQ, JO, KW, LB, LY, MA, OM, QA, SA, SD, SY, TN, YE)
1195 # bo=bo_CN? (or common for CN, IN?)
1200 # en=common? (en_AU, en_CA, en_GB, en_NZ, en_US are used for particular variants)
1221 # sr=sr_RS [cyrillic]
1222 # sr@latin=sr_RS@latin
1223 # sr@ijekavian=sr_BA@ijekavian
1224 # sr@ijekavianlatin=sr_BA@ijekavianlatin
1226 # sw=sw_TZ (or common for KE, TZ, UG?)
1232 # zh: no short code used (use zh_CN, zh_HK, zh_SG[not included yet], zh_TW)
1234 # Omitted here - already existing (with libc.mo):
1235 # 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
1238 for i in aa aa@saaho af am an ang ar ar_TN as ast az az_IR be@latin be@tarask bem \
1239 bg bho bn bn_IN bo br brx bs byn ca@valencia ckb cmn crh csb cv cy de_AT de_CH doi dv dz en \
1240 en@boldquot en@quot en@shaw en_AU en_CA en_NZ en_US eo es_AR es_CL es_CO es_CR \
1241 es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_SV es_UY \
1242 es_VE et eu fa ff fil fo fr_BE fr_CA fr_CH fur fy ga gd gez gu gv ha he \
1243 hi hne hsb hy ia id ig ik is it_CH iu ka kg kk kl km kn kok ks ku kw ky la lb \
1244 lg li lo lt lv mai mg mhr mi mk ml mn mni mr ms mt my nds ne nl_BE nn nr nso \
1245 oc om or pa pap ps pt ps quz rm ro sa sat sc sd se si sid sl so sq sr sr@Latn tl \
1246 sr@ije sr@ijekavian sr@ijekavianlatin sr@latin ss st sw ta te tg th ti \
1247 tig tk tl tlh tn ts tt tt@iqtelif ug uk ur uz uz@cyrillic ve vi wa wal wo xh yi yo \
1249 if [ ! -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_MESSAGES ]; then
1250 install -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_MESSAGES
1251 # use lang() tags with ll_CC@variant (stripping charset and @quot|@boldquot)
1252 lang=$(echo $i | sed -e 's/@quot\>\|@boldquot\>//')
1253 echo "%lang($lang) %{_localedir}/$i" >> glibc.lang
1257 # LC_TIME category, used for localized date formats (at least by coreutils)
1258 for i in af be bg ca cs da de el en eo es et eu fi fr ga gl hr hu ia id it ja kk ko lg lt \
1259 ms nb nl pl pt pt_BR ro ru rw sk sl sv tr uk vi zh_CN zh_TW; do
1260 if [ ! -d $RPM_BUILD_ROOT%{_localedir}/$i ]; then
1261 echo "%lang($lang) %{_localedir}/$i" >> glibc.lang
1263 install -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_TIME
1266 # localedb-gen infrastructure
1267 sed -e 's,@localedir@,%{_prefix}/lib/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1268 chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1269 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1271 # shutup check-files
1272 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.*
1273 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1274 # rpcinfo dropped from glibc, provided by rpcbind now
1275 %{__rm} $RPM_BUILD_ROOT%{_mandir}/{,*/}man8/rpcinfo.8
1277 # stub for man page from man-pages package to make rpm consistency check happy
1278 # don't package them here
1279 install -d $RPM_BUILD_ROOT%{_mandir}{/,/ru,/es,/fr,/ja}/man2
1280 :>$RPM_BUILD_ROOT%{_mandir}/man2/syslog.2
1281 :>$RPM_BUILD_ROOT%{_mandir}/ru/man2/syslog.2
1282 :>$RPM_BUILD_ROOT%{_mandir}/es/man2/syslog.2
1283 :>$RPM_BUILD_ROOT%{_mandir}/fr/man2/syslog.2
1284 :>$RPM_BUILD_ROOT%{_mandir}/ja/man2/syslog.2
1286 # remove links to non existant translations
1287 %{__rm} $RPM_BUILD_ROOT%{_mandir}/pl/man3/{alphasort,cfgetispeed,cfgetospeed,cfmakeraw,cfsetispeed,cfsetospeed,closelog,dn_comp,dn_expand,fscanf}.3
1288 %{__rm} $RPM_BUILD_ROOT%{_mandir}/it/man7/latin2.7
1291 rm -rf $RPM_BUILD_ROOT
1293 %if %{without cross}
1294 %post -p /sbin/postshell
1295 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
1298 %postun -p /sbin/ldconfig
1300 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1301 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1302 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1305 %triggerin -- cronie,vixie-cron,hc-cron,fcron,mcron
1306 # restart crond if glibc is upgraded, LP#721338
1307 if [ "$1" != 1 ]; then
1308 %service -q crond restart
1312 # when upgrading from glibc < 6:2.19-3 copy locale-archive
1313 # from /usr/lib64/locale to /usr/lib/locale
1314 # but only if the latter doesn't already exist
1315 %triggerpostun -p /sbin/postshell -- %{name} < 6:2.19-3
1316 -/bin/cp -an %{_libdir}/locale/locale-archive %{_prefix}/lib/locale/locale-archive
1319 %post libcrypt -p /sbin/ldconfig
1320 %postun libcrypt -p /sbin/ldconfig
1322 %post memusage -p /sbin/ldconfig
1323 %postun memusage -p /sbin/ldconfig
1325 %post -n localedb-src
1327 [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
1328 [ -f /etc/sysconfig/localedb ] && . /etc/sysconfig/localedb
1329 if [ "$SUPPORTED_LOCALES" ]; then
1333 %post devel -p /sbin/postshell
1334 -/usr/sbin/fix-info-dir -c %{_infodir}
1336 %postun devel -p /sbin/postshell
1337 -/usr/sbin/fix-info-dir -c %{_infodir}
1340 %groupadd -P nscd -g 144 -r nscd
1341 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "Name Service Cache Daemon" -g nscd nscd
1344 if [ ! -f /var/log/nscd ]; then
1347 chown root:root /var/log/nscd
1348 chmod 640 /var/log/nscd
1350 /sbin/chkconfig --add nscd
1351 %service nscd restart "Name Service Cache Daemon"
1354 if [ "$1" = "0" ]; then
1356 /sbin/chkconfig --del nscd
1360 if [ "$1" = "0" ]; then
1365 %files -f %{name}.lang
1366 %defattr(644,root,root,755)
1367 %doc README NEWS BUGS CONFORMANCE
1368 %if %{without cross}
1369 %attr(755,root,root) /sbin/glibc-postinst
1371 # TODO: package ldconfig symlinks as %ghost
1372 %attr(755,root,root) /%{_lib}/ld-%{core_version}.so
1373 # wildly arch-dependent ld.so SONAME symlink
1374 %ifarch %{ix86} sparc sparcv9 sparc64 alpha sh
1375 %attr(755,root,root) /%{_lib}/ld-linux.so.2
1378 %attr(755,root,root) /%{_lib}/ld-linux-ia64.so.2
1381 %attr(755,root,root) /%{_lib}/ld-linux-x86-64.so.2
1384 %attr(755,root,root) /%{_lib}/ld-linux-x32.so.2
1387 %attr(755,root,root) /%{_lib}/ld64.so.1
1389 %ifnarch %{ix86} sparc sparcv9 sparc64 alpha sh ia64 %{x8664} x32 ppc64 s390x %{arm}
1390 %attr(755,root,root) /%{_lib}/ld.so.1
1392 %attr(755,root,root) /%{_lib}/libBrokenLocale-%{core_version}.so
1394 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1.1
1396 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1
1398 %attr(755,root,root) /%{_lib}/libSegFault.so
1399 %attr(755,root,root) /%{_lib}/libanl-%{core_version}.so
1400 %attr(755,root,root) /%{_lib}/libanl.so.1
1401 %attr(755,root,root) /%{_lib}/libc-%{core_version}.so
1403 %attr(755,root,root) /%{_lib}/libc.so.6.1
1405 %attr(755,root,root) /%{_lib}/libc.so.6
1407 %attr(755,root,root) /%{_lib}/libcidn-%{core_version}.so
1408 %attr(755,root,root) /%{_lib}/libcidn.so.1
1409 %attr(755,root,root) /%{_lib}/libdl-%{core_version}.so
1411 %attr(755,root,root) /%{_lib}/libdl.so.2.1
1413 %attr(755,root,root) /%{_lib}/libdl.so.2
1415 %attr(755,root,root) /%{_lib}/libm-%{core_version}.so
1417 %attr(755,root,root) /%{_lib}/libm.so.6.1
1419 %attr(755,root,root) /%{_lib}/libm.so.6
1421 %attr(755,root,root) /%{_lib}/libnsl-%{core_version}.so
1423 %attr(755,root,root) /%{_lib}/libnsl.so.1.1
1425 %attr(755,root,root) /%{_lib}/libnsl.so.1
1427 %attr(755,root,root) /%{_lib}/libpthread-%{core_version}.so
1428 %attr(755,root,root) /%{_lib}/libpthread.so.0
1429 %attr(755,root,root) /%{_lib}/libresolv-%{core_version}.so
1431 %attr(755,root,root) /%{_lib}/libresolv.so.2.1
1433 %attr(755,root,root) /%{_lib}/libresolv.so.2
1435 %attr(755,root,root) /%{_lib}/librt-%{core_version}.so
1436 %attr(755,root,root) /%{_lib}/librt.so.1
1437 %attr(755,root,root) /%{_lib}/libthread_db-1.0.so
1438 %attr(755,root,root) /%{_lib}/libthread_db.so.1
1439 %attr(755,root,root) /%{_lib}/libutil-%{core_version}.so
1441 %attr(755,root,root) /%{_lib}/libutil.so.1.1
1443 %attr(755,root,root) /%{_lib}/libutil.so.1
1445 %dir %{_prefix}/lib/locale
1448 %defattr(644,root,root,755)
1449 %attr(755,root,root) %{_bindir}/makedb
1450 %attr(755,root,root) /%{_lib}/libnss_db-%{core_version}.so
1451 %attr(755,root,root) /%{_lib}/libnss_db.so.2
1455 %defattr(644,root,root,755)
1456 %attr(755,root,root) /%{_lib}/libnss_dns-%{core_version}.so
1457 %attr(755,root,root) /%{_lib}/libnss_dns.so.2
1459 #%files -n nss_files
1460 %defattr(644,root,root,755)
1461 %attr(755,root,root) /%{_lib}/libnss_files-%{core_version}.so
1462 %attr(755,root,root) /%{_lib}/libnss_files.so.2
1464 %defattr(644,root,root,755)
1466 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1467 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1468 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/default/nss
1470 %config %{_sysconfdir}/rpc
1472 %attr(755,root,root) /sbin/sln
1473 %attr(755,root,root) %{_bindir}/getconf
1474 %attr(755,root,root) %{_bindir}/getent
1475 %attr(755,root,root) %{_bindir}/iconv
1476 %attr(755,root,root) %{_bindir}/locale
1477 %attr(755,root,root) %{_bindir}/rpcgen
1478 %attr(755,root,root) %{_sbindir}/zdump
1479 %attr(755,root,root) %{_sbindir}/zic
1481 %dir %{_libexecdir}/getconf
1482 %attr(755,root,root) %{_libexecdir}/getconf/*
1485 %{_localedir}/locale.alias
1487 %{_mandir}/man1/getconf.1*
1488 %{_mandir}/man1/getent.1*
1489 %{_mandir}/man1/iconv.1*
1490 %{_mandir}/man1/locale.1*
1491 %{_mandir}/man1/rpcgen.1*
1492 %{_mandir}/man5/locale.5*
1493 %{_mandir}/man5/nsswitch.conf.5*
1494 %{_mandir}/man5/tzfile.5*
1495 %{_mandir}/man7/ascii.7*
1496 %{_mandir}/man7/charsets.7*
1497 %{_mandir}/man7/iso-8859-*.7*
1498 %{_mandir}/man7/iso_8859-*.7*
1499 %{_mandir}/man7/iso_8859_*.7*
1500 %{_mandir}/man7/koi8-r.7*
1501 %{_mandir}/man7/latin*.7*
1502 %{_mandir}/man7/locale.7*
1503 %{_mandir}/man7/unicode.7*
1504 %{_mandir}/man7/utf-8.7*
1505 %{_mandir}/man7/utf8.7*
1506 %{_mandir}/man8/ld-linux.8*
1507 %{_mandir}/man8/ld-linux.so.8*
1508 %{_mandir}/man8/ld.so.8*
1509 %{_mandir}/man8/sln.8*
1510 %{_mandir}/man8/zdump.8*
1511 %{_mandir}/man8/zic.8*
1512 %lang(cs) %{_mandir}/cs/man7/*
1513 %lang(de) %{_mandir}/de/man5/tzfile.5*
1514 %lang(de) %{_mandir}/de/man7/*
1515 %lang(es) %{_mandir}/es/man5/locale.5*
1516 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1517 %lang(es) %{_mandir}/es/man5/tzfile.5*
1518 %lang(es) %{_mandir}/es/man7/*
1519 %lang(es) %{_mandir}/es/man8/ld-linux.8*
1520 %lang(es) %{_mandir}/es/man8/ld-linux.so.8*
1521 %lang(es) %{_mandir}/es/man8/ld.so.8*
1522 %lang(es) %{_mandir}/es/man8/zdump.8*
1523 %lang(es) %{_mandir}/es/man8/zic.8*
1524 %lang(fr) %{_mandir}/fr/man5/locale.5*
1525 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1526 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1527 %lang(fr) %{_mandir}/fr/man7/*
1528 %lang(fr) %{_mandir}/fr/man8/ld-linux.8*
1529 %lang(fr) %{_mandir}/fr/man8/ld-linux.so.8*
1530 %lang(fr) %{_mandir}/fr/man8/ld.so.8*
1531 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1532 %lang(fr) %{_mandir}/fr/man8/zic.8*
1533 %lang(hu) %{_mandir}/hu/man7/*
1534 %lang(hu) %{_mandir}/hu/man8/ld-linux.8*
1535 %lang(hu) %{_mandir}/hu/man8/ld-linux.so.8*
1536 %lang(hu) %{_mandir}/hu/man8/ld.so.8*
1537 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1538 %lang(it) %{_mandir}/it/man5/locale.5*
1539 %lang(it) %{_mandir}/it/man7/*
1540 %lang(it) %{_mandir}/it/man8/zdump.8*
1541 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1542 %lang(ja) %{_mandir}/ja/man5/locale.5*
1543 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1544 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1545 %lang(ja) %{_mandir}/ja/man7/*
1546 %lang(ja) %{_mandir}/ja/man8/ld-linux.8*
1547 %lang(ja) %{_mandir}/ja/man8/ld-linux.so.8*
1548 %lang(ja) %{_mandir}/ja/man8/ld.so.8*
1549 %lang(ja) %{_mandir}/ja/man8/sln.8*
1550 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1551 %lang(ja) %{_mandir}/ja/man8/zic.8*
1552 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1553 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1554 %lang(ko) %{_mandir}/ko/man7/*
1555 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1556 %lang(pl) %{_mandir}/pl/man5/locale.5*
1557 %lang(pl) %{_mandir}/pl/man7/*
1558 %lang(pl) %{_mandir}/pl/man8/ld-linux.8*
1559 %lang(pl) %{_mandir}/pl/man8/ld-linux.so.8*
1560 %lang(pl) %{_mandir}/pl/man8/ld.so.8*
1561 %lang(pt) %{_mandir}/pt/man5/locale.5*
1562 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1563 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1564 %lang(pt) %{_mandir}/pt/man7/*
1565 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1566 %lang(pt) %{_mandir}/pt/man8/zic.8*
1567 %lang(ru) %{_mandir}/ru/man1/getent.1*
1568 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1569 %lang(ru) %{_mandir}/ru/man1/locale.1*
1570 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1571 %lang(ru) %{_mandir}/ru/man5/locale.5*
1572 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1573 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1574 %lang(ru) %{_mandir}/ru/man7/*
1575 %lang(ru) %{_mandir}/ru/man8/ld-linux.so.8*
1576 %lang(ru) %{_mandir}/ru/man8/ld.so.8*
1577 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1578 %lang(ru) %{_mandir}/ru/man8/zic.8*
1579 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1580 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1581 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1582 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1583 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1584 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1585 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1588 %defattr(644,root,root,755)
1589 %attr(755,root,root) %{_bindir}/catchsegv
1590 %attr(755,root,root) %{_bindir}/ldd
1591 %attr(755,root,root) %{_bindir}/pldd
1592 %ifarch %{ix86} m68k sparc sparcv9
1593 %attr(755,root,root) %{_bindir}/lddlibc4
1595 %attr(755,root,root) %{_bindir}/sotruss
1596 %dir %{_libdir}/audit
1597 %attr(755,root,root) %{_libdir}/audit/sotruss-lib.so
1599 %{_mandir}/man1/catchsegv.1*
1600 %{_mandir}/man1/ldd.1*
1601 %lang(es) %{_mandir}/es/man1/ldd.1*
1602 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1603 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1604 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1605 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1606 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1607 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1608 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1609 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1610 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1613 %defattr(644,root,root,755)
1614 %attr(755,root,root) /%{_lib}/libcrypt-%{core_version}.so
1616 %attr(755,root,root) %ghost /%{_lib}/libcrypt.so.1.1
1618 %attr(755,root,root) %ghost /%{_lib}/libcrypt.so.1
1622 %defattr(644,root,root,755)
1623 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1624 %dir %{_sysconfdir}/ld.so.conf.d
1625 %ghost %{_sysconfdir}/ld.so.cache
1626 %attr(755,root,root) /sbin/ldconfig
1627 %{_mandir}/man8/ldconfig.8*
1628 %lang(es) %{_mandir}/es/man8/ldconfig.8*
1629 %lang(fr) %{_mandir}/fr/man8/ldconfig.8*
1630 %lang(hu) %{_mandir}/hu/man8/ldconfig.8*
1631 %lang(ja) %{_mandir}/ja/man8/ldconfig.8*
1632 %lang(pl) %{_mandir}/pl/man8/ldconfig.8*
1633 %lang(pt) %{_mandir}/pt/man8/ldconfig.8*
1634 %lang(ru) %{_mandir}/ru/man8/ldconfig.8*
1635 %dir %attr(700,root,root) /var/cache/ldconfig
1636 %attr(600,root,root) %ghost /var/cache/ldconfig/aux-cache
1638 %files -n nss_compat
1639 %defattr(644,root,root,755)
1640 %attr(755,root,root) /%{_lib}/libnss_compat-%{core_version}.so
1641 %attr(755,root,root) /%{_lib}/libnss_compat.so.2
1643 %files -n nss_hesiod
1644 %defattr(644,root,root,755)
1645 %attr(755,root,root) /%{_lib}/libnss_hesiod-%{core_version}.so
1646 %attr(755,root,root) /%{_lib}/libnss_hesiod.so.2
1649 %defattr(644,root,root,755)
1650 %attr(755,root,root) /%{_lib}/libnss_nis-%{core_version}.so
1651 %attr(755,root,root) /%{_lib}/libnss_nis.so.2
1653 %files -n nss_nisplus
1654 %defattr(644,root,root,755)
1655 %attr(755,root,root) /%{_lib}/libnss_nisplus-%{core_version}.so
1656 %attr(755,root,root) /%{_lib}/libnss_nisplus.so.2
1658 %if %{with memusage}
1660 %defattr(644,root,root,755)
1661 %attr(755,root,root) %{_bindir}/memusage*
1662 %attr(755,root,root) %{_libdir}/libmemusage.so
1666 %defattr(644,root,root,755)
1667 %attr(755,root,root) %{_libdir}/libBrokenLocale.so
1668 %attr(755,root,root) %{_libdir}/libanl.so
1669 %attr(755,root,root) %{_libdir}/libcrypt.so
1670 %attr(755,root,root) %{_libdir}/libcidn.so
1671 %attr(755,root,root) %{_libdir}/libdl.so
1672 %attr(755,root,root) %{_libdir}/libm.so
1673 %attr(755,root,root) %{_libdir}/libnsl.so
1674 %attr(755,root,root) %{_libdir}/libpcprofile.so
1675 %attr(755,root,root) %{_libdir}/libresolv.so
1676 %attr(755,root,root) %{_libdir}/librt.so
1677 %attr(755,root,root) %{_libdir}/libthread_db.so
1678 %attr(755,root,root) %{_libdir}/libutil.so
1679 %{_libdir}/crt[1in].o
1680 %{_libdir}/[MSg]crt1.o
1683 %{_libdir}/libpthread.so
1685 %{_libdir}/libc_nonshared.a
1687 %{_libdir}/libieee.a
1688 %ifarch alpha ppc sparc
1689 %{_libdir}/libnldbl_nonshared.a
1691 %{_libdir}/libpthread_nonshared.a
1692 %{_libdir}/librpcsvc.a
1693 %ifarch %{ix86} %{x8664} x32 ppc ppc64 s390 s390x sparc sparcv9 sparc64
1694 # ABI-dependent headers
1695 %{_includedir}/gnu/stubs-*.h
1699 %defattr(644,root,root,755)
1702 %{_includedir}/alpha
1706 %dir %{_includedir}/gnu
1707 %{_includedir}/gnu/lib*.h
1708 %{_includedir}/gnu/stubs.h
1710 %{_includedir}/netash
1711 %{_includedir}/netatalk
1712 %{_includedir}/netax25
1713 %{_includedir}/neteconet
1714 %{_includedir}/netiucv
1715 %{_includedir}/netinet
1716 %{_includedir}/netipx
1717 %{_includedir}/netpacket
1718 %{_includedir}/netrom
1719 %{_includedir}/netrose
1721 %{_includedir}/protocols
1723 %{_includedir}/rpcsvc
1728 %defattr(644,root,root,755)
1729 %attr(755,root,root) %{_bindir}/gencat
1730 %attr(755,root,root) %{_bindir}/*prof*
1731 %attr(755,root,root) %{_bindir}/*trace
1734 %defattr(644,root,root,755)
1735 %doc documentation/* PROJECTS
1736 %{_infodir}/libc.info*
1738 %{_mandir}/man1/sprof.1*
1740 %lang(cs) %{_mandir}/cs/man3/*
1741 %lang(de) %{_mandir}/de/man3/*
1742 %lang(es) %{_mandir}/es/man3/*
1743 %lang(fr) %{_mandir}/fr/man3/*
1744 %lang(hu) %{_mandir}/hu/man3/*
1745 %lang(it) %{_mandir}/it/man3/*
1746 %lang(ja) %{_mandir}/ja/man3/*
1747 %lang(ko) %{_mandir}/ko/man3/*
1748 %lang(nl) %{_mandir}/nl/man3/*
1749 %lang(pl) %{_mandir}/pl/man3/*
1750 %lang(pt) %{_mandir}/pt/man3/*
1751 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1752 %lang(ru) %{_mandir}/ru/man3/*
1753 %lang(tr) %{_mandir}/tr/man3/*
1754 %lang(uk) %{_mandir}/uk/man3/*
1755 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1758 %defattr(644,root,root,755)
1759 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1760 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1761 %attr(754,root,root) /etc/rc.d/init.d/nscd
1762 %config(noreplace) %verify(not md5 mtime size) /etc/init/nscd.conf
1763 %attr(755,root,root) %{_sbindir}/nscd*
1764 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1765 %attr(640,root,root) %ghost /var/log/nscd
1766 %{systemdtmpfilesdir}/nscd.conf
1769 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1770 %attr(600,root,root) %ghost /var/lib/nscd/group
1771 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1772 %{_mandir}/man5/nscd.conf.5*
1773 %{_mandir}/man8/nscd.8*
1774 %{_mandir}/man8/nscd_nischeck.8*
1775 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1776 %lang(es) %{_mandir}/es/man8/nscd.8*
1777 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1778 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1779 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1780 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1781 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1782 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1783 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1784 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1785 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1787 %files -n localedb-src
1788 %defattr(644,root,root,755)
1789 %attr(755,root,root) %{_bindir}/localedef
1790 %attr(755,root,root) %{_bindir}/localedb-gen
1792 %{_mandir}/man1/localedef.1*
1793 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1795 %if %{with localedb}
1797 %defattr(644,root,root,755)
1798 %{_prefix}/lib/locale/locale-archive
1802 %defattr(644,root,root,755)
1803 %attr(755,root,root) %{_sbindir}/iconvconfig
1804 %dir %{_libdir}/gconv
1805 %{_libdir}/gconv/gconv-modules
1806 %verify(not md5 mtime size) %{_libdir}/gconv/gconv-modules.cache
1807 %attr(755,root,root) %{_libdir}/gconv/*.so
1810 %defattr(644,root,root,755)
1812 %{_libdir}/libBrokenLocale.a
1814 %{_libdir}/libcrypt.a
1817 %{_libdir}/libmcheck.a
1819 %{_libdir}/libpthread.a
1820 %{_libdir}/libresolv.a
1822 %{_libdir}/libutil.a
1825 %defattr(644,root,root,755)
1829 %defattr(644,root,root,755)
1830 %{_libdir}/lib*_pic.a