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