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.16)
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 # build using crossgcc (without libgcc_eh)
18 %{!?min_kernel:%global min_kernel 2.6.16}
21 %undefine with_memusage
24 %define core_version 2.18
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 версії
37 Version: %{core_version}
42 Source0: http://ftp.gnu.org/gnu/glibc/%{name}-%{version}.tar.xz
43 # Source0-md5: 88fbbceafee809e82efd52efa1e3c58f
45 Source3: nscd.sysconfig
46 Source4: nscd.logrotate
47 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
48 Source5: http://qboosh.pl/man/%{name}-man-pages.tar.bz2
49 # Source5-md5: f464eadf3cf06761f65639e44a179e6b
50 Source6: %{name}-localedb-gen
51 Source7: %{name}-LD-path.c
53 Source9: nscd.tmpfiles
54 # against GNU TP (libc domain)
55 #Patch1: %{name}-pl.po-update.patch
56 Patch2: %{name}-pld.patch
57 Patch3: %{name}-crypt-blowfish.patch
58 Patch4: %{name}-sotruss-sh.patch
59 Patch5: %{name}-sparc-softfp-gcc.patch
60 Patch6: %{name}-paths.patch
61 Patch7: 1070_all_glibc-fadvise64_64.patch
62 Patch8: %{name}-missing-nls.patch
63 Patch9: %{name}-java-libc-wait.patch
64 Patch10: %{name}-info.patch
65 Patch11: %{name}-autoconf.patch
66 Patch12: %{name}-format.patch
68 Patch14: %{name}-sparc-errno_fix.patch
69 Patch15: %{name}-new-charsets.patch
70 Patch16: %{name}-tzfile-noassert.patch
71 Patch17: %{name}-morelocales.patch
72 Patch18: %{name}-locale_fixes.patch
73 Patch19: %{name}-ZA_collate.patch
74 Patch20: %{name}-thread_start.patch
75 Patch21: %{name}-cross-gcc_eh.patch
76 Patch22: %{name}-with-stroke.patch
77 Patch23: %{name}-pt_pax.patch
78 Patch25: %{name}-cv_gnu89_inline.patch
79 Patch26: %{name}-posix-sh.patch
81 Patch29: %{name}-arm-alignment-fix.patch
83 Patch31: %{name}-origin.patch
84 Patch32: %{name}-Os-fail-workaround.patch
85 Patch33: %{name}-hack-strstr.patch
87 Patch38: 1055_all_glibc-resolv-dynamic.patch
88 URL: http://www.gnu.org/software/libc/
89 %{?with_selinux:BuildRequires: audit-libs-devel}
90 BuildRequires: autoconf
91 BuildRequires: automake
93 BuildRequires: binutils >= 2:2.17.50.0.7
95 BuildRequires: binutils >= 2:2.15.90.0.3
97 %{!?with_cross:BuildRequires: dietlibc-static}
99 BuildRequires: gcc >= 6:4.3
100 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
101 BuildRequires: gettext-devel >= 0.10.36
102 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
103 BuildRequires: linux-libc-headers >= %{llh_version}
104 BuildRequires: nss-devel >= 1:3.15.1-2
105 BuildRequires: perl-base
106 BuildRequires: rpm-build >= 4.3-0.20030610.28
107 BuildRequires: rpmbuild(macros) >= 1.567
108 BuildRequires: sed >= 4.0.5
109 BuildRequires: texinfo
110 Requires(post): ldconfig = %{epoch}:%{version}-%{release}
112 Requires: uname(release) >= %{min_kernel}
113 Provides: glibc(nptl)
115 Provides: rtld(GNU_HASH)
116 Obsoletes: glibc-common
117 Obsoletes: glibc-debug
118 %ifarch %{x8664} sparc64 ppc64
124 Conflicts: %{name}-misc < %{epoch}:%{version}-%{release}
125 Conflicts: SysVinit < 2.86-11
126 Conflicts: kernel < %{min_kernel}
128 Conflicts: kernel24-smp
129 Conflicts: ld.so < 1.9.9-10
130 Conflicts: man-pages < 1.43
131 Conflicts: poldek < 0.18.8-5
132 Conflicts: rc-scripts < 0.3.1-13
134 Conflicts: xorg-driver-video-nvidia-libs < 1:295.33
135 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64 armv5tel
136 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
138 # avoid -s here (ld.so must not be stripped to allow any program debugging)
139 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
140 # disable -D_FORTIFY_SOURCE=X and -fstack-protector
141 %define _fortify_cflags %{nil}
142 %define _ssp_cflags %{nil}
144 %define specflags_sparcv9 -mcpu=ultrasparc -mvis -fcall-used-g6
145 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
147 # ld.so needs not to be stripped to work
148 # gdb needs unstripped libpthread for some threading support
149 # ...but we can strip at least debuginfo from them
150 %define _autostripdebug .*/ld-[0-9.]*so\\|.*/libpthread-[0-9.]*so
152 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
153 %ifarch sparc sparcv9
154 %{expand:%%define __cc %{__cc} -m32}
157 # Architectures supported in glibc-ports
158 %define ports_arch alpha %{arm}
161 %define specflags_ia32 -mno-tls-direct-seg-refs
162 %define specflags_x86_64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
163 %define specflags_amd64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
164 %define specflags_ia32e -mno-tls-direct-seg-refs
166 # we don't want perl dependency in glibc-devel
167 %define _noautoreqfiles %{_bindir}/mtrace
168 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
169 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
170 # patched not to crash on partial hardlinks too)
171 %define _hack_dontneed_PartialHardlinkSets 1
172 %define _noautochrpath .*\\(ldconfig\\|sln\\)
174 %define _noautoprov .*\(GLIBC_PRIVATE\)
175 %define _noautoreq .*\(GLIBC_PRIVATE\)
178 Contains the standard libraries that are used by multiple programs on
179 the system. In order to save disk space and memory, as well as to ease
180 upgrades, common system code is kept in one place and shared between
181 programs. This package contains the most important sets of shared
182 libraries, the standard C library and the standard math library.
183 Without these, a Linux system will not function. It also contains
184 national language (locale) support.
186 Can be used on: Linux kernel >= %{min_kernel}.
188 %description -l es.UTF-8
189 Contiene las bibliotecas estándared que son usadas por varios
190 programas del sistema. Para ahorrar el espacio en el disco y la
191 memoria, igual que para facilitar actualizaciones, código común del
192 sistema se guarda en un sitio y es compartido entre los programas.
193 Este paquete contiene las bibliotecas compartidas más importantes, es
194 decir la biblioteca C estándar y la biblioteca estándar de matemática.
195 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
196 soporte de idiomas nacionales (locale).
198 Puede usarse con: núcleo Linux >= %{min_kernel}.
200 %description -l de.UTF-8
201 Enthält die Standard-Libraries, die von verschiedenen Programmen im
202 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
203 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
204 einer einzigen Stelle gespeichert und wird von den Programmen
205 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
206 shared Libraries, die Standard-C-Library und die
207 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
208 Ferner enthält es den Support für die verschiedenen Sprachgregionen
211 Can be used on: Linux kernel >= %{min_kernel}.
213 %description -l fr.UTF-8
214 Contient les bibliothèques standards utilisées par de nombreux
215 programmes du système. Afin d'économiser l'espace disque et mémoire,
216 et de faciliter les mises à jour, le code commun au système est mis à
217 un endroit et partagé entre les programmes. Ce paquetage contient les
218 bibliothèques partagées les plus importantes, la bibliothèque standard
219 du C et la bibliothèque mathématique standard. Sans celles-ci, un
220 système Linux ne peut fonctionner. Il contient aussi la gestion des
221 langues nationales (locales).
223 Can be used on: Linux kernel >= %{min_kernel}.
225 %description -l ja.UTF-8
227 パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
228 ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
229 用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
230 間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
231 重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
232 この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc
233 パッケージはまた地域言語 (locale) サポートとタイムゾーンデータベース
236 Can be used on: Linux kernel >= %{min_kernel}.
238 %description -l pl.UTF-8
239 W pakiecie znajdują się podstawowe biblioteki, używane przez różne
240 programy w Twoim systemie. Używanie przez programy bibliotek z tego
241 pakietu oszczędza miejsce na dysku i pamięć. Większość kodu
242 systemowego jest usytuowane w jednym miejscu i dzielone między wieloma
243 programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek
244 standardowych, współdzielonych (dynamicznych) bibliotek C i
245 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować.
246 Znajdują się tutaj również definicje różnych informacji dla wielu
249 Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}.
251 %description -l ru.UTF-8
252 Содержит стандартные библиотеки, используемые многочисленными
253 программами в системе. Для того, чтобы сохранить дисковое пространство
254 и память, а также для простоты обновления, системный код, общий для
255 всех программ, хранится в одном месте и коллективно используется всеми
256 программами. Этот пакет содержит наиболее важные из разделяемых
257 библиотек - стандартную библиотеку C и стандартную библиотеку
258 математики. Без этих библиотек Linux функционировать не будет. Также
259 пакет содержит поддержку национальных языков (locale).
261 Can be used on: Linux kernel >= %{min_kernel}.
263 %description -l tr.UTF-8
264 Bu paket, birçok programın kullandığı standart kitaplıkları içerir.
265 Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme
266 işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde
267 tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak
268 kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını
269 içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel
270 dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır.
272 Can be used on: Linux kernel >= %{min_kernel}.
274 %description -l uk.UTF-8
275 Містить стандартні бібліотеки, котрі використовуються численними
276 програмами в системі. Для того, щоб зберегти дисковий простір та
277 пам'ять, а також для простоти поновлення системи, системний код,
278 спільний для всіх програм, зберігається в одному місці і колективно
279 використовується всіма програмами. Цей пакет містить найбільш важливі
280 з динамічних бібліотек - стандартну бібліотеку С та стандартну
281 бібліотеку математики. Без цих бібліотек Linux функціонувати не буде.
282 Також пакет містить підтримку національних мов (locale).
284 Can be used on: Linux kernel >= %{min_kernel}.
287 Summary: Utilities and data used by glibc
288 Summary(pl.UTF-8): Narzędzia i dane używane przez glibc
289 Group: Applications/System
290 Requires: %{name} = %{epoch}:%{version}-%{release}
293 Utilities and data used by glibc.
295 %description misc -l pl.UTF-8
296 Narzędzia i dane używane przez glibc.
299 Summary: glibc library for crypt(3)
300 Summary(pl.UTF-8): Biblioteka glibc z funkcją crypt(3)
302 Requires: %{name} = %{epoch}:%{version}-%{release}
303 Provides: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
305 Provides: %{name}-libcrypt(ix86) = %{epoch}:%{version}-%{release}
307 Provides: crypt(blowfish)
309 %description libcrypt
310 glibc library for crypt(3).
312 %description libcrypt -l pl.UTF-8
313 Biblioteka glibc z funkcją crypt(3).
316 Summary: Create shared library cache and maintains symlinks
317 Summary(de.UTF-8): Erstellt ein shared library cache und verwaltet symlinks
318 Summary(fr.UTF-8): Crée un cache de bibliothčque partagée et gčre *.so
319 Summary(pl.UTF-8): Tworzenie cache'u bibliotek dynamicznych i ich dowiązań symbolicznych
320 Summary(tr.UTF-8): Ortak kitaplýk önbelleđi yaratýr ve bađlantýlarý kurar
321 Group: Applications/System
322 # This is needed because previous package (glibc) had autoreq false and had
323 # provided this manually. Probably poldek bug that have to have it here.
324 Provides: /sbin/ldconfig
325 # we want FHS being installed before ldconfig, altho they are both unrelated to each-other.
328 %description -n ldconfig
329 ldconfig scans a running system and sets up the symbolic links that
330 are used to load shared libraries properly. It also creates
331 /etc/ld.so.cache which speeds the loading programs which use shared
334 %description -n ldconfig -l de.UTF-8
335 ldconfig scannt ein laufendes System und richtet die symbolischen
336 Verknüpfungen zum Laden der gemeinsam genutzten Libraries ein.
337 Außerdem erstellt es /etc/ld.so.cache, was das Laden von Programmen
338 mit gemeinsam genutzten Libraries beschleunigt.
340 %description -n ldconfig -l fr.UTF-8
341 ldconfig analyse un systčme et configure les liens symboliques
342 utilisés pour charger correctement les bibliothčques partagées. Il
343 crée aussi /etc/ld.so.cache qui accélčre le chargement des programmes
344 utilisant les bibliothčques partagées.
346 %description -n ldconfig -l pl.UTF-8
347 ldconfig testuje uruchomiony system i tworzy dowiązania symboliczne,
348 które są następnie używane do poprawnego ładowania bibliotek
349 dynamicznych. Program ten tworzy plik /etc/ld.so.cache, który
350 przyśpiesza ładowanie programów korzystających z bibliotek
353 %description -n ldconfig -l tr.UTF-8
354 ldconfig, çalýţmakta olan sistemi araţtýrýr ve ortak kitaplýklarýn
355 düzgün bir ţekilde yüklenmesi için gereken simgesel bađlantýlarý
356 kurar. Ayrýca ortak kitaplýklarý kullanan programlarýn yüklenmesini
357 hýzlandýran /etc/ld.so.cache dosyasýný yaratýr.
360 Summary: Additional libraries required to compile
361 Summary(de.UTF-8): Weitere Libraries zum Kompilieren
362 Summary(es.UTF-8): Bibliotecas adicionales necesarias para la compilación
363 Summary(fr.UTF-8): Librairies supplémentaires nécessaires à la compilation
364 Summary(ja.UTF-8): 標準 C ライブラリで使われるヘッダーとオブジェクトファイル
365 Summary(pl.UTF-8): Dodatkowe biblioteki wymagane podczas kompilacji
366 Summary(ru.UTF-8): Дополнительные библиотеки, необходимые для компиляции
367 Summary(tr.UTF-8): Geliştirme için gerekli diğer kitaplıklar
368 Summary(uk.UTF-8): Додаткові бібліотеки, потрібні для компіляції
369 Group: Development/Libraries
370 Requires: %{name} = %{epoch}:%{version}-%{release}
371 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
372 Requires: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
373 %if "%{_lib}" == "lib64"
374 Requires: %{name}-headers(64bit) = %{epoch}:%{version}-%{release}
376 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
378 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
380 Provides: %{name}-devel(ix86) = %{epoch}:%{version}-%{release}
382 Obsoletes: libiconv-devel
385 To develop programs which use the standard C libraries (which nearly
386 all programs do), the system needs to have these standard header files
387 and object files available for creating the executables.
389 %description devel -l de.UTF-8
390 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
391 verwenden (also fast alle), benötigt das System diese Standard-Header-
392 und Objektdateien zum Erstellen der ausführbaren Programme.
394 %description devel -l es.UTF-8
395 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
396 cual hacen prácticamente todos los programas), el sistema necesita
397 disponer de estos ficheros de cabecera y de objetos para crear los
400 %description devel -l fr.UTF-8
401 Pour développer des programmes utilisant les bibliothèques standard du
402 C (ce que presque tous les programmes font), le système doit posséder
403 ces fichiers en-têtes et objets standards pour créer les exécutables.
405 %description devel -l ja.UTF-8
406 glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C
407 ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト
409 ライブラリを使用するプログラムを開発するなら
410 実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル
413 %description devel -l pl.UTF-8
414 Pakiet ten jest niezbędny przy tworzeniu własnych programów
415 korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki
416 nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów
417 wykonywalnych i innych bibliotek.
419 %description devel -l ru.UTF-8
420 Для разработки программ, использующих стандартные библиотеки C (а
421 практически все программы их используют), системе НЕОБХОДИМЫ хедеры и
422 объектные файлы, содержащиеся в этом пакете, чтобы создавать
425 %description devel -l tr.UTF-8
426 C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar
427 geliştirmek için gereken standart başlık dosyaları ve statik
430 %description devel -l uk.UTF-8
431 Для розробки програм, що використовують стандартні бібліотеки C
432 (практично всі програми їх використовують), системі НЕОБХІДНІ хедери
433 та об'єктні файли, що містяться в цьому пакеті, цоб створювати
437 Summary: Header files for development using standard C libraries
438 Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C
439 Group: Development/Building
440 Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
442 Provides: %{name}-headers(ix86) = %{epoch}:%{version}-%{release}
444 %if "%{_lib}" == "lib64"
445 Provides: %{name}-headers(64bit) = %{epoch}:%{version}-%{release}
448 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
449 # have to be installed, not ix86 one.
450 Obsoletes: glibc-headers(athlon)
451 Obsoletes: glibc-headers(i386)
452 Obsoletes: glibc-headers(i486)
453 Obsoletes: glibc-headers(i586)
454 Obsoletes: glibc-headers(i686)
455 Obsoletes: glibc-headers(pentium3)
456 Obsoletes: glibc-headers(pentium4)
459 Obsoletes: glibc-headers(ppc)
462 Obsoletes: glibc-headers(s390)
465 Obsoletes: glibc-headers(sparc)
467 Requires: linux-libc-headers >= %{llh_version}
470 The glibc-headers package contains the header files necessary for
471 developing programs which use the standard C libraries (which are used
472 by nearly all programs). If you are developing programs which will use
473 the standard C libraries, your system needs to have these standard
474 header files available in order to create the executables.
476 Install glibc-headers if you are going to develop programs which will
477 use the standard C libraries.
479 %description headers -l pl.UTF-8
480 Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania
481 programów używających standardowych bibliotek C (używanych przez
482 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
483 standardowych bibliotek C, system wymaga dostępności tych
484 standardowych plików nagłówkowych do tworzenia programów
487 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
488 korzystające ze standardowych bibliotek C.
491 Summary: Utilities needed for development using standard C libraries
492 Summary(pl.UTF-8): Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C
493 Group: Development/Libraries
494 Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
496 Provides: %{name}-devel-utils(ix86) = %{epoch}:%{version}-%{release}
499 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
500 # have to be installed, not ix86 one.
501 Obsoletes: glibc-devel-utils(athlon)
502 Obsoletes: glibc-devel-utils(i386)
503 Obsoletes: glibc-devel-utils(i486)
504 Obsoletes: glibc-devel-utils(i586)
505 Obsoletes: glibc-devel-utils(i686)
506 Obsoletes: glibc-devel-utils(pentium3)
507 Obsoletes: glibc-devel-utils(pentium4)
510 Obsoletes: glibc-devel-utils(ppc)
513 Obsoletes: glibc-devel-utils(s390)
516 Obsoletes: glibc-devel-utils(sparc)
519 %description devel-utils
520 The glibc-devel-utils package contains utilities necessary for
521 developing programs which use the standard C libraries (which are used
522 by nearly all programs). If you are developing programs which will use
523 the standard C libraries, your system needs to have these utilities
526 Install glibc-devel-utils if you are going to develop programs which
527 will use the standard C libraries.
529 %description devel-utils -l pl.UTF-8
530 Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania
531 programów używających standardowych bibliotek C (używanych przez
532 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
533 standardowych bibliotek C, system wymaga dostępności tych narzędzi do
534 tworzenia programów wykonywalnych.
536 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
537 korzystające ze standardowych bibliotek C.
540 Summary: Documentation needed for development using standard C libraries
541 Summary(pl.UTF-8): Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C
543 Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
545 Provides: %{name}-devel-doc(ix86) = %{epoch}:%{version}-%{release}
548 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
549 # have to be installed, not ix86 one.
550 Obsoletes: glibc-devel-doc(athlon)
551 Obsoletes: glibc-devel-doc(i386)
552 Obsoletes: glibc-devel-doc(i486)
553 Obsoletes: glibc-devel-doc(i586)
554 Obsoletes: glibc-devel-doc(i686)
555 Obsoletes: glibc-devel-doc(pentium3)
556 Obsoletes: glibc-devel-doc(pentium4)
559 Obsoletes: glibc-devel-doc(ppc)
562 Obsoletes: glibc-devel-doc(s390)
565 Obsoletes: glibc-devel-doc(sparc)
568 %description devel-doc
569 The glibc-devel-doc package contains info and manual pages necessary
570 for developing programs which use the standard C libraries (which are
571 used by nearly all programs).
573 Install glibc-devel-doc if you are going to develop programs which
574 will use the standard C libraries.
576 %description devel-doc -l pl.UTF-8
577 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
578 rozwijania programów używających standardowych bibliotek C (używanych
579 przez prawie wszystkie programy).
581 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
582 korzystające ze standardowych bibliotek C.
585 Summary: Name Service Caching Daemon
586 Summary(es.UTF-8): Demonio de caché del servicio de nombres
587 Summary(ja.UTF-8): ネームサービスキャッシングデーモン (nacd)
588 Summary(pl.UTF-8): Demon zapamiętujący odpowiedzi serwisów nazw
589 Summary(ru.UTF-8): Кэширующий демон сервисов имен
590 Summary(uk.UTF-8): Кешуючий демон севісів імен
592 Group: Networking/Daemons
593 Requires(post): fileutils
594 Requires(post,preun): /sbin/chkconfig
595 Requires(postun): /usr/sbin/groupdel
596 Requires(postun): /usr/sbin/userdel
597 Requires(pre): /bin/id
598 Requires(pre): /usr/bin/getgid
599 Requires(pre): /usr/sbin/groupadd
600 Requires(pre): /usr/sbin/useradd
601 Requires: %{name} = %{epoch}:%{version}-%{release}
602 %{?with_selinux:Requires: libselinux >= 1.18}
603 Requires: rc-scripts >= 0.4.3.0
604 Provides: group(nscd)
608 nscd caches name service lookups; it can dramatically improve
609 performance with NIS+, and may help with DNS as well.
611 %description -n nscd -l es.UTF-8
612 nscd guarda las peticiones del servicio de nombres en una caché; eso
613 puede aumentar drásticamente las prestaciones de NIS+, y también puede
616 %description -n nscd -l ja.UTF-8
617 Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
618 ドラマティックに改善することができ、DNS を同様に補助します。
620 %description -n nscd -l pl.UTF-8
621 nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
622 drastycznie poprawić szybkość działania NIS+.
624 %description -n nscd -l ru.UTF-8
625 nscd кэширует результаты запросов к сервисам имен; это может резко
626 увеличить производительность работы с NIS+ и, также, может помочь с
629 %description -n nscd -l uk.UTF-8
630 nscd кешує результати запросів до сервісів імен; це може сильно
631 збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS.
633 %package -n localedb-src
634 Summary: locale database source code
635 Summary(es.UTF-8): Código fuente de la base de datos de los locales
636 Summary(pl.UTF-8): Kod źródłowy bazy locale
638 Requires: %{name} = %{epoch}:%{version}-%{release}
643 %description -n localedb-src
644 This add-on package contains the data needed to build the locale data
645 files to use the internationalization features of the GNU libc.
647 %description -n localedb-src -l es.UTF-8
648 Este paquete adicional contiene los datos necesarios para construir
649 los ficheros de locale, imprescindibles para usar las cualidades de
650 internacionalización de GNU libc.
652 %description -n localedb-src -l pl.UTF-8
653 Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików
654 lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU
657 %package localedb-all
658 Summary: locale database for all locales supported by glibc
659 Summary(es.UTF-8): Base de datos de todos los locales soportados por glibc
660 Summary(pl.UTF-8): Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc
662 Requires: %{name} = %{epoch}:%{version}-%{release}
663 Requires: iconv = %{epoch}:%{version}-%{release}
666 %description localedb-all
667 This package contains locale database for all locales supported by
668 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
669 something smaller with support for chosen locales only, consider
670 installing localedb-src and regenerating database using localedb-gen
671 script (when database is generated, localedb-src can be uninstalled).
673 %description localedb-all -l es.UTF-8
674 Este paquete contiene una base de datos de todos los locales
675 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
676 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
677 locales elegidos, considérese instalar localedb-src y regenerar la
678 base de datos usando el escript localedb-gen (una vez que la base de
679 datos esté creada, localedb-src se podrá desinstalar).
681 %description localedb-all -l pl.UTF-8
682 Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji
683 obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik
684 (około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych
685 lokalizacji, należy zainstalować pakiet localedb-src i przegenerować
686 bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy
687 pakiet localedb-src można odinstalować).
690 Summary: Convert encoding of given files from one encoding to another
691 Summary(es.UTF-8): Convierte entre varias codificaciones de los ficheros dados
692 Summary(pl.UTF-8): Moduły do konwersji plików tekstowych z jednego kodowania do innego
694 Requires: %{name} = %{epoch}:%{version}-%{release}
695 Provides: iconv(%{_target_base_arch})
697 %description -n iconv
698 Convert encoding of given files from one encoding to another. You need
699 this package if you want to convert some document from one encoding to
700 another or if you have installed some programs which use Generic
701 Character Set Conversion Interface.
703 %description -n iconv -l es.UTF-8
704 Convierte la codificación de dados ficheros. Necesita este paquete si
705 quiere convertir un documento entre una codificación (juego de
706 caracteres) y otra, o si tiene instalado algún programa que usa el
707 Generic Character Set Conversion Interface (interfaz genérica de
708 conversión de juegos de caracteres).
710 %description -n iconv -l pl.UTF-8
711 Moduły do konwersji plików tekstowych z jednego kodowania do innego.
712 Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję
713 dokumentów z jednego kodowania do innego lub do używania programów
714 korzystających z Generic Character Set Conversion Interface w glibc,
715 czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję
716 kodowania danych z poziomu dowolnego programu.
719 Summary: Static GNU libc libraries
720 Summary(es.UTF-8): Bibliotecas estáticas
721 Summary(pl.UTF-8): Biblioteki statyczne GNU libc
722 Summary(ru.UTF-8): Статические библиотеки glibc
723 Summary(uk.UTF-8): Статичні бібліотеки glibc
724 Group: Development/Libraries
725 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
726 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
728 Provides: %{name}-static(ix86) = %{epoch}:%{version}-%{release}
730 Obsoletes: libiconv-static
733 GNU libc static libraries.
735 %description static -l es.UTF-8
736 Bibliotecas estáticas de GNU libc.
738 %description static -l pl.UTF-8
739 Biblioteki statyczne GNU libc.
741 %description static -l ru.UTF-8
742 Это отдельный пакет со статическими библиотеками, которые больше не
743 входят в glibc-devel.
745 %description static -l uk.UTF-8
746 Це окремий пакет зі статичними бібліотеками, що більше не входять в
750 Summary: glibc with profiling support
751 Summary(de.UTF-8): glibc mit Profil-Unterstützung
752 Summary(es.UTF-8): glibc con soporte de perfilamiento
753 Summary(fr.UTF-8): glibc avec support pour profiling
754 Summary(pl.UTF-8): glibc ze wsparciem dla profilowania
755 Summary(ru.UTF-8): GNU libc с поддержкой профайлера
756 Summary(tr.UTF-8): Ölçüm desteği olan glibc
757 Summary(uk.UTF-8): GNU libc з підтримкою профайлера
758 Group: Development/Libraries/Libc
759 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
760 Obsoletes: libc-profile
763 When programs are being profiled using gprof, they must use these
764 libraries instead of the standard C libraries for gprof to be able to
765 profile them correctly.
767 %description profile -l de.UTF-8
768 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
769 Libraries anstelle der üblichen C-Libraries verwendet werden.
771 %description profile -l es.UTF-8
772 Cuando programas son perfilidas usando gprof, tienen que usar estas
773 biblioteces en vez de las estándares para que gprof pueda perfilarlas
776 %description profile -l pl.UTF-8
777 Programy profilowane za pomocą gprof muszą używać tych bibliotek
778 zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je
781 %description profile -l uk.UTF-8
782 Коли програми досліджуються профайлером gprof, вони повинні
783 використовувати замість стандартних бібліотек бібліотеки, що містяться
784 в цьому пакеті. При використанні стандартних бібліотек gprof замість
785 реальних результатів буде показувати ціни на папайю в Гонолулу в
788 %description profile -l tr.UTF-8
789 gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu
790 kitaplığı kullanmak zorundadırlar.
792 %description profile -l ru.UTF-8
793 Когда программы исследуются профайлером gprof, они должны
794 использовать, вместо стандартных библиотек, библиотеки, включенные в
795 этот пакет. При использовании стандартных библиотек gprof вместо
796 реальных результатов будет показывать цены на папайю в Гонолулу в
800 Summary: glibc PIC archive
801 Summary(es.UTF-8): Archivo PIC de glibc
802 Summary(pl.UTF-8): Archiwum PIC glibc
803 Group: Development/Libraries/Libc
804 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
807 GNU C Library PIC archive contains an archive library (ar file)
808 composed of individual shared objects. This is used for creating a
809 library which is a smaller subset of the standard libc shared library.
811 %description pic -l es.UTF-8
812 El archivo PIC de la biblioteca glibc contiene una biblioteca
813 archivada (un fichero ar) compuesta de individuales objetos
814 compartidos. Es usado para crear una biblioteca que sea un subconjunto
815 más pequeño de la biblioteca libc compartida estándar.
817 %description pic -l pl.UTF-8
818 Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar)
819 złożoną z pojedynczych obiektów współdzielonych. Używana jest do
820 tworzenia biblioteki będącej mniejszym podzestawem standardowej
821 biblioteki współdzielonej libc.
823 %package -n nss_compat
824 Summary: Old style NYS NSS glibc module
825 Summary(es.UTF-8): El antiguo módulo NYS NSS de glibc
826 Summary(pl.UTF-8): Stary moduł NYS NSS glibc
828 Requires: %{name} = %{epoch}:%{version}-%{release}
830 %description -n nss_compat
831 Old style NYS NSS glibc module.
833 %description -n nss_compat -l es.UTF-8
834 El antiguo módulo NYS NSS de glibc
836 %description -n nss_compat -l pl.UTF-8
837 Stary moduł NYS NSS glibc.
840 Summary: BIND NSS glibc module
841 Summary(es.UTF-8): Módulo BIND NSS de glibc
842 Summary(pl.UTF-8): Moduł BIND NSS glibc
844 Requires: %{name} = %{epoch}:%{version}-%{release}
846 %description -n nss_dns
847 BIND NSS glibc module.
849 %description -n nss_dns -l es.UTF-8
850 Módulo BIND NSS de glibc.
852 %description -n nss_dns -l pl.UTF-8
853 Moduł BIND NSS glibc.
855 %package -n nss_files
856 Summary: Traditional files databases NSS glibc module
857 Summary(es.UTF-8): Módulo de tradicionales bases de datos en ficheros para glibc
858 Summary(pl.UTF-8): Moduł tradycyjnych plikowych baz danych NSS glibc
860 Requires: %{name} = %{epoch}:%{version}-%{release}
862 %description -n nss_files
863 Traditional files databases NSS glibc module.
865 %description -n nss_files -l es.UTF-8
866 Módulo de tradicionales bases de datos en ficheros para glibc.
868 %description -n nss_files -l pl.UTF-8
869 Moduł tradycyjnych plikowych baz danych NSS glibc.
871 %package -n nss_hesiod
872 Summary: hesiod NSS glibc module
873 Summary(es.UTF-8): Módulo hesiod NSS de glibc
874 Summary(pl.UTF-8): Moduł hesiod NSS glibc
876 Requires: %{name} = %{epoch}:%{version}-%{release}
878 %description -n nss_hesiod
879 glibc NSS (Name Service Switch) module for databases access.
881 %description -n nss_hesiod -l es.UTF-8
882 Módulo hesiod NSS de glibc.
884 %description -n nss_hesiod -l pl.UTF-8
885 Moduł glibc NSS (Name Service Switch) dostępu do baz danych.
888 Summary: NIS(YP) NSS glibc module
889 Summary(es.UTF-8): Módulo NIS(YP) NSS de glibc
890 Summary(pl.UTF-8): Moduł NIS(YP) NSS glibc
892 Requires: %{name} = %{epoch}:%{version}-%{release}
894 %description -n nss_nis
895 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
897 %description -n nss_nis -l es.UTF-8
898 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
900 %description -n nss_nis -l pl.UTF-8
901 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS(YP).
903 %package -n nss_nisplus
904 Summary: NIS+ NSS module
905 Summary(es.UTF-8): Módulo NIS+ NSS
906 Summary(pl.UTF-8): Moduł NIS+ NSS
908 Requires: %{name} = %{epoch}:%{version}-%{release}
910 %description -n nss_nisplus
911 glibc NSS (Name Service Switch) module for NIS+ databases access.
913 %description -n nss_nisplus -l es.UTF-8
914 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
917 %description -n nss_nisplus -l pl.UTF-8
918 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS+.
921 Summary: Memory usage profiler
922 Summary(pl.UTF-8): Narzędzie do profilowania zużycia pamięci
923 Group: Development/Tools
924 Requires: %{name} = %{epoch}:%{version}-%{release}
926 %description memusage
927 Memory usage profiler.
929 %description memusage -l pl.UTF-8
930 Narzędzie do profilowania zużycia pamięci.
935 %if "%{min_kernel}" < "2.6.16"
936 echo "Minimal supported kernel is 2.6.16" >&2
959 %{?with_cross:%patch21 -p1}
974 # cleanup backups after patching
975 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
979 # i786 (aka pentium4) hack
980 ln -s i686 nptl/sysdeps/i386/i786
981 ln -s i686 nptl/sysdeps/unix/sysv/linux/i386/i786
984 # glibc has its own way to remove PLT relocations. / H. J. Lu.
985 unset LD_SYMBOLIC_FUNCTIONS || :
987 cp -f /usr/share/automake/config.sub scripts
995 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
999 %ifarch %{ports_arch}
1000 AddOns=$AddOns,ports
1003 # force ld bfd (instead of gold)
1004 install -d alt-tools
1005 ln -sf %{_bindir}/ld.bfd alt-tools/ld
1006 PATH=$(pwd)/alt-tools:$PATH; export PATH
1010 --with-bugurl=http://bugs.pld-linux.org/ \
1011 --with-binutils=$(pwd)/alt-tools \
1012 --enable-kernel="%{min_kernel}" \
1013 --with-headers=%{_includedir} \
1014 --with%{!?with_selinux:out}-selinux \
1016 --enable-obsolete-rpc \
1017 --enable-add-ons=$AddOns \
1018 %if "%{pld_release}" != "ti"
1019 --enable-nss-crypt \
1021 --enable-experimental-malloc \
1022 --enable-stackguard-randomization \
1023 --enable-hidden-plt \
1035 env LANGUAGE=C LC_ALL=C \
1036 %{__make} -j1 tests 2>&1 | awk '
1039 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
1041 gsub(/.*\[/, NIL, file);
1042 gsub(/\].*/, NIL, file);
1046 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
1051 %if %{without cross}
1053 diet ${CC#*ccache } %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
1057 rm -rf $RPM_BUILD_ROOT
1058 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,default,logrotate.d,init} \
1059 $RPM_BUILD_ROOT{%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd} \
1060 $RPM_BUILD_ROOT{/var/cache/ldconfig,%{systemdtmpfilesdir}}
1063 env LANGUAGE=C LC_ALL=C \
1065 install_root=$RPM_BUILD_ROOT \
1066 infodir=%{_infodir} \
1069 %if %{with localedb}
1070 env LANGUAGE=C LC_ALL=C \
1071 %{__make} localedata/install-locales \
1072 install_root=$RPM_BUILD_ROOT
1075 PICFILES="libc_pic.a libc.map
1076 math/libm_pic.a libm.map
1077 resolv/libresolv_pic.a"
1079 install -p $PICFILES $RPM_BUILD_ROOT%{_libdir}
1080 install -p elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
1081 install -p elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
1083 # Include %{_libdir}/gconv/gconv-modules.cache
1084 $(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
1087 %if %{without cross}
1088 install -p glibc-postinst $RPM_BUILD_ROOT/sbin
1091 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
1092 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
1094 # moved to tzdata package
1095 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
1096 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
1098 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
1100 # make symlinks across top-level directories absolute
1101 for l in BrokenLocale anl cidn crypt dl m nsl resolv rt thread_db util; do
1102 test -L $RPM_BUILD_ROOT%{_libdir}/lib${l}.so || exit 1
1103 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1104 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib${l}.so.*) $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1107 # linking nss modules directly is not supported
1108 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1110 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
1111 cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/init/nscd.conf
1112 cp -a %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
1113 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1114 cp -a nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
1115 cp -a posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
1116 cp -a nis/nss $RPM_BUILD_ROOT/etc/default/nss
1117 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
1119 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1120 : > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
1121 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
1122 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
1123 : > $RPM_BUILD_ROOT/var/cache/ldconfig/aux-cache
1125 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
1127 # doesn't fit with out tzdata concept and configure.in is stupid assuming bash
1128 # is first posix compatible shell making this script depend on bash.
1129 rm -f $RPM_BUILD_ROOT%{_bindir}/tzselect
1130 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tzselect.8*
1131 rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/tzselect.8*
1133 : > $RPM_BUILD_ROOT/var/log/nscd
1134 : > $RPM_BUILD_ROOT/var/lib/nscd/passwd
1135 : > $RPM_BUILD_ROOT/var/lib/nscd/group
1136 : > $RPM_BUILD_ROOT/var/lib/nscd/hosts
1138 install %{SOURCE9} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/nscd.conf
1140 rm -rf documentation
1141 install -d documentation
1143 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
1144 cp -af nptl/$f documentation/$f.nptl
1146 cp -af crypt/README.ufc-crypt ChangeLog* documentation
1148 # Collect locale files and mark them with %%lang()
1149 echo '%defattr(644,root,root,755)' > glibc.lang
1150 for i in $RPM_BUILD_ROOT%{_localedir}/*; do
1153 dir="${i#$RPM_BUILD_ROOT}"
1154 echo "%lang($lang) $dir" >> glibc.lang
1159 # Languages not supported by glibc locales, but usable via $LANGUAGE:
1160 # ang - Old English (gtk+, gnome)
1161 # ca@valencia (gtk+, gnome; as ca_ES@valencia in FileZilla; locale exists in Debian)
1162 # en@shaw - English with Shavian alphabet (gnome)
1164 # tlh - Klingon (bzflag)
1166 # To be added when they become supported by glibc:
1169 # bal (newt,pessulus)
1172 # frp (xfce, lxlauncher)
1173 # gn (gn_BR in gnome, maybe gn_PY)
1174 # haw (iso-codes, stellarium)
1177 # io (gtk+2, gnome, alacarte)
1178 # jv (gmpc, avant-window-navigator, kdesudo)
1181 # man (ccsm; incorrectly named md)
1184 # sco (gnomad2, picard, stellarium)
1190 # To be removed (after fixing packages still using it):
1191 # sr@Latn (use sr@latin instead)
1192 # sr@ije (use sr@ijekavian instead)
1194 # Short forms (omitted country code, used instead of long form) for ambiguous or unclear cases:
1196 # ar=common? (AE, BH, DZ, EG, IQ, JO, KW, LB, LY, MA, OM, QA, SA, SD, SY, TN, YE)
1199 # bo=bo_CN? (or common for CN, IN?)
1203 # en=common? (en_AU, en_CA, en_GB, en_NZ, en_US are used for particular variants)
1222 # sr=sr_RS [cyrillic]
1223 # sr@latin=sr_RS@latin
1224 # sr@ijekavian=sr_BA@ijekavian
1225 # sr@ijekavianlatin=sr_BA@ijekavianlatin
1227 # sw=sw_TZ (or common for KE, TZ, UG?)
1233 # zh: no short code used (use zh_CN, zh_HK, zh_SG[not included yet], zh_TW)
1235 # Omitted here - already existing (with libc.mo):
1236 # 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
1239 for i in aa aa@saaho af am an ang ar ar_TN as ast az az_IR be@latin be@tarask bem \
1240 bg bn bn_IN bo br bs byn ca@valencia ckb crh csb cy de_AT de_CH dv dz en \
1241 en@boldquot en@quot en@shaw en_AU en_CA en_NZ en_US eo es_AR es_CL es_CO es_CR \
1242 es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_SV es_UY \
1243 es_VE et eu fa ff fil fo fr_BE fr_CA fr_CH fur fy ga gd gez gu gv ha he \
1244 hi hne hsb hy ia id ig ik is it_CH iu ka kg kk kl km kn ks ku kw ky la lb \
1245 lg li lo lt lv mai mg mhr mi mk ml mn mr ms mt my nds ne nl_BE nn nr nso \
1246 oc om or pa pap ps pt ps rm ro sa sc se si sid sl so sq sr sr@Latn tl \
1247 sr@ije sr@ijekavian sr@ijekavianlatin sr@latin ss st sw ta te tg th ti \
1248 tig tk tl tlh tn ts tt ug uk ur uz uz@cyrillic ve vi wa wal wo xh yi yo \
1250 if [ ! -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_MESSAGES ]; then
1251 install -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_MESSAGES
1252 # use lang() tags with ll_CC@variant (stripping charset and @quot|@boldquot)
1253 lang=$(echo $i | sed -e 's/@quot\>\|@boldquot\>//')
1254 echo "%lang($lang) %{_localedir}/$i" >> glibc.lang
1258 # LC_TIME category, used for localized date formats (at least by coreutils)
1259 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 \
1260 ms nb nl pl pt pt_BR ro ru rw sk sl sv tr uk vi zh_CN zh_TW; do
1261 if [ ! -d $RPM_BUILD_ROOT%{_localedir}/$i ]; then
1262 echo "%lang($lang) %{_localedir}/$i" >> glibc.lang
1264 install -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_TIME
1267 # localedb-gen infrastructure
1268 sed -e 's,@localedir@,%{_libdir}/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1269 chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1270 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1272 # shutup check-files
1273 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.*
1274 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1275 # rpcinfo dropped from glibc, provided by rpcbind now
1276 %{__rm} $RPM_BUILD_ROOT%{_mandir}/{,*/}man8/rpcinfo.8
1278 # stub for man page from man-pages package to make rpm consistency check happy
1279 # don't package them here
1280 install -d $RPM_BUILD_ROOT%{_mandir}{/,/ru,/es,/fr,/ja}/man2
1281 :>$RPM_BUILD_ROOT%{_mandir}/man2/syslog.2
1282 :>$RPM_BUILD_ROOT%{_mandir}/ru/man2/syslog.2
1283 :>$RPM_BUILD_ROOT%{_mandir}/es/man2/syslog.2
1284 :>$RPM_BUILD_ROOT%{_mandir}/fr/man2/syslog.2
1285 :>$RPM_BUILD_ROOT%{_mandir}/ja/man2/syslog.2
1287 # remove links to non existant translations
1288 %{__rm} $RPM_BUILD_ROOT%{_mandir}/pl/man3/{alphasort,cfgetispeed,cfgetospeed,cfmakeraw,cfsetispeed,cfsetospeed,closelog,dn_comp,dn_expand,fscanf}.3
1289 %{__rm} $RPM_BUILD_ROOT%{_mandir}/it/man7/latin2.7
1292 rm -rf $RPM_BUILD_ROOT
1294 %if %{without cross}
1295 %post -p /sbin/postshell
1296 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
1299 %postun -p /sbin/ldconfig
1301 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1302 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1303 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1306 %triggerin -- cronie,vixie-cron,hc-cron,fcron,mcron
1307 # restart crond if glibc is upgraded, LP#721338
1308 if [ "$1" != 1 ]; then
1309 %service -q crond restart
1312 %post libcrypt -p /sbin/ldconfig
1313 %postun libcrypt -p /sbin/ldconfig
1315 %post memusage -p /sbin/ldconfig
1316 %postun memusage -p /sbin/ldconfig
1318 %post -n localedb-src
1320 [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
1321 [ -f /etc/sysconfig/localedb ] && . /etc/sysconfig/localedb
1322 if [ "$SUPPORTED_LOCALES" ]; then
1326 %post devel -p /sbin/postshell
1327 -/usr/sbin/fix-info-dir -c %{_infodir}
1329 %postun devel -p /sbin/postshell
1330 -/usr/sbin/fix-info-dir -c %{_infodir}
1333 %groupadd -P nscd -g 144 -r nscd
1334 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "Name Service Cache Daemon" -g nscd nscd
1337 if [ ! -f /var/log/nscd ]; then
1340 chown root:root /var/log/nscd
1341 chmod 640 /var/log/nscd
1343 /sbin/chkconfig --add nscd
1344 %service nscd restart "Name Service Cache Daemon"
1347 if [ "$1" = "0" ]; then
1349 /sbin/chkconfig --del nscd
1353 if [ "$1" = "0" ]; then
1358 %files -f %{name}.lang
1359 %defattr(644,root,root,755)
1360 %doc README NEWS BUGS CONFORMANCE
1361 %if %{without cross}
1362 %attr(755,root,root) /sbin/glibc-postinst
1364 # TODO: package ldconfig symlinks as %ghost
1365 %attr(755,root,root) /%{_lib}/ld-%{core_version}.so
1366 # wildly arch-dependent ld.so SONAME symlink
1367 %ifarch %{ix86} sparc sparcv9 sparc64 alpha sh
1368 %attr(755,root,root) /%{_lib}/ld-linux.so.2
1371 %attr(755,root,root) /%{_lib}/ld-linux-ia64.so.2
1374 %attr(755,root,root) /%{_lib}/ld-linux-x86-64.so.2
1377 %attr(755,root,root) /%{_lib}/ld64.so.1
1379 %ifnarch %{ix86} sparc sparcv9 sparc64 alpha sh ia64 %{x8664} ppc64 s390x %{arm}
1380 %attr(755,root,root) /%{_lib}/ld.so.1
1382 %attr(755,root,root) /%{_lib}/libBrokenLocale-%{core_version}.so
1384 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1.1
1386 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1
1388 %attr(755,root,root) /%{_lib}/libSegFault.so
1389 %attr(755,root,root) /%{_lib}/libanl-%{core_version}.so
1390 %attr(755,root,root) /%{_lib}/libanl.so.1
1391 %attr(755,root,root) /%{_lib}/libc-%{core_version}.so
1393 %attr(755,root,root) /%{_lib}/libc.so.6.1
1395 %attr(755,root,root) /%{_lib}/libc.so.6
1397 %attr(755,root,root) /%{_lib}/libcidn-%{core_version}.so
1398 %attr(755,root,root) /%{_lib}/libcidn.so.1
1399 %attr(755,root,root) /%{_lib}/libdl-%{core_version}.so
1401 %attr(755,root,root) /%{_lib}/libdl.so.2.1
1403 %attr(755,root,root) /%{_lib}/libdl.so.2
1405 %attr(755,root,root) /%{_lib}/libm-%{core_version}.so
1407 %attr(755,root,root) /%{_lib}/libm.so.6.1
1409 %attr(755,root,root) /%{_lib}/libm.so.6
1411 %attr(755,root,root) /%{_lib}/libnsl-%{core_version}.so
1413 %attr(755,root,root) /%{_lib}/libnsl.so.1.1
1415 %attr(755,root,root) /%{_lib}/libnsl.so.1
1417 %attr(755,root,root) /%{_lib}/libpthread-%{core_version}.so
1418 %attr(755,root,root) /%{_lib}/libpthread.so.0
1419 %attr(755,root,root) /%{_lib}/libresolv-%{core_version}.so
1421 %attr(755,root,root) /%{_lib}/libresolv.so.2.1
1423 %attr(755,root,root) /%{_lib}/libresolv.so.2
1425 %attr(755,root,root) /%{_lib}/librt-%{core_version}.so
1426 %attr(755,root,root) /%{_lib}/librt.so.1
1427 %attr(755,root,root) /%{_lib}/libthread_db-1.0.so
1428 %attr(755,root,root) /%{_lib}/libthread_db.so.1
1429 %attr(755,root,root) /%{_lib}/libutil-%{core_version}.so
1431 %attr(755,root,root) /%{_lib}/libutil.so.1.1
1433 %attr(755,root,root) /%{_lib}/libutil.so.1
1435 %{?with_localedb:%dir %{_libdir}/locale}
1438 %defattr(644,root,root,755)
1439 %attr(755,root,root) %{_bindir}/makedb
1440 %attr(755,root,root) /%{_lib}/libnss_db-%{core_version}.so
1441 %attr(755,root,root) /%{_lib}/libnss_db.so.2
1445 %defattr(644,root,root,755)
1446 %attr(755,root,root) /%{_lib}/libnss_dns-%{core_version}.so
1447 %attr(755,root,root) /%{_lib}/libnss_dns.so.2
1449 #%files -n nss_files
1450 %defattr(644,root,root,755)
1451 %attr(755,root,root) /%{_lib}/libnss_files-%{core_version}.so
1452 %attr(755,root,root) /%{_lib}/libnss_files.so.2
1454 %defattr(644,root,root,755)
1456 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1457 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1458 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/default/nss
1460 %config %{_sysconfdir}/rpc
1462 %attr(755,root,root) /sbin/sln
1463 %attr(755,root,root) %{_bindir}/getconf
1464 %attr(755,root,root) %{_bindir}/getent
1465 %attr(755,root,root) %{_bindir}/iconv
1466 %ifarch %{ix86} m68k sparc sparcv9
1467 %attr(755,root,root) %{_bindir}/lddlibc4
1469 %attr(755,root,root) %{_bindir}/locale
1470 %attr(755,root,root) %{_bindir}/rpcgen
1471 %attr(755,root,root) %{_sbindir}/zdump
1472 %attr(755,root,root) %{_sbindir}/zic
1474 %dir %{_libexecdir}/getconf
1475 %attr(755,root,root) %{_libexecdir}/getconf/*
1478 %{_localedir}/locale.alias
1480 %{_mandir}/man1/getconf.1*
1481 %{_mandir}/man1/getent.1*
1482 %{_mandir}/man1/iconv.1*
1483 %{_mandir}/man1/locale.1*
1484 %{_mandir}/man1/rpcgen.1*
1485 %{_mandir}/man5/locale.5*
1486 %{_mandir}/man5/nsswitch.conf.5*
1487 %{_mandir}/man5/tzfile.5*
1488 %{_mandir}/man7/ascii.7*
1489 %{_mandir}/man7/charsets.7*
1490 %{_mandir}/man7/iso-8859-*.7*
1491 %{_mandir}/man7/iso_8859-*.7*
1492 %{_mandir}/man7/iso_8859_*.7*
1493 %{_mandir}/man7/koi8-r.7*
1494 %{_mandir}/man7/latin*.7*
1495 %{_mandir}/man7/locale.7*
1496 %{_mandir}/man7/unicode.7*
1497 %{_mandir}/man7/utf-8.7*
1498 %{_mandir}/man7/utf8.7*
1499 %{_mandir}/man8/ld-linux.8*
1500 %{_mandir}/man8/ld-linux.so.8*
1501 %{_mandir}/man8/ld.so.8*
1502 %{_mandir}/man8/sln.8*
1503 %{_mandir}/man8/zdump.8*
1504 %{_mandir}/man8/zic.8*
1505 %lang(cs) %{_mandir}/cs/man7/*
1506 %lang(de) %{_mandir}/de/man5/tzfile.5*
1507 %lang(de) %{_mandir}/de/man7/*
1508 %lang(es) %{_mandir}/es/man5/locale.5*
1509 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1510 %lang(es) %{_mandir}/es/man5/tzfile.5*
1511 %lang(es) %{_mandir}/es/man7/*
1512 %lang(es) %{_mandir}/es/man8/ld-linux.8*
1513 %lang(es) %{_mandir}/es/man8/ld-linux.so.8*
1514 %lang(es) %{_mandir}/es/man8/ld.so.8*
1515 %lang(es) %{_mandir}/es/man8/zdump.8*
1516 %lang(es) %{_mandir}/es/man8/zic.8*
1517 %lang(fr) %{_mandir}/fr/man5/locale.5*
1518 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1519 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1520 %lang(fr) %{_mandir}/fr/man7/*
1521 %lang(fr) %{_mandir}/fr/man8/ld-linux.8*
1522 %lang(fr) %{_mandir}/fr/man8/ld-linux.so.8*
1523 %lang(fr) %{_mandir}/fr/man8/ld.so.8*
1524 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1525 %lang(fr) %{_mandir}/fr/man8/zic.8*
1526 %lang(hu) %{_mandir}/hu/man7/*
1527 %lang(hu) %{_mandir}/hu/man8/ld-linux.8*
1528 %lang(hu) %{_mandir}/hu/man8/ld-linux.so.8*
1529 %lang(hu) %{_mandir}/hu/man8/ld.so.8*
1530 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1531 %lang(it) %{_mandir}/it/man5/locale.5*
1532 %lang(it) %{_mandir}/it/man7/*
1533 %lang(it) %{_mandir}/it/man8/zdump.8*
1534 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1535 %lang(ja) %{_mandir}/ja/man5/locale.5*
1536 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1537 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1538 %lang(ja) %{_mandir}/ja/man7/*
1539 %lang(ja) %{_mandir}/ja/man8/ld-linux.8*
1540 %lang(ja) %{_mandir}/ja/man8/ld-linux.so.8*
1541 %lang(ja) %{_mandir}/ja/man8/ld.so.8*
1542 %lang(ja) %{_mandir}/ja/man8/sln.8*
1543 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1544 %lang(ja) %{_mandir}/ja/man8/zic.8*
1545 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1546 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1547 %lang(ko) %{_mandir}/ko/man7/*
1548 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1549 %lang(pl) %{_mandir}/pl/man5/locale.5*
1550 %lang(pl) %{_mandir}/pl/man7/*
1551 %lang(pl) %{_mandir}/pl/man8/ld-linux.8*
1552 %lang(pl) %{_mandir}/pl/man8/ld-linux.so.8*
1553 %lang(pl) %{_mandir}/pl/man8/ld.so.8*
1554 %lang(pt) %{_mandir}/pt/man5/locale.5*
1555 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1556 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1557 %lang(pt) %{_mandir}/pt/man7/*
1558 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1559 %lang(pt) %{_mandir}/pt/man8/zic.8*
1560 %lang(ru) %{_mandir}/ru/man1/getent.1*
1561 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1562 %lang(ru) %{_mandir}/ru/man1/locale.1*
1563 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1564 %lang(ru) %{_mandir}/ru/man5/locale.5*
1565 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1566 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1567 %lang(ru) %{_mandir}/ru/man7/*
1568 %lang(ru) %{_mandir}/ru/man8/ld-linux.so.8*
1569 %lang(ru) %{_mandir}/ru/man8/ld.so.8*
1570 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1571 %lang(ru) %{_mandir}/ru/man8/zic.8*
1572 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1573 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1574 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1575 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1576 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1577 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1578 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1581 %defattr(644,root,root,755)
1582 %attr(755,root,root) %{_bindir}/catchsegv
1583 %attr(755,root,root) %{_bindir}/ldd
1584 %attr(755,root,root) %{_bindir}/pldd
1585 %attr(755,root,root) %{_bindir}/sotruss
1586 %dir %{_libdir}/audit
1587 %attr(755,root,root) %{_libdir}/audit/sotruss-lib.so
1589 %{_mandir}/man1/catchsegv.1*
1590 %{_mandir}/man1/ldd.1*
1591 %lang(es) %{_mandir}/es/man1/ldd.1*
1592 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1593 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1594 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1595 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1596 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1597 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1598 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1599 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1600 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1603 %defattr(644,root,root,755)
1604 %attr(755,root,root) /%{_lib}/libcrypt-%{core_version}.so
1606 %attr(755,root,root) %ghost /%{_lib}/libcrypt.so.1.1
1608 %attr(755,root,root) %ghost /%{_lib}/libcrypt.so.1
1612 %defattr(644,root,root,755)
1613 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1614 %dir %{_sysconfdir}/ld.so.conf.d
1615 %ghost %{_sysconfdir}/ld.so.cache
1616 %attr(755,root,root) /sbin/ldconfig
1617 %{_mandir}/man8/ldconfig.8*
1618 %lang(es) %{_mandir}/es/man8/ldconfig.8*
1619 %lang(fr) %{_mandir}/fr/man8/ldconfig.8*
1620 %lang(hu) %{_mandir}/hu/man8/ldconfig.8*
1621 %lang(ja) %{_mandir}/ja/man8/ldconfig.8*
1622 %lang(pl) %{_mandir}/pl/man8/ldconfig.8*
1623 %lang(pt) %{_mandir}/pt/man8/ldconfig.8*
1624 %lang(ru) %{_mandir}/ru/man8/ldconfig.8*
1625 %dir %attr(700,root,root) /var/cache/ldconfig
1626 %attr(600,root,root) %ghost /var/cache/ldconfig/aux-cache
1628 %files -n nss_compat
1629 %defattr(644,root,root,755)
1630 %attr(755,root,root) /%{_lib}/libnss_compat-%{core_version}.so
1631 %attr(755,root,root) /%{_lib}/libnss_compat.so.2
1633 %files -n nss_hesiod
1634 %defattr(644,root,root,755)
1635 %attr(755,root,root) /%{_lib}/libnss_hesiod-%{core_version}.so
1636 %attr(755,root,root) /%{_lib}/libnss_hesiod.so.2
1639 %defattr(644,root,root,755)
1640 %attr(755,root,root) /%{_lib}/libnss_nis-%{core_version}.so
1641 %attr(755,root,root) /%{_lib}/libnss_nis.so.2
1643 %files -n nss_nisplus
1644 %defattr(644,root,root,755)
1645 %attr(755,root,root) /%{_lib}/libnss_nisplus-%{core_version}.so
1646 %attr(755,root,root) /%{_lib}/libnss_nisplus.so.2
1648 %if %{with memusage}
1650 %defattr(644,root,root,755)
1651 %attr(755,root,root) %{_bindir}/memusage*
1652 %attr(755,root,root) %{_libdir}/libmemusage.so
1656 %defattr(644,root,root,755)
1657 %attr(755,root,root) %{_libdir}/libBrokenLocale.so
1658 %attr(755,root,root) %{_libdir}/libanl.so
1659 %attr(755,root,root) %{_libdir}/libcrypt.so
1660 %attr(755,root,root) %{_libdir}/libcidn.so
1661 %attr(755,root,root) %{_libdir}/libdl.so
1662 %attr(755,root,root) %{_libdir}/libm.so
1663 %attr(755,root,root) %{_libdir}/libnsl.so
1664 %attr(755,root,root) %{_libdir}/libpcprofile.so
1665 %attr(755,root,root) %{_libdir}/libresolv.so
1666 %attr(755,root,root) %{_libdir}/librt.so
1667 %attr(755,root,root) %{_libdir}/libthread_db.so
1668 %attr(755,root,root) %{_libdir}/libutil.so
1669 %{_libdir}/crt[1in].o
1670 %{_libdir}/[MSg]crt1.o
1673 %{_libdir}/libpthread.so
1675 %{_libdir}/libbsd-compat.a
1677 %{_libdir}/libc_nonshared.a
1679 %{_libdir}/libieee.a
1680 %ifarch alpha ppc sparc
1681 %{_libdir}/libnldbl_nonshared.a
1683 %{_libdir}/libpthread_nonshared.a
1684 %{_libdir}/librpcsvc.a
1685 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1686 # ABI-dependent headers
1687 %{_includedir}/gnu/stubs-*.h
1691 %defattr(644,root,root,755)
1694 %{_includedir}/alpha
1698 %dir %{_includedir}/gnu
1699 %{_includedir}/gnu/lib*.h
1700 %{_includedir}/gnu/stubs.h
1702 %{_includedir}/netash
1703 %{_includedir}/netatalk
1704 %{_includedir}/netax25
1705 %{_includedir}/neteconet
1706 %{_includedir}/netiucv
1707 %{_includedir}/netinet
1708 %{_includedir}/netipx
1709 %{_includedir}/netpacket
1710 %{_includedir}/netrom
1711 %{_includedir}/netrose
1713 %{_includedir}/protocols
1715 %{_includedir}/rpcsvc
1720 %defattr(644,root,root,755)
1721 %attr(755,root,root) %{_bindir}/gencat
1722 %attr(755,root,root) %{_bindir}/*prof*
1723 %attr(755,root,root) %{_bindir}/*trace
1726 %defattr(644,root,root,755)
1727 %doc documentation/* PROJECTS
1728 %{_infodir}/libc.info*
1730 %{_mandir}/man1/sprof.1*
1732 %lang(cs) %{_mandir}/cs/man3/*
1733 %lang(de) %{_mandir}/de/man3/*
1734 %lang(es) %{_mandir}/es/man3/*
1735 %lang(fr) %{_mandir}/fr/man3/*
1736 %lang(hu) %{_mandir}/hu/man3/*
1737 %lang(it) %{_mandir}/it/man3/*
1738 %lang(ja) %{_mandir}/ja/man3/*
1739 %lang(ko) %{_mandir}/ko/man3/*
1740 %lang(nl) %{_mandir}/nl/man3/*
1741 %lang(pl) %{_mandir}/pl/man3/*
1742 %lang(pt) %{_mandir}/pt/man3/*
1743 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1744 %lang(ru) %{_mandir}/ru/man3/*
1745 %lang(tr) %{_mandir}/tr/man3/*
1746 %lang(uk) %{_mandir}/uk/man3/*
1747 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1750 %defattr(644,root,root,755)
1751 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1752 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1753 %attr(754,root,root) /etc/rc.d/init.d/nscd
1754 %config(noreplace) %verify(not md5 mtime size) /etc/init/nscd.conf
1755 %attr(755,root,root) %{_sbindir}/nscd*
1756 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1757 %attr(640,root,root) %ghost /var/log/nscd
1758 %{systemdtmpfilesdir}/nscd.conf
1761 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1762 %attr(600,root,root) %ghost /var/lib/nscd/group
1763 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1764 %{_mandir}/man5/nscd.conf.5*
1765 %{_mandir}/man8/nscd.8*
1766 %{_mandir}/man8/nscd_nischeck.8*
1767 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1768 %lang(es) %{_mandir}/es/man8/nscd.8*
1769 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1770 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1771 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1772 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1773 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1774 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1775 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1776 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1777 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1779 %files -n localedb-src
1780 %defattr(644,root,root,755)
1781 %attr(755,root,root) %{_bindir}/localedef
1782 %attr(755,root,root) %{_bindir}/localedb-gen
1784 %{_mandir}/man1/localedef.1*
1785 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1787 %if %{with localedb}
1789 %defattr(644,root,root,755)
1790 %{_libdir}/locale/locale-archive
1794 %defattr(644,root,root,755)
1795 %attr(755,root,root) %{_sbindir}/iconvconfig
1796 %dir %{_libdir}/gconv
1797 %{_libdir}/gconv/gconv-modules
1798 %verify(not md5 mtime size) %{_libdir}/gconv/gconv-modules.cache
1799 %attr(755,root,root) %{_libdir}/gconv/*.so
1802 %defattr(644,root,root,755)
1804 %{_libdir}/libBrokenLocale.a
1806 %{_libdir}/libcrypt.a
1809 %{_libdir}/libmcheck.a
1811 %{_libdir}/libpthread.a
1812 %{_libdir}/libresolv.a
1814 %{_libdir}/libutil.a
1817 %defattr(644,root,root,755)
1821 %defattr(644,root,root,755)
1822 %{_libdir}/lib*_pic.a