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