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