]> git.pld-linux.org Git - packages/glibc.git/blame - glibc.spec
- fix PR math/12775: typo in sysdeps/x86_64/fpu/e_powl.S.
[packages/glibc.git] / glibc.spec
CommitLineData
d4a9e47c
PG
1# TODO:
2# - look at locale fixes/updates in bugzilla
3# - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section.
4# [OLD]
5# - localedb-gen man pages(?)
6# - math/{test-fenv,test-tgmath,test-float,test-ifloat},
7# debug/backtrace-tst(SEGV) fail on alpha
98a7741e 8#
b287d865 9# Conditional build:
5145b9c7 10# min_kernel (default is 2.6.12)
fd1d4127 11%bcond_without memusage # don't build memusage utility
757f96eb 12%bcond_without selinux # without SELinux support (in nscd)
c9d8e545 13%bcond_with tests # perform "make test"
0a85848c 14%bcond_without localedb # don't build localedb-all (is time consuming)
472e31ee 15%bcond_with cross # build using crossgcc (without libgcc_eh)
b287d865 16#
4c3586c2 17%{!?min_kernel:%global min_kernel 2.6.12}
f3f771b7 18
e24149ab
PS
19%ifarch sparc64
20%undefine with_memusage
21%endif
22
4769933b 23%define ports_version 2.12.1
f65fa240 24%define llh_version 7:2.6.20.4-1
e8c60795 25
236a5027 26Summary: GNU libc
32ba7e9f
ER
27Summary(de.UTF-8): GNU libc
28Summary(es.UTF-8): GNU libc
29Summary(fr.UTF-8): GNU libc
30Summary(ja.UTF-8): GNU libc ライブラリ
31Summary(pl.UTF-8): GNU libc
f55430af 32Summary(ru.UTF-8): GNU libc версии
32ba7e9f 33Summary(tr.UTF-8): GNU libc
f55430af 34Summary(uk.UTF-8): GNU libc версії
5240d049 35Name: glibc
ee738df3 36Version: 2.13
f62fa269 37Release: 6
f98eacd6 38Epoch: 6
c0367bf8 39License: LGPL v2.1+
236a5027 40Group: Libraries
ee738df3
AM
41#Source0: http://ftp.gnu.org/gnu/glibc/%{name}-%{version}.tar.xz
42Source0: %{name}-%{version}.tar.bz2
43# Source0-md5: 290b14e5ea57bafe19a637037519027c
4769933b
JB
44Source1: http://ftp.gnu.org/gnu/glibc/%{name}-ports-%{ports_version}.tar.bz2
45# Source1-md5: cb01ab976180e98287cef5079e35359e
4206408a 46Source2: nscd.init
47Source3: nscd.sysconfig
48Source4: nscd.logrotate
940eb3e9 49#Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
d25c303c 50Source5: http://qboosh.pl/man/%{name}-man-pages.tar.bz2
49ead7a0
JB
51# Source5-md5: f464eadf3cf06761f65639e44a179e6b
52Source6: %{name}-localedb-gen
53Source7: %{name}-LD-path.c
c150d6cc 54Patch1: %{name}-pl.po-update.patch
4206408a 55Patch2: %{name}-pld.patch
56Patch3: %{name}-crypt-blowfish.patch
98036fec 57Patch5: %{name}-sparc-softfp-gcc.patch
4b000c98 58Patch6: %{name}-paths.patch
a456b349 59Patch7: %{name}-no_opt_override.patch
e69f9d61
JB
60Patch8: %{name}-missing-nls.patch
61Patch9: %{name}-java-libc-wait.patch
f2d222e0 62Patch10: %{name}-info.patch
a456b349 63Patch11: %{name}-no_debuggable_objects.patch
ba326c24 64Patch14: %{name}-sparc-errno_fix.patch
c150d6cc
JB
65Patch15: %{name}-new-charsets.patch
66Patch16: %{name}-tzfile-noassert.patch
67Patch17: %{name}-morelocales.patch
68Patch18: %{name}-locale_fixes.patch
69Patch19: %{name}-ZA_collate.patch
14013232 70Patch20: %{name}-thread_start.patch
c150d6cc
JB
71Patch21: %{name}-cross-gcc_eh.patch
72Patch22: %{name}-with-stroke.patch
73Patch23: %{name}-pt_pax.patch
17a1a2af 74Patch25: %{name}-cv_gnu89_inline.patch
cbf1c4bb 75Patch26: %{name}-posix-sh.patch
d11fa1bd 76Patch27: %{name}-i686.patch
f789abee 77Patch29: %{name}-arm-alignment-fix.patch
b5aaf4cf 78Patch30: %{name}-bug-12492.patch
7795c908 79Patch31: %{name}-origin.patch
0a38c0f2 80Patch32: %{name}-Os-fail-workaround.patch
b5aaf4cf
AM
81Patch33: 0020_all_glibc-tweak-rfc1918-lookup.patch
82Patch34: 0050_all_glibc-2.13-ldso-prelink-segv.patch
83Patch35: 0055_all_glibc-2.12-static-shared-getpagesize.patch
84Patch36: 0060_all_glibc-2.13-static-memmove-ssse3.patch
85Patch37: 0061_all_glibc-2.13-static-memset.patch
86Patch38: 1055_all_glibc-resolv-dynamic.patch
87Patch39: 1070_all_glibc-fadvise64_64.patch
f62fa269 88Patch40: %{name}-pr12775.patch
959d1cc7 89URL: http://www.gnu.org/software/libc/
f70abfbb 90%{?with_selinux:BuildRequires: audit-libs-devel}
5b00029e 91BuildRequires: autoconf
69afb5a6 92BuildRequires: automake
a146a9da
JB
93%ifarch alpha
94BuildRequires: binutils >= 2:2.17.50.0.7
95%else
6b6b6315 96BuildRequires: binutils >= 2:2.15.90.0.3
a146a9da 97%endif
141e8ae3 98%{!?with_cross:BuildRequires: dietlibc-static}
5145b9c7 99BuildRequires: gawk
3686eabe 100BuildRequires: gcc >= 6:4.3
fd1d4127 101%{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
29f12ae8 102BuildRequires: gettext-devel >= 0.10.36
757f96eb 103%{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
f65fa240 104BuildRequires: linux-libc-headers >= %{llh_version}
872cafe3 105BuildRequires: nss-devel >= 1:3.12.3
c1db9e72 106BuildRequires: perl-base
42a6983a 107BuildRequires: rpm-build >= 4.3-0.20030610.28
f789abee 108BuildRequires: rpmbuild(macros) >= 1.567
9597ca56 109BuildRequires: sed >= 4.0.5
54e3db45 110BuildRequires: texinfo
cf408212 111Requires(post): ldconfig = %{epoch}:%{version}-%{release}
5145b9c7 112Requires: uname(release) >= %{min_kernel}
5145b9c7
JB
113Provides: glibc(nptl)
114Provides: glibc(tls)
56b2f963 115Provides: rtld(GNU_HASH)
e217c7d2
JB
116Obsoletes: glibc-common
117Obsoletes: glibc-debug
ed2a4886 118%ifarch %{x8664} sparc64 ppc64
bd3ecfb5
AM
119Provides: glibc64
120Obsoletes: glibc64
121%endif
2eac239d
ER
122Suggests: localedb
123Suggests: tzdata
0223ee0f 124Conflicts: %{name}-misc < %{epoch}:%{version}-%{release}
67cc5af0 125Conflicts: SysVinit < 2.86-11
ea3a228f 126Conflicts: kernel < %{min_kernel}
5145b9c7
JB
127Conflicts: kernel24
128Conflicts: kernel24-smp
4377d843 129Conflicts: ld.so < 1.9.9-10
bd975df5 130Conflicts: man-pages < 1.43
5b00029e 131Conflicts: poldek < 0.18.8-5
06fed0d7 132Conflicts: rc-scripts < 0.3.1-13
bd975df5 133Conflicts: rpm < 4.1
f789abee 134ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64 armv5tel
a0eebe50 135BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d90a3b13 136
cf7b4302 137# avoid -s here (ld.so must not be stripped to allow any program debugging)
f620b835 138%define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
9189fea3
AM
139# avoid -D_FORTIFY_SOURCE=X
140%define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+
141
355db1aa 142%define specflags_sparcv9 -mcpu=ultrasparc -mvis -fcall-used-g6
87a4ec26 143%define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
5145b9c7 144
b96231b6
JB
145# ld.so needs not to be stripped to work
146# gdb needs unstripped libpthread for some threading support
147# ...but we can strip at least debuginfo from them
b99e5008 148%define _autostripdebug .*/ld-[0-9.]*so\\|.*/libpthread-[0-9.]*so
b96231b6 149
37f910e8
JB
150# -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
151%ifarch sparc sparcv9
152%{expand:%%define __cc %{__cc} -m32}
153%endif
154
f789abee 155# Architectures supported in glibc-ports
524363ff 156%define ports_arch alpha %{arm}
f789abee 157
5145b9c7
JB
158# Xen-friendly glibc
159%define specflags_ia32 -mno-tls-direct-seg-refs
ffb5bcf1
AM
160%define specflags_x86_64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
161%define specflags_amd64 -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
5145b9c7
JB
162%define specflags_ia32e -mno-tls-direct-seg-refs
163
ff9a9e81
JB
164# we don't want perl dependency in glibc-devel
165%define _noautoreqfiles %{_bindir}/mtrace
42a6983a
JB
166# hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
167# (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
168# patched not to crash on partial hardlinks too)
169%define _hack_dontneed_PartialHardlinkSets 1
26e88040 170%define _noautochrpath .*\\(ldconfig\\|sln\\)
31aa574a
AM
171# private symbols
172%define _noautoprov .*\(GLIBC_PRIVATE\)
173%define _noautoreq .*\(GLIBC_PRIVATE\)
b88b18eb 174
d90a3b13 175%description
7a3b906b 176Contains the standard libraries that are used by multiple programs on
177the system. In order to save disk space and memory, as well as to ease
602a978a 178upgrades, common system code is kept in one place and shared between
179programs. This package contains the most important sets of shared
7a3b906b 180libraries, the standard C library and the standard math library.
181Without these, a Linux system will not function. It also contains
b1414da6 182national language (locale) support.
76f01b70 183
1cb6acca 184Can be used on: Linux kernel >= %{min_kernel}.
d90a3b13 185
94008272
JR
186%description -l es.UTF-8
187Contiene las bibliotecas estándared que son usadas por varios
d22b4284 188programas del sistema. Para ahorrar el espacio en el disco y la
94008272 189memoria, igual que para facilitar actualizaciones, código común del
d22b4284 190sistema se guarda en un sitio y es compartido entre los programas.
94008272
JR
191Este paquete contiene las bibliotecas compartidas más importantes, es
192decir la biblioteca C estándar y la biblioteca estándar de matemática.
193Sin éstas, un sistema Linux no podrá funcionar. También está incluido
b1414da6 194soporte de idiomas nacionales (locale).
4a04bb32 195
94008272 196Puede usarse con: núcleo Linux >= %{min_kernel}.
4a04bb32 197
94008272
JR
198%description -l de.UTF-8
199Enthält die Standard-Libraries, die von verschiedenen Programmen im
7a3b906b 200System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
201und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
202einer einzigen Stelle gespeichert und wird von den Programmen
94008272 203gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
7a3b906b 204shared Libraries, die Standard-C-Library und die
205Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
94008272 206Ferner enthält es den Support für die verschiedenen Sprachgregionen
b1414da6 207(locale).
76f01b70 208
1cb6acca 209Can be used on: Linux kernel >= %{min_kernel}.
d90a3b13 210
94008272
JR
211%description -l fr.UTF-8
212Contient les bibliothèques standards utilisées par de nombreux
213programmes du système. Afin d'économiser l'espace disque et mémoire,
214et de faciliter les mises à jour, le code commun au système est mis à
215un endroit et partagé entre les programmes. Ce paquetage contient les
216bibliothèques partagées les plus importantes, la bibliothèque standard
217du C et la bibliothèque mathématique standard. Sans celles-ci, un
218système Linux ne peut fonctionner. Il contient aussi la gestion des
b1414da6 219langues nationales (locales).
76f01b70 220
1cb6acca 221Can be used on: Linux kernel >= %{min_kernel}.
d90a3b13 222
94008272 223%description -l ja.UTF-8
c5387ad5 224glibc
94008272
JR
225パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
226ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
227用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
228間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
229重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
230この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc
231パッケージはまた地域言語 (locale) サポートとタイムゾーンデータベース
232サポートをふくみます。
76f01b70 233
1cb6acca 234Can be used on: Linux kernel >= %{min_kernel}.
e50f6fb1 235
94008272
JR
236%description -l pl.UTF-8
237W pakiecie znajdują się podstawowe biblioteki, używane przez różne
238programy w Twoim systemie. Używanie przez programy bibliotek z tego
239pakietu oszczędza miejsce na dysku i pamięć. Większość kodu
240systemowego jest usytuowane w jednym miejscu i dzielone między wieloma
241programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek
242standardowych, współdzielonych (dynamicznych) bibliotek C i
243matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować.
244Znajdują się tutaj również definicje różnych informacji dla wielu
245języków (locale).
246
247Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}.
248
249%description -l ru.UTF-8
250Содержит стандартные библиотеки, используемые многочисленными
251программами в системе. Для того, чтобы сохранить дисковое пространство
252и память, а также для простоты обновления, системный код, общий для
253всех программ, хранится в одном месте и коллективно используется всеми
254программами. Этот пакет содержит наиболее важные из разделяемых
255библиотек - стандартную библиотеку C и стандартную библиотеку
256математики. Без этих библиотек Linux функционировать не будет. Также
257пакет содержит поддержку национальных языков (locale).
76f01b70 258
1cb6acca 259Can be used on: Linux kernel >= %{min_kernel}.
98a7741e 260
94008272
JR
261%description -l tr.UTF-8
262Bu paket, birçok programın kullandığı standart kitaplıkları içerir.
263Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme
264işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde
265tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak
266kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını
267içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel
268dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır.
76f01b70 269
1cb6acca 270Can be used on: Linux kernel >= %{min_kernel}.
d90a3b13 271
94008272
JR
272%description -l uk.UTF-8
273Містить стандартні бібліотеки, котрі використовуються численними
274програмами в системі. Для того, щоб зберегти дисковий простір та
275пам'ять, а також для простоти поновлення системи, системний код,
276спільний для всіх програм, зберігається в одному місці і колективно
277використовується всіма програмами. Цей пакет містить найбільш важливі
278з динамічних бібліотек - стандартну бібліотеку С та стандартну
279бібліотеку математики. Без цих бібліотек Linux функціонувати не буде.
280Також пакет містить підтримку національних мов (locale).
76f01b70 281
1cb6acca 282Can be used on: Linux kernel >= %{min_kernel}.
98a7741e 283
c4fea372
JK
284%package misc
285Summary: Utilities and data used by glibc
32ba7e9f 286Summary(pl.UTF-8): Narzędzia i dane używane przez glibc
e44a2813 287Group: Applications/System
71181534 288Requires: %{name} = %{epoch}:%{version}-%{release}
c4fea372
JK
289
290%description misc
fd1d4127
JB
291Utilities and data used by glibc.
292
94008272
JR
293%description misc -l pl.UTF-8
294Narzędzia i dane używane przez glibc.
c4fea372 295
2eac239d
ER
296%package libcrypt
297Summary: glibc library for crypt(3)
33f26cf9 298Summary(pl.UTF-8): Biblioteka glibc z funkcją crypt(3)
2eac239d
ER
299Group: Libraries
300Requires: %{name} = %{epoch}:%{version}-%{release}
5191213e 301Provides: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
050e821f 302Provides: crypt(blowfish)
2eac239d
ER
303
304%description libcrypt
305glibc library for crypt(3).
306
33f26cf9
JB
307%description libcrypt -l pl.UTF-8
308Biblioteka glibc z funkcją crypt(3).
309
cf408212 310%package -n ldconfig
a2e4eb0a 311Summary: Create shared library cache and maintains symlinks
cf408212
ER
312Summary(de.UTF-8): Erstellt ein shared library cache und verwaltet symlinks
313Summary(fr.UTF-8): Crée un cache de bibliothčque partagée et gčre *.so
a2e4eb0a 314Summary(pl.UTF-8): Tworzenie cache'u bibliotek dynamicznych i ich dowiązań symbolicznych
cf408212
ER
315Summary(tr.UTF-8): Ortak kitaplýk önbelleđi yaratýr ve bađlantýlarý kurar
316Group: 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.
319Provides: /sbin/ldconfig
2eac239d
ER
320# we want FHS being installed before ldconfig, altho they are both unrelated to each-other.
321Requires: FHS
cf408212
ER
322
323%description -n ldconfig
324ldconfig scans a running system and sets up the symbolic links that
325are used to load shared libraries properly. It also creates
326/etc/ld.so.cache which speeds the loading programs which use shared
327libraries.
328
cf408212
ER
329%description -n ldconfig -l de.UTF-8
330ldconfig scannt ein laufendes System und richtet die symbolischen
331Verknüpfungen zum Laden der gemeinsam genutzten Libraries ein.
332Außerdem erstellt es /etc/ld.so.cache, was das Laden von Programmen
333mit gemeinsam genutzten Libraries beschleunigt.
334
335%description -n ldconfig -l fr.UTF-8
336ldconfig analyse un systčme et configure les liens symboliques
337utilisés pour charger correctement les bibliothčques partagées. Il
338crée aussi /etc/ld.so.cache qui accélčre le chargement des programmes
339utilisant les bibliothčques partagées.
340
a2e4eb0a 341%description -n ldconfig -l pl.UTF-8
e4652066 342ldconfig testuje uruchomiony system i tworzy dowiązania symboliczne,
a2e4eb0a
JB
343które są następnie używane do poprawnego ładowania bibliotek
344dynamicznych. Program ten tworzy plik /etc/ld.so.cache, który
345przyśpiesza ładowanie programów korzystających z bibliotek
346dynamicznych.
347
cf408212
ER
348%description -n ldconfig -l tr.UTF-8
349ldconfig, çalýţmakta olan sistemi araţtýrýr ve ortak kitaplýklarýn
350düzgün bir ţekilde yüklenmesi için gereken simgesel bađlantýlarý
351kurar. Ayrýca ortak kitaplýklarý kullanan programlarýn yüklenmesini
352hýzlandýran /etc/ld.so.cache dosyasýný yaratýr.
353
fb120840 354%package devel
959d1cc7 355Summary: Additional libraries required to compile
32ba7e9f
ER
356Summary(de.UTF-8): Weitere Libraries zum Kompilieren
357Summary(es.UTF-8): Bibliotecas adicionales necesarias para la compilación
358Summary(fr.UTF-8): Librairies supplémentaires nécessaires à la compilation
359Summary(ja.UTF-8): 標準 C ライブラリで使われるヘッダーとオブジェクトファイル
360Summary(pl.UTF-8): Dodatkowe biblioteki wymagane podczas kompilacji
361Summary(ru.UTF-8): Дополнительные библиотеки, необходимые для компиляции
362Summary(tr.UTF-8): Geliştirme için gerekli diğer kitaplıklar
363Summary(uk.UTF-8): Додаткові бібліотеки, потрібні для компіляції
959d1cc7 364Group: Development/Libraries
69afb5a6 365Requires: %{name} = %{epoch}:%{version}-%{release}
5191213e 366Requires: %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
5b00029e 367Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
9b9eac8d 368Requires: %{name}-headers = %{epoch}:%{version}-%{release}
5b00029e 369Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
b34a4e03 370Obsoletes: libiconv-devel
959d1cc7 371
372%description devel
7a3b906b 373To develop programs which use the standard C libraries (which nearly
374all programs do), the system needs to have these standard header files
375and object files available for creating the executables.
959d1cc7 376
94008272 377%description devel -l de.UTF-8
7a3b906b 378Bei der Entwicklung von Programmen, die die Standard-C-Libraries
94008272
JR
379verwenden (also fast alle), benötigt das System diese Standard-Header-
380und Objektdateien zum Erstellen der ausführbaren Programme.
d90a3b13 381
94008272
JR
382%description devel -l es.UTF-8
383Para desarrollar programas que utilizan las bibliotecas C estándar (lo
384cual hacen prácticamente todos los programas), el sistema necesita
4a04bb32 385disponer de estos ficheros de cabecera y de objetos para crear los
386ejecutables.
387
94008272
JR
388%description devel -l fr.UTF-8
389Pour développer des programmes utilisant les bibliothèques standard du
390C (ce que presque tous les programmes font), le système doit posséder
391ces fichiers en-têtes et objets standards pour créer les exécutables.
392
393%description devel -l ja.UTF-8
394glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C
395ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト
396ファイルを含みます。もし標準 C
397ライブラリを使用するプログラムを開発するなら
398実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル
399が使用できます。
400
401%description devel -l pl.UTF-8
402Pakiet ten jest niezbędny przy tworzeniu własnych programów
403korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki
404nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów
7a3b906b 405wykonywalnych i innych bibliotek.
d90a3b13 406
94008272
JR
407%description devel -l ru.UTF-8
408Для разработки программ, использующих стандартные библиотеки C (а
409практически все программы их используют), системе НЕОБХОДИМЫ хедеры и
410объектные файлы, содержащиеся в этом пакете, чтобы создавать
411исполняемые файлы.
98a7741e 412
94008272
JR
413%description devel -l tr.UTF-8
414C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar
415geliştirmek için gereken standart başlık dosyaları ve statik
416kitaplıklar.
d90a3b13 417
94008272
JR
418%description devel -l uk.UTF-8
419Для розробки програм, що використовують стандартні бібліотеки C
420(практично всі програми їх використовують), системі НЕОБХІДНІ хедери
421та об'єктні файли, що містяться в цьому пакеті, цоб створювати
422виконувані файли.
98a7741e 423
5b00029e
JB
424%package headers
425Summary: Header files for development using standard C libraries
32ba7e9f 426Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C
e44a2813 427Group: Development/Building
5b00029e
JB
428Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
429%ifarch %{x8664}
5145b9c7 430# If both -m32 and -m64 is to be supported on x86_64, x86_64 package
5b00029e 431# have to be installed, not ix86 one.
ae2d70c9
ER
432Obsoletes: glibc-headers(athlon)
433Obsoletes: glibc-headers(i386)
434Obsoletes: glibc-headers(i486)
435Obsoletes: glibc-headers(i586)
436Obsoletes: glibc-headers(i686)
437Obsoletes: glibc-headers(pentium3)
438Obsoletes: glibc-headers(pentium4)
5b00029e 439%endif
f70abfbb 440%ifarch ppc64
ae2d70c9 441Obsoletes: glibc-headers(ppc)
f70abfbb
JB
442%endif
443%ifarch s390x
ae2d70c9 444Obsoletes: glibc-headers(s390)
f70abfbb
JB
445%endif
446%ifarch sparc64
ae2d70c9 447Obsoletes: glibc-headers(sparc)
f70abfbb 448%endif
f65fa240 449Requires: linux-libc-headers >= %{llh_version}
5b00029e
JB
450
451%description headers
452The glibc-headers package contains the header files necessary for
453developing programs which use the standard C libraries (which are used
454by nearly all programs). If you are developing programs which will use
455the standard C libraries, your system needs to have these standard
456header files available in order to create the executables.
457
458Install glibc-headers if you are going to develop programs which will
459use the standard C libraries.
460
94008272
JR
461%description headers -l pl.UTF-8
462Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania
463programów używających standardowych bibliotek C (używanych przez
464prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
465standardowych bibliotek C, system wymaga dostępności tych
466standardowych plików nagłówkowych do tworzenia programów
5b00029e
JB
467wykonywalnych.
468
94008272
JR
469Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
470korzystające ze standardowych bibliotek C.
5b00029e
JB
471
472%package devel-utils
473Summary: Utilities needed for development using standard C libraries
32ba7e9f 474Summary(pl.UTF-8): Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C
5b00029e
JB
475Group: Development/Libraries
476Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
477%ifarch %{x8664}
478# If both -m32 and -m64 is to be supported on AMD64, x86_64 package
479# have to be installed, not ix86 one.
ae2d70c9
ER
480Obsoletes: glibc-devel-utils(athlon)
481Obsoletes: glibc-devel-utils(i386)
482Obsoletes: glibc-devel-utils(i486)
483Obsoletes: glibc-devel-utils(i586)
484Obsoletes: glibc-devel-utils(i686)
485Obsoletes: glibc-devel-utils(pentium3)
486Obsoletes: glibc-devel-utils(pentium4)
5b00029e 487%endif
f70abfbb 488%ifarch ppc64
ae2d70c9 489Obsoletes: glibc-devel-utils(ppc)
f70abfbb
JB
490%endif
491%ifarch s390x
ae2d70c9 492Obsoletes: glibc-devel-utils(s390)
f70abfbb
JB
493%endif
494%ifarch sparc64
ae2d70c9 495Obsoletes: glibc-devel-utils(sparc)
f70abfbb 496%endif
5b00029e
JB
497
498%description devel-utils
499The glibc-devel-utils package contains utilities necessary for
500developing programs which use the standard C libraries (which are used
501by nearly all programs). If you are developing programs which will use
502the standard C libraries, your system needs to have these utilities
503available.
504
505Install glibc-devel-utils if you are going to develop programs which
506will use the standard C libraries.
507
94008272
JR
508%description devel-utils -l pl.UTF-8
509Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania
510programów używających standardowych bibliotek C (używanych przez
511prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
512standardowych bibliotek C, system wymaga dostępności tych narzędzi do
513tworzenia programów wykonywalnych.
5b00029e 514
94008272
JR
515Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
516korzystające ze standardowych bibliotek C.
5b00029e
JB
517
518%package devel-doc
519Summary: Documentation needed for development using standard C libraries
32ba7e9f 520Summary(pl.UTF-8): Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C
5b00029e
JB
521Group: Documentation
522Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
523%ifarch %{x8664}
5145b9c7 524# If both -m32 and -m64 is to be supported on x86_64, x86_64 package
5b00029e 525# have to be installed, not ix86 one.
ae2d70c9
ER
526Obsoletes: glibc-devel-doc(athlon)
527Obsoletes: glibc-devel-doc(i386)
528Obsoletes: glibc-devel-doc(i486)
529Obsoletes: glibc-devel-doc(i586)
530Obsoletes: glibc-devel-doc(i686)
531Obsoletes: glibc-devel-doc(pentium3)
532Obsoletes: glibc-devel-doc(pentium4)
5b00029e 533%endif
f70abfbb 534%ifarch ppc64
ae2d70c9 535Obsoletes: glibc-devel-doc(ppc)
f70abfbb
JB
536%endif
537%ifarch s390x
ae2d70c9 538Obsoletes: glibc-devel-doc(s390)
f70abfbb
JB
539%endif
540%ifarch sparc64
ae2d70c9 541Obsoletes: glibc-devel-doc(sparc)
f70abfbb 542%endif
5b00029e
JB
543
544%description devel-doc
545The glibc-devel-doc package contains info and manual pages necessary
546for developing programs which use the standard C libraries (which are
547used by nearly all programs).
548
549Install glibc-devel-doc if you are going to develop programs which
550will use the standard C libraries.
551
94008272 552%description devel-doc -l pl.UTF-8
5b00029e 553Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
94008272 554rozwijania programów używających standardowych bibliotek C (używanych
5b00029e
JB
555przez prawie wszystkie programy).
556
94008272
JR
557Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
558korzystające ze standardowych bibliotek C.
5b00029e 559
fb120840 560%package -n nscd
bab19d4a 561Summary: Name Service Caching Daemon
32ba7e9f
ER
562Summary(es.UTF-8): Demonio de caché del servicio de nombres
563Summary(ja.UTF-8): ネームサービスキャッシングデーモン (nacd)
564Summary(pl.UTF-8): Demon zapamiętujący odpowiedzi serwisów nazw
565Summary(ru.UTF-8): Кэширующий демон сервисов имен
566Summary(uk.UTF-8): Кешуючий демон севісів імен
c0367bf8 567License: GPL v2
141e8ae3 568Group: Networking/Daemons
9b9eac8d
ER
569Requires(post): fileutils
570Requires(post,preun): /sbin/chkconfig
571Requires(postun): /usr/sbin/groupdel
572Requires(postun): /usr/sbin/userdel
da7cc665
JB
573Requires(pre): /bin/id
574Requires(pre): /usr/bin/getgid
575Requires(pre): /usr/sbin/groupadd
576Requires(pre): /usr/sbin/useradd
69afb5a6 577Requires: %{name} = %{epoch}:%{version}-%{release}
da7cc665 578%{?with_selinux:Requires: libselinux >= 1.18}
71181534 579Requires: rc-scripts >= 0.2.0
da7cc665
JB
580Provides: group(nscd)
581Provides: user(nscd)
bab19d4a 582
583%description -n nscd
7a3b906b 584nscd caches name service lookups; it can dramatically improve
90ff660b 585performance with NIS+, and may help with DNS as well.
bab19d4a 586
94008272
JR
587%description -n nscd -l es.UTF-8
588nscd guarda las peticiones del servicio de nombres en una caché; eso
589puede aumentar drásticamente las prestaciones de NIS+, y también puede
90ff660b 590ayudar con DNS.
4a04bb32 591
94008272
JR
592%description -n nscd -l ja.UTF-8
593Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
594ドラマティックに改善することができ、DNS を同様に補助します。
c5387ad5 595
94008272
JR
596%description -n nscd -l pl.UTF-8
597nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
598drastycznie poprawić szybkość działania NIS+.
c43e39f5 599
94008272
JR
600%description -n nscd -l ru.UTF-8
601nscd кэширует результаты запросов к сервисам имен; это может резко
602увеличить производительность работы с NIS+ и, также, может помочь с
98a7741e 603DNS.
604
94008272
JR
605%description -n nscd -l uk.UTF-8
606nscd кешує результати запросів до сервісів імен; це може сильно
607збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS.
98a7741e 608
d34cb8bc 609%package -n localedb-src
c5895f38 610Summary: locale database source code
32ba7e9f
ER
611Summary(es.UTF-8): Código fuente de la base de datos de los locales
612Summary(pl.UTF-8): Kod źródłowy bazy locale
2abb6d39 613Group: Libraries
69afb5a6 614Requires: %{name} = %{epoch}:%{version}-%{release}
860ccbf5 615Requires: gzip
a22f09bc 616Requires: sed
3fb16489 617Provides: localedb
d34cb8bc 618
619%description -n localedb-src
7a3b906b 620This add-on package contains the data needed to build the locale data
40430bed 621files to use the internationalization features of the GNU libc.
d34cb8bc 622
94008272 623%description -n localedb-src -l es.UTF-8
4a04bb32 624Este paquete adicional contiene los datos necesarios para construir
625los ficheros de locale, imprescindibles para usar las cualidades de
94008272 626internacionalización de GNU libc.
4a04bb32 627
94008272
JR
628%description -n localedb-src -l pl.UTF-8
629Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików
630lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU
40430bed
JB
631libc.
632
633%package localedb-all
634Summary: locale database for all locales supported by glibc
32ba7e9f
ER
635Summary(es.UTF-8): Base de datos de todos los locales soportados por glibc
636Summary(pl.UTF-8): Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc
40430bed 637Group: Libraries
69afb5a6 638Requires: %{name} = %{epoch}:%{version}-%{release}
9b9eac8d 639Requires: iconv = %{epoch}:%{version}-%{release}
3fb16489 640Provides: localedb
40430bed
JB
641
642%description localedb-all
643This package contains locale database for all locales supported by
420cf057 644glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
40430bed
JB
645something smaller with support for chosen locales only, consider
646installing localedb-src and regenerating database using localedb-gen
647script (when database is generated, localedb-src can be uninstalled).
648
94008272 649%description localedb-all -l es.UTF-8
d22b4284 650Este paquete contiene una base de datos de todos los locales
94008272
JR
651soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
65239 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
653locales elegidos, considérese instalar localedb-src y regenerar la
d22b4284 654base de datos usando el escript localedb-gen (una vez que la base de
94008272 655datos esté creada, localedb-src se podrá desinstalar).
4a04bb32 656
94008272
JR
657%description localedb-all -l pl.UTF-8
658Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji
659obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik
660(około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych
661lokalizacji, należy zainstalować pakiet localedb-src i przegenerować
662bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy
663pakiet localedb-src można odinstalować).
d34cb8bc 664
665%package -n iconv
666Summary: Convert encoding of given files from one encoding to another
32ba7e9f
ER
667Summary(es.UTF-8): Convierte entre varias codificaciones de los ficheros dados
668Summary(pl.UTF-8): Moduły do konwersji plików tekstowych z jednego kodowania do innego
2abb6d39 669Group: Libraries
69afb5a6 670Requires: %{name} = %{epoch}:%{version}-%{release}
175873de 671Provides: iconv(%{_target_base_arch})
d34cb8bc 672
673%description -n iconv
7a3b906b 674Convert encoding of given files from one encoding to another. You need
4a04bb32 675this package if you want to convert some document from one encoding to
c5895f38 676another or if you have installed some programs which use Generic
7a3b906b 677Character Set Conversion Interface.
d34cb8bc 678
94008272
JR
679%description -n iconv -l es.UTF-8
680Convierte la codificación de dados ficheros. Necesita este paquete si
681quiere convertir un documento entre una codificación (juego de
682caracteres) y otra, o si tiene instalado algún programa que usa el
683Generic Character Set Conversion Interface (interfaz genérica de
684conversión de juegos de caracteres).
685
686%description -n iconv -l pl.UTF-8
687Moduły do konwersji plików tekstowych z jednego kodowania do innego.
688Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję
689dokumentów z jednego kodowania do innego lub do używania programów
690korzystających z Generic Character Set Conversion Interface w glibc,
691czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję
2abb6d39 692kodowania danych z poziomu dowolnego programu.
d34cb8bc 693
fb120840 694%package static
73dbfadc 695Summary: Static GNU libc libraries
32ba7e9f 696Summary(es.UTF-8): Bibliotecas estáticas
73dbfadc 697Summary(pl.UTF-8): Biblioteki statyczne GNU libc
32ba7e9f
ER
698Summary(ru.UTF-8): Статические библиотеки glibc
699Summary(uk.UTF-8): Статичні бібліотеки glibc
c7df086f 700Group: Development/Libraries
69afb5a6 701Requires: %{name}-devel = %{epoch}:%{version}-%{release}
ca91c518 702Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
b34a4e03 703Obsoletes: libiconv-static
c7df086f 704
705%description static
d34cb8bc 706GNU libc static libraries.
c7df086f 707
94008272
JR
708%description static -l es.UTF-8
709Bibliotecas estáticas de GNU libc.
4a04bb32 710
94008272 711%description static -l pl.UTF-8
d34cb8bc 712Biblioteki statyczne GNU libc.
713
94008272
JR
714%description static -l ru.UTF-8
715Это отдельный пакет со статическими библиотеками, которые больше не
716входят в glibc-devel.
98a7741e 717
94008272
JR
718%description static -l uk.UTF-8
719Це окремий пакет зі статичними бібліотеками, що більше не входять в
720склад glibc-devel.
98a7741e 721
d34cb8bc 722%package profile
723Summary: glibc with profiling support
32ba7e9f
ER
724Summary(de.UTF-8): glibc mit Profil-Unterstützung
725Summary(es.UTF-8): glibc con soporte de perfilamiento
726Summary(fr.UTF-8): glibc avec support pour profiling
727Summary(pl.UTF-8): glibc ze wsparciem dla profilowania
728Summary(ru.UTF-8): GNU libc с поддержкой профайлера
729Summary(tr.UTF-8): Ölçüm desteği olan glibc
730Summary(uk.UTF-8): GNU libc з підтримкою профайлера
d34cb8bc 731Group: Development/Libraries/Libc
69afb5a6 732Requires: %{name}-devel = %{epoch}:%{version}-%{release}
dd75ad7c 733Obsoletes: libc-profile
d34cb8bc 734
735%description profile
4a04bb32 736When programs are being profiled using gprof, they must use these
7a3b906b 737libraries instead of the standard C libraries for gprof to be able to
738profile them correctly.
d34cb8bc 739
94008272
JR
740%description profile -l de.UTF-8
741Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
742Libraries anstelle der üblichen C-Libraries verwendet werden.
d34cb8bc 743
94008272 744%description profile -l es.UTF-8
4a04bb32 745Cuando programas son perfilidas usando gprof, tienen que usar estas
94008272 746biblioteces en vez de las estándares para que gprof pueda perfilarlas
4a04bb32 747correctamente.
748
94008272
JR
749%description profile -l pl.UTF-8
750Programy profilowane za pomocą gprof muszą używać tych bibliotek
751zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je
752wyprofilować.
753
754%description profile -l uk.UTF-8
755Коли програми досліджуються профайлером gprof, вони повинні
756використовувати замість стандартних бібліотек бібліотеки, що містяться
757в цьому пакеті. При використанні стандартних бібліотек gprof замість
758реальних результатів буде показувати ціни на папайю в Гонолулу в
759позаминулому році...
760
761%description profile -l tr.UTF-8
762gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu
763kitaplığı kullanmak zorundadırlar.
764
765%description profile -l ru.UTF-8
766Когда программы исследуются профайлером gprof, они должны
767использовать, вместо стандартных библиотек, библиотеки, включенные в
768этот пакет. При использовании стандартных библиотек gprof вместо
769реальных результатов будет показывать цены на папайю в Гонолулу в
770позапрошлом году...
98a7741e 771
71a76fad 772%package pic
5240d049 773Summary: glibc PIC archive
32ba7e9f
ER
774Summary(es.UTF-8): Archivo PIC de glibc
775Summary(pl.UTF-8): Archiwum PIC glibc
908ab141 776Group: Development/Libraries/Libc
69afb5a6 777Requires: %{name}-devel = %{epoch}:%{version}-%{release}
71a76fad 778
779%description pic
908ab141 780GNU C Library PIC archive contains an archive library (ar file)
781composed of individual shared objects. This is used for creating a
782library which is a smaller subset of the standard libc shared library.
71a76fad 783
94008272 784%description pic -l es.UTF-8
d22b4284
SP
785El archivo PIC de la biblioteca glibc contiene una biblioteca
786archivada (un fichero ar) compuesta de individuales objetos
787compartidos. Es usado para crear una biblioteca que sea un subconjunto
94008272 788más pequeño de la biblioteca libc compartida estándar.
4a04bb32 789
94008272
JR
790%description pic -l pl.UTF-8
791Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar)
792złożoną z pojedynczych obiektów współdzielonych. Używana jest do
793tworzenia biblioteki będącej mniejszym podzestawem standardowej
794biblioteki współdzielonej libc.
5240d049 795
4206408a 796%package -n nss_compat
797Summary: Old style NYS NSS glibc module
32ba7e9f
ER
798Summary(es.UTF-8): El antiguo módulo NYS NSS de glibc
799Summary(pl.UTF-8): Stary moduł NYS NSS glibc
4206408a 800Group: Base
69afb5a6 801Requires: %{name} = %{epoch}:%{version}-%{release}
c37d4a8e 802
4206408a 803%description -n nss_compat
5240d049
TP
804Old style NYS NSS glibc module.
805
94008272
JR
806%description -n nss_compat -l es.UTF-8
807El antiguo módulo NYS NSS de glibc
4a04bb32 808
94008272
JR
809%description -n nss_compat -l pl.UTF-8
810Stary moduł NYS NSS glibc.
c37d4a8e 811
4206408a 812%package -n nss_dns
813Summary: BIND NSS glibc module
32ba7e9f
ER
814Summary(es.UTF-8): Módulo BIND NSS de glibc
815Summary(pl.UTF-8): Moduł BIND NSS glibc
4206408a 816Group: Base
69afb5a6 817Requires: %{name} = %{epoch}:%{version}-%{release}
c37d4a8e 818
4206408a 819%description -n nss_dns
820BIND NSS glibc module.
c37d4a8e 821
94008272
JR
822%description -n nss_dns -l es.UTF-8
823Módulo BIND NSS de glibc.
4a04bb32 824
94008272
JR
825%description -n nss_dns -l pl.UTF-8
826Moduł BIND NSS glibc.
5240d049 827
4206408a 828%package -n nss_files
829Summary: Traditional files databases NSS glibc module
32ba7e9f
ER
830Summary(es.UTF-8): Módulo de tradicionales bases de datos en ficheros para glibc
831Summary(pl.UTF-8): Moduł tradycyjnych plikowych baz danych NSS glibc
4206408a 832Group: Base
69afb5a6 833Requires: %{name} = %{epoch}:%{version}-%{release}
c37d4a8e 834
4206408a 835%description -n nss_files
836Traditional files databases NSS glibc module.
c37d4a8e 837
94008272
JR
838%description -n nss_files -l es.UTF-8
839Módulo de tradicionales bases de datos en ficheros para glibc.
4a04bb32 840
94008272
JR
841%description -n nss_files -l pl.UTF-8
842Moduł tradycyjnych plikowych baz danych NSS glibc.
5240d049 843
4206408a 844%package -n nss_hesiod
c6600969 845Summary: hesiod NSS glibc module
32ba7e9f
ER
846Summary(es.UTF-8): Módulo hesiod NSS de glibc
847Summary(pl.UTF-8): Moduł hesiod NSS glibc
4206408a 848Group: Base
69afb5a6 849Requires: %{name} = %{epoch}:%{version}-%{release}
c37d4a8e 850
4206408a 851%description -n nss_hesiod
5240d049
TP
852glibc NSS (Name Service Switch) module for databases access.
853
94008272
JR
854%description -n nss_hesiod -l es.UTF-8
855Módulo hesiod NSS de glibc.
4a04bb32 856
94008272
JR
857%description -n nss_hesiod -l pl.UTF-8
858Moduł glibc NSS (Name Service Switch) dostępu do baz danych.
c37d4a8e 859
4206408a 860%package -n nss_nis
861Summary: NIS(YP) NSS glibc module
32ba7e9f
ER
862Summary(es.UTF-8): Módulo NIS(YP) NSS de glibc
863Summary(pl.UTF-8): Moduł NIS(YP) NSS glibc
4206408a 864Group: Base
69afb5a6 865Requires: %{name} = %{epoch}:%{version}-%{release}
c37d4a8e 866
4206408a 867%description -n nss_nis
5240d049
TP
868glibc NSS (Name Service Switch) module for NIS(YP) databases access.
869
94008272
JR
870%description -n nss_nis -l es.UTF-8
871Módulo NSS de glibc para acceder las bases de datos NIS(YP).
4a04bb32 872
94008272
JR
873%description -n nss_nis -l pl.UTF-8
874Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS(YP).
c37d4a8e 875
4206408a 876%package -n nss_nisplus
877Summary: NIS+ NSS module
32ba7e9f
ER
878Summary(es.UTF-8): Módulo NIS+ NSS
879Summary(pl.UTF-8): Moduł NIS+ NSS
4206408a 880Group: Base
69afb5a6 881Requires: %{name} = %{epoch}:%{version}-%{release}
c37d4a8e 882
4206408a 883%description -n nss_nisplus
4a04bb32 884glibc NSS (Name Service Switch) module for NIS+ databases access.
885
94008272
JR
886%description -n nss_nisplus -l es.UTF-8
887Módulo NSS (Name Service Switch) de glibc para acceder las bases de
d22b4284 888datos NIS+.
5240d049 889
94008272
JR
890%description -n nss_nisplus -l pl.UTF-8
891Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS+.
c37d4a8e 892
4206408a 893%package memusage
5240d049 894Summary: A toy
32ba7e9f
ER
895Summary(es.UTF-8): Un juguete
896Summary(pl.UTF-8): Zabawka
f78859cb 897Group: Applications
69afb5a6 898Requires: %{name} = %{epoch}:%{version}-%{release}
c37d4a8e 899
4206408a 900%description memusage
901A toy.
c37d4a8e 902
94008272 903%description memusage -l es.UTF-8
4a04bb32 904Un juguete.
905
94008272 906%description memusage -l pl.UTF-8
5240d049
TP
907Zabawka.
908
602a978a 909%prep
f789abee 910%setup -q -a1
243dae60 911mv %{name}-ports-%{ports_version} ports
304607d7 912#%patch1 -p1
d36b187a 913%patch2 -p1
6c231cd2 914%patch3 -p0
98036fec 915%patch5 -p1
16c630b5 916%patch6 -p1
a456b349 917%patch7 -p1
abd55222 918%patch8 -p1
e69f9d61 919%patch9 -p1
f2d222e0 920%patch10 -p1
5145b9c7 921%patch11 -p1
ba326c24 922%patch14 -p0
c150d6cc
JB
923%patch15 -p1
924%patch16 -p1
cb209861 925%patch17 -p1
c150d6cc
JB
926%patch18 -p1
927%patch19 -p1
14013232 928%patch20 -p1
c150d6cc
JB
929%{?with_cross:%patch21 -p1}
930%patch22 -p1
931%patch23 -p0
17a1a2af 932%patch25 -p1
cbf1c4bb 933%patch26 -p1
d11fa1bd 934%patch27 -p1
f789abee 935%patch29 -p1
b5aaf4cf 936%patch30 -p0
591ac343 937%patch31 -p1
0a38c0f2 938%patch32 -p1
12042753 939%patch33 -p1
b5aaf4cf
AM
940%patch34 -p1
941%patch35 -p1
942%patch36 -p1
943%patch37 -p1
944%patch38 -p1
945%patch39 -p1
f62fa269 946%patch40 -p1
94e35f34 947
cbf1c4bb
ER
948# cleanup backups after patching
949find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
de1c7a1b 950
98a7741e 951chmod +x scripts/cpp
d90a3b13 952
40240acb 953# i786 (aka pentium4) hack
2147a6a1
ER
954ln -s i686 nptl/sysdeps/i386/i786
955ln -s i686 nptl/sysdeps/unix/sysv/linux/i386/i786
40240acb 956
d90a3b13 957%build
0469b7fd 958# glibc has its own way to remove PLT relocations. / H. J. Lu.
28a2e091 959unset LD_SYMBOLIC_FUNCTIONS || :
0469b7fd 960
9b9d0010 961cp -f /usr/share/automake/config.sub scripts
68ed41fd
PS
962%{__aclocal}
963%{__autoconf}
5145b9c7 964
2ed7b994 965rm -rf builddir
cfac0d25 966install -d builddir
e2a5184e 967cd builddir
472e31ee
JB
968%ifarch sparc64
969CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
970%endif
f789abee 971
972AddOns=nptl,libidn
973%ifarch %{ports_arch}
974AddOns=$AddOns,ports
975%endif
976
5145b9c7 977AWK="gawk" \
e2a5184e 978../%configure \
49db3d50 979 --enable-kernel="%{min_kernel}" \
5145b9c7 980 --enable-omitfp \
6658c043 981 --with-headers=%{_includedir} \
40240acb
JB
982 --with%{!?with_selinux:out}-selinux \
983 --with-tls \
f789abee 984 --enable-add-ons=$AddOns \
d00dd085 985%if "%{pld_release}" != "ti"
e8a20a65 986 --enable-nss-crypt \
d00dd085 987%endif
5145b9c7
JB
988 --enable-stackguard-randomization \
989 --enable-hidden-plt \
4b632179 990 --enable-bind-now \
2ed7b994 991 --enable-profile
55463a82 992
f3cc1845 993%{__make} \
87a4ec26
TP
994 AWK="gawk" \
995 sLIBdir=%{_libdir}
f3cc1845 996
5145b9c7 997cd ..
cfac0d25 998
e81552c8 999%if %{with tests}
cbf1c4bb 1000cd builddir
e81552c8 1001env LANGUAGE=C LC_ALL=C \
00139ef4 1002%{__make} tests 2>&1 | awk '
e81552c8
AM
1003BEGIN { file = "" }
1004{
114d7fe6 1005 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
e81552c8
AM
1006 file=$0;
1007 gsub(/.*\[/, NIL, file);
1008 gsub(/\].*/, NIL, file);
1009 }
00139ef4 1010 print $0;
e81552c8
AM
1011}
1012END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
40240acb
JB
1013cd ..
1014done
e81552c8 1015%endif
adfd3b3d 1016
cf408212
ER
1017%if %{without cross}
1018CC="%{__cc}"
1019diet ${CC#*ccache } %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
f70abfbb 1020%endif
b6bedda4 1021
d90a3b13 1022%install
1023rm -rf $RPM_BUILD_ROOT
239a2604 1024install -d $RPM_BUILD_ROOT{/etc/{default,logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd,/var/cache/ldconfig}
f8865a58 1025
e2a5184e 1026cd builddir
5240d049 1027env LANGUAGE=C LC_ALL=C \
1739e791 1028%{__make} install \
bab19d4a 1029 install_root=$RPM_BUILD_ROOT \
1030 infodir=%{_infodir} \
1031 mandir=%{_mandir}
f8865a58 1032
0a85848c 1033%if %{with localedb}
5240d049 1034env LANGUAGE=C LC_ALL=C \
8ab3a6c9 1035%{__make} localedata/install-locales \
bab19d4a 1036 install_root=$RPM_BUILD_ROOT
0a85848c 1037%endif
d90a3b13 1038
5240d049
TP
1039PICFILES="libc_pic.a libc.map
1040 math/libm_pic.a libm.map
1041 resolv/libresolv_pic.a"
71a76fad 1042
6dd5516a
ER
1043install -p $PICFILES $RPM_BUILD_ROOT%{_libdir}
1044install -p elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
1045install -p elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
17a1a2af
ER
1046
1047# Include %{_libdir}/gconv/gconv-modules.cache
72a35b9e 1048./iconv/iconvconfig --nostdlib --prefix=$RPM_BUILD_ROOT %{_libdir}/gconv -o $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.cache
cfac0d25 1049cd ..
8ab3a6c9 1050
cf408212 1051%if %{without cross}
6dd5516a 1052install -p glibc-postinst $RPM_BUILD_ROOT/sbin
f70abfbb 1053%endif
b6bedda4 1054
4c3586c2 1055%{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
c4fea372 1056mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
77d92b8b 1057
b1414da6 1058# moved to tzdata package
b96231b6 1059rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
b1414da6 1060rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
d90a3b13 1061
277c4a9d 1062ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
ff4a133a 1063
277c4a9d 1064# make symlinks across top-level directories absolute
17a1a2af 1065for l in BrokenLocale anl cidn crypt dl m nsl resolv rt thread_db util; do
b96231b6 1066 test -L $RPM_BUILD_ROOT%{_libdir}/lib${l}.so || exit 1
277c4a9d 1067 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
b96231b6 1068 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib${l}.so.*) $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
277c4a9d
JB
1069done
1070
b96231b6
JB
1071# linking nss modules directly is not supported
1072rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1073
6dd5516a
ER
1074install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
1075cp -a %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
1076cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1077cp -a nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
1078cp -a posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
1079cp -a nis/nss $RPM_BUILD_ROOT/etc/default/nss
bebe21cc 1080sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
16c630b5 1081
c646f82f 1082bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
aca59b69 1083: > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
60d03a9f 1084install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
5145b9c7 1085echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
aca59b69 1086: > $RPM_BUILD_ROOT/var/cache/ldconfig/aux-cache
1087
8ab3a6c9 1088rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
c37d4a8e 1089
bc9012d1
ER
1090# doesn't fit with out tzdata concept and configure.in is stupid assuming bash
1091# is first posix compatible shell making this script depend on bash.
1092rm -f $RPM_BUILD_ROOT%{_bindir}/tzselect
1093rm -f $RPM_BUILD_ROOT%{_mandir}/man8/tzselect.8*
1094rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/tzselect.8*
1095
aca59b69 1096: > $RPM_BUILD_ROOT/var/log/nscd
1097: > $RPM_BUILD_ROOT/var/lib/nscd/passwd
1098: > $RPM_BUILD_ROOT/var/lib/nscd/group
1099: > $RPM_BUILD_ROOT/var/lib/nscd/hosts
236a5027 1100
cfac0d25
JB
1101rm -rf documentation
1102install -d documentation
16c630b5 1103
5145b9c7 1104for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
6dd5516a 1105 cp -af nptl/$f documentation/$f.nptl
3cc9adfc 1106done
6dd5516a 1107cp -af crypt/README.ufc-crypt ChangeLog* documentation
d90a3b13 1108
503c0862 1109# Collect locale files and mark them with %%lang()
cfac0d25 1110echo '%defattr(644,root,root,755)' > glibc.lang
17a1a2af 1111for i in $RPM_BUILD_ROOT%{_datadir}/locale/*; do
503c0862 1112 if [ -d $i ]; then
aba67afa
JB
1113 lang=$(basename $i)
1114 dir="${i#$RPM_BUILD_ROOT}"
cfac0d25 1115 echo "%lang($lang) $dir" >> glibc.lang
503c0862
JR
1116 fi
1117done
84dca6d3 1118
4b000c98 1119# NOTES:
429f21ad 1120# Languages not supported by glibc locales, but usable via $LANGUAGE:
1121# ang - Old English (gtk+, gnome)
d6195ea1 1122# ca@valencia (gtk+, gnome; as ca_ES@valencia in FileZilla; locale exists in Debian)
73dbfadc 1123# en@shaw - English with Shavian alphabet (gnome)
a0bcd2f8 1124# la - Latin
429f21ad 1125# tlh - Klingon (bzflag)
0fea14e7
JB
1126# and variants:
1127# sr@ije (use LANGUAGE=sr_ME@ije/sr_RS@ije) (gnome)
429f21ad 1128#
84dca6d3 1129# To be added when they become supported by glibc:
d22ff81f 1130# az_IR (gtk+2)
30e8fcec 1131# bal (newt,pessulus)
d22ff81f 1132# bem (alacarte)
62c42f94 1133# ckb [or ku_IQ/ku_IR] (vlc,miro)
d22ff81f 1134# co (vlc)
a0bcd2f8
JB
1135# fil (stellarium)
1136# frp (xfce)
d22ff81f 1137# gn (gn_BR in gnome, maybe gn_PY)
a0bcd2f8
JB
1138# haw (iso-codes, stellarium)
1139# hrx (stellarium)
4dafc7ca 1140# ilo (kudzu)
d22ff81f 1141# io (gtk+2, gnome, alacarte)
a0bcd2f8
JB
1142# jv (gmpc, avant-window-navigator, kdesudo)
1143# kg (gtk+3, gnome)
a06dc0e1 1144# kok (iso-codes)
62c42f94 1145# lb (geany,miro)
4d7ff07c 1146# man (ccsm; incorrectly named md)
a0bcd2f8 1147# mhr (pidgin)
a06dc0e1 1148# mus (bluez-gnome)
a0bcd2f8
JB
1149# pms (deluge)
1150# sco (gnomad2, picard, stellarium)
30e8fcec 1151# swg (sim)
a06dc0e1 1152# syr (iso-codes)
30e8fcec 1153# tet (vlc)
84dca6d3 1154#
f8d57f3f
JB
1155# To be removed (after fixing packages still using it):
1156# sr@Latn (use sr@latin instead)
1157#
1158# To be clarified:
a0bcd2f8
JB
1159# sr@ije or sr@ijekavian? (currently sr@ije is supported)
1160# sr@ijelatin or sr@ijekavianlatin? (currently not supported)
1161# sr@ijekavian and sr@ijekavianlatin exist in: akonadi-googledata, amarok, k3b, konversation, ktorrent, wesnoth
a7515877 1162#
b4ec8e5c 1163# bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
84dca6d3 1164# till now.
b4ec8e5c 1165#
84dca6d3 1166# Omitted here - already existing (with libc.mo):
1167# 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
1168# sv tr zh_CN zh_TW
b4ec8e5c 1169#
4dafc7ca 1170for i in aa aa@saaho af am an ang ar ar_TN as ast az be@alternative be@latin \
30e8fcec 1171 bg bn bn_IN br bs byn ca@valencia crh csb cy de_AT de_CH dv dz en \
a8365837 1172 en@boldquot en@quot en@shaw en_AU en_CA en_NZ en_US eo es_AR es_CL es_CO es_CR \
d6195ea1
PZ
1173 es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_SV es_UY \
1174 es_VE et eu fa fil fo fr_BE fr_CA fr_CH fur fy ga gd gez gu gv ha he \
2727838b 1175 hi hne hsb hy ia id ig ik is it_CH iu ka kk kl km kn ks ku kw ky la \
f566bef7 1176 lg li lo lt lv mai mg mi mk ml mn mr ms mt my nds ne nl_BE nn nr nso \
73dbfadc 1177 oc om or pa pap ps pt ps rm ro sa sc se si sid sl so sq sr sr@Latn tl \
f566bef7 1178 sr@ije sr@latin ss st sw ta te tg th ti tig tk tl tlh tn ts tt ug uk \
1179 ur uz uz@cyrillic ve vi wa wal wo xh yi yo zh_HK zu; do
8ab3a6c9 1180 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
5b2b5619 1181 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
aba67afa 1182 # use lang() tags with ll_CC@variant (stripping charset and @quot|@boldquot)
6dd5516a 1183 lang=$(echo $i | sed -e 's/@quot\>\|@boldquot\>//')
cfac0d25 1184 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
5b2b5619 1185 fi
1186done
503c0862 1187
a2e4eb0a 1188# LC_TIME category, used for localized date formats (at least by coreutils)
cf2f91f4 1189for i in af be bg ca cs da de el en es et eu fi fr ga gl hu id it ja kk ko lg lt \
c687d10f 1190 ms nb nl pl pt pt_BR ro ru rw sk sl sv tr uk vi zh_CN zh_TW; do
a2e4eb0a
JB
1191 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i ]; then
1192 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1193 fi
1194 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_TIME
1195done
1196
40430bed 1197# localedb-gen infrastructure
ae7aa792
ER
1198sed -e 's,@localedir@,%{_libdir}/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1199chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen
cfac0d25 1200install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
40430bed 1201
8ab3a6c9 1202# shutup check-files
8bc00675
JB
1203rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1204rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1205rm -f $RPM_BUILD_ROOT%{_infodir}/dir
8ab3a6c9 1206# we don't support kernel without ptys support
49db3d50 1207rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
31242617
JR
1208# rpcbind
1209rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/rpcinfo.8
1210rm -f $RPM_BUILD_ROOT%{_mandir}/man8/rpcinfo.8
1211rm -f $RPM_BUILD_ROOT%{_sbindir}/rpcinfo
88300fde 1212
ea870772
JB
1213%clean
1214rm -rf $RPM_BUILD_ROOT
1215
cf408212 1216%if %{without cross}
d326d834 1217%post -p /sbin/postshell
3a32e57b 1218/sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
ecf87e84 1219/sbin/ldconfig
88300fde 1220
6d1ad2d5 1221%postun -p /sbin/ldconfig
d90a3b13 1222
5145b9c7 1223%triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
60d03a9f
JB
1224-/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1225-/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
f70abfbb 1226%endif
60d03a9f 1227
c305d730
ER
1228%triggerin -- cronie,vixie-cron,hc-cron,fcron,mcron
1229# restart crond if glibc is upgraded, LP#721338
1230if [ "$1" != 1 ]; then
1231 %service -q crond restart
1232fi
1233
2eac239d
ER
1234%post libcrypt -p /sbin/ldconfig
1235%postun libcrypt -p /sbin/ldconfig
1236
5240d049 1237%post memusage -p /sbin/ldconfig
5145b9c7 1238%postun memusage -p /sbin/ldconfig
05486726 1239
c7640575 1240%post -n localedb-src
c73a611f
ER
1241SUPPORTED_LOCALES=
1242[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
1243[ -f /etc/sysconfig/localedb ] && . /etc/sysconfig/localedb
1244if [ "$SUPPORTED_LOCALES" ]; then
1245 localedb-gen || :
1246fi
4fdef2e6 1247
bd37152b
ER
1248%post devel -p /sbin/postshell
1249-/usr/sbin/fix-info-dir -c %{_infodir}
d90a3b13 1250
bd37152b
ER
1251%postun devel -p /sbin/postshell
1252-/usr/sbin/fix-info-dir -c %{_infodir}
d90a3b13 1253
da7cc665 1254%pre -n nscd
e9351fa5 1255%groupadd -P nscd -g 144 -r nscd
b7ce3475 1256%useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "Name Service Cache Daemon" -g nscd nscd
da7cc665 1257
8912a874 1258%post -n nscd
6dd5516a
ER
1259if [ ! -f /var/log/nscd ]; then
1260 umask 027
1261 touch /var/log/nscd
1262 chown root:root /var/log/nscd
1263 chmod 640 /var/log/nscd
1264fi
19cc9468 1265/sbin/chkconfig --add nscd
6dd5516a 1266%service nscd restart "Name Service Cache Daemon"
8912a874 1267
1268%preun -n nscd
19cc9468 1269if [ "$1" = "0" ]; then
9b9eac8d 1270 %service nscd stop
19cc9468 1271 /sbin/chkconfig --del nscd
1272fi
8912a874 1273
da7cc665
JB
1274%postun -n nscd
1275if [ "$1" = "0" ]; then
1276 %userremove nscd
1277 %groupremove nscd
1278fi
1279
2eac239d 1280%files -f %{name}.lang
d22b4284 1281%defattr(644,root,root,755)
e2a5184e 1282%doc README NEWS FAQ BUGS
175873de 1283%if %{without cross}
b6bedda4 1284%attr(755,root,root) /sbin/glibc-postinst
f70abfbb 1285%endif
4f129782 1286# TODO: package ldconfig symlinks as %ghost
6d1ad2d5
JB
1287%attr(755,root,root) /%{_lib}/ld-%{version}.so
1288# wildly arch-dependent ld.so SONAME symlink
87a4ec26 1289%ifarch %{ix86} sparc sparcv9 sparc64 alpha sh
6d1ad2d5
JB
1290%attr(755,root,root) /%{_lib}/ld-linux.so.2
1291%endif
1292%ifarch ia64
1293%attr(755,root,root) /%{_lib}/ld-linux-ia64.so.2
1294%endif
1295%ifarch %{x8664}
1296%attr(755,root,root) /%{_lib}/ld-linux-x86-64.so.2
1297%endif
1298%ifarch ppc64 s390x
1299%attr(755,root,root) /%{_lib}/ld64.so.1
1300%endif
f789abee 1301%ifnarch %{ix86} sparc sparcv9 sparc64 alpha sh ia64 %{x8664} ppc64 s390x %{arm}
6d1ad2d5
JB
1302%attr(755,root,root) /%{_lib}/ld.so.1
1303%endif
d3708d98 1304%attr(755,root,root) /%{_lib}/libBrokenLocale-%{version}.so
6d1ad2d5 1305%ifarch alpha
d3708d98 1306%attr(755,root,root) /%{_lib}/libBrokenLocale.so.1.1
6d1ad2d5 1307%else
d3708d98 1308%attr(755,root,root) /%{_lib}/libBrokenLocale.so.1
6d1ad2d5
JB
1309%endif
1310%attr(755,root,root) /%{_lib}/libSegFault.so
1311%attr(755,root,root) /%{_lib}/libanl-%{version}.so
1312%attr(755,root,root) /%{_lib}/libanl.so.1
1313%attr(755,root,root) /%{_lib}/libc-%{version}.so
1314%ifarch alpha ia64
1315%attr(755,root,root) /%{_lib}/libc.so.6.1
1316%else
1317%attr(755,root,root) /%{_lib}/libc.so.6
1318%endif
1319%attr(755,root,root) /%{_lib}/libcidn-%{version}.so
1320%attr(755,root,root) /%{_lib}/libcidn.so.1
6d1ad2d5
JB
1321%attr(755,root,root) /%{_lib}/libdl-%{version}.so
1322%ifarch alpha
1323%attr(755,root,root) /%{_lib}/libdl.so.2.1
1324%else
1325%attr(755,root,root) /%{_lib}/libdl.so.2
1326%endif
1327%attr(755,root,root) /%{_lib}/libm-%{version}.so
1328%ifarch alpha ia64
1329%attr(755,root,root) /%{_lib}/libm.so.6.1
1330%else
1331%attr(755,root,root) /%{_lib}/libm.so.6
1332%endif
c27ca4a2 1333%attr(755,root,root) /%{_lib}/libnsl-%{version}.so
6d1ad2d5
JB
1334%ifarch alpha
1335%attr(755,root,root) /%{_lib}/libnsl.so.1.1
1336%else
1337%attr(755,root,root) /%{_lib}/libnsl.so.1
1338%endif
1339%attr(755,root,root) /%{_lib}/libpthread-%{version}.so
1340%attr(755,root,root) /%{_lib}/libpthread.so.0
1341%attr(755,root,root) /%{_lib}/libresolv-%{version}.so
1342%ifarch alpha
1343%attr(755,root,root) /%{_lib}/libresolv.so.2.1
1344%else
1345%attr(755,root,root) /%{_lib}/libresolv.so.2
1346%endif
1347%attr(755,root,root) /%{_lib}/librt-%{version}.so
1348%attr(755,root,root) /%{_lib}/librt.so.1
1349%attr(755,root,root) /%{_lib}/libthread_db-1.0.so
1350%attr(755,root,root) /%{_lib}/libthread_db.so.1
1351%attr(755,root,root) /%{_lib}/libutil-%{version}.so
1352%ifarch alpha
1353%attr(755,root,root) /%{_lib}/libutil.so.1.1
1354%else
1355%attr(755,root,root) /%{_lib}/libutil.so.1
1356%endif
0a85848c 1357%{?with_localedb:%dir %{_libdir}/locale}
c4fea372 1358
0b0bde94
JK
1359#%files -n nss_dns
1360%defattr(644,root,root,755)
6d1ad2d5
JB
1361%attr(755,root,root) /%{_lib}/libnss_dns-%{version}.so
1362%attr(755,root,root) /%{_lib}/libnss_dns.so.2
0b0bde94
JK
1363
1364#%files -n nss_files
1365%defattr(644,root,root,755)
6d1ad2d5
JB
1366%attr(755,root,root) /%{_lib}/libnss_files-%{version}.so
1367%attr(755,root,root) /%{_lib}/libnss_files.so.2
0b0bde94 1368
c4fea372 1369%defattr(644,root,root,755)
236a5027 1370
f307cfc5 1371%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
87d5a0d2 1372%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
e8a20a65 1373%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/default/nss
87d5a0d2 1374
4206408a 1375%config %{_sysconfdir}/rpc
c37d4a8e 1376
fea833d1 1377%attr(755,root,root) /sbin/sln
72549d49 1378%attr(755,root,root) %{_bindir}/getconf
ba697d79 1379%attr(755,root,root) %{_bindir}/getent
3abcf615 1380%attr(755,root,root) %{_bindir}/iconv
472e31ee 1381%ifarch %{ix86} m68k sparc sparcv9
ba697d79 1382%attr(755,root,root) %{_bindir}/lddlibc4
f15a9825 1383%endif
ba697d79 1384%attr(755,root,root) %{_bindir}/locale
ba697d79 1385%attr(755,root,root) %{_bindir}/rpcgen
ba697d79 1386
bab19d4a 1387%attr(755,root,root) %{_sbindir}/zdump
1388%attr(755,root,root) %{_sbindir}/zic
236a5027 1389
72549d49
JB
1390%dir %{_libexecdir}/getconf
1391%attr(755,root,root) %{_libexecdir}/getconf/*
1392
503c0862
JR
1393%dir %{_datadir}/locale
1394%{_datadir}/locale/locale.alias
236a5027 1395
72549d49 1396%{_mandir}/man1/getconf.1*
4377d843 1397%{_mandir}/man1/getent.1*
fa0f5e25 1398%{_mandir}/man1/iconv.1*
fa0f5e25
JB
1399%{_mandir}/man1/locale.1*
1400%{_mandir}/man1/rpcgen.1*
1401%{_mandir}/man5/locale.5*
1402%{_mandir}/man5/nsswitch.conf.5*
1403%{_mandir}/man5/tzfile.5*
3d65e37f 1404%{_mandir}/man7/*
a2e4eb0a
JB
1405%{_mandir}/man8/ld-linux.8*
1406%{_mandir}/man8/ld-linux.so.8*
1407%{_mandir}/man8/ld.so.8*
fa0f5e25 1408%{_mandir}/man8/sln.8*
fa0f5e25
JB
1409%{_mandir}/man8/zdump.8*
1410%{_mandir}/man8/zic.8*
1411%lang(cs) %{_mandir}/cs/man7/*
1412%lang(de) %{_mandir}/de/man5/tzfile.5*
1413%lang(de) %{_mandir}/de/man7/*
1414%lang(es) %{_mandir}/es/man5/locale.5*
1415%lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1416%lang(es) %{_mandir}/es/man5/tzfile.5*
1417%lang(es) %{_mandir}/es/man7/*
a2e4eb0a
JB
1418%lang(es) %{_mandir}/es/man8/ld-linux.8*
1419%lang(es) %{_mandir}/es/man8/ld-linux.so.8*
6d1ad2d5 1420%lang(es) %{_mandir}/es/man8/ld.so.8*
fa0f5e25
JB
1421%lang(es) %{_mandir}/es/man8/zdump.8*
1422%lang(es) %{_mandir}/es/man8/zic.8*
fa0f5e25
JB
1423%lang(fr) %{_mandir}/fr/man5/locale.5*
1424%lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1425%lang(fr) %{_mandir}/fr/man5/tzfile.5*
1426%lang(fr) %{_mandir}/fr/man7/*
a2e4eb0a
JB
1427%lang(fr) %{_mandir}/fr/man8/ld-linux.8*
1428%lang(fr) %{_mandir}/fr/man8/ld-linux.so.8*
1429%lang(fr) %{_mandir}/fr/man8/ld.so.8*
fa0f5e25
JB
1430%lang(fr) %{_mandir}/fr/man8/zdump.8*
1431%lang(fr) %{_mandir}/fr/man8/zic.8*
fa0f5e25 1432%lang(hu) %{_mandir}/hu/man7/*
a2e4eb0a
JB
1433%lang(hu) %{_mandir}/hu/man8/ld-linux.8*
1434%lang(hu) %{_mandir}/hu/man8/ld-linux.so.8*
1435%lang(hu) %{_mandir}/hu/man8/ld.so.8*
fa0f5e25
JB
1436%lang(hu) %{_mandir}/hu/man8/zdump.8*
1437%lang(it) %{_mandir}/it/man5/locale.5*
1438%lang(it) %{_mandir}/it/man7/*
fa0f5e25 1439%lang(it) %{_mandir}/it/man8/zdump.8*
fa0f5e25
JB
1440%lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1441%lang(ja) %{_mandir}/ja/man5/locale.5*
1442%lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1443%lang(ja) %{_mandir}/ja/man5/tzfile.5*
3d65e37f 1444%lang(ja) %{_mandir}/ja/man7/*
a2e4eb0a
JB
1445%lang(ja) %{_mandir}/ja/man8/ld-linux.8*
1446%lang(ja) %{_mandir}/ja/man8/ld-linux.so.8*
1447%lang(ja) %{_mandir}/ja/man8/ld.so.8*
fa0f5e25 1448%lang(ja) %{_mandir}/ja/man8/sln.8*
fa0f5e25
JB
1449%lang(ja) %{_mandir}/ja/man8/zdump.8*
1450%lang(ja) %{_mandir}/ja/man8/zic.8*
1451%lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1452%lang(ko) %{_mandir}/ko/man5/tzfile.5*
1453%lang(ko) %{_mandir}/ko/man7/*
fa0f5e25 1454%lang(ko) %{_mandir}/ko/man8/zdump.8*
fa0f5e25
JB
1455%lang(pl) %{_mandir}/pl/man5/locale.5*
1456%lang(pl) %{_mandir}/pl/man7/*
a2e4eb0a
JB
1457%lang(pl) %{_mandir}/pl/man8/ld-linux.8*
1458%lang(pl) %{_mandir}/pl/man8/ld-linux.so.8*
1459%lang(pl) %{_mandir}/pl/man8/ld.so.8*
fa0f5e25
JB
1460%lang(pt) %{_mandir}/pt/man5/locale.5*
1461%lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1462%lang(pt) %{_mandir}/pt/man5/tzfile.5*
3d65e37f 1463%lang(pt) %{_mandir}/pt/man7/*
fa0f5e25
JB
1464%lang(pt) %{_mandir}/pt/man8/zdump.8*
1465%lang(pt) %{_mandir}/pt/man8/zic.8*
49ead7a0
JB
1466%lang(ru) %{_mandir}/ru/man1/getent.1*
1467%lang(ru) %{_mandir}/ru/man1/iconv.1*
49ead7a0
JB
1468%lang(ru) %{_mandir}/ru/man1/locale.1*
1469%lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1470%lang(ru) %{_mandir}/ru/man5/locale.5*
fa0f5e25
JB
1471%lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1472%lang(ru) %{_mandir}/ru/man5/tzfile.5*
1473%lang(ru) %{_mandir}/ru/man7/*
a2e4eb0a
JB
1474%lang(ru) %{_mandir}/ru/man8/ld-linux.so.8*
1475%lang(ru) %{_mandir}/ru/man8/ld.so.8*
fa0f5e25
JB
1476%lang(ru) %{_mandir}/ru/man8/zdump.8*
1477%lang(ru) %{_mandir}/ru/man8/zic.8*
49ead7a0 1478%lang(tr) %{_mandir}/tr/man1/iconv.1*
fa0f5e25 1479%lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
fa0f5e25
JB
1480%lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1481%lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1482%lang(zh_CN) %{_mandir}/zh_CN/man7/*
fa0f5e25
JB
1483%lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1484%lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
4206408a 1485
cbf1c4bb 1486%files misc
2eac239d
ER
1487%defattr(644,root,root,755)
1488%attr(755,root,root) %{_bindir}/catchsegv
1489%attr(755,root,root) %{_bindir}/ldd
2eac239d
ER
1490%{_mandir}/man1/catchsegv.1*
1491%{_mandir}/man1/ldd.1*
2eac239d 1492%lang(es) %{_mandir}/es/man1/ldd.1*
2eac239d
ER
1493%lang(fi) %{_mandir}/fi/man1/ldd.1*
1494%lang(fr) %{_mandir}/fr/man1/ldd.1*
2eac239d 1495%lang(hu) %{_mandir}/hu/man1/ldd.1*
2eac239d 1496%lang(ja) %{_mandir}/ja/man1/ldd.1*
2eac239d 1497%lang(ko) %{_mandir}/ko/man1/ldd.1*
2eac239d 1498%lang(pl) %{_mandir}/pl/man1/ldd.1*
2eac239d 1499%lang(ru) %{_mandir}/ru/man1/ldd.1*
2eac239d
ER
1500%lang(tr) %{_mandir}/tr/man1/ldd.1*
1501%lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
2eac239d
ER
1502
1503%files libcrypt
1504%defattr(644,root,root,755)
1505%attr(755,root,root) /%{_lib}/libcrypt-%{version}.so
1506%ifarch alpha
2f715077 1507%attr(755,root,root) %ghost /%{_lib}/libcrypt.so.1.1
2eac239d 1508%else
2f715077 1509%attr(755,root,root) %ghost /%{_lib}/libcrypt.so.1
2eac239d
ER
1510%endif
1511
1512%files -n ldconfig
1513%defattr(644,root,root,755)
1514%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1515%dir %{_sysconfdir}/ld.so.conf.d
1516%ghost %{_sysconfdir}/ld.so.cache
1517%attr(755,root,root) /sbin/ldconfig
1518%{_mandir}/man8/ldconfig.8*
1519%lang(es) %{_mandir}/es/man8/ldconfig.8*
1520%lang(fr) %{_mandir}/fr/man8/ldconfig.8*
1521%lang(hu) %{_mandir}/hu/man8/ldconfig.8*
1522%lang(ja) %{_mandir}/ja/man8/ldconfig.8*
1523%lang(pl) %{_mandir}/pl/man8/ldconfig.8*
1524%lang(pt) %{_mandir}/pt/man8/ldconfig.8*
1525%lang(ru) %{_mandir}/ru/man8/ldconfig.8*
239a2604 1526%dir %attr(700,root,root) /var/cache/ldconfig
2f715077 1527%attr(600,root,root) %ghost /var/cache/ldconfig/aux-cache
2eac239d 1528
94655bd2 1529%files -n nss_compat
1530%defattr(644,root,root,755)
6d1ad2d5
JB
1531%attr(755,root,root) /%{_lib}/libnss_compat-%{version}.so
1532%attr(755,root,root) /%{_lib}/libnss_compat.so.2
94655bd2 1533
e82c8242 1534%files -n nss_hesiod
1535%defattr(644,root,root,755)
6d1ad2d5
JB
1536%attr(755,root,root) /%{_lib}/libnss_hesiod-%{version}.so
1537%attr(755,root,root) /%{_lib}/libnss_hesiod.so.2
e82c8242 1538
1539%files -n nss_nis
1540%defattr(644,root,root,755)
6d1ad2d5
JB
1541%attr(755,root,root) /%{_lib}/libnss_nis-%{version}.so
1542%attr(755,root,root) /%{_lib}/libnss_nis.so.2
e82c8242 1543
1544%files -n nss_nisplus
1545%defattr(644,root,root,755)
6d1ad2d5
JB
1546%attr(755,root,root) /%{_lib}/libnss_nisplus-%{version}.so
1547%attr(755,root,root) /%{_lib}/libnss_nisplus.so.2
e82c8242 1548
fd1d4127 1549%if %{with memusage}
4206408a 1550%files memusage
1551%defattr(644,root,root,755)
1552%attr(755,root,root) %{_bindir}/memusage*
fd1d4127 1553%attr(755,root,root) %{_libdir}/libmemusage.so
5ea2d863 1554%endif
4206408a 1555
462c36a3 1556%files devel
236a5027 1557%defattr(644,root,root,755)
6d1ad2d5
JB
1558%attr(755,root,root) %{_libdir}/libBrokenLocale.so
1559%attr(755,root,root) %{_libdir}/libanl.so
40240acb 1560%attr(755,root,root) %{_libdir}/libcrypt.so
c27ca4a2 1561%attr(755,root,root) %{_libdir}/libcidn.so
6d1ad2d5 1562%attr(755,root,root) %{_libdir}/libdl.so
40240acb 1563%attr(755,root,root) %{_libdir}/libm.so
6d1ad2d5 1564%attr(755,root,root) %{_libdir}/libnsl.so
40240acb 1565%attr(755,root,root) %{_libdir}/libpcprofile.so
6d1ad2d5
JB
1566%attr(755,root,root) %{_libdir}/libresolv.so
1567%attr(755,root,root) %{_libdir}/librt.so
1568%attr(755,root,root) %{_libdir}/libthread_db.so
1569%attr(755,root,root) %{_libdir}/libutil.so
a8a2db2c
PS
1570%{_libdir}/crt[1in].o
1571%{_libdir}/[MSg]crt1.o
40240acb
JB
1572# ld scripts
1573%{_libdir}/libc.so
1574%{_libdir}/libpthread.so
6d1ad2d5 1575# static-only libs
40240acb
JB
1576%{_libdir}/libbsd-compat.a
1577%{_libdir}/libbsd.a
1578%{_libdir}/libc_nonshared.a
1579%{_libdir}/libg.a
1580%{_libdir}/libieee.a
5145b9c7
JB
1581%ifarch alpha ppc sparc
1582%{_libdir}/libnldbl_nonshared.a
1583%endif
40240acb
JB
1584%{_libdir}/libpthread_nonshared.a
1585%{_libdir}/librpcsvc.a
fb46cf23 1586%ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
6d1ad2d5 1587# ABI-dependent headers
5b00029e 1588%{_includedir}/gnu/stubs-*.h
fb46cf23 1589%endif
5b00029e
JB
1590
1591%files headers
1592%defattr(644,root,root,755)
462c36a3 1593%{_includedir}/*.h
3c882bd9
JB
1594%ifarch alpha
1595%{_includedir}/alpha
1596%endif
462c36a3 1597%{_includedir}/arpa
1598%{_includedir}/bits
5b00029e
JB
1599%dir %{_includedir}/gnu
1600%{_includedir}/gnu/lib*.h
1601%{_includedir}/gnu/stubs.h
462c36a3 1602%{_includedir}/net
1603%{_includedir}/netash
1604%{_includedir}/netatalk
1605%{_includedir}/netax25
1606%{_includedir}/neteconet
d410ca53 1607%{_includedir}/netiucv
462c36a3 1608%{_includedir}/netinet
1609%{_includedir}/netipx
1610%{_includedir}/netpacket
1611%{_includedir}/netrom
1612%{_includedir}/netrose
1613%{_includedir}/nfs
1614%{_includedir}/protocols
1615%{_includedir}/rpc
1616%{_includedir}/rpcsvc
1617%{_includedir}/scsi
1618%{_includedir}/sys
1619
5b00029e
JB
1620%files devel-utils
1621%defattr(644,root,root,755)
1622%attr(755,root,root) %{_bindir}/gencat
1623%attr(755,root,root) %{_bindir}/*prof*
1624%attr(755,root,root) %{_bindir}/*trace
1625
1626%files devel-doc
1627%defattr(644,root,root,755)
1628%doc documentation/* NOTES PROJECTS
900994f2 1629%{_infodir}/libc.info*
d90a3b13 1630
fa0f5e25 1631%{_mandir}/man1/sprof.1*
2c6699cc 1632%{_mandir}/man3/*
1fc785e2 1633%lang(cs) %{_mandir}/cs/man3/*
1634%lang(de) %{_mandir}/de/man3/*
1635%lang(es) %{_mandir}/es/man3/*
1636%lang(fr) %{_mandir}/fr/man3/*
1637%lang(hu) %{_mandir}/hu/man3/*
fa0f5e25 1638%lang(it) %{_mandir}/it/man3/*
1145bfaf 1639%lang(ja) %{_mandir}/ja/man3/*
1640%lang(ko) %{_mandir}/ko/man3/*
1641%lang(nl) %{_mandir}/nl/man3/*
1642%lang(pl) %{_mandir}/pl/man3/*
1643%lang(pt) %{_mandir}/pt/man3/*
49ead7a0 1644%lang(ru) %{_mandir}/ru/man1/sprof.1*
1145bfaf 1645%lang(ru) %{_mandir}/ru/man3/*
49ead7a0 1646%lang(tr) %{_mandir}/tr/man3/*
fa0f5e25
JB
1647%lang(uk) %{_mandir}/uk/man3/*
1648%lang(zh_CN) %{_mandir}/zh_CN/man3/*
236a5027 1649
bab19d4a 1650%files -n nscd
1651%defattr(644,root,root,755)
f307cfc5
JB
1652%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1653%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
46b7a91b 1654%attr(754,root,root) /etc/rc.d/init.d/nscd
4206408a 1655%attr(755,root,root) %{_sbindir}/nscd*
f307cfc5 1656%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
ddf4fb34 1657%attr(640,root,root) %ghost /var/log/nscd
7dc8db4b 1658%dir /var/run/nscd
f307cfc5
JB
1659%dir /var/lib/nscd
1660%attr(600,root,root) %ghost /var/lib/nscd/passwd
1661%attr(600,root,root) %ghost /var/lib/nscd/group
1662%attr(600,root,root) %ghost /var/lib/nscd/hosts
fa0f5e25
JB
1663%{_mandir}/man5/nscd.conf.5*
1664%{_mandir}/man8/nscd.8*
1665%{_mandir}/man8/nscd_nischeck.8*
49ead7a0
JB
1666%lang(es) %{_mandir}/es/man5/nscd.conf.5*
1667%lang(es) %{_mandir}/es/man8/nscd.8*
fa0f5e25
JB
1668%lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1669%lang(fr) %{_mandir}/fr/man8/nscd.8*
1670%lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1671%lang(ja) %{_mandir}/ja/man8/nscd.8*
1672%lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1673%lang(pt) %{_mandir}/pt/man8/nscd.8*
49ead7a0
JB
1674%lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1675%lang(ru) %{_mandir}/ru/man8/nscd.8*
1676%lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
c43e39f5 1677
d34cb8bc 1678%files -n localedb-src
1679%defattr(644,root,root,755)
ba697d79 1680%attr(755,root,root) %{_bindir}/localedef
40430bed 1681%attr(755,root,root) %{_bindir}/localedb-gen
d34cb8bc 1682%{_datadir}/i18n
fa0f5e25 1683%{_mandir}/man1/localedef.1*
49ead7a0 1684%lang(ru) %{_mandir}/ru/man1/localedef.1*
40430bed 1685
0a85848c 1686%if %{with localedb}
40430bed
JB
1687%files localedb-all
1688%defattr(644,root,root,755)
fbd4c876 1689%{_libdir}/locale/locale-archive
0a85848c 1690%endif
d34cb8bc 1691
1692%files -n iconv
1693%defattr(644,root,root,755)
436fd1ea 1694%attr(755,root,root) %{_sbindir}/iconvconfig
fbd4c876 1695%dir %{_libdir}/gconv
1696%{_libdir}/gconv/gconv-modules
17a1a2af 1697%verify(not md5 mtime size) %{_libdir}/gconv/gconv-modules.cache
fbd4c876 1698%attr(755,root,root) %{_libdir}/gconv/*.so
d34cb8bc 1699
c7df086f 1700%files static
1701%defattr(644,root,root,755)
fbd4c876 1702%{_libdir}/libanl.a
1703%{_libdir}/libBrokenLocale.a
1704%{_libdir}/libc.a
1705%{_libdir}/libcrypt.a
1706%{_libdir}/libdl.a
1707%{_libdir}/libm.a
1708%{_libdir}/libmcheck.a
1709%{_libdir}/libnsl.a
1710%{_libdir}/libpthread.a
1711%{_libdir}/libresolv.a
1712%{_libdir}/librt.a
1713%{_libdir}/libutil.a
e2a5184e 1714
d34cb8bc 1715%files profile
1716%defattr(644,root,root,755)
fbd4c876 1717%{_libdir}/lib*_p.a
71a76fad 1718
1719%files pic
1720%defattr(644,root,root,755)
fbd4c876 1721%{_libdir}/lib*_pic.a
1722%{_libdir}/lib*.map
1723%{_libdir}/soinit.o
1724%{_libdir}/sofini.o
This page took 0.67672 seconds and 4 git commands to generate.