3 # - look at locale fixes/updates in bugzilla
4 # - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section.
6 # - localedb-gen man pages(?)
7 # - math/{test-fenv,test-tgmath,test-float,test-ifloat}, debug/backtrace-tst(SEGV) fail on alpha
10 # min_kernel (default is 2.6.16)
11 %bcond_without memusage # don't build memusage utility
12 %bcond_without selinux # without SELinux support (in nscd)
13 %bcond_with tests # perform "make test"
14 %bcond_without localedb # don't build localedb-all (is time consuming)
15 %bcond_with cross # build using crossgcc (without libgcc_eh)
17 %{!?min_kernel:%global min_kernel 2.6.16}
20 %undefine with_memusage
23 %define core_version 2.17
24 %define llh_version 7:2.6.20.4-1
27 Summary(de.UTF-8): GNU libc
28 Summary(es.UTF-8): GNU libc
29 Summary(fr.UTF-8): GNU libc
30 Summary(ja.UTF-8): GNU libc ライブラリ
31 Summary(pl.UTF-8): GNU libc
32 Summary(ru.UTF-8): GNU libc версии
33 Summary(tr.UTF-8): GNU libc
34 Summary(uk.UTF-8): GNU libc версії
36 Version: %{core_version}
41 Source0: http://ftp.gnu.org/gnu/glibc/%{name}-%{version}.tar.xz
42 # Source0-md5: 87bf675c8ee523ebda4803e8e1cec638
44 Source3: nscd.sysconfig
45 Source4: nscd.logrotate
46 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
47 Source5: http://qboosh.pl/man/%{name}-man-pages.tar.bz2
48 # Source5-md5: f464eadf3cf06761f65639e44a179e6b
49 Source6: %{name}-localedb-gen
50 Source7: %{name}-LD-path.c
52 Source9: nscd.tmpfiles
53 # against GNU TP (libc domain)
54 #Patch1: %{name}-pl.po-update.patch
55 Patch2: %{name}-pld.patch
56 Patch3: %{name}-crypt-blowfish.patch
57 Patch4: %{name}-sotruss-sh.patch
58 Patch5: %{name}-sparc-softfp-gcc.patch
59 Patch6: %{name}-paths.patch
60 Patch7: 1070_all_glibc-fadvise64_64.patch
61 Patch8: %{name}-missing-nls.patch
62 Patch9: %{name}-java-libc-wait.patch
63 Patch10: %{name}-info.patch
64 Patch11: %{name}-autoconf.patch
66 Patch14: %{name}-sparc-errno_fix.patch
67 Patch15: %{name}-new-charsets.patch
68 Patch16: %{name}-tzfile-noassert.patch
69 Patch17: %{name}-morelocales.patch
70 Patch18: %{name}-locale_fixes.patch
71 Patch19: %{name}-ZA_collate.patch
72 Patch20: %{name}-thread_start.patch
73 Patch21: %{name}-cross-gcc_eh.patch
74 Patch22: %{name}-with-stroke.patch
75 Patch23: %{name}-pt_pax.patch
76 Patch25: %{name}-cv_gnu89_inline.patch
77 Patch26: %{name}-posix-sh.patch
79 Patch29: %{name}-arm-alignment-fix.patch
80 Patch30: %{name}-bug-12492.patch
81 Patch31: %{name}-origin.patch
82 Patch32: %{name}-Os-fail-workaround.patch
84 Patch38: 1055_all_glibc-resolv-dynamic.patch
85 URL: http://www.gnu.org/software/libc/
86 %{?with_selinux:BuildRequires: audit-libs-devel}
87 BuildRequires: autoconf
88 BuildRequires: automake
90 BuildRequires: binutils >= 2:2.17.50.0.7
92 BuildRequires: binutils >= 2:2.15.90.0.3
94 %{!?with_cross:BuildRequires: dietlibc-static}
96 BuildRequires: gcc >= 6:4.3
97 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
98 BuildRequires: gettext-devel >= 0.10.36
99 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
100 BuildRequires: linux-libc-headers >= %{llh_version}
101 BuildRequires: nss-devel >= 1:3.12.3
102 BuildRequires: perl-base
103 BuildRequires: rpm-build >= 4.3-0.20030610.28
104 BuildRequires: rpmbuild(macros) >= 1.567
105 BuildRequires: sed >= 4.0.5
106 BuildRequires: texinfo
107 Requires(post): ldconfig = %{epoch}:%{version}-%{release}
108 Requires: uname(release) >= %{min_kernel}
109 Provides: glibc(nptl)
111 Provides: rtld(GNU_HASH)
112 Obsoletes: glibc-common
113 Obsoletes: glibc-debug
114 %ifarch %{x8664} sparc64 ppc64
120 Conflicts: %{name}-misc < %{epoch}:%{version}-%{release}
121 Conflicts: SysVinit < 2.86-11
122 Conflicts: kernel < %{min_kernel}
124 Conflicts: kernel24-smp
125 Conflicts: ld.so < 1.9.9-10
126 Conflicts: man-pages < 1.43
127 Conflicts: poldek < 0.18.8-5
128 Conflicts: rc-scripts < 0.3.1-13
130 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64 armv5tel
131 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
133 # avoid -s here (ld.so must not be stripped to allow any program debugging)
134 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
135 # disable -D_FORTIFY_SOURCE=X and -fstack-protector
136 %define _fortify_cflags %{nil}
137 %define _ssp_cflags %{nil}
139 %define specflags_sparcv9 -mcpu=ultrasparc -mvis -fcall-used-g6
140 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
142 # ld.so needs not to be stripped to work
143 # gdb needs unstripped libpthread for some threading support
144 # ...but we can strip at least debuginfo from them
145 %define _autostripdebug .*/ld-[0-9.]*so\\|.*/libpthread-[0-9.]*so
147 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
148 %ifarch sparc sparcv9
149 %{expand:%%define __cc %{__cc} -m32}
152 # Architectures supported in glibc-ports
153 %define ports_arch alpha %{arm}
156 %define specflags_ia32 -mno-tls-direct-seg-refs
157 %define specflags_x86_64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
158 %define specflags_amd64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
159 %define specflags_ia32e -mno-tls-direct-seg-refs
161 # we don't want perl dependency in glibc-devel
162 %define _noautoreqfiles %{_bindir}/mtrace
163 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
164 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
165 # patched not to crash on partial hardlinks too)
166 %define _hack_dontneed_PartialHardlinkSets 1
167 %define _noautochrpath .*\\(ldconfig\\|sln\\)
169 %define _noautoprov .*\(GLIBC_PRIVATE\)
170 %define _noautoreq .*\(GLIBC_PRIVATE\)
173 Contains the standard libraries that are used by multiple programs on
174 the system. In order to save disk space and memory, as well as to ease
175 upgrades, common system code is kept in one place and shared between
176 programs. This package contains the most important sets of shared
177 libraries, the standard C library and the standard math library.
178 Without these, a Linux system will not function. It also contains
179 national language (locale) support.
181 Can be used on: Linux kernel >= %{min_kernel}.
183 %description -l es.UTF-8
184 Contiene las bibliotecas estándared que son usadas por varios
185 programas del sistema. Para ahorrar el espacio en el disco y la
186 memoria, igual que para facilitar actualizaciones, código común del
187 sistema se guarda en un sitio y es compartido entre los programas.
188 Este paquete contiene las bibliotecas compartidas más importantes, es
189 decir la biblioteca C estándar y la biblioteca estándar de matemática.
190 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
191 soporte de idiomas nacionales (locale).
193 Puede usarse con: núcleo Linux >= %{min_kernel}.
195 %description -l de.UTF-8
196 Enthält die Standard-Libraries, die von verschiedenen Programmen im
197 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
198 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
199 einer einzigen Stelle gespeichert und wird von den Programmen
200 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
201 shared Libraries, die Standard-C-Library und die
202 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
203 Ferner enthält es den Support für die verschiedenen Sprachgregionen
206 Can be used on: Linux kernel >= %{min_kernel}.
208 %description -l fr.UTF-8
209 Contient les bibliothèques standards utilisées par de nombreux
210 programmes du système. Afin d'économiser l'espace disque et mémoire,
211 et de faciliter les mises à jour, le code commun au système est mis à
212 un endroit et partagé entre les programmes. Ce paquetage contient les
213 bibliothèques partagées les plus importantes, la bibliothèque standard
214 du C et la bibliothèque mathématique standard. Sans celles-ci, un
215 système Linux ne peut fonctionner. Il contient aussi la gestion des
216 langues nationales (locales).
218 Can be used on: Linux kernel >= %{min_kernel}.
220 %description -l ja.UTF-8
222 パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
223 ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
224 用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
225 間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
226 重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
227 この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc
228 パッケージはまた地域言語 (locale) サポートとタイムゾーンデータベース
231 Can be used on: Linux kernel >= %{min_kernel}.
233 %description -l pl.UTF-8
234 W pakiecie znajdują się podstawowe biblioteki, używane przez różne
235 programy w Twoim systemie. Używanie przez programy bibliotek z tego
236 pakietu oszczędza miejsce na dysku i pamięć. Większość kodu
237 systemowego jest usytuowane w jednym miejscu i dzielone między wieloma
238 programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek
239 standardowych, współdzielonych (dynamicznych) bibliotek C i
240 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować.
241 Znajdują się tutaj również definicje różnych informacji dla wielu
244 Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}.
246 %description -l ru.UTF-8
247 Содержит стандартные библиотеки, используемые многочисленными
248 программами в системе. Для того, чтобы сохранить дисковое пространство
249 и память, а также для простоты обновления, системный код, общий для
250 всех программ, хранится в одном месте и коллективно используется всеми
251 программами. Этот пакет содержит наиболее важные из разделяемых
252 библиотек - стандартную библиотеку C и стандартную библиотеку
253 математики. Без этих библиотек Linux функционировать не будет. Также
254 пакет содержит поддержку национальных языков (locale).
256 Can be used on: Linux kernel >= %{min_kernel}.
258 %description -l tr.UTF-8
259 Bu paket, birçok programın kullandığı standart kitaplıkları içerir.
260 Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme
261 işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde
262 tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak
263 kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını
264 içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel
265 dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır.
267 Can be used on: Linux kernel >= %{min_kernel}.
269 %description -l uk.UTF-8
270 Містить стандартні бібліотеки, котрі використовуються численними
271 програмами в системі. Для того, щоб зберегти дисковий простір та
272 пам'ять, а також для простоти поновлення системи, системний код,
273 спільний для всіх програм, зберігається в одному місці і колективно
274 використовується всіма програмами. Цей пакет містить найбільш важливі
275 з динамічних бібліотек - стандартну бібліотеку С та стандартну
276 бібліотеку математики. Без цих бібліотек Linux функціонувати не буде.
277 Також пакет містить підтримку національних мов (locale).
279 Can be used on: Linux kernel >= %{min_kernel}.
282 Summary: Utilities and data used by glibc
283 Summary(pl.UTF-8): Narzędzia i dane używane przez glibc
284 Group: Applications/System
285 Requires: %{name} = %{epoch}:%{version}-%{release}
288 Utilities and data used by glibc.
290 %description misc -l pl.UTF-8
291 Narzędzia i dane używane przez glibc.
294 Summary: glibc library for crypt(3)
295 Summary(pl.UTF-8): Biblioteka glibc z funkcją crypt(3)
297 Requires: %{name} = %{epoch}:%{version}-%{release}
298 Provides: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
300 Provides: %{name}-libcrypt(ix86) = %{epoch}:%{version}-%{release}
302 Provides: crypt(blowfish)
304 %description libcrypt
305 glibc library for crypt(3).
307 %description libcrypt -l pl.UTF-8
308 Biblioteka glibc z funkcją crypt(3).
311 Summary: Create shared library cache and maintains symlinks
312 Summary(de.UTF-8): Erstellt ein shared library cache und verwaltet symlinks
313 Summary(fr.UTF-8): Crée un cache de bibliothčque partagée et gčre *.so
314 Summary(pl.UTF-8): Tworzenie cache'u bibliotek dynamicznych i ich dowiązań symbolicznych
315 Summary(tr.UTF-8): Ortak kitaplýk önbelleđi yaratýr ve bađlantýlarý kurar
316 Group: Applications/System
317 # This is needed because previous package (glibc) had autoreq false and had
318 # provided this manually. Probably poldek bug that have to have it here.
319 Provides: /sbin/ldconfig
320 # we want FHS being installed before ldconfig, altho they are both unrelated to each-other.
323 %description -n ldconfig
324 ldconfig scans a running system and sets up the symbolic links that
325 are used to load shared libraries properly. It also creates
326 /etc/ld.so.cache which speeds the loading programs which use shared
329 %description -n ldconfig -l de.UTF-8
330 ldconfig scannt ein laufendes System und richtet die symbolischen
331 Verknüpfungen zum Laden der gemeinsam genutzten Libraries ein.
332 Außerdem erstellt es /etc/ld.so.cache, was das Laden von Programmen
333 mit gemeinsam genutzten Libraries beschleunigt.
335 %description -n ldconfig -l fr.UTF-8
336 ldconfig analyse un systčme et configure les liens symboliques
337 utilisés pour charger correctement les bibliothčques partagées. Il
338 crée aussi /etc/ld.so.cache qui accélčre le chargement des programmes
339 utilisant les bibliothčques partagées.
341 %description -n ldconfig -l pl.UTF-8
342 ldconfig testuje uruchomiony system i tworzy dowiązania symboliczne,
343 które są następnie używane do poprawnego ładowania bibliotek
344 dynamicznych. Program ten tworzy plik /etc/ld.so.cache, który
345 przyśpiesza ładowanie programów korzystających z bibliotek
348 %description -n ldconfig -l tr.UTF-8
349 ldconfig, çalýţmakta olan sistemi araţtýrýr ve ortak kitaplýklarýn
350 düzgün bir ţekilde yüklenmesi için gereken simgesel bađlantýlarý
351 kurar. Ayrýca ortak kitaplýklarý kullanan programlarýn yüklenmesini
352 hýzlandýran /etc/ld.so.cache dosyasýný yaratýr.
355 Summary: Additional libraries required to compile
356 Summary(de.UTF-8): Weitere Libraries zum Kompilieren
357 Summary(es.UTF-8): Bibliotecas adicionales necesarias para la compilación
358 Summary(fr.UTF-8): Librairies supplémentaires nécessaires à la compilation
359 Summary(ja.UTF-8): 標準 C ライブラリで使われるヘッダーとオブジェクトファイル
360 Summary(pl.UTF-8): Dodatkowe biblioteki wymagane podczas kompilacji
361 Summary(ru.UTF-8): Дополнительные библиотеки, необходимые для компиляции
362 Summary(tr.UTF-8): Geliştirme için gerekli diğer kitaplıklar
363 Summary(uk.UTF-8): Додаткові бібліотеки, потрібні для компіляції
364 Group: Development/Libraries
365 Requires: %{name} = %{epoch}:%{version}-%{release}
366 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
367 Requires: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
368 %if "%{_lib}" == "lib64"
369 Requires: %{name}-headers(64bit) = %{epoch}:%{version}-%{release}
371 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
373 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
375 Provides: %{name}-devel(ix86) = %{epoch}:%{version}-%{release}
377 Obsoletes: libiconv-devel
380 To develop programs which use the standard C libraries (which nearly
381 all programs do), the system needs to have these standard header files
382 and object files available for creating the executables.
384 %description devel -l de.UTF-8
385 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
386 verwenden (also fast alle), benötigt das System diese Standard-Header-
387 und Objektdateien zum Erstellen der ausführbaren Programme.
389 %description devel -l es.UTF-8
390 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
391 cual hacen prácticamente todos los programas), el sistema necesita
392 disponer de estos ficheros de cabecera y de objetos para crear los
395 %description devel -l fr.UTF-8
396 Pour développer des programmes utilisant les bibliothèques standard du
397 C (ce que presque tous les programmes font), le système doit posséder
398 ces fichiers en-têtes et objets standards pour créer les exécutables.
400 %description devel -l ja.UTF-8
401 glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C
402 ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト
404 ライブラリを使用するプログラムを開発するなら
405 実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル
408 %description devel -l pl.UTF-8
409 Pakiet ten jest niezbędny przy tworzeniu własnych programów
410 korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki
411 nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów
412 wykonywalnych i innych bibliotek.
414 %description devel -l ru.UTF-8
415 Для разработки программ, использующих стандартные библиотеки C (а
416 практически все программы их используют), системе НЕОБХОДИМЫ хедеры и
417 объектные файлы, содержащиеся в этом пакете, чтобы создавать
420 %description devel -l tr.UTF-8
421 C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar
422 geliştirmek için gereken standart başlık dosyaları ve statik
425 %description devel -l uk.UTF-8
426 Для розробки програм, що використовують стандартні бібліотеки C
427 (практично всі програми їх використовують), системі НЕОБХІДНІ хедери
428 та об'єктні файли, що містяться в цьому пакеті, цоб створювати
432 Summary: Header files for development using standard C libraries
433 Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C
434 Group: Development/Building
435 Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
437 Provides: %{name}-headers(ix86) = %{epoch}:%{version}-%{release}
439 %if "%{_lib}" == "lib64"
440 Provides: %{name}-headers(64bit) = %{epoch}:%{version}-%{release}
443 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
444 # have to be installed, not ix86 one.
445 Obsoletes: glibc-headers(athlon)
446 Obsoletes: glibc-headers(i386)
447 Obsoletes: glibc-headers(i486)
448 Obsoletes: glibc-headers(i586)
449 Obsoletes: glibc-headers(i686)
450 Obsoletes: glibc-headers(pentium3)
451 Obsoletes: glibc-headers(pentium4)
454 Obsoletes: glibc-headers(ppc)
457 Obsoletes: glibc-headers(s390)
460 Obsoletes: glibc-headers(sparc)
462 Requires: linux-libc-headers >= %{llh_version}
465 The glibc-headers package contains the header files necessary for
466 developing programs which use the standard C libraries (which are used
467 by nearly all programs). If you are developing programs which will use
468 the standard C libraries, your system needs to have these standard
469 header files available in order to create the executables.
471 Install glibc-headers if you are going to develop programs which will
472 use the standard C libraries.
474 %description headers -l pl.UTF-8
475 Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania
476 programów używających standardowych bibliotek C (używanych przez
477 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
478 standardowych bibliotek C, system wymaga dostępności tych
479 standardowych plików nagłówkowych do tworzenia programów
482 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
483 korzystające ze standardowych bibliotek C.
486 Summary: Utilities needed for development using standard C libraries
487 Summary(pl.UTF-8): Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C
488 Group: Development/Libraries
489 Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
491 Provides: %{name}-devel-utils(ix86) = %{epoch}:%{version}-%{release}
494 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
495 # have to be installed, not ix86 one.
496 Obsoletes: glibc-devel-utils(athlon)
497 Obsoletes: glibc-devel-utils(i386)
498 Obsoletes: glibc-devel-utils(i486)
499 Obsoletes: glibc-devel-utils(i586)
500 Obsoletes: glibc-devel-utils(i686)
501 Obsoletes: glibc-devel-utils(pentium3)
502 Obsoletes: glibc-devel-utils(pentium4)
505 Obsoletes: glibc-devel-utils(ppc)
508 Obsoletes: glibc-devel-utils(s390)
511 Obsoletes: glibc-devel-utils(sparc)
514 %description devel-utils
515 The glibc-devel-utils package contains utilities necessary for
516 developing programs which use the standard C libraries (which are used
517 by nearly all programs). If you are developing programs which will use
518 the standard C libraries, your system needs to have these utilities
521 Install glibc-devel-utils if you are going to develop programs which
522 will use the standard C libraries.
524 %description devel-utils -l pl.UTF-8
525 Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania
526 programów używających standardowych bibliotek C (używanych przez
527 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
528 standardowych bibliotek C, system wymaga dostępności tych narzędzi do
529 tworzenia programów wykonywalnych.
531 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
532 korzystające ze standardowych bibliotek C.
535 Summary: Documentation needed for development using standard C libraries
536 Summary(pl.UTF-8): Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C
538 Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
540 Provides: %{name}-devel-doc(ix86) = %{epoch}:%{version}-%{release}
543 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
544 # have to be installed, not ix86 one.
545 Obsoletes: glibc-devel-doc(athlon)
546 Obsoletes: glibc-devel-doc(i386)
547 Obsoletes: glibc-devel-doc(i486)
548 Obsoletes: glibc-devel-doc(i586)
549 Obsoletes: glibc-devel-doc(i686)
550 Obsoletes: glibc-devel-doc(pentium3)
551 Obsoletes: glibc-devel-doc(pentium4)
554 Obsoletes: glibc-devel-doc(ppc)
557 Obsoletes: glibc-devel-doc(s390)
560 Obsoletes: glibc-devel-doc(sparc)
563 %description devel-doc
564 The glibc-devel-doc package contains info and manual pages necessary
565 for developing programs which use the standard C libraries (which are
566 used by nearly all programs).
568 Install glibc-devel-doc if you are going to develop programs which
569 will use the standard C libraries.
571 %description devel-doc -l pl.UTF-8
572 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
573 rozwijania programów używających standardowych bibliotek C (używanych
574 przez prawie wszystkie programy).
576 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
577 korzystające ze standardowych bibliotek C.
580 Summary: Name Service Caching Daemon
581 Summary(es.UTF-8): Demonio de caché del servicio de nombres
582 Summary(ja.UTF-8): ネームサービスキャッシングデーモン (nacd)
583 Summary(pl.UTF-8): Demon zapamiętujący odpowiedzi serwisów nazw
584 Summary(ru.UTF-8): Кэширующий демон сервисов имен
585 Summary(uk.UTF-8): Кешуючий демон севісів імен
587 Group: Networking/Daemons
588 Requires(post): fileutils
589 Requires(post,preun): /sbin/chkconfig
590 Requires(postun): /usr/sbin/groupdel
591 Requires(postun): /usr/sbin/userdel
592 Requires(pre): /bin/id
593 Requires(pre): /usr/bin/getgid
594 Requires(pre): /usr/sbin/groupadd
595 Requires(pre): /usr/sbin/useradd
596 Requires: %{name} = %{epoch}:%{version}-%{release}
597 %{?with_selinux:Requires: libselinux >= 1.18}
598 Requires: rc-scripts >= 0.4.3.0
599 Provides: group(nscd)
603 nscd caches name service lookups; it can dramatically improve
604 performance with NIS+, and may help with DNS as well.
606 %description -n nscd -l es.UTF-8
607 nscd guarda las peticiones del servicio de nombres en una caché; eso
608 puede aumentar drásticamente las prestaciones de NIS+, y también puede
611 %description -n nscd -l ja.UTF-8
612 Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
613 ドラマティックに改善することができ、DNS を同様に補助します。
615 %description -n nscd -l pl.UTF-8
616 nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
617 drastycznie poprawić szybkość działania NIS+.
619 %description -n nscd -l ru.UTF-8
620 nscd кэширует результаты запросов к сервисам имен; это может резко
621 увеличить производительность работы с NIS+ и, также, может помочь с
624 %description -n nscd -l uk.UTF-8
625 nscd кешує результати запросів до сервісів імен; це може сильно
626 збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS.
628 %package -n localedb-src
629 Summary: locale database source code
630 Summary(es.UTF-8): Código fuente de la base de datos de los locales
631 Summary(pl.UTF-8): Kod źródłowy bazy locale
633 Requires: %{name} = %{epoch}:%{version}-%{release}
638 %description -n localedb-src
639 This add-on package contains the data needed to build the locale data
640 files to use the internationalization features of the GNU libc.
642 %description -n localedb-src -l es.UTF-8
643 Este paquete adicional contiene los datos necesarios para construir
644 los ficheros de locale, imprescindibles para usar las cualidades de
645 internacionalización de GNU libc.
647 %description -n localedb-src -l pl.UTF-8
648 Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików
649 lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU
652 %package localedb-all
653 Summary: locale database for all locales supported by glibc
654 Summary(es.UTF-8): Base de datos de todos los locales soportados por glibc
655 Summary(pl.UTF-8): Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc
657 Requires: %{name} = %{epoch}:%{version}-%{release}
658 Requires: iconv = %{epoch}:%{version}-%{release}
661 %description localedb-all
662 This package contains locale database for all locales supported by
663 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
664 something smaller with support for chosen locales only, consider
665 installing localedb-src and regenerating database using localedb-gen
666 script (when database is generated, localedb-src can be uninstalled).
668 %description localedb-all -l es.UTF-8
669 Este paquete contiene una base de datos de todos los locales
670 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
671 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
672 locales elegidos, considérese instalar localedb-src y regenerar la
673 base de datos usando el escript localedb-gen (una vez que la base de
674 datos esté creada, localedb-src se podrá desinstalar).
676 %description localedb-all -l pl.UTF-8
677 Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji
678 obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik
679 (około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych
680 lokalizacji, należy zainstalować pakiet localedb-src i przegenerować
681 bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy
682 pakiet localedb-src można odinstalować).
685 Summary: Convert encoding of given files from one encoding to another
686 Summary(es.UTF-8): Convierte entre varias codificaciones de los ficheros dados
687 Summary(pl.UTF-8): Moduły do konwersji plików tekstowych z jednego kodowania do innego
689 Requires: %{name} = %{epoch}:%{version}-%{release}
690 Provides: iconv(%{_target_base_arch})
692 %description -n iconv
693 Convert encoding of given files from one encoding to another. You need
694 this package if you want to convert some document from one encoding to
695 another or if you have installed some programs which use Generic
696 Character Set Conversion Interface.
698 %description -n iconv -l es.UTF-8
699 Convierte la codificación de dados ficheros. Necesita este paquete si
700 quiere convertir un documento entre una codificación (juego de
701 caracteres) y otra, o si tiene instalado algún programa que usa el
702 Generic Character Set Conversion Interface (interfaz genérica de
703 conversión de juegos de caracteres).
705 %description -n iconv -l pl.UTF-8
706 Moduły do konwersji plików tekstowych z jednego kodowania do innego.
707 Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję
708 dokumentów z jednego kodowania do innego lub do używania programów
709 korzystających z Generic Character Set Conversion Interface w glibc,
710 czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję
711 kodowania danych z poziomu dowolnego programu.
714 Summary: Static GNU libc libraries
715 Summary(es.UTF-8): Bibliotecas estáticas
716 Summary(pl.UTF-8): Biblioteki statyczne GNU libc
717 Summary(ru.UTF-8): Статические библиотеки glibc
718 Summary(uk.UTF-8): Статичні бібліотеки glibc
719 Group: Development/Libraries
720 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
721 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
723 Provides: %{name}-static(ix86) = %{epoch}:%{version}-%{release}
725 Obsoletes: libiconv-static
728 GNU libc static libraries.
730 %description static -l es.UTF-8
731 Bibliotecas estáticas de GNU libc.
733 %description static -l pl.UTF-8
734 Biblioteki statyczne GNU libc.
736 %description static -l ru.UTF-8
737 Это отдельный пакет со статическими библиотеками, которые больше не
738 входят в glibc-devel.
740 %description static -l uk.UTF-8
741 Це окремий пакет зі статичними бібліотеками, що більше не входять в
745 Summary: glibc with profiling support
746 Summary(de.UTF-8): glibc mit Profil-Unterstützung
747 Summary(es.UTF-8): glibc con soporte de perfilamiento
748 Summary(fr.UTF-8): glibc avec support pour profiling
749 Summary(pl.UTF-8): glibc ze wsparciem dla profilowania
750 Summary(ru.UTF-8): GNU libc с поддержкой профайлера
751 Summary(tr.UTF-8): Ölçüm desteği olan glibc
752 Summary(uk.UTF-8): GNU libc з підтримкою профайлера
753 Group: Development/Libraries/Libc
754 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
755 Obsoletes: libc-profile
758 When programs are being profiled using gprof, they must use these
759 libraries instead of the standard C libraries for gprof to be able to
760 profile them correctly.
762 %description profile -l de.UTF-8
763 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
764 Libraries anstelle der üblichen C-Libraries verwendet werden.
766 %description profile -l es.UTF-8
767 Cuando programas son perfilidas usando gprof, tienen que usar estas
768 biblioteces en vez de las estándares para que gprof pueda perfilarlas
771 %description profile -l pl.UTF-8
772 Programy profilowane za pomocą gprof muszą używać tych bibliotek
773 zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je
776 %description profile -l uk.UTF-8
777 Коли програми досліджуються профайлером gprof, вони повинні
778 використовувати замість стандартних бібліотек бібліотеки, що містяться
779 в цьому пакеті. При використанні стандартних бібліотек gprof замість
780 реальних результатів буде показувати ціни на папайю в Гонолулу в
783 %description profile -l tr.UTF-8
784 gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu
785 kitaplığı kullanmak zorundadırlar.
787 %description profile -l ru.UTF-8
788 Когда программы исследуются профайлером gprof, они должны
789 использовать, вместо стандартных библиотек, библиотеки, включенные в
790 этот пакет. При использовании стандартных библиотек gprof вместо
791 реальных результатов будет показывать цены на папайю в Гонолулу в
795 Summary: glibc PIC archive
796 Summary(es.UTF-8): Archivo PIC de glibc
797 Summary(pl.UTF-8): Archiwum PIC glibc
798 Group: Development/Libraries/Libc
799 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
802 GNU C Library PIC archive contains an archive library (ar file)
803 composed of individual shared objects. This is used for creating a
804 library which is a smaller subset of the standard libc shared library.
806 %description pic -l es.UTF-8
807 El archivo PIC de la biblioteca glibc contiene una biblioteca
808 archivada (un fichero ar) compuesta de individuales objetos
809 compartidos. Es usado para crear una biblioteca que sea un subconjunto
810 más pequeño de la biblioteca libc compartida estándar.
812 %description pic -l pl.UTF-8
813 Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar)
814 złożoną z pojedynczych obiektów współdzielonych. Używana jest do
815 tworzenia biblioteki będącej mniejszym podzestawem standardowej
816 biblioteki współdzielonej libc.
818 %package -n nss_compat
819 Summary: Old style NYS NSS glibc module
820 Summary(es.UTF-8): El antiguo módulo NYS NSS de glibc
821 Summary(pl.UTF-8): Stary moduł NYS NSS glibc
823 Requires: %{name} = %{epoch}:%{version}-%{release}
825 %description -n nss_compat
826 Old style NYS NSS glibc module.
828 %description -n nss_compat -l es.UTF-8
829 El antiguo módulo NYS NSS de glibc
831 %description -n nss_compat -l pl.UTF-8
832 Stary moduł NYS NSS glibc.
835 Summary: BIND NSS glibc module
836 Summary(es.UTF-8): Módulo BIND NSS de glibc
837 Summary(pl.UTF-8): Moduł BIND NSS glibc
839 Requires: %{name} = %{epoch}:%{version}-%{release}
841 %description -n nss_dns
842 BIND NSS glibc module.
844 %description -n nss_dns -l es.UTF-8
845 Módulo BIND NSS de glibc.
847 %description -n nss_dns -l pl.UTF-8
848 Moduł BIND NSS glibc.
850 %package -n nss_files
851 Summary: Traditional files databases NSS glibc module
852 Summary(es.UTF-8): Módulo de tradicionales bases de datos en ficheros para glibc
853 Summary(pl.UTF-8): Moduł tradycyjnych plikowych baz danych NSS glibc
855 Requires: %{name} = %{epoch}:%{version}-%{release}
857 %description -n nss_files
858 Traditional files databases NSS glibc module.
860 %description -n nss_files -l es.UTF-8
861 Módulo de tradicionales bases de datos en ficheros para glibc.
863 %description -n nss_files -l pl.UTF-8
864 Moduł tradycyjnych plikowych baz danych NSS glibc.
866 %package -n nss_hesiod
867 Summary: hesiod NSS glibc module
868 Summary(es.UTF-8): Módulo hesiod NSS de glibc
869 Summary(pl.UTF-8): Moduł hesiod NSS glibc
871 Requires: %{name} = %{epoch}:%{version}-%{release}
873 %description -n nss_hesiod
874 glibc NSS (Name Service Switch) module for databases access.
876 %description -n nss_hesiod -l es.UTF-8
877 Módulo hesiod NSS de glibc.
879 %description -n nss_hesiod -l pl.UTF-8
880 Moduł glibc NSS (Name Service Switch) dostępu do baz danych.
883 Summary: NIS(YP) NSS glibc module
884 Summary(es.UTF-8): Módulo NIS(YP) NSS de glibc
885 Summary(pl.UTF-8): Moduł NIS(YP) NSS glibc
887 Requires: %{name} = %{epoch}:%{version}-%{release}
889 %description -n nss_nis
890 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
892 %description -n nss_nis -l es.UTF-8
893 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
895 %description -n nss_nis -l pl.UTF-8
896 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS(YP).
898 %package -n nss_nisplus
899 Summary: NIS+ NSS module
900 Summary(es.UTF-8): Módulo NIS+ NSS
901 Summary(pl.UTF-8): Moduł NIS+ NSS
903 Requires: %{name} = %{epoch}:%{version}-%{release}
905 %description -n nss_nisplus
906 glibc NSS (Name Service Switch) module for NIS+ databases access.
908 %description -n nss_nisplus -l es.UTF-8
909 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
912 %description -n nss_nisplus -l pl.UTF-8
913 Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS+.
916 Summary: Memory usage profiler
917 Summary(pl.UTF-8): Narzędzie do profilowania zużycia pamięci
918 Group: Development/Tools
919 Requires: %{name} = %{epoch}:%{version}-%{release}
921 %description memusage
922 Memory usage profiler.
924 %description memusage -l pl.UTF-8
925 Narzędzie do profilowania zużycia pamięci.
930 %if "%{min_kernel}" < "2.6.16"
931 echo "Minimal supported kernel is 2.6.16" >&2
953 %{?with_cross:%patch21 -p1}
967 # cleanup backups after patching
968 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
972 # i786 (aka pentium4) hack
973 ln -s i686 nptl/sysdeps/i386/i786
974 ln -s i686 nptl/sysdeps/unix/sysv/linux/i386/i786
977 # glibc has its own way to remove PLT relocations. / H. J. Lu.
978 unset LD_SYMBOLIC_FUNCTIONS || :
980 cp -f /usr/share/automake/config.sub scripts
988 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
992 %ifarch %{ports_arch}
996 # force ld bfd (instead of gold)
998 ln -sf %{_bindir}/ld.bfd alt-tools/ld
999 PATH=$(pwd)/alt-tools:$PATH; export PATH
1003 --with-bugurl=http://bugs.pld-linux.org/ \
1004 --with-pkgversion="%{name}-%{epoch}:%{version}-%{release}.%{_target_cpu}" \
1005 --with-binutils=$(pwd)/alt-tools \
1006 --enable-kernel="%{min_kernel}" \
1007 --with-headers=%{_includedir} \
1008 --with%{!?with_selinux:out}-selinux \
1010 --enable-obsolete-rpc \
1011 --enable-add-ons=$AddOns \
1012 %if "%{pld_release}" != "ti"
1013 --enable-nss-crypt \
1015 --enable-experimental-malloc \
1016 --enable-stackguard-randomization \
1017 --enable-hidden-plt \
1029 env LANGUAGE=C LC_ALL=C \
1030 %{__make} tests 2>&1 | awk '
1033 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
1035 gsub(/.*\[/, NIL, file);
1036 gsub(/\].*/, NIL, file);
1040 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
1045 %if %{without cross}
1047 diet ${CC#*ccache } %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
1051 rm -rf $RPM_BUILD_ROOT
1052 install -d $RPM_BUILD_ROOT/etc/{default,logrotate.d,rc.d/init.d,sysconfig,init} \
1053 $RPM_BUILD_ROOT{%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd} \
1054 $RPM_BUILD_ROOT{/var/cache/ldconfig,/usr/lib/tmpfiles.d}
1057 env LANGUAGE=C LC_ALL=C \
1059 install_root=$RPM_BUILD_ROOT \
1060 infodir=%{_infodir} \
1063 %if %{with localedb}
1064 env LANGUAGE=C LC_ALL=C \
1065 %{__make} localedata/install-locales \
1066 install_root=$RPM_BUILD_ROOT
1069 PICFILES="libc_pic.a libc.map
1070 math/libm_pic.a libm.map
1071 resolv/libresolv_pic.a"
1073 install -p $PICFILES $RPM_BUILD_ROOT%{_libdir}
1074 install -p elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
1075 install -p elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
1077 # Include %{_libdir}/gconv/gconv-modules.cache
1078 LD_PRELOAD=$(pwd)/elf/ld.so:$(pwd)/libc.so.6 ./iconv/iconvconfig --nostdlib --prefix=$RPM_BUILD_ROOT %{_libdir}/gconv -o $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.cache
1081 %if %{without cross}
1082 install -p glibc-postinst $RPM_BUILD_ROOT/sbin
1085 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
1086 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
1088 # moved to tzdata package
1089 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
1090 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
1092 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
1094 # make symlinks across top-level directories absolute
1095 for l in BrokenLocale anl cidn crypt dl m nsl resolv rt thread_db util; do
1096 test -L $RPM_BUILD_ROOT%{_libdir}/lib${l}.so || exit 1
1097 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1098 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib${l}.so.*) $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1101 # linking nss modules directly is not supported
1102 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1104 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
1105 cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/init/nscd.conf
1106 cp -a %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
1107 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1108 cp -a nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
1109 cp -a posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
1110 cp -a nis/nss $RPM_BUILD_ROOT/etc/default/nss
1111 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
1113 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1114 : > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
1115 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
1116 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
1117 : > $RPM_BUILD_ROOT/var/cache/ldconfig/aux-cache
1119 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
1121 # doesn't fit with out tzdata concept and configure.in is stupid assuming bash
1122 # is first posix compatible shell making this script depend on bash.
1123 rm -f $RPM_BUILD_ROOT%{_bindir}/tzselect
1124 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tzselect.8*
1125 rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/tzselect.8*
1127 : > $RPM_BUILD_ROOT/var/log/nscd
1128 : > $RPM_BUILD_ROOT/var/lib/nscd/passwd
1129 : > $RPM_BUILD_ROOT/var/lib/nscd/group
1130 : > $RPM_BUILD_ROOT/var/lib/nscd/hosts
1132 install %{SOURCE9} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/nscd.conf
1134 rm -rf documentation
1135 install -d documentation
1137 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
1138 cp -af nptl/$f documentation/$f.nptl
1140 cp -af crypt/README.ufc-crypt ChangeLog* documentation
1142 # Collect locale files and mark them with %%lang()
1143 echo '%defattr(644,root,root,755)' > glibc.lang
1144 for i in $RPM_BUILD_ROOT%{_datadir}/locale/*; do
1147 dir="${i#$RPM_BUILD_ROOT}"
1148 echo "%lang($lang) $dir" >> glibc.lang
1153 # Languages not supported by glibc locales, but usable via $LANGUAGE:
1154 # ang - Old English (gtk+, gnome)
1155 # ca@valencia (gtk+, gnome; as ca_ES@valencia in FileZilla; locale exists in Debian)
1156 # en@shaw - English with Shavian alphabet (gnome)
1158 # tlh - Klingon (bzflag)
1160 # sr@ije (use LANGUAGE=sr_ME@ije/sr_RS@ije) (gnome)
1162 # To be added when they become supported by glibc:
1165 # bal (newt,pessulus)
1170 # frp (xfce, lxlauncher)
1171 # gn (gn_BR in gnome, maybe gn_PY)
1172 # haw (iso-codes, stellarium)
1175 # io (gtk+2, gnome, alacarte)
1176 # jv (gmpc, avant-window-navigator, kdesudo)
1179 # lb (geany,miro,deluge)
1180 # man (ccsm; incorrectly named md)
1184 # sco (gnomad2, picard, stellarium)
1189 # To be removed (after fixing packages still using it):
1190 # sr@Latn (use sr@latin instead)
1193 # sr@ije or sr@ijekavian? (currently sr@ije is supported)
1194 # sr@ijelatin or sr@ijekavianlatin? (currently not supported)
1195 # sr@ijekavian and sr@ijekavianlatin exist in: akonadi-googledata, amarok, k3b, konversation, ktorrent, wesnoth
1197 # Short forms (omitted country code, used instead of long form) for ambiguous or unclear cases:
1199 # ar=common? (AE, BH, DZ, EG, IQ, JO, KW, LB, LY, MA, OM, QA, SA, SD, SY, TN, YE)
1201 # bo=bo_CN? (or common for CN, IN?)
1205 # en=common? (en_AU, en_CA, en_GB, en_NZ, en_US are used for particular variants)
1222 # sr=sr_RS [cyrillic]
1224 # sw=sw_TZ (or common for KE, TZ, UG?)
1230 # zh: no short code used (use zh_CN, zh_HK, zh_SG[not included yet], zh_TW)
1232 # Omitted here - already existing (with libc.mo):
1233 # 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
1236 for i in aa aa@saaho af am an ang ar ar_TN as ast az be@latin be@tarask \
1237 bg bn bn_IN bo br bs byn ca@valencia ckb crh csb cy de_AT de_CH dv dz en \
1238 en@boldquot en@quot en@shaw en_AU en_CA en_NZ en_US eo es_AR es_CL es_CO es_CR \
1239 es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_SV es_UY \
1240 es_VE et eu fa ff fil fo fr_BE fr_CA fr_CH fur fy ga gd gez gu gv ha he \
1241 hi hne hsb hy ia id ig ik is it_CH iu ka kg kk kl km kn ks ku kw ky la \
1242 lg li lo lt lv mai mg mi mk ml mn mr ms mt my nds ne nl_BE nn nr nso \
1243 oc om or pa pap ps pt ps rm ro sa sc se si sid sl so sq sr sr@Latn tl \
1244 sr@ije sr@latin ss st sw ta te tg th ti tig tk tl tlh tn ts tt ug uk \
1245 ur uz uz@cyrillic ve vi wa wal wo xh yi yo zh_HK zu; do
1246 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1247 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1248 # use lang() tags with ll_CC@variant (stripping charset and @quot|@boldquot)
1249 lang=$(echo $i | sed -e 's/@quot\>\|@boldquot\>//')
1250 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1254 # LC_TIME category, used for localized date formats (at least by coreutils)
1255 for i in af be bg ca cs da de el en eo es et eu fi fr ga gl hr hu id it ja kk ko lg lt \
1256 ms nb nl pl pt pt_BR ro ru rw sk sl sv tr uk vi zh_CN zh_TW; do
1257 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i ]; then
1258 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1260 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_TIME
1263 # localedb-gen infrastructure
1264 sed -e 's,@localedir@,%{_libdir}/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1265 chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1266 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1268 # shutup check-files
1269 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.*
1270 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1271 # we don't support kernel without ptys support
1272 %{__rm} $RPM_BUILD_ROOT%{_libdir}/pt_chown
1273 # rpcinfo dropped from glibc, provided by rpcbind now
1274 %{__rm} $RPM_BUILD_ROOT%{_mandir}/{,*/}man8/rpcinfo.8
1277 rm -rf $RPM_BUILD_ROOT
1279 %if %{without cross}
1280 %post -p /sbin/postshell
1281 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
1284 %postun -p /sbin/ldconfig
1286 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1287 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1288 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1291 %triggerin -- cronie,vixie-cron,hc-cron,fcron,mcron
1292 # restart crond if glibc is upgraded, LP#721338
1293 if [ "$1" != 1 ]; then
1294 %service -q crond restart
1297 %post libcrypt -p /sbin/ldconfig
1298 %postun libcrypt -p /sbin/ldconfig
1300 %post memusage -p /sbin/ldconfig
1301 %postun memusage -p /sbin/ldconfig
1303 %post -n localedb-src
1305 [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
1306 [ -f /etc/sysconfig/localedb ] && . /etc/sysconfig/localedb
1307 if [ "$SUPPORTED_LOCALES" ]; then
1311 %post devel -p /sbin/postshell
1312 -/usr/sbin/fix-info-dir -c %{_infodir}
1314 %postun devel -p /sbin/postshell
1315 -/usr/sbin/fix-info-dir -c %{_infodir}
1318 %groupadd -P nscd -g 144 -r nscd
1319 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "Name Service Cache Daemon" -g nscd nscd
1322 if [ ! -f /var/log/nscd ]; then
1325 chown root:root /var/log/nscd
1326 chmod 640 /var/log/nscd
1328 /sbin/chkconfig --add nscd
1329 %service nscd restart "Name Service Cache Daemon"
1332 if [ "$1" = "0" ]; then
1334 /sbin/chkconfig --del nscd
1338 if [ "$1" = "0" ]; then
1343 %files -f %{name}.lang
1344 %defattr(644,root,root,755)
1345 %doc README NEWS BUGS CONFORMANCE
1346 %if %{without cross}
1347 %attr(755,root,root) /sbin/glibc-postinst
1349 # TODO: package ldconfig symlinks as %ghost
1350 %attr(755,root,root) /%{_lib}/ld-%{core_version}.so
1351 # wildly arch-dependent ld.so SONAME symlink
1352 %ifarch %{ix86} sparc sparcv9 sparc64 alpha sh
1353 %attr(755,root,root) /%{_lib}/ld-linux.so.2
1356 %attr(755,root,root) /%{_lib}/ld-linux-ia64.so.2
1359 %attr(755,root,root) /%{_lib}/ld-linux-x86-64.so.2
1362 %attr(755,root,root) /%{_lib}/ld64.so.1
1364 %ifnarch %{ix86} sparc sparcv9 sparc64 alpha sh ia64 %{x8664} ppc64 s390x %{arm}
1365 %attr(755,root,root) /%{_lib}/ld.so.1
1367 %attr(755,root,root) /%{_lib}/libBrokenLocale-%{core_version}.so
1369 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1.1
1371 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1
1373 %attr(755,root,root) /%{_lib}/libSegFault.so
1374 %attr(755,root,root) /%{_lib}/libanl-%{core_version}.so
1375 %attr(755,root,root) /%{_lib}/libanl.so.1
1376 %attr(755,root,root) /%{_lib}/libc-%{core_version}.so
1378 %attr(755,root,root) /%{_lib}/libc.so.6.1
1380 %attr(755,root,root) /%{_lib}/libc.so.6
1382 %attr(755,root,root) /%{_lib}/libcidn-%{core_version}.so
1383 %attr(755,root,root) /%{_lib}/libcidn.so.1
1384 %attr(755,root,root) /%{_lib}/libdl-%{core_version}.so
1386 %attr(755,root,root) /%{_lib}/libdl.so.2.1
1388 %attr(755,root,root) /%{_lib}/libdl.so.2
1390 %attr(755,root,root) /%{_lib}/libm-%{core_version}.so
1392 %attr(755,root,root) /%{_lib}/libm.so.6.1
1394 %attr(755,root,root) /%{_lib}/libm.so.6
1396 %attr(755,root,root) /%{_lib}/libnsl-%{core_version}.so
1398 %attr(755,root,root) /%{_lib}/libnsl.so.1.1
1400 %attr(755,root,root) /%{_lib}/libnsl.so.1
1402 %attr(755,root,root) /%{_lib}/libpthread-%{core_version}.so
1403 %attr(755,root,root) /%{_lib}/libpthread.so.0
1404 %attr(755,root,root) /%{_lib}/libresolv-%{core_version}.so
1406 %attr(755,root,root) /%{_lib}/libresolv.so.2.1
1408 %attr(755,root,root) /%{_lib}/libresolv.so.2
1410 %attr(755,root,root) /%{_lib}/librt-%{core_version}.so
1411 %attr(755,root,root) /%{_lib}/librt.so.1
1412 %attr(755,root,root) /%{_lib}/libthread_db-1.0.so
1413 %attr(755,root,root) /%{_lib}/libthread_db.so.1
1414 %attr(755,root,root) /%{_lib}/libutil-%{core_version}.so
1416 %attr(755,root,root) /%{_lib}/libutil.so.1.1
1418 %attr(755,root,root) /%{_lib}/libutil.so.1
1420 %{?with_localedb:%dir %{_libdir}/locale}
1423 %defattr(644,root,root,755)
1424 %attr(755,root,root) %{_bindir}/makedb
1425 %attr(755,root,root) /%{_lib}/libnss_db-%{core_version}.so
1426 %attr(755,root,root) /%{_lib}/libnss_db.so.2
1430 %defattr(644,root,root,755)
1431 %attr(755,root,root) /%{_lib}/libnss_dns-%{core_version}.so
1432 %attr(755,root,root) /%{_lib}/libnss_dns.so.2
1434 #%files -n nss_files
1435 %defattr(644,root,root,755)
1436 %attr(755,root,root) /%{_lib}/libnss_files-%{core_version}.so
1437 %attr(755,root,root) /%{_lib}/libnss_files.so.2
1439 %defattr(644,root,root,755)
1441 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1442 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1443 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/default/nss
1445 %config %{_sysconfdir}/rpc
1447 %attr(755,root,root) /sbin/sln
1448 %attr(755,root,root) %{_bindir}/getconf
1449 %attr(755,root,root) %{_bindir}/getent
1450 %attr(755,root,root) %{_bindir}/iconv
1451 %ifarch %{ix86} m68k sparc sparcv9
1452 %attr(755,root,root) %{_bindir}/lddlibc4
1454 %attr(755,root,root) %{_bindir}/locale
1455 %attr(755,root,root) %{_bindir}/rpcgen
1456 %attr(755,root,root) %{_sbindir}/zdump
1457 %attr(755,root,root) %{_sbindir}/zic
1459 %dir %{_libexecdir}/getconf
1460 %attr(755,root,root) %{_libexecdir}/getconf/*
1462 %dir %{_datadir}/locale
1463 %{_datadir}/locale/locale.alias
1465 %{_mandir}/man1/getconf.1*
1466 %{_mandir}/man1/getent.1*
1467 %{_mandir}/man1/iconv.1*
1468 %{_mandir}/man1/locale.1*
1469 %{_mandir}/man1/rpcgen.1*
1470 %{_mandir}/man5/locale.5*
1471 %{_mandir}/man5/nsswitch.conf.5*
1472 %{_mandir}/man5/tzfile.5*
1473 %{_mandir}/man7/ascii.7*
1474 %{_mandir}/man7/charsets.7*
1475 %{_mandir}/man7/iso-8859-*.7*
1476 %{_mandir}/man7/iso_8859-*.7*
1477 %{_mandir}/man7/iso_8859_*.7*
1478 %{_mandir}/man7/koi8-r.7*
1479 %{_mandir}/man7/latin*.7*
1480 %{_mandir}/man7/locale.7*
1481 %{_mandir}/man7/unicode.7*
1482 %{_mandir}/man7/utf-8.7*
1483 %{_mandir}/man7/utf8.7*
1484 %{_mandir}/man8/ld-linux.8*
1485 %{_mandir}/man8/ld-linux.so.8*
1486 %{_mandir}/man8/ld.so.8*
1487 %{_mandir}/man8/sln.8*
1488 %{_mandir}/man8/zdump.8*
1489 %{_mandir}/man8/zic.8*
1490 %lang(cs) %{_mandir}/cs/man7/*
1491 %lang(de) %{_mandir}/de/man5/tzfile.5*
1492 %lang(de) %{_mandir}/de/man7/*
1493 %lang(es) %{_mandir}/es/man5/locale.5*
1494 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1495 %lang(es) %{_mandir}/es/man5/tzfile.5*
1496 %lang(es) %{_mandir}/es/man7/*
1497 %lang(es) %{_mandir}/es/man8/ld-linux.8*
1498 %lang(es) %{_mandir}/es/man8/ld-linux.so.8*
1499 %lang(es) %{_mandir}/es/man8/ld.so.8*
1500 %lang(es) %{_mandir}/es/man8/zdump.8*
1501 %lang(es) %{_mandir}/es/man8/zic.8*
1502 %lang(fr) %{_mandir}/fr/man5/locale.5*
1503 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1504 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1505 %lang(fr) %{_mandir}/fr/man7/*
1506 %lang(fr) %{_mandir}/fr/man8/ld-linux.8*
1507 %lang(fr) %{_mandir}/fr/man8/ld-linux.so.8*
1508 %lang(fr) %{_mandir}/fr/man8/ld.so.8*
1509 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1510 %lang(fr) %{_mandir}/fr/man8/zic.8*
1511 %lang(hu) %{_mandir}/hu/man7/*
1512 %lang(hu) %{_mandir}/hu/man8/ld-linux.8*
1513 %lang(hu) %{_mandir}/hu/man8/ld-linux.so.8*
1514 %lang(hu) %{_mandir}/hu/man8/ld.so.8*
1515 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1516 %lang(it) %{_mandir}/it/man5/locale.5*
1517 %lang(it) %{_mandir}/it/man7/*
1518 %lang(it) %{_mandir}/it/man8/zdump.8*
1519 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1520 %lang(ja) %{_mandir}/ja/man5/locale.5*
1521 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1522 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1523 %lang(ja) %{_mandir}/ja/man7/*
1524 %lang(ja) %{_mandir}/ja/man8/ld-linux.8*
1525 %lang(ja) %{_mandir}/ja/man8/ld-linux.so.8*
1526 %lang(ja) %{_mandir}/ja/man8/ld.so.8*
1527 %lang(ja) %{_mandir}/ja/man8/sln.8*
1528 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1529 %lang(ja) %{_mandir}/ja/man8/zic.8*
1530 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1531 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1532 %lang(ko) %{_mandir}/ko/man7/*
1533 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1534 %lang(pl) %{_mandir}/pl/man5/locale.5*
1535 %lang(pl) %{_mandir}/pl/man7/*
1536 %lang(pl) %{_mandir}/pl/man8/ld-linux.8*
1537 %lang(pl) %{_mandir}/pl/man8/ld-linux.so.8*
1538 %lang(pl) %{_mandir}/pl/man8/ld.so.8*
1539 %lang(pt) %{_mandir}/pt/man5/locale.5*
1540 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1541 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1542 %lang(pt) %{_mandir}/pt/man7/*
1543 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1544 %lang(pt) %{_mandir}/pt/man8/zic.8*
1545 %lang(ru) %{_mandir}/ru/man1/getent.1*
1546 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1547 %lang(ru) %{_mandir}/ru/man1/locale.1*
1548 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1549 %lang(ru) %{_mandir}/ru/man5/locale.5*
1550 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1551 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1552 %lang(ru) %{_mandir}/ru/man7/*
1553 %lang(ru) %{_mandir}/ru/man8/ld-linux.so.8*
1554 %lang(ru) %{_mandir}/ru/man8/ld.so.8*
1555 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1556 %lang(ru) %{_mandir}/ru/man8/zic.8*
1557 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1558 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1559 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1560 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1561 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1562 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1563 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1566 %defattr(644,root,root,755)
1567 %attr(755,root,root) %{_bindir}/catchsegv
1568 %attr(755,root,root) %{_bindir}/ldd
1569 %attr(755,root,root) %{_bindir}/pldd
1570 %attr(755,root,root) %{_bindir}/sotruss
1571 %dir %{_libdir}/audit
1572 %attr(755,root,root) %{_libdir}/audit/sotruss-lib.so
1574 %{_mandir}/man1/catchsegv.1*
1575 %{_mandir}/man1/ldd.1*
1576 %lang(es) %{_mandir}/es/man1/ldd.1*
1577 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1578 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1579 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1580 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1581 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1582 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1583 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1584 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1585 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1588 %defattr(644,root,root,755)
1589 %attr(755,root,root) /%{_lib}/libcrypt-%{core_version}.so
1591 %attr(755,root,root) %ghost /%{_lib}/libcrypt.so.1.1
1593 %attr(755,root,root) %ghost /%{_lib}/libcrypt.so.1
1597 %defattr(644,root,root,755)
1598 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1599 %dir %{_sysconfdir}/ld.so.conf.d
1600 %ghost %{_sysconfdir}/ld.so.cache
1601 %attr(755,root,root) /sbin/ldconfig
1602 %{_mandir}/man8/ldconfig.8*
1603 %lang(es) %{_mandir}/es/man8/ldconfig.8*
1604 %lang(fr) %{_mandir}/fr/man8/ldconfig.8*
1605 %lang(hu) %{_mandir}/hu/man8/ldconfig.8*
1606 %lang(ja) %{_mandir}/ja/man8/ldconfig.8*
1607 %lang(pl) %{_mandir}/pl/man8/ldconfig.8*
1608 %lang(pt) %{_mandir}/pt/man8/ldconfig.8*
1609 %lang(ru) %{_mandir}/ru/man8/ldconfig.8*
1610 %dir %attr(700,root,root) /var/cache/ldconfig
1611 %attr(600,root,root) %ghost /var/cache/ldconfig/aux-cache
1613 %files -n nss_compat
1614 %defattr(644,root,root,755)
1615 %attr(755,root,root) /%{_lib}/libnss_compat-%{core_version}.so
1616 %attr(755,root,root) /%{_lib}/libnss_compat.so.2
1618 %files -n nss_hesiod
1619 %defattr(644,root,root,755)
1620 %attr(755,root,root) /%{_lib}/libnss_hesiod-%{core_version}.so
1621 %attr(755,root,root) /%{_lib}/libnss_hesiod.so.2
1624 %defattr(644,root,root,755)
1625 %attr(755,root,root) /%{_lib}/libnss_nis-%{core_version}.so
1626 %attr(755,root,root) /%{_lib}/libnss_nis.so.2
1628 %files -n nss_nisplus
1629 %defattr(644,root,root,755)
1630 %attr(755,root,root) /%{_lib}/libnss_nisplus-%{core_version}.so
1631 %attr(755,root,root) /%{_lib}/libnss_nisplus.so.2
1633 %if %{with memusage}
1635 %defattr(644,root,root,755)
1636 %attr(755,root,root) %{_bindir}/memusage*
1637 %attr(755,root,root) %{_libdir}/libmemusage.so
1641 %defattr(644,root,root,755)
1642 %attr(755,root,root) %{_libdir}/libBrokenLocale.so
1643 %attr(755,root,root) %{_libdir}/libanl.so
1644 %attr(755,root,root) %{_libdir}/libcrypt.so
1645 %attr(755,root,root) %{_libdir}/libcidn.so
1646 %attr(755,root,root) %{_libdir}/libdl.so
1647 %attr(755,root,root) %{_libdir}/libm.so
1648 %attr(755,root,root) %{_libdir}/libnsl.so
1649 %attr(755,root,root) %{_libdir}/libpcprofile.so
1650 %attr(755,root,root) %{_libdir}/libresolv.so
1651 %attr(755,root,root) %{_libdir}/librt.so
1652 %attr(755,root,root) %{_libdir}/libthread_db.so
1653 %attr(755,root,root) %{_libdir}/libutil.so
1654 %{_libdir}/crt[1in].o
1655 %{_libdir}/[MSg]crt1.o
1658 %{_libdir}/libpthread.so
1660 %{_libdir}/libbsd-compat.a
1662 %{_libdir}/libc_nonshared.a
1664 %{_libdir}/libieee.a
1665 %ifarch alpha ppc sparc
1666 %{_libdir}/libnldbl_nonshared.a
1668 %{_libdir}/libpthread_nonshared.a
1669 %{_libdir}/librpcsvc.a
1670 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1671 # ABI-dependent headers
1672 %{_includedir}/gnu/stubs-*.h
1676 %defattr(644,root,root,755)
1679 %{_includedir}/alpha
1683 %dir %{_includedir}/gnu
1684 %{_includedir}/gnu/lib*.h
1685 %{_includedir}/gnu/stubs.h
1687 %{_includedir}/netash
1688 %{_includedir}/netatalk
1689 %{_includedir}/netax25
1690 %{_includedir}/neteconet
1691 %{_includedir}/netiucv
1692 %{_includedir}/netinet
1693 %{_includedir}/netipx
1694 %{_includedir}/netpacket
1695 %{_includedir}/netrom
1696 %{_includedir}/netrose
1698 %{_includedir}/protocols
1700 %{_includedir}/rpcsvc
1705 %defattr(644,root,root,755)
1706 %attr(755,root,root) %{_bindir}/gencat
1707 %attr(755,root,root) %{_bindir}/*prof*
1708 %attr(755,root,root) %{_bindir}/*trace
1711 %defattr(644,root,root,755)
1712 %doc documentation/* PROJECTS
1713 %{_infodir}/libc.info*
1715 %{_mandir}/man1/sprof.1*
1717 %lang(cs) %{_mandir}/cs/man3/*
1718 %lang(de) %{_mandir}/de/man3/*
1719 %lang(es) %{_mandir}/es/man3/*
1720 %lang(fr) %{_mandir}/fr/man3/*
1721 %lang(hu) %{_mandir}/hu/man3/*
1722 %lang(it) %{_mandir}/it/man3/*
1723 %lang(ja) %{_mandir}/ja/man3/*
1724 %lang(ko) %{_mandir}/ko/man3/*
1725 %lang(nl) %{_mandir}/nl/man3/*
1726 %lang(pl) %{_mandir}/pl/man3/*
1727 %lang(pt) %{_mandir}/pt/man3/*
1728 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1729 %lang(ru) %{_mandir}/ru/man3/*
1730 %lang(tr) %{_mandir}/tr/man3/*
1731 %lang(uk) %{_mandir}/uk/man3/*
1732 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1735 %defattr(644,root,root,755)
1736 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1737 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1738 %attr(754,root,root) /etc/rc.d/init.d/nscd
1739 %config(noreplace) %verify(not md5 mtime size) /etc/init/nscd.conf
1740 %attr(755,root,root) %{_sbindir}/nscd*
1741 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1742 %attr(640,root,root) %ghost /var/log/nscd
1743 /usr/lib/tmpfiles.d/nscd.conf
1746 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1747 %attr(600,root,root) %ghost /var/lib/nscd/group
1748 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1749 %{_mandir}/man5/nscd.conf.5*
1750 %{_mandir}/man8/nscd.8*
1751 %{_mandir}/man8/nscd_nischeck.8*
1752 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1753 %lang(es) %{_mandir}/es/man8/nscd.8*
1754 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1755 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1756 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1757 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1758 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1759 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1760 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1761 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1762 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1764 %files -n localedb-src
1765 %defattr(644,root,root,755)
1766 %attr(755,root,root) %{_bindir}/localedef
1767 %attr(755,root,root) %{_bindir}/localedb-gen
1769 %{_mandir}/man1/localedef.1*
1770 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1772 %if %{with localedb}
1774 %defattr(644,root,root,755)
1775 %{_libdir}/locale/locale-archive
1779 %defattr(644,root,root,755)
1780 %attr(755,root,root) %{_sbindir}/iconvconfig
1781 %dir %{_libdir}/gconv
1782 %{_libdir}/gconv/gconv-modules
1783 %verify(not md5 mtime size) %{_libdir}/gconv/gconv-modules.cache
1784 %attr(755,root,root) %{_libdir}/gconv/*.so
1787 %defattr(644,root,root,755)
1789 %{_libdir}/libBrokenLocale.a
1791 %{_libdir}/libcrypt.a
1794 %{_libdir}/libmcheck.a
1796 %{_libdir}/libpthread.a
1797 %{_libdir}/libresolv.a
1799 %{_libdir}/libutil.a
1802 %defattr(644,root,root,755)
1806 %defattr(644,root,root,755)
1807 %{_libdir}/lib*_pic.a