]> git.pld-linux.org Git - packages/glibc.git/blob - glibc.spec
- added ta LC_TIME dir; release 3
[packages/glibc.git] / glibc.spec
1 # TODO:
2 # - consider moving klogctl.3 man to man-pages (and drop syslog.2 stub hacks here)
3 # - restore --with-pkgversion when tcl upstream fixes the #3599098 (broken platform::identify).
4 # - --enable-systemtap
5 # - look at locale fixes/updates in bugzilla
6 # - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section.
7 # [OLD]
8 # - localedb-gen man pages(?)
9 # - math/{test-fenv,test-tgmath,test-float,test-ifloat}, debug/backtrace-tst(SEGV)  fail on alpha
10 #
11 # Conditional build:
12 # min_kernel    (default is 3.2.0 with arch specific values x32 (3.4.0) aarch64 (3.7.0) ia64 (3.2.18))
13 %bcond_without  memusage        # don't build memusage utility
14 %bcond_without  selinux         # without SELinux support (in nscd)
15 %bcond_with     tests           # perform "make test"
16 %bcond_without  localedb        # don't build localedb-all (is time consuming)
17 %bcond_with     cross           # make a cross build, skip native programs
18 %bcond_without  nss_crypt       # disable crypt features based on Mozilla NSS library
19 %bcond_with     bash_nls        # use bash NLS in shell scripts (ldd, sotruss); restores /bin/bash dep
20 %bcond_without  cet             # Intel Control-flow Enforcement Technology (CET)
21 %bcond_with     crypt           # don't build obsolete libcrypt
22 #
23 %ifarch aarch64
24 %{!?min_kernel:%global          min_kernel      3.7.0}
25 %endif
26 %ifarch ia64
27 %{!?min_kernel:%global          min_kernel      3.2.18}
28 %endif
29 %ifarch x32
30 %{!?min_kernel:%global          min_kernel      3.4.0}
31 %endif
32 %ifnarch aarch64 ia64 x32
33 %{!?min_kernel:%global          min_kernel      3.2.0}
34 %endif
35
36 %ifarch sparc64
37 %undefine       with_memusage
38 %endif
39 %ifnarch i686 %{x8664} x32
40 %undefine       with_cet
41 %endif
42 %ifnarch %{arm}
43 %define         with_static_pie         1
44 %endif
45
46 %define         core_version    2.38
47 %define         llh_version     7:2.6.32.1-1
48
49 Summary:        GNU libc
50 Summary(de.UTF-8):      GNU libc
51 Summary(es.UTF-8):      GNU libc
52 Summary(fr.UTF-8):      GNU libc
53 Summary(ja.UTF-8):      GNU libc ライブラリ
54 Summary(pl.UTF-8):      GNU libc
55 Summary(ru.UTF-8):      GNU libc версии
56 Summary(tr.UTF-8):      GNU libc
57 Summary(uk.UTF-8):      GNU libc версії
58 Name:           glibc
59 Version:        %{core_version}
60 Release:        3
61 Epoch:          6
62 License:        LGPL v2.1+
63 Group:          Libraries
64 Source0:        https://ftp.gnu.org/gnu/glibc/%{name}-%{version}.tar.xz
65 # Source0-md5:  778cce0ea6bf7f84ca8caacf4a01f45b
66 Source2:        nscd.init
67 Source3:        nscd.sysconfig
68 Source4:        nscd.logrotate
69 # from man-pages.spec --with tars
70 Source5:        %{name}-man-pages.tar.xz
71 # Source5-md5:  4481fa9cbead3fe9d24af66666db1c86
72 Source6:        %{name}-localedb-gen
73 Source7:        %{name}-LD-path.c
74 Source9:        nscd.tmpfiles
75 # use branch.sh to update glibc-git.patch
76 Patch0:         glibc-git.patch
77 # Patch0-md5:   a9727b84c17f674a264d206c89dcf90b
78 # against GNU TP (libc domain)
79 #Patch1:                %{name}-pl.po-update.patch
80 Patch2:         %{name}-pld.patch
81 Patch3:         %{name}-crypt-blowfish.patch
82 Patch4:         %{name}-no-bash-nls.patch
83 Patch6:         %{name}-paths.patch
84
85 Patch10:        %{name}-info.patch
86 Patch11:        %{name}-autoconf.patch
87
88 Patch14:        %{name}-sparc-errno_fix.patch
89 Patch15:        %{name}-new-charsets.patch
90
91 # additions pending for upstream merge or taken from other distros
92 Patch17:        %{name}-morelocales.patch
93 # fixes mostly pending for upstream merge
94 Patch18:        %{name}-locale_fixes.patch
95 Patch19:        %{name}-ZA_collate.patch
96
97 Patch23:        %{name}-pt_pax.patch
98
99 Patch30:        glibc-rh1124987.patch
100 Patch31:        arm-widevine-compat.patch
101 URL:            http://www.gnu.org/software/libc/
102 %{?with_selinux:BuildRequires:  audit-libs-devel}
103 BuildRequires:  autoconf >= 2.71
104 BuildRequires:  automake
105 BuildRequires:  binutils >= 4:2.29
106 BuildRequires:  bison >= 2.7
107 %{!?with_cross:BuildRequires:   dietlibc-static}
108 BuildRequires:  gawk >= 3.1.2
109 %ifarch aarch64
110 BuildRequires:  gcc >= 6:10.1.0
111 %else
112 %if %{with cet}
113 BuildRequires:  gcc >= 6:8.0
114 %else
115 BuildRequires:  gcc >= 6:6.2
116 %endif
117 %endif
118 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
119 BuildRequires:  gettext-tools >= 0.10.36
120 %{?with_selinux:BuildRequires:  libcap-devel}
121 %{?with_selinux:BuildRequires:  libselinux-devel >= 1.18}
122 BuildRequires:  linux-libc-headers >= %{llh_version}
123 BuildRequires:  make >= 1:4.0
124 %{?with_nss_crypt:BuildRequires:        nss-devel >= 1:3.15.1-2}
125 BuildRequires:  perl-base
126 BuildRequires:  python3 >= 1:3.4
127 BuildRequires:  python3-modules >= 1:3.4
128 BuildRequires:  rpm-build >= 4.3-0.20030610.28
129 BuildRequires:  rpmbuild(macros) >= 1.752
130 BuildRequires:  sed >= 4.0.5
131 BuildRequires:  tar >= 1:1.22
132 BuildRequires:  texinfo >= 4.7
133 BuildRequires:  xz
134 Requires(post): ldconfig = %{epoch}:%{version}-%{release}
135 Requires:       filesystem
136 Requires:       ldconfig = %{epoch}:%{version}-%{release}
137 Requires:       uname(release) >= %{min_kernel}
138 Provides:       %{name}(%{_target_cpu}) = %{epoch}:%{version}-%{release}
139 %ifarch %{ix86}
140 Provides:       %{name}(ix86) = %{epoch}:%{version}-%{release}
141 %endif
142 Provides:       glibc(nptl)
143 Provides:       glibc(tls)
144 Provides:       rtld(GNU_HASH)
145 Obsoletes:      glibc-common
146 Obsoletes:      glibc-debug < 2.1
147 Obsoletes:      glibc-ld < 6:2.33-2
148 %ifarch %{x8664} sparc64 ppc64
149 Provides:       glibc64
150 Obsoletes:      glibc64
151 %endif
152 Suggests:       localedb
153 Suggests:       tzdata
154 Conflicts:      %{name}-misc < %{epoch}:%{version}-%{release}
155 Conflicts:      SysVinit < 2.86-11
156 Conflicts:      kernel < 3:%{min_kernel}
157 Conflicts:      kernel24
158 Conflicts:      kernel24-smp
159 Conflicts:      ld.so < 1.9.9-10
160 Conflicts:      man-pages < 4.00
161 Conflicts:      openssh-server < 2:8.2p1-1
162 Conflicts:      poldek < 0.30.1-9
163 Conflicts:      rc-scripts < 0.3.1-13
164 Conflicts:      rpm < 4.1
165 Conflicts:      util-linux < 2.35.1-2
166 Conflicts:      xorg-driver-video-nvidia-libs < 1:295.33
167 ExclusiveArch:  i486 i586 i686 pentium3 pentium4 athlon %{x8664} x32 ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64 armv5tel armv6hl armv7hl armv7hnl aarch64
168 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
169
170 # errno, ps_*, __resp, __h_errno symbols
171 %define         skip_post_check_so      libm.so.6 libc_malloc_debug.so.0 libcrypt.so.1 libthread_db.so.1 libresolv.so.2 libnss_db.so.2 libnss_compat.so.2 libnss_hesiod.so.2 libnsl.so.1 librt.so.1
172
173 # avoid -s here (ld.so must not be stripped to allow any program debugging)
174 %define         filterout_ld            (-Wl,)?-[sS] (-Wl,)?--strip.*
175 # disable -D_FORTIFY_SOURCE=X and -fstack-protector
176 %define         _fortify_cflags         %{nil}
177 %define         _ssp_cflags             %{nil}
178
179 %define         specflags_sparcv9       -mcpu=ultrasparc -mvis -fcall-used-g6
180 %define         specflags_sparc64       -mcpu=ultrasparc -mvis -fcall-used-g6
181
182 # ld.so needs not to be stripped to work
183 # gdb needs unstripped libpthread for some threading support
184 # ...but we can strip at least debuginfo from them
185 %define         _autostripdebug         .*/ld-[0-9.]*so\\|.*/libpthread-[0-9.]*so
186
187 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
188 %ifarch sparc sparcv9
189 %{expand:%%define       __cc    %{__cc} -m32}
190 %endif
191
192 # Xen-friendly glibc
193 %define         specflags_ia32          -mno-tls-direct-seg-refs
194 %define         specflags_x86_64        -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
195 %define         specflags_amd64         -mno-tls-direct-seg-refs -fasynchronous-unwind-tables
196 %define         specflags_ia32e         -mno-tls-direct-seg-refs
197
198 # we don't want perl dependency in glibc-devel
199 %define         _noautoreqfiles         %{_bindir}/mtrace
200 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
201 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
202 # patched not to crash on partial hardlinks too)
203 %define         _hack_dontneed_PartialHardlinkSets      1
204 %define         _noautochrpath          .*\\(ldconfig\\|sln\\)
205 # private symbols
206 # don't generate deps for ldconfig to avoid loop and force rpm to install it before glibc
207 %define         _noautoprov             .*\(GLIBC_PRIVATE\)
208 %define         _noautoreq              .*\(GLIBC_PRIVATE\) /sbin/ldconfig
209
210 # to avoid multi-arch conflicts on getconf/* files
211 %define         _libexecdir             %{_libdir}
212
213 %description
214 Contains the standard libraries that are used by multiple programs on
215 the system. In order to save disk space and memory, as well as to ease
216 upgrades, common system code is kept in one place and shared between
217 programs. This package contains the most important sets of shared
218 libraries, the standard C library and the standard math library.
219 Without these, a Linux system will not function. It also contains
220 national language (locale) support.
221
222 Can be used on: Linux kernel >= %{min_kernel}.
223
224 %description -l es.UTF-8
225 Contiene las bibliotecas estándared que son usadas por varios
226 programas del sistema. Para ahorrar el espacio en el disco y la
227 memoria, igual que para facilitar actualizaciones, código común del
228 sistema se guarda en un sitio y es compartido entre los programas.
229 Este paquete contiene las bibliotecas compartidas más importantes, es
230 decir la biblioteca C estándar y la biblioteca estándar de matemática.
231 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
232 soporte de idiomas nacionales (locale).
233
234 Puede usarse con: núcleo Linux >= %{min_kernel}.
235
236 %description -l de.UTF-8
237 Enthält die Standard-Libraries, die von verschiedenen Programmen im
238 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
239 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
240 einer einzigen Stelle gespeichert und wird von den Programmen
241 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
242 shared Libraries, die Standard-C-Library und die
243 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
244 Ferner enthält es den Support für die verschiedenen Sprachgregionen
245 (locale).
246
247 Can be used on: Linux kernel >= %{min_kernel}.
248
249 %description -l fr.UTF-8
250 Contient les bibliothèques standards utilisées par de nombreux
251 programmes du système. Afin d'économiser l'espace disque et mémoire,
252 et de faciliter les mises à jour, le code commun au système est mis à
253 un endroit et partagé entre les programmes. Ce paquetage contient les
254 bibliothèques partagées les plus importantes, la bibliothèque standard
255 du C et la bibliothèque mathématique standard. Sans celles-ci, un
256 système Linux ne peut fonctionner. Il contient aussi la gestion des
257 langues nationales (locales).
258
259 Can be used on: Linux kernel >= %{min_kernel}.
260
261 %description -l ja.UTF-8
262 glibc
263 パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
264 ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
265 用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
266 間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
267 重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
268 この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc
269 パッケージはまた地域言語 (locale) サポートとタイムゾーンデータベース
270 サポートをふくみます。
271
272 Can be used on: Linux kernel >= %{min_kernel}.
273
274 %description -l pl.UTF-8
275 W pakiecie znajdują się podstawowe biblioteki, używane przez różne
276 programy w Twoim systemie. Używanie przez programy bibliotek z tego
277 pakietu oszczędza miejsce na dysku i pamięć. Większość kodu
278 systemowego jest usytuowane w jednym miejscu i dzielone między wieloma
279 programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek
280 standardowych, współdzielonych (dynamicznych) bibliotek C i
281 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować.
282 Znajdują się tutaj również definicje różnych informacji dla wielu
283 języków (locale).
284
285 Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}.
286
287 %description -l ru.UTF-8
288 Содержит стандартные библиотеки, используемые многочисленными
289 программами в системе. Для того, чтобы сохранить дисковое пространство
290 и память, а также для простоты обновления, системный код, общий для
291 всех программ, хранится в одном месте и коллективно используется всеми
292 программами. Этот пакет содержит наиболее важные из разделяемых
293 библиотек - стандартную библиотеку C и стандартную библиотеку
294 математики. Без этих библиотек Linux функционировать не будет. Также
295 пакет содержит поддержку национальных языков (locale).
296
297 Can be used on: Linux kernel >= %{min_kernel}.
298
299 %description -l tr.UTF-8
300 Bu paket, birçok programın kullandığı standart kitaplıkları içerir.
301 Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme
302 işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde
303 tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak
304 kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını
305 içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel
306 dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır.
307
308 Can be used on: Linux kernel >= %{min_kernel}.
309
310 %description -l uk.UTF-8
311 Містить стандартні бібліотеки, котрі використовуються численними
312 програмами в системі. Для того, щоб зберегти дисковий простір та
313 пам'ять, а також для простоти поновлення системи, системний код,
314 спільний для всіх програм, зберігається в одному місці і колективно
315 використовується всіма програмами. Цей пакет містить найбільш важливі
316 з динамічних бібліотек - стандартну бібліотеку С та стандартну
317 бібліотеку математики. Без цих бібліотек Linux функціонувати не буде.
318 Також пакет містить підтримку національних мов (locale).
319
320 Can be used on: Linux kernel >= %{min_kernel}.
321
322 %package misc
323 Summary:        Utilities and data used by glibc
324 Summary(pl.UTF-8):      Narzędzia i dane używane przez glibc
325 Group:          Applications/System
326 Suggests:       libidn2 >= 2.0.5
327 Requires:       %{name} = %{epoch}:%{version}-%{release}
328 %ifarch %{ix86}
329 Conflicts:      %{name}(x32)
330 Conflicts:      %{name}(x86_64)
331 %endif
332 Conflicts:      man-pages < 4.00
333
334 %description misc
335 Utilities and data used by glibc.
336
337 %description misc -l pl.UTF-8
338 Narzędzia i dane używane przez glibc.
339
340 %package libcrypt
341 Summary:        glibc library for crypt(3)
342 Summary(pl.UTF-8):      Biblioteka glibc z funkcją crypt(3)
343 Group:          Libraries
344 Requires:       %{name} = %{epoch}:%{version}-%{release}
345 Provides:       %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
346 %ifarch %{ix86}
347 Provides:       %{name}-libcrypt(ix86) = %{epoch}:%{version}-%{release}
348 %endif
349 Provides:       crypt(blowfish)
350
351 %description libcrypt
352 glibc library for crypt(3).
353
354 %description libcrypt -l pl.UTF-8
355 Biblioteka glibc z funkcją crypt(3).
356
357 %package -n ldconfig
358 Summary:        Create shared library cache and maintains symlinks
359 Summary(de.UTF-8):      Erstellt ein shared library cache und verwaltet symlinks
360 Summary(fr.UTF-8):      Crée un cache de bibliothčque partagée et gčre *.so
361 Summary(pl.UTF-8):      Tworzenie cache'u bibliotek dynamicznych i ich dowiązań symbolicznych
362 Summary(tr.UTF-8):      Ortak kitaplýk önbelleđi yaratýr ve bađlantýlarý kurar
363 Group:          Applications/System
364 Requires:       uname(release) >= %{min_kernel}
365 # we want FHS being installed before ldconfig, altho they are both unrelated to each-other.
366 Requires:       FHS
367 Provides:       rtld(GNU_HASH)
368 # This is needed because previous package (glibc) had autoreq false and had
369 # provided this manually. Probably poldek bug that have to have it here.
370 Provides:       /sbin/ldconfig
371 Conflicts:      glibc-ld < 6:2.33-2
372
373 %description -n ldconfig
374 ldconfig scans a running system and sets up the symbolic links that
375 are used to load shared libraries properly. It also creates
376 /etc/ld.so.cache which speeds the loading programs which use shared
377 libraries.
378
379 %description -n ldconfig -l de.UTF-8
380 ldconfig scannt ein laufendes System und richtet die symbolischen
381 Verknüpfungen zum Laden der gemeinsam genutzten Libraries ein.
382 Außerdem erstellt es /etc/ld.so.cache, was das Laden von Programmen
383 mit gemeinsam genutzten Libraries beschleunigt.
384
385 %description -n ldconfig -l fr.UTF-8
386 ldconfig analyse un systčme et configure les liens symboliques
387 utilisés pour charger correctement les bibliothčques partagées. Il
388 crée aussi /etc/ld.so.cache qui accélčre le chargement des programmes
389 utilisant les bibliothčques partagées.
390
391 %description -n ldconfig -l pl.UTF-8
392 ldconfig testuje uruchomiony system i tworzy dowiązania symboliczne,
393 które są następnie używane do poprawnego ładowania bibliotek
394 dynamicznych. Program ten tworzy plik /etc/ld.so.cache, który
395 przyśpiesza ładowanie programów korzystających z bibliotek
396 dynamicznych.
397
398 %description -n ldconfig -l tr.UTF-8
399 ldconfig, çalýţmakta olan sistemi araţtýrýr ve ortak kitaplýklarýn
400 düzgün bir ţekilde yüklenmesi için gereken simgesel bađlantýlarý
401 kurar. Ayrýca ortak kitaplýklarý kullanan programlarýn yüklenmesini
402 hýzlandýran /etc/ld.so.cache dosyasýný yaratýr.
403
404 %package -n nss_compat
405 Summary:        Old style NYS NSS glibc module
406 Summary(es.UTF-8):      El antiguo módulo NYS NSS de glibc
407 Summary(pl.UTF-8):      Stary moduł NYS NSS glibc
408 Group:          Base
409 Requires:       %{name} = %{epoch}:%{version}-%{release}
410
411 %description -n nss_compat
412 Old style NYS NSS glibc module.
413
414 %description -n nss_compat -l es.UTF-8
415 El antiguo módulo NYS NSS de glibc
416
417 %description -n nss_compat -l pl.UTF-8
418 Stary moduł NYS NSS glibc.
419
420 %package -n nss_db
421 Summary:        NSS glibc module that uses hashed key-value database
422 Summary(pl.UTF-8):      Moduł NSS glibc wykorzystujący haszowaną bazę danych klucz-wartość
423 Group:          Base
424 Requires:       %{name} = %{epoch}:%{version}-%{release}
425
426 %description -n nss_db
427 NSS glibc module that uses hashed key-value database.
428
429 %description -n nss_db -l pl.UTF-8
430 Moduł NSS glibc wykorzystujący haszowaną bazę danych klucz-wartość.
431
432 %package -n nss_dns
433 Summary:        BIND NSS glibc module
434 Summary(es.UTF-8):      Módulo BIND NSS de glibc
435 Summary(pl.UTF-8):      Moduł BIND NSS glibc
436 Group:          Base
437 Requires:       %{name} = %{epoch}:%{version}-%{release}
438
439 %description -n nss_dns
440 BIND NSS glibc module.
441
442 %description -n nss_dns -l es.UTF-8
443 Módulo BIND NSS de glibc.
444
445 %description -n nss_dns -l pl.UTF-8
446 Moduł BIND NSS glibc.
447
448 %package -n nss_files
449 Summary:        Traditional files databases NSS glibc module
450 Summary(es.UTF-8):      Módulo de tradicionales bases de datos en ficheros para glibc
451 Summary(pl.UTF-8):      Moduł tradycyjnych plikowych baz danych NSS glibc
452 Group:          Base
453 Requires:       %{name} = %{epoch}:%{version}-%{release}
454
455 %description -n nss_files
456 Traditional files databases NSS glibc module.
457
458 %description -n nss_files -l es.UTF-8
459 Módulo de tradicionales bases de datos en ficheros para glibc.
460
461 %description -n nss_files -l pl.UTF-8
462 Moduł tradycyjnych plikowych baz danych NSS glibc.
463
464 %package -n nss_hesiod
465 Summary:        hesiod NSS glibc module
466 Summary(es.UTF-8):      Módulo hesiod NSS de glibc
467 Summary(pl.UTF-8):      Moduł hesiod NSS glibc
468 Group:          Base
469 Requires:       %{name} = %{epoch}:%{version}-%{release}
470
471 %description -n nss_hesiod
472 glibc NSS (Name Service Switch) module for databases access.
473
474 %description -n nss_hesiod -l es.UTF-8
475 Módulo hesiod NSS de glibc.
476
477 %description -n nss_hesiod -l pl.UTF-8
478 Moduł glibc NSS (Name Service Switch) dostępu do baz danych.
479
480 %package memusage
481 Summary:        Memory usage profiler
482 Summary(pl.UTF-8):      Narzędzie do profilowania zużycia pamięci
483 Group:          Development/Tools
484 Requires:       %{name} = %{epoch}:%{version}-%{release}
485 Conflicts:      man-pages < 4.00
486
487 %description memusage
488 Memory usage profiler.
489
490 %description memusage -l pl.UTF-8
491 Narzędzie do profilowania zużycia pamięci.
492
493 %package devel
494 Summary:        Additional libraries required to compile
495 Summary(de.UTF-8):      Weitere Libraries zum Kompilieren
496 Summary(es.UTF-8):      Bibliotecas adicionales necesarias para la compilación
497 Summary(fr.UTF-8):      Librairies supplémentaires nécessaires à la compilation
498 Summary(ja.UTF-8):      標準 C ライブラリで使われるヘッダーとオブジェクトファイル
499 Summary(pl.UTF-8):      Dodatkowe biblioteki wymagane podczas kompilacji
500 Summary(ru.UTF-8):      Дополнительные библиотеки, необходимые для компиляции
501 Summary(tr.UTF-8):      Geliştirme için gerekli diğer kitaplıklar
502 Summary(uk.UTF-8):      Додаткові бібліотеки, потрібні для компіляції
503 Group:          Development/Libraries
504 Requires:       %{name} = %{epoch}:%{version}-%{release}
505 Requires:       %{name}-devel-utils = %{epoch}:%{version}-%{release}
506 Requires:       %{name}-headers = %{epoch}:%{version}-%{release}
507 %if %{with crypt}
508 Requires:       %{name}-libcrypt(%{_target_cpu}) = %{epoch}:%{version}-%{release}
509 %else
510 Requires:       libxcrypt-devel >= 4.0.0
511 %endif
512 Provides:       %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
513 %ifarch %{ix86}
514 Provides:       %{name}-devel(ix86) = %{epoch}:%{version}-%{release}
515 %endif
516 Obsoletes:      libiconv-devel
517 %ifarch %{x8664}
518 # see http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2016-May/024902.html
519 %if "%(rpm -q --qf '%{E}:%{V}' binutils)" >= "4:2.26"
520 Conflicts: binutils < 4:2.26
521 %endif
522 %endif
523
524 %description devel
525 To develop programs which use the standard C libraries (which nearly
526 all programs do), the system needs to have these standard header files
527 and object files available for creating the executables.
528
529 %description devel -l de.UTF-8
530 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
531 verwenden (also fast alle), benötigt das System diese Standard-Header-
532 und Objektdateien zum Erstellen der ausführbaren Programme.
533
534 %description devel -l es.UTF-8
535 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
536 cual hacen prácticamente todos los programas), el sistema necesita
537 disponer de estos ficheros de cabecera y de objetos para crear los
538 ejecutables.
539
540 %description devel -l fr.UTF-8
541 Pour développer des programmes utilisant les bibliothèques standard du
542 C (ce que presque tous les programmes font), le système doit posséder
543 ces fichiers en-têtes et objets standards pour créer les exécutables.
544
545 %description devel -l ja.UTF-8
546 glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C
547 ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト
548 ファイルを含みます。もし標準 C
549 ライブラリを使用するプログラムを開発するなら
550 実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル
551 が使用できます。
552
553 %description devel -l pl.UTF-8
554 Pakiet ten jest niezbędny przy tworzeniu własnych programów
555 korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki
556 nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów
557 wykonywalnych i innych bibliotek.
558
559 %description devel -l ru.UTF-8
560 Для разработки программ, использующих стандартные библиотеки C (а
561 практически все программы их используют), системе НЕОБХОДИМЫ хедеры и
562 объектные файлы, содержащиеся в этом пакете, чтобы создавать
563 исполняемые файлы.
564
565 %description devel -l tr.UTF-8
566 C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar
567 geliştirmek için gereken standart başlık dosyaları ve statik
568 kitaplıklar.
569
570 %description devel -l uk.UTF-8
571 Для розробки програм, що використовують стандартні бібліотеки C
572 (практично всі програми їх використовують), системі НЕОБХІДНІ хедери
573 та об'єктні файли, що містяться в цьому пакеті, цоб створювати
574 виконувані файли.
575
576 %package headers
577 Summary:        Header files for development using standard C libraries
578 Summary(pl.UTF-8):      Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C
579 Group:          Development/Building
580 Provides:       %{name}-header-cpu-%{_target_cpu} = %{epoch}:%{version}-%{release}
581 %ifarch %{ix86}
582 Provides:       %{name}-headers-cpu-ix86 = %{epoch}:%{version}-%{release}
583 %endif
584 %ifarch %{x8664} x32
585 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
586 # have to be installed, not ix86 one.
587 Obsoletes:      glibc-headers-cpu-athlon
588 Obsoletes:      glibc-headers-cpu-i386
589 Obsoletes:      glibc-headers-cpu-i486
590 Obsoletes:      glibc-headers-cpu-i586
591 Obsoletes:      glibc-headers-cpu-i686
592 Obsoletes:      glibc-headers-cpu-ix86
593 Obsoletes:      glibc-headers-cpu-pentium3
594 Obsoletes:      glibc-headers-cpu-pentium4
595 %endif
596 %ifarch x32
597 Obsoletes:      glibc-headers-cpu-x86_64
598 %endif
599 %ifarch ppc64
600 Obsoletes:      glibc-headers-cpu-ppc
601 %endif
602 %ifarch s390x
603 Obsoletes:      glibc-headers-cpu-s390
604 %endif
605 %ifarch sparc64
606 Obsoletes:      glibc-headers-cpu-sparc
607 %endif
608 Requires:       linux-libc-headers >= %{llh_version}
609
610 %description headers
611 The glibc-headers package contains the header files necessary for
612 developing programs which use the standard C libraries (which are used
613 by nearly all programs). If you are developing programs which will use
614 the standard C libraries, your system needs to have these standard
615 header files available in order to create the executables.
616
617 Install glibc-headers if you are going to develop programs which will
618 use the standard C libraries.
619
620 %description headers -l pl.UTF-8
621 Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania
622 programów używających standardowych bibliotek C (używanych przez
623 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
624 standardowych bibliotek C, system wymaga dostępności tych
625 standardowych plików nagłówkowych do tworzenia programów
626 wykonywalnych.
627
628 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
629 korzystające ze standardowych bibliotek C.
630
631 %package devel-utils
632 Summary:        Utilities needed for development using standard C libraries
633 Summary(pl.UTF-8):      Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C
634 Group:          Development/Libraries
635 Provides:       %{name}-devel-util-cpu-%{_target_cpu} = %{epoch}:%{version}-%{release}
636 %ifarch %{ix86}
637 Provides:       %{name}-devel-utils-cpu-ix86 = %{epoch}:%{version}-%{release}
638 %endif
639 %ifarch %{x8664} x32
640 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
641 # have to be installed, not ix86 one.
642 Obsoletes:      glibc-devel-utils-cpu-athlon
643 Obsoletes:      glibc-devel-utils-cpu-i386
644 Obsoletes:      glibc-devel-utils-cpu-i486
645 Obsoletes:      glibc-devel-utils-cpu-i586
646 Obsoletes:      glibc-devel-utils-cpu-i686
647 Obsoletes:      glibc-devel-utils-cpu-ix86
648 Obsoletes:      glibc-devel-utils-cpu-pentium3
649 Obsoletes:      glibc-devel-utils-cpu-pentium4
650 %endif
651 %ifarch x32
652 Obsoletes:      glibc-devel-utils-cpu-x86_64
653 %endif
654 %ifarch ppc64
655 Obsoletes:      glibc-devel-utils-cpu-ppc
656 %endif
657 %ifarch s390x
658 Obsoletes:      glibc-devel-utils-cpu-s390
659 %endif
660 %ifarch sparc64
661 Obsoletes:      glibc-devel-utils-cpu-sparc
662 %endif
663 Conflicts:      man-pages < 4.00
664
665 %description devel-utils
666 The glibc-devel-utils package contains utilities necessary for
667 developing programs which use the standard C libraries (which are used
668 by nearly all programs). If you are developing programs which will use
669 the standard C libraries, your system needs to have these utilities
670 available.
671
672 Install glibc-devel-utils if you are going to develop programs which
673 will use the standard C libraries.
674
675 %description devel-utils -l pl.UTF-8
676 Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania
677 programów używających standardowych bibliotek C (używanych przez
678 prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
679 standardowych bibliotek C, system wymaga dostępności tych narzędzi do
680 tworzenia programów wykonywalnych.
681
682 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
683 korzystające ze standardowych bibliotek C.
684
685 %package devel-doc
686 Summary:        Documentation needed for development using standard C libraries
687 Summary(pl.UTF-8):      Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C
688 Group:          Documentation
689 Conflicts:      man-pages < 4.09
690 BuildArch:      noarch
691
692 %description devel-doc
693 The glibc-devel-doc package contains info and manual pages necessary
694 for developing programs which use the standard C libraries (which are
695 used by nearly all programs).
696
697 Install glibc-devel-doc if you are going to develop programs which
698 will use the standard C libraries.
699
700 %description devel-doc -l pl.UTF-8
701 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
702 rozwijania programów używających standardowych bibliotek C (używanych
703 przez prawie wszystkie programy).
704
705 Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
706 korzystające ze standardowych bibliotek C.
707
708 %package static
709 Summary:        Static GNU libc libraries
710 Summary(es.UTF-8):      Bibliotecas estáticas
711 Summary(pl.UTF-8):      Biblioteki statyczne GNU libc
712 Summary(ru.UTF-8):      Статические библиотеки glibc
713 Summary(uk.UTF-8):      Статичні бібліотеки glibc
714 Group:          Development/Libraries
715 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
716 %{!?with_crypt:Requires:        libxcrypt-static >= 4.0.0}
717 Provides:       %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
718 %ifarch %{ix86}
719 Provides:       %{name}-static(ix86) = %{epoch}:%{version}-%{release}
720 %endif
721 Obsoletes:      libiconv-static
722
723 %description static
724 GNU libc static libraries.
725
726 %description static -l es.UTF-8
727 Bibliotecas estáticas de GNU libc.
728
729 %description static -l pl.UTF-8
730 Biblioteki statyczne GNU libc.
731
732 %description static -l ru.UTF-8
733 Это отдельный пакет со статическими библиотеками, которые больше не
734 входят в glibc-devel.
735
736 %description static -l uk.UTF-8
737 Це окремий пакет зі статичними бібліотеками, що більше не входять в
738 склад glibc-devel.
739
740 %package profile
741 Summary:        glibc with profiling support
742 Summary(de.UTF-8):      glibc mit Profil-Unterstützung
743 Summary(es.UTF-8):      glibc con soporte de perfilamiento
744 Summary(fr.UTF-8):      glibc avec support pour profiling
745 Summary(pl.UTF-8):      glibc ze wsparciem dla profilowania
746 Summary(ru.UTF-8):      GNU libc с поддержкой профайлера
747 Summary(tr.UTF-8):      Ölçüm desteği olan glibc
748 Summary(uk.UTF-8):      GNU libc з підтримкою профайлера
749 Group:          Development/Libraries/Libc
750 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
751 Obsoletes:      libc-profile < 6
752
753 %description profile
754 When programs are being profiled using gprof, they must use these
755 libraries instead of the standard C libraries for gprof to be able to
756 profile them correctly.
757
758 %description profile -l de.UTF-8
759 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
760 Libraries anstelle der üblichen C-Libraries verwendet werden.
761
762 %description profile -l es.UTF-8
763 Cuando programas son perfilidas usando gprof, tienen que usar estas
764 biblioteces en vez de las estándares para que gprof pueda perfilarlas
765 correctamente.
766
767 %description profile -l pl.UTF-8
768 Programy profilowane za pomocą gprof muszą używać tych bibliotek
769 zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je
770 wyprofilować.
771
772 %description profile -l uk.UTF-8
773 Коли програми досліджуються профайлером gprof, вони повинні
774 використовувати замість стандартних бібліотек бібліотеки, що містяться
775 в цьому пакеті. При використанні стандартних бібліотек gprof замість
776 реальних результатів буде показувати ціни на папайю в Гонолулу в
777 позаминулому році...
778
779 %description profile -l tr.UTF-8
780 gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu
781 kitaplığı kullanmak zorundadırlar.
782
783 %description profile -l ru.UTF-8
784 Когда программы исследуются профайлером gprof, они должны
785 использовать, вместо стандартных библиотек, библиотеки, включенные в
786 этот пакет. При использовании стандартных библиотек gprof вместо
787 реальных результатов будет показывать цены на папайю в Гонолулу в
788 позапрошлом году...
789
790 %package pic
791 Summary:        glibc PIC archive
792 Summary(es.UTF-8):      Archivo PIC de glibc
793 Summary(pl.UTF-8):      Archiwum PIC glibc
794 Group:          Development/Libraries/Libc
795 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
796
797 %description pic
798 GNU C Library PIC archive contains an archive library (ar file)
799 composed of individual shared objects. This is used for creating a
800 library which is a smaller subset of the standard libc shared library.
801
802 %description pic -l es.UTF-8
803 El archivo PIC de la biblioteca glibc contiene una biblioteca
804 archivada (un fichero ar) compuesta de individuales objetos
805 compartidos. Es usado para crear una biblioteca que sea un subconjunto
806 más pequeño de la biblioteca libc compartida estándar.
807
808 %description pic -l pl.UTF-8
809 Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar)
810 złożoną z pojedynczych obiektów współdzielonych. Używana jest do
811 tworzenia biblioteki będącej mniejszym podzestawem standardowej
812 biblioteki współdzielonej libc.
813
814 %package -n nscd
815 Summary:        Name Service Caching Daemon
816 Summary(es.UTF-8):      Demonio de caché del servicio de nombres
817 Summary(ja.UTF-8):      ネームサービスキャッシングデーモン (nacd)
818 Summary(pl.UTF-8):      Demon zapamiętujący odpowiedzi serwisów nazw
819 Summary(ru.UTF-8):      Кэширующий демон сервисов имен
820 Summary(uk.UTF-8):      Кешуючий демон севісів імен
821 License:        GPL v2
822 Group:          Networking/Daemons
823 Requires(post): fileutils
824 Requires(post,preun):   /sbin/chkconfig
825 Requires(postun):       /usr/sbin/groupdel
826 Requires(postun):       /usr/sbin/userdel
827 Requires(pre):  /bin/id
828 Requires(pre):  /usr/bin/getgid
829 Requires(pre):  /usr/sbin/groupadd
830 Requires(pre):  /usr/sbin/useradd
831 Requires:       %{name} = %{epoch}:%{version}-%{release}
832 %{?with_selinux:Requires:       libselinux >= 1.18}
833 Requires:       rc-scripts >= 0.4.3.0
834 Provides:       group(nscd)
835 Provides:       user(nscd)
836 Obsoletes:      gnscd
837 Obsoletes:      unscd
838
839 %description -n nscd
840 nscd caches name service lookups; it can dramatically improve
841 performance with NIS+, and may help with DNS as well.
842
843 %description -n nscd -l es.UTF-8
844 nscd guarda las peticiones del servicio de nombres en una caché; eso
845 puede aumentar drásticamente las prestaciones de NIS+, y también puede
846 ayudar con DNS.
847
848 %description -n nscd -l ja.UTF-8
849 Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
850 ドラマティックに改善することができ、DNS を同様に補助します。
851
852 %description -n nscd -l pl.UTF-8
853 nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
854 drastycznie poprawić szybkość działania NIS+.
855
856 %description -n nscd -l ru.UTF-8
857 nscd кэширует результаты запросов к сервисам имен; это может резко
858 увеличить производительность работы с NIS+ и, также, может помочь с
859 DNS.
860
861 %description -n nscd -l uk.UTF-8
862 nscd кешує результати запросів до сервісів імен; це може сильно
863 збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS.
864
865 %package -n localedb-src
866 Summary:        locale database source code
867 Summary(es.UTF-8):      Código fuente de la base de datos de los locales
868 Summary(pl.UTF-8):      Kod źródłowy bazy locale
869 Group:          Libraries
870 Requires:       %{name} = %{epoch}:%{version}-%{release}
871 Requires:       gzip
872 Requires:       sed
873 Provides:       localedb
874
875 %description -n localedb-src
876 This add-on package contains the data needed to build the locale data
877 files to use the internationalization features of the GNU libc.
878
879 %description -n localedb-src -l es.UTF-8
880 Este paquete adicional contiene los datos necesarios para construir
881 los ficheros de locale, imprescindibles para usar las cualidades de
882 internacionalización de GNU libc.
883
884 %description -n localedb-src -l pl.UTF-8
885 Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików
886 lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU
887 libc.
888
889 %package localedb-all
890 Summary:        locale database for all locales supported by glibc
891 Summary(es.UTF-8):      Base de datos de todos los locales soportados por glibc
892 Summary(pl.UTF-8):      Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc
893 Group:          Libraries
894 Requires:       %{name} = %{epoch}:%{version}-%{release}
895 Requires:       iconv = %{epoch}:%{version}-%{release}
896 Provides:       localedb
897
898 %description localedb-all
899 This package contains locale database for all locales supported by
900 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
901 something smaller with support for chosen locales only, consider
902 installing localedb-src and regenerating database using localedb-gen
903 script (when database is generated, localedb-src can be uninstalled).
904
905 %description localedb-all -l es.UTF-8
906 Este paquete contiene una base de datos de todos los locales
907 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
908 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
909 locales elegidos, considérese instalar localedb-src y regenerar la
910 base de datos usando el escript localedb-gen (una vez que la base de
911 datos esté creada, localedb-src se podrá desinstalar).
912
913 %description localedb-all -l pl.UTF-8
914 Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji
915 obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik
916 (około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych
917 lokalizacji, należy zainstalować pakiet localedb-src i przegenerować
918 bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy
919 pakiet localedb-src można odinstalować).
920
921 %package -n iconv
922 Summary:        Convert encoding of given files from one encoding to another
923 Summary(es.UTF-8):      Convierte entre varias codificaciones de los ficheros dados
924 Summary(pl.UTF-8):      Moduły do konwersji plików tekstowych z jednego kodowania do innego
925 Group:          Libraries
926 Requires:       %{name} = %{epoch}:%{version}-%{release}
927 Provides:       iconv(%{_target_base_arch})
928 Conflicts:      man-pages < 4.00
929
930 %description -n iconv
931 Convert encoding of given files from one encoding to another. You need
932 this package if you want to convert some document from one encoding to
933 another or if you have installed some programs which use Generic
934 Character Set Conversion Interface.
935
936 %description -n iconv -l es.UTF-8
937 Convierte la codificación de dados ficheros. Necesita este paquete si
938 quiere convertir un documento entre una codificación (juego de
939 caracteres) y otra, o si tiene instalado algún programa que usa el
940 Generic Character Set Conversion Interface (interfaz genérica de
941 conversión de juegos de caracteres).
942
943 %description -n iconv -l pl.UTF-8
944 Moduły do konwersji plików tekstowych z jednego kodowania do innego.
945 Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję
946 dokumentów z jednego kodowania do innego lub do używania programów
947 korzystających z Generic Character Set Conversion Interface w glibc,
948 czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję
949 kodowania danych z poziomu dowolnego programu.
950
951 %prep
952 %setup -q
953
954 %if "%{min_kernel}" < "3.2.0"
955 echo "Minimal supported kernel is 3.2.0" >&2
956 exit 1
957 %endif
958
959 %patch0 -p1
960
961 %patch2 -p1
962 %patch3 -p1
963 %{!?with_bash_nls:%patch4 -p1}
964
965 %patch6 -p1
966
967 %patch10 -p1
968 %patch11 -p1
969
970 %patch14 -p1
971 %patch15 -p1
972
973 %patch17 -p1
974 %patch18 -p1
975 %patch19 -p1
976
977 %patch23 -p0
978
979 %patch30 -p1
980 %ifarch %{arm} aarch64
981 %patch31 -p1
982 %endif
983
984 # cleanup backups after patching
985 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
986
987 chmod +x scripts/cpp
988
989 %build
990 # glibc has its own way to remove PLT relocations. / H. J. Lu.
991 unset LD_SYMBOLIC_FUNCTIONS || :
992
993 %{__aclocal}
994 %{__autoconf}
995
996 rm -rf builddir
997 install -d builddir
998 cd builddir
999 %ifarch sparc64
1000 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
1001 %endif
1002
1003 # force ld bfd (instead of gold)
1004 install -d alt-tools
1005 ln -sf %{_bindir}/ld.bfd alt-tools/ld
1006 PATH=$(pwd)/alt-tools:$PATH; export PATH
1007
1008 AWK="gawk" \
1009 ../%configure \
1010 %if %{with cet}
1011         --enable-cet \
1012 %endif
1013 %if %{with crypt}
1014         --enable-crypt \
1015 %endif
1016         --enable-bind-now \
1017         --enable-hidden-plt \
1018         --enable-kernel="%{min_kernel}" \
1019         --enable-nss-crypt%{!?with_nss_crypt:=no} \
1020         --enable-obsolete-nsl \
1021         --enable-profile \
1022         --enable-stack-protector=strong \
1023         --enable-stackguard-randomization \
1024         --with-binutils=$(pwd)/alt-tools \
1025         --with-bugurl=http://bugs.pld-linux.org/ \
1026         --with-headers=%{_includedir} \
1027         --with-selinux%{!?with_selinux:=no} \
1028         --with-tls
1029
1030 # hack: libgd (used by memusagestat) requires librt, which is built after malloc/ subdir.
1031 # First build all without libgd-dependent components (LIBGD=no)...
1032 %{__make} \
1033         AWK="gawk" \
1034         complocaledir=%{_prefix}/lib/locale \
1035         sLIBdir=%{_libdir} \
1036         LIBGD=no
1037
1038 # ...then, when librt is ready, rerun make to build memusagestat
1039 %{__make} \
1040         AWK="gawk" \
1041         complocaledir=%{_prefix}/lib/locale \
1042         sLIBdir=%{_libdir}
1043
1044 cd ..
1045
1046 %if %{with tests}
1047 env LANGUAGE=C LC_ALL=C \
1048 %{__make} -j1 -C builddir tests
1049 %endif
1050
1051 %if %{without cross}
1052 CC="%{__cc}"
1053 CC=${CC#*ccache }
1054 CC=${CC#%{_libdir}/ccache/}
1055 diet ${CC} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
1056 %endif
1057
1058 %install
1059 rm -rf $RPM_BUILD_ROOT
1060 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,default,logrotate.d} \
1061         $RPM_BUILD_ROOT{%{_mandir},/var/log,/var/{lib,run}/nscd} \
1062         $RPM_BUILD_ROOT{/var/cache/ldconfig,%{systemdtmpfilesdir}}
1063
1064 cd builddir
1065 env LANGUAGE=C LC_ALL=C \
1066 %{__make} install \
1067         install_root=$RPM_BUILD_ROOT \
1068         complocaledir=%{_prefix}/lib/locale \
1069         infodir=%{_infodir} \
1070         mandir=%{_mandir}
1071
1072 %if %{with localedb}
1073 env LANGUAGE=C LC_ALL=C \
1074 %{__make} localedata/install-locales \
1075         complocaledir=%{_prefix}/lib/locale \
1076         install_root=$RPM_BUILD_ROOT
1077 %else
1078 install -d $RPM_BUILD_ROOT%{_prefix}/lib/locale
1079 %endif
1080
1081 PICFILES="libc_pic.a libc.map
1082         math/libm_pic.a libm.map
1083         resolv/libresolv_pic.a"
1084
1085 install -p $PICFILES            $RPM_BUILD_ROOT%{_libdir}
1086 install -p elf/sofini.os        $RPM_BUILD_ROOT%{_libdir}/sofini.o
1087
1088 # Include %{_libdir}/gconv/gconv-modules.cache
1089 :> $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.cache
1090 cd ..
1091
1092 %if %{without cross}
1093 install -p glibc-postinst                               $RPM_BUILD_ROOT/sbin
1094 %endif
1095
1096 %{?with_memusage:%{__mv} $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
1097 %{__mv} $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
1098
1099 # make symlinks across top-level directories absolute
1100 for l in BrokenLocale anl %{?with_crypt:crypt} c_malloc_debug\
1101 %ifarch %{x8664} x32 aarch64
1102         mvec \
1103 %endif
1104         nss_compat nss_db nss_hesiod resolv thread_db; do
1105         test -L $RPM_BUILD_ROOT%{_libdir}/lib${l}.so || exit 1
1106         %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1107         ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib${l}.so.*) $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1108 done
1109
1110 # linking nss modules directly is not supported
1111 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1112
1113 # avoid conflict on multilib
1114 %{__mv} $RPM_BUILD_ROOT%{_bindir}/ld.so{,-%{_target_cpu}}
1115
1116 install -p %{SOURCE2}           $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
1117 cp -a %{SOURCE3}                $RPM_BUILD_ROOT/etc/sysconfig/nscd
1118 cp -a %{SOURCE4}                $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1119 cp -a nscd/nscd.conf            $RPM_BUILD_ROOT%{_sysconfdir}
1120 cp -a posix/gai.conf            $RPM_BUILD_ROOT%{_sysconfdir}
1121 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
1122
1123 xz -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1124 # catchsegv was removed in glibc 2.35
1125 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/catchsegv.1
1126
1127 : > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
1128 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
1129 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
1130 : > $RPM_BUILD_ROOT/var/cache/ldconfig/aux-cache
1131
1132 # doesn't fit with out tzdata concept and configure.in is stupid assuming bash
1133 # is first posix compatible shell making this script depend on bash.
1134 %{__rm} $RPM_BUILD_ROOT%{_bindir}/tzselect
1135 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tzselect.8*
1136 %{__rm} $RPM_BUILD_ROOT%{_mandir}/*/man8/tzselect.8*
1137
1138 : > $RPM_BUILD_ROOT/var/log/nscd
1139 : > $RPM_BUILD_ROOT/var/lib/nscd/passwd
1140 : > $RPM_BUILD_ROOT/var/lib/nscd/group
1141 : > $RPM_BUILD_ROOT/var/lib/nscd/hosts
1142
1143 cp -p %{SOURCE9} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/nscd.conf
1144
1145 rm -rf documentation
1146 install -d documentation
1147
1148 for f in DESIGN-systemtap-probes.txt TODO{,-kernel,-testing}; do
1149         cp -af nptl/$f documentation/$f.nptl
1150 done
1151 cp -af crypt/README.ufc-crypt ChangeLog* documentation
1152
1153 # Collect locale files and mark them with %%lang()
1154 echo '%defattr(644,root,root,755)' > glibc.lang
1155 for i in $RPM_BUILD_ROOT%{_localedir}/*; do
1156         if [ -d $i ]; then
1157                 lang=$(basename $i)
1158                 dir="${i#$RPM_BUILD_ROOT}"
1159                 echo "%lang($lang) $dir" >> glibc.lang
1160         fi
1161 done
1162
1163 # NOTES:
1164 # Languages not supported by glibc locales, but usable via $LANGUAGE:
1165 #   ang - Old English (gtk+, gnome)
1166 #   en@shaw - English with Shavian alphabet (gnome)
1167 #   la - Latin
1168 #   tlh - Klingon (bzflag)
1169 #
1170 # To be added when they become supported by glibc:
1171 #   ace    (iso-codes)
1172 #   ach    (iso-codes, libreport, vlc)
1173 #   aln    (libreport, vlc)
1174 #   bal    (libosinfo, libreport, newt, pessulus)
1175 #   bar    (iso-codes)
1176 #   cgg    (vlc)
1177 #   ch     (iso-codes)
1178 #   co     (FileZilla, libfilezilla, vlc)
1179 #   es_419 (alpm - common "Spanish (Latin America)")
1180 #   frp    (iso-codes, lxlauncher, cinnamon, mate, xfce)
1181 #   gn     (iso-codes, gnome; gn_BR in gnome, maybe gn_PY)
1182 #   guc    (gtk-vnc)
1183 #   haw    (iso-codes, stellarium)
1184 #   hrx    (stellarium)
1185 #   hye    (xfce)
1186 #   ie     (GNOME, xfce, cinnamon)
1187 #   ilo    (kudzu, libosinfo, libreport)
1188 #   io     (alacarte, gtk+2, gnome, iso-codes)
1189 #   jam    (iso-codes)
1190 #   jv     (avant-window-navigator, gmpc, kdesudo, mate, cinnamon)
1191 #   ki     (iso-codes)
1192 #   kok@latin  (inkscape)
1193 #   kmr    (iso-codes, vlc)
1194 #   ksw    (cinnamon)
1195 #   ku_IQ  (mate)
1196 #   kv     (iso-codes)
1197 #   kw@kkcor, kw@uccor (libosinfo - currently empty) - add as supported variants when non-empty?
1198 #   man    (ccsm; incorrectly named md)
1199 #   mni@beng[ali]  (inkscape)
1200 #   mo     (cinnamon, iso-codes)
1201 #   mus    (bluez-gnome)
1202 #   na     (iso-codes)
1203 #   nah    (iso-codes, mate)
1204 #   nap    (cinnamon)
1205 #   nqo    (mate)
1206 #   nv     (iso-codes)
1207 #   pi     (iso-codes)
1208 #   pms    (deluge, mate-tweak)
1209 #   rue    (cinnamon)
1210 #   sat@deva[nagari]  (inkscape)
1211 #   sco    (gnomad2, mate, picard, stellarium, cinnamon)
1212 #   son    (gtkspell3, iso-codes)
1213 #   su     (terminator)
1214 #   swg    (sim)
1215 #   tet    (vlc)
1216 #   tw     (libosinfo)
1217 #   tzm    (iso-codes)
1218 #   vec    (mate-applet-indicator)
1219 #   wba    (libosinfo)
1220 #   zgh    (cinnamon, xapps)
1221 #
1222 # To be removed (after fixing packages still using it):
1223 #   sr@Latn (use sr@latin instead)
1224 #   sr@ije (use sr@ijekavian instead)
1225 #
1226 # Short forms (omitted country code, used instead of long form) for ambiguous or unclear cases:
1227 # aa=aa_ER
1228 # ab=ab_GE
1229 # ak=ak_GH
1230 # anp=anp_IN
1231 # ar=common? (AE, BH, DZ, EG, IQ, JO, KW, LB, LY, MA, OM, QA, SA, SD, SY, TN, YE)
1232 # ay=ay_PE
1233 # az=az_AZ
1234 # ber=ber_DZ? (or common for DZ, MA?)
1235 # bn=bn_BD
1236 # bo=bo_CN? (or common for CN, IN?)
1237 # ca=ca_ES
1238 # ce=ce_RU
1239 # chr=chr_US
1240 # ckb=ckb_IQ
1241 # cv=cv_RU
1242 # de=de_DE
1243 # en=common? (en_AU, en_CA, en_GB, en_NZ, en_US are used for particular variants)
1244 # eo=common
1245 # es=es_ES
1246 # eu=eu_ES
1247 # fa=fa_IR
1248 # ff=ff_SN
1249 # fr=fr_FR
1250 # fy=fy_NL
1251 # gez=gez_ET (?)
1252 # hy=hy_AM
1253 # it=it_IT
1254 # kab=kab_DZ
1255 # ks=ks_IN
1256 # ks@devanagari=ks_IN@devanagari
1257 # ku=ku_TR
1258 # li=li_NL
1259 # ln=ln_CD
1260 # lo=lo_LA
1261 # mjw=mjw_IN
1262 # nds=nds_DE
1263 # nl=nl_NL
1264 # om=om_ET
1265 # or=or_IN
1266 # os=os_RU
1267 # pa=pa_IN
1268 # pt=pt_PT
1269 # quz=quz_PE
1270 # ru=ru_RU
1271 # sd=sd_IN
1272 # sd@devanagari=sd_IN@devanagari
1273 # shn=shn_MM
1274 # so=so_SO
1275 # sr=sr_RS [cyrillic]
1276 # sr@latin=sr_RS@latin
1277 # sr@ijekavian=sr_BA@ijekavian
1278 # sr@ijekavianlatin=sr_BA@ijekavianlatin
1279 # sv=sv_SE
1280 # sw=sw_TZ (or common for KE, TZ, UG?)
1281 # ta=ta_IN
1282 # te=te_IN
1283 # ti=ti_ER (?)
1284 # tpi=tpi_PG
1285 # tr=tr_TR
1286 # ur=ur_PK (?)
1287 # zh: no short code used (use zh_CN, zh_HK, zh_SG[not included yet], zh_TW)
1288 #
1289 # Omitted here - already existing (with libc.mo):
1290 #   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
1291 #   sv tr zh_CN zh_TW
1292 #
1293 for i in aa aa@saaho ab af ak am an ang anp ar ar_TN as ast az az_IR ay \
1294         be@latin be@tarask bem ber bg bho bn bn_IN bo br brx bs byn \
1295         ca@valencia ce chr ckb cmn crh csb cv cy de_AT de_CH doi dv dz \
1296         en en@boldquot en@quot en@shaw en_AU en_CA en_IE en_NZ en_US en_ZA eo \
1297         es_AR es_CL es_CO es_CR es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_SV es_UY es_VE \
1298         et eu fa ff fil fo fr_BE fr_CA fr_CH fur fy ga gd gez gu gv \
1299         ha he hi hne ht hsb hy ia id ig ik is it_CH iu \
1300         ka kab kg kk kl km kn kok ks ks@devanagari ku kw ky la lb lg li ln lo lt lv \
1301         mai mg mhr mi mjw mk ml mn mni mr ms mt my nds ne nl_BE nn nr nso oc om or os \
1302         pa pap ps pt ps quz rm ro \
1303         sa sat sc sd sd@devanagari se shn si sid sl so sq \
1304         sr sr@Latn sr@ije sr@ijekavian sr@ijekavianlatin sr@latin ss st sw syr szl \
1305         ta te tg th ti tig tk tl tlh tn tpi ts tt tt@iqtelif \
1306         ug uk ur uz uz@cyrillic ve vi wa wal wo xh yi yo zh_HK zu; do
1307         if [ ! -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_MESSAGES ]; then
1308                 install -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_MESSAGES
1309                 # use lang() tags with ll_CC@variant (stripping charset and @quot|@boldquot)
1310                 lang=$(echo $i | sed -e 's/@quot\>\|@boldquot\>//')
1311                 echo "%lang($lang) %{_localedir}/$i" >> glibc.lang
1312         fi
1313 done
1314
1315 # LC_TIME category, used for localized date formats (at least by coreutils)
1316 for i in af be bg ca cs da de el en eo es et eu fi fr ga gl hr hu ia id it ja ka kk ko lg lt \
1317         ms nb nl pl pt pt_BR ro ru rw sk sl sr sv ta tr uk vi zh_CN zh_TW; do
1318         if [ ! -d $RPM_BUILD_ROOT%{_localedir}/$i ]; then
1319                 echo "%lang($lang) %{_localedir}/$i" >> glibc.lang
1320         fi
1321         install -d $RPM_BUILD_ROOT%{_localedir}/$i/LC_TIME
1322 done
1323
1324 # localedb-gen infrastructure
1325 install -p %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1326 cp -p localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1327
1328 # shutup check-files
1329 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.*
1330 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1331
1332 # stub for man page from man-pages package to make rpm consistency check happy
1333 # don't package them here
1334 install -d $RPM_BUILD_ROOT%{_mandir}{,/ru,/es,/fr,/ja}/man2
1335 :>$RPM_BUILD_ROOT%{_mandir}/man2/syslog.2
1336 :>$RPM_BUILD_ROOT%{_mandir}/es/man2/syslog.2
1337 :>$RPM_BUILD_ROOT%{_mandir}/fr/man2/syslog.2
1338 :>$RPM_BUILD_ROOT%{_mandir}/ja/man2/syslog.2
1339 :>$RPM_BUILD_ROOT%{_mandir}/ru/man2/syslog.2
1340
1341 # remove links to non existant translations
1342 %{__rm} $RPM_BUILD_ROOT%{_mandir}/pl/man3/{alphasort,cfgetispeed,cfgetospeed,cfmakeraw,cfsetispeed,cfsetospeed,closelog,dn_comp,dn_expand,fscanf}.3
1343 %{__rm} $RPM_BUILD_ROOT%{_mandir}/tr/man3/{encrypt_r,setkey,setkey_r}.3
1344
1345 %if %{without crypt}
1346 %{__rm} $RPM_BUILD_ROOT%{_mandir}{,/ja}/man3/crypt{,_r}.3
1347 %{__rm} $RPM_BUILD_ROOT%{_mandir}/{de,es,fr,pl,pt,ru,tr}/man3/crypt.3
1348 %endif
1349
1350 %clean
1351 rm -rf $RPM_BUILD_ROOT
1352
1353 %if %{without cross}
1354 %post   -p /sbin/postshell
1355 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
1356 /sbin/ldconfig
1357
1358 %postun -p /sbin/ldconfig
1359
1360 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1361 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1362 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1363 %endif
1364
1365 %triggerin -- cronie,vixie-cron,hc-cron,fcron,mcron
1366 # restart crond if glibc is upgraded, LP#721338
1367 if [ "$1" != 1 ]; then
1368         %service -q crond restart
1369 fi
1370
1371 %triggerin -- apache-base
1372 if [ "$1" != 1 ]; then
1373         %service -q httpd restart
1374 fi
1375
1376 %ifarch %{x8664}
1377 # when upgrading from glibc < 6:2.19-3 copy locale-archive
1378 # from /usr/lib64/locale to /usr/lib/locale
1379 # but only if the latter doesn't already exist
1380 %triggerpostun -p /sbin/postshell -- %{name} < 6:2.19-3
1381 -/bin/cp -an %{_libdir}/locale/locale-archive %{_prefix}/lib/locale/locale-archive
1382 %endif
1383
1384 %post   libcrypt -p /sbin/ldconfig
1385 %postun libcrypt -p /sbin/ldconfig
1386
1387 %post   memusage -p /sbin/ldconfig
1388 %postun memusage -p /sbin/ldconfig
1389
1390 %post -n localedb-src
1391 SUPPORTED_LOCALES=
1392 [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
1393 [ -f /etc/sysconfig/localedb ] && . /etc/sysconfig/localedb
1394 if [ "$SUPPORTED_LOCALES" ]; then
1395         localedb-gen || :
1396 fi
1397
1398 %post devel-doc -p      /sbin/postshell
1399 -/usr/sbin/fix-info-dir -c %{_infodir}
1400
1401 %postun devel-doc       -p      /sbin/postshell
1402 -/usr/sbin/fix-info-dir -c %{_infodir}
1403
1404 %pre -n nscd
1405 %groupadd -P nscd -g 144 -r nscd
1406 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "Name Service Cache Daemon" -g nscd nscd
1407
1408 %post -n nscd
1409 if [ ! -f /var/log/nscd ]; then
1410         umask 027
1411         touch /var/log/nscd
1412         chown root:root /var/log/nscd
1413         chmod 640 /var/log/nscd
1414 fi
1415 /sbin/chkconfig --add nscd
1416 %service nscd restart "Name Service Cache Daemon"
1417
1418 %preun -n nscd
1419 if [ "$1" = "0" ]; then
1420         %service nscd stop
1421         /sbin/chkconfig --del nscd
1422 fi
1423
1424 %postun -n nscd
1425 if [ "$1" = "0" ]; then
1426         %userremove nscd
1427         %groupremove nscd
1428 fi
1429
1430 %posttrans -n iconv
1431 %{_sbindir}/iconvconfig --nostdlib -o %{_libdir}/gconv/gconv-modules.cache %{_libdir}/gconv
1432
1433 %files -f %{name}.lang
1434 %defattr(644,root,root,755)
1435 %doc README NEWS
1436 %if %{without cross}
1437 %attr(755,root,root) /sbin/glibc-postinst
1438 %endif
1439 %ifarch %{ix86} sparc sparcv9 sparc64 alpha sh
1440 %attr(755,root,root) /%{_lib}/ld-linux.so.2
1441 %endif
1442 %ifarch ia64
1443 %attr(755,root,root) /%{_lib}/ld-linux-ia64.so.2
1444 %endif
1445 %ifarch %{x8664}
1446 %attr(755,root,root) /%{_lib}/ld-linux-x86-64.so.2
1447 %endif
1448 %ifarch x32
1449 %attr(755,root,root) /%{_lib}/ld-linux-x32.so.2
1450 %endif
1451 %ifarch ppc64 s390x
1452 %attr(755,root,root) /%{_lib}/ld64.so.1
1453 %endif
1454 %ifarch aarch64
1455 %attr(755,root,root) /lib/ld-linux-aarch64.so.1
1456 %endif
1457 %ifarch armv6hl armv7hl armv7hnl
1458 %attr(755,root,root) /lib/ld-linux-armhf.so.3
1459 %endif
1460 %ifnarch %{ix86} sparc sparcv9 sparc64 alpha sh ia64 %{x8664} x32 ppc64 s390x %{arm} aarch64
1461 %attr(755,root,root) /%{_lib}/ld.so.1
1462 %endif
1463 %ifarch alpha
1464 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1.1
1465 %else
1466 %attr(755,root,root) /%{_lib}/libBrokenLocale.so.1
1467 %endif
1468 %attr(755,root,root) /%{_lib}/libanl.so.1
1469 %ifarch alpha ia64
1470 %attr(755,root,root) /%{_lib}/libc.so.6.1
1471 %else
1472 %attr(755,root,root) /%{_lib}/libc.so.6
1473 %endif
1474 # for debugging and not linking
1475 %attr(755,root,root) /%{_lib}/libc_malloc_debug.so.0
1476 %attr(755,root,root) %{_libdir}/libc_malloc_debug.so
1477 %ifarch alpha
1478 %attr(755,root,root) /%{_lib}/libdl.so.2.1
1479 %else
1480 %attr(755,root,root) /%{_lib}/libdl.so.2
1481 %endif
1482 %ifarch alpha ia64
1483 %attr(755,root,root) /%{_lib}/libm.so.6.1
1484 %else
1485 %attr(755,root,root) /%{_lib}/libm.so.6
1486 %endif
1487 %ifarch %{x8664} x32 aarch64
1488 %attr(755,root,root) /%{_lib}/libmvec.so.1
1489 %endif
1490 %ifarch alpha
1491 %attr(755,root,root) /%{_lib}/libnsl.so.1.1
1492 %else
1493 %attr(755,root,root) /%{_lib}/libnsl.so.1
1494 %endif
1495 %attr(755,root,root) /%{_lib}/libpthread.so.0
1496 %ifarch alpha
1497 %attr(755,root,root) /%{_lib}/libresolv.so.2.1
1498 %else
1499 %attr(755,root,root) /%{_lib}/libresolv.so.2
1500 %endif
1501 %attr(755,root,root) /%{_lib}/librt.so.1
1502 %attr(755,root,root) /%{_lib}/libthread_db.so.1
1503 %ifarch alpha
1504 %attr(755,root,root) /%{_lib}/libutil.so.1.1
1505 %else
1506 %attr(755,root,root) /%{_lib}/libutil.so.1
1507 %endif
1508 %dir %{_prefix}/lib/locale
1509
1510 #%files -n nss_dns
1511 %defattr(644,root,root,755)
1512 %attr(755,root,root) /%{_lib}/libnss_dns.so.2
1513
1514 #%files -n nss_files
1515 %defattr(644,root,root,755)
1516 %attr(755,root,root) /%{_lib}/libnss_files.so.2
1517
1518 %defattr(644,root,root,755)
1519
1520 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1521 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1522
1523 %config %{_sysconfdir}/rpc
1524
1525 %attr(755,root,root) /sbin/sln
1526 %attr(755,root,root) %{_bindir}/getconf
1527 %attr(755,root,root) %{_bindir}/getent
1528 %attr(755,root,root) %{_bindir}/iconv
1529 %attr(755,root,root) %{_bindir}/ld.so-%{_target_cpu}
1530 %attr(755,root,root) %{_bindir}/locale
1531 %attr(755,root,root) %{_bindir}/zdump
1532 %attr(755,root,root) %{_sbindir}/zic
1533
1534 %dir %{_libexecdir}/getconf
1535 %attr(755,root,root) %{_libexecdir}/getconf/*
1536
1537 %dir %{_localedir}
1538 %{_localedir}/locale.alias
1539
1540 %{_mandir}/man1/getconf.1*
1541 %{_mandir}/man1/getent.1*
1542 %{_mandir}/man1/iconv.1*
1543 %{_mandir}/man1/locale.1*
1544 %{_mandir}/man5/gai.conf.5*
1545 %{_mandir}/man5/locale.5*
1546 %{_mandir}/man5/nss.5*
1547 %{_mandir}/man5/nsswitch.conf.5*
1548 %{_mandir}/man5/repertoiremap.5*
1549 %{_mandir}/man5/rpc.5*
1550 %{_mandir}/man5/tzfile.5*
1551 %{_mandir}/man7/armscii-8.7*
1552 %{_mandir}/man7/ascii.7*
1553 %{_mandir}/man7/charsets.7*
1554 %{_mandir}/man7/cp1251.7*
1555 %{_mandir}/man7/cp1252.7*
1556 %{_mandir}/man7/iso-8859-*.7*
1557 %{_mandir}/man7/iso_8859-*.7*
1558 %{_mandir}/man7/iso_8859_*.7*
1559 %{_mandir}/man7/koi8-*.7*
1560 %{_mandir}/man7/latin*.7*
1561 %{_mandir}/man7/locale.7*
1562 %{_mandir}/man7/tis-620.7*
1563 %{_mandir}/man7/unicode.7*
1564 %{_mandir}/man7/utf-8.7*
1565 %{_mandir}/man7/utf8.7*
1566 %{_mandir}/man8/ld-linux.8*
1567 %{_mandir}/man8/ld-linux.so.8*
1568 %{_mandir}/man8/ld.so.8*
1569 %{_mandir}/man8/sln.8*
1570 %{_mandir}/man8/zdump.8*
1571 %{_mandir}/man8/zic.8*
1572 %lang(cs) %{_mandir}/cs/man7/ascii.7*
1573 %lang(cs) %{_mandir}/cs/man7/locale.7*
1574 %lang(cs) %{_mandir}/cs/man7/unicode.7*
1575 %lang(cs) %{_mandir}/cs/man7/utf-8.7*
1576 %lang(cs) %{_mandir}/cs/man7/utf8.7*
1577 %lang(de) %{_mandir}/de/man5/rpc.5*
1578 %lang(de) %{_mandir}/de/man5/tzfile.5*
1579 %lang(de) %{_mandir}/de/man7/ascii.7*
1580 %lang(de) %{_mandir}/de/man7/iso-8859-*.7*
1581 %lang(de) %{_mandir}/de/man7/iso_8859-*.7*
1582 %lang(de) %{_mandir}/de/man7/iso_8859_*.7*
1583 %lang(de) %{_mandir}/de/man7/latin*.7*
1584 %lang(de) %{_mandir}/de/man7/locale.7*
1585 %lang(de) %{_mandir}/de/man7/unicode.7*
1586 %lang(de) %{_mandir}/de/man7/utf-8.7*
1587 %lang(de) %{_mandir}/de/man7/utf8.7*
1588 %lang(es) %{_mandir}/es/man5/locale.5*
1589 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1590 %lang(es) %{_mandir}/es/man5/rpc.5*
1591 %lang(es) %{_mandir}/es/man5/tzfile.5*
1592 %lang(es) %{_mandir}/es/man7/ascii.7*
1593 %lang(es) %{_mandir}/es/man7/charsets.7*
1594 %lang(es) %{_mandir}/es/man7/iso-8859-*.7*
1595 %lang(es) %{_mandir}/es/man7/iso_8859-*.7*
1596 %lang(es) %{_mandir}/es/man7/iso_8859_*.7*
1597 %lang(es) %{_mandir}/es/man7/latin*.7*
1598 %lang(es) %{_mandir}/es/man7/locale.7*
1599 %lang(es) %{_mandir}/es/man7/unicode.7*
1600 %lang(es) %{_mandir}/es/man7/utf-8.7*
1601 %lang(es) %{_mandir}/es/man7/utf8.7*
1602 %lang(es) %{_mandir}/es/man8/ld-linux.8*
1603 %lang(es) %{_mandir}/es/man8/ld-linux.so.8*
1604 %lang(es) %{_mandir}/es/man8/ld.so.8*
1605 %lang(es) %{_mandir}/es/man8/zdump.8*
1606 %lang(es) %{_mandir}/es/man8/zic.8*
1607 %lang(fr) %{_mandir}/fr/man1/getent.1*
1608 %lang(fr) %{_mandir}/fr/man1/locale.1*
1609 %lang(fr) %{_mandir}/fr/man5/gai.conf.5*
1610 %lang(fr) %{_mandir}/fr/man5/locale.5*
1611 %lang(fr) %{_mandir}/fr/man5/nss.5*
1612 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1613 %lang(fr) %{_mandir}/fr/man5/rpc.5*
1614 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1615 %lang(fr) %{_mandir}/fr/man7/armscii-8.7*
1616 %lang(fr) %{_mandir}/fr/man7/ascii.7*
1617 %lang(fr) %{_mandir}/fr/man7/charsets.7*
1618 %lang(fr) %{_mandir}/fr/man7/cp1251.7*
1619 %lang(fr) %{_mandir}/fr/man7/iso-8859-*.7*
1620 %lang(fr) %{_mandir}/fr/man7/iso_8859-*.7*
1621 %lang(fr) %{_mandir}/fr/man7/iso_8859_*.7*
1622 %lang(fr) %{_mandir}/fr/man7/koi8-r.7*
1623 %lang(fr) %{_mandir}/fr/man7/koi8-u.7*
1624 %lang(fr) %{_mandir}/fr/man7/latin*.7*
1625 %lang(fr) %{_mandir}/fr/man7/locale.7*
1626 %lang(fr) %{_mandir}/fr/man7/unicode.7*
1627 %lang(fr) %{_mandir}/fr/man7/utf-8.7*
1628 %lang(fr) %{_mandir}/fr/man7/utf8.7*
1629 %lang(fr) %{_mandir}/fr/man8/ld-linux.8*
1630 %lang(fr) %{_mandir}/fr/man8/ld-linux.so.8*
1631 %lang(fr) %{_mandir}/fr/man8/ld.so.8*
1632 %lang(fr) %{_mandir}/fr/man8/sln.8*
1633 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1634 %lang(fr) %{_mandir}/fr/man8/zic.8*
1635 %lang(hu) %{_mandir}/hu/man7/ascii.7*
1636 %lang(hu) %{_mandir}/hu/man7/iso-8859-*.7*
1637 %lang(hu) %{_mandir}/hu/man7/iso_8859-*.7*
1638 %lang(hu) %{_mandir}/hu/man7/iso_8859_*.7*
1639 %lang(hu) %{_mandir}/hu/man7/latin*.7*
1640 %lang(hu) %{_mandir}/hu/man7/locale.7*
1641 %lang(hu) %{_mandir}/hu/man7/utf-8.7*
1642 %lang(hu) %{_mandir}/hu/man7/utf8.7*
1643 %lang(hu) %{_mandir}/hu/man8/ld-linux.8*
1644 %lang(hu) %{_mandir}/hu/man8/ld-linux.so.8*
1645 %lang(hu) %{_mandir}/hu/man8/ld.so.8*
1646 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1647 %lang(it) %{_mandir}/it/man5/locale.5*
1648 %lang(it) %{_mandir}/it/man7/ascii.7*
1649 %lang(it) %{_mandir}/it/man7/charsets.7*
1650 %lang(it) %{_mandir}/it/man7/iso-8859-*.7*
1651 %lang(it) %{_mandir}/it/man7/iso_8859-*.7*
1652 %lang(it) %{_mandir}/it/man7/iso_8859_*.7*
1653 %lang(it) %{_mandir}/it/man7/latin*.7*
1654 %lang(it) %{_mandir}/it/man7/locale.7*
1655 %lang(it) %{_mandir}/it/man7/unicode.7*
1656 %lang(it) %{_mandir}/it/man7/utf-8.7*
1657 %lang(it) %{_mandir}/it/man7/utf8.7*
1658 %lang(it) %{_mandir}/it/man8/zdump.8*
1659 %lang(ja) %{_mandir}/ja/man1/getent.1*
1660 %lang(ja) %{_mandir}/ja/man1/iconv.1*
1661 %lang(ja) %{_mandir}/ja/man1/locale.1*
1662 %lang(ja) %{_mandir}/ja/man5/gai.conf.5*
1663 %lang(ja) %{_mandir}/ja/man5/locale.5*
1664 %lang(ja) %{_mandir}/ja/man5/nss.5*
1665 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1666 %lang(ja) %{_mandir}/ja/man5/repertoiremap.5*
1667 %lang(ja) %{_mandir}/ja/man5/rpc.5*
1668 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1669 %lang(ja) %{_mandir}/ja/man7/armscii-8.7*
1670 %lang(ja) %{_mandir}/ja/man7/ascii.7*
1671 %lang(ja) %{_mandir}/ja/man7/charsets.7*
1672 %lang(ja) %{_mandir}/ja/man7/cp1251.7*
1673 %lang(ja) %{_mandir}/ja/man7/cp1252.7*
1674 %lang(ja) %{_mandir}/ja/man7/iso-8859-*.7*
1675 %lang(ja) %{_mandir}/ja/man7/iso_8859-*.7*
1676 %lang(ja) %{_mandir}/ja/man7/iso_8859_*.7*
1677 %lang(ja) %{_mandir}/ja/man7/koi8-*.7*
1678 %lang(ja) %{_mandir}/ja/man7/latin*.7*
1679 %lang(ja) %{_mandir}/ja/man7/locale.7*
1680 %lang(ja) %{_mandir}/ja/man7/tis-620.7*
1681 %lang(ja) %{_mandir}/ja/man7/unicode.7*
1682 %lang(ja) %{_mandir}/ja/man7/utf-8.7*
1683 %lang(ja) %{_mandir}/ja/man7/utf8.7*
1684 %lang(ja) %{_mandir}/ja/man8/ld-linux.8*
1685 %lang(ja) %{_mandir}/ja/man8/ld-linux.so.8*
1686 %lang(ja) %{_mandir}/ja/man8/ld.so.8*
1687 %lang(ja) %{_mandir}/ja/man8/sln.8*
1688 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1689 %lang(ja) %{_mandir}/ja/man8/zic.8*
1690 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1691 %lang(ko) %{_mandir}/ko/man5/rpc.5*
1692 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1693 %lang(ko) %{_mandir}/ko/man7/ascii.7*
1694 %lang(ko) %{_mandir}/ko/man7/iso-8859-*.7*
1695 %lang(ko) %{_mandir}/ko/man7/iso_8859-*.7*
1696 %lang(ko) %{_mandir}/ko/man7/iso_8859_*.7*
1697 %lang(ko) %{_mandir}/ko/man7/latin*.7*
1698 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1699 %lang(pl) %{_mandir}/pl/man5/locale.5*
1700 %lang(pl) %{_mandir}/pl/man5/rpc.5*
1701 %lang(pl) %{_mandir}/pl/man7/ascii.7*
1702 %lang(pl) %{_mandir}/pl/man7/iso-8859-*.7*
1703 %lang(pl) %{_mandir}/pl/man7/iso_8859-*.7*
1704 %lang(pl) %{_mandir}/pl/man7/iso_8859_*.7*
1705 %lang(pl) %{_mandir}/pl/man7/koi8-*.7*
1706 %lang(pl) %{_mandir}/pl/man7/latin*.7*
1707 %lang(pl) %{_mandir}/pl/man7/locale.7*
1708 %lang(pl) %{_mandir}/pl/man7/unicode.7*
1709 %lang(pl) %{_mandir}/pl/man7/utf-8.7*
1710 %lang(pl) %{_mandir}/pl/man7/utf8.7*
1711 %lang(pl) %{_mandir}/pl/man8/ld-linux.8*
1712 %lang(pl) %{_mandir}/pl/man8/ld-linux.so.8*
1713 %lang(pl) %{_mandir}/pl/man8/ld.so.8*
1714 %lang(pt) %{_mandir}/pt/man5/locale.5*
1715 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1716 %lang(pt) %{_mandir}/pt/man5/rpc.5*
1717 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1718 %lang(pt) %{_mandir}/pt/man7/ascii.7*
1719 %lang(pt) %{_mandir}/pt/man7/charsets.7*
1720 %lang(pt) %{_mandir}/pt/man7/iso-8859-*.7*
1721 %lang(pt) %{_mandir}/pt/man7/iso_8859-*.7*
1722 %lang(pt) %{_mandir}/pt/man7/iso_8859_*.7*
1723 %lang(pt) %{_mandir}/pt/man7/koi8-*.7*
1724 %lang(pt) %{_mandir}/pt/man7/latin*.7*
1725 %lang(pt) %{_mandir}/pt/man7/locale.7*
1726 %lang(pt) %{_mandir}/pt/man7/unicode.7*
1727 %lang(pt) %{_mandir}/pt/man7/utf-8.7*
1728 %lang(pt) %{_mandir}/pt/man7/utf8.7*
1729 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1730 %lang(pt) %{_mandir}/pt/man8/zic.8*
1731 %lang(ru) %{_mandir}/ru/man1/getent.1*
1732 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1733 %lang(ru) %{_mandir}/ru/man1/locale.1*
1734 %lang(ru) %{_mandir}/ru/man5/locale.5*
1735 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1736 %lang(ru) %{_mandir}/ru/man5/rpc.5*
1737 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1738 %lang(ru) %{_mandir}/ru/man7/ascii.7*
1739 %lang(ru) %{_mandir}/ru/man7/charsets.7*
1740 %lang(ru) %{_mandir}/ru/man7/iso-8859-*.7*
1741 %lang(ru) %{_mandir}/ru/man7/iso_8859-*.7*
1742 %lang(ru) %{_mandir}/ru/man7/iso_8859_*.7*
1743 %lang(ru) %{_mandir}/ru/man7/koi8-*.7*
1744 %lang(ru) %{_mandir}/ru/man7/latin*.7*
1745 %lang(ru) %{_mandir}/ru/man7/locale.7*
1746 %lang(ru) %{_mandir}/ru/man7/unicode.7*
1747 %lang(ru) %{_mandir}/ru/man7/utf-8.7*
1748 %lang(ru) %{_mandir}/ru/man7/utf8.7*
1749 %lang(ru) %{_mandir}/ru/man8/ld-linux.so.8*
1750 %lang(ru) %{_mandir}/ru/man8/ld.so.8*
1751 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1752 %lang(ru) %{_mandir}/ru/man8/zic.8*
1753 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1754 %lang(uk) %{_mandir}/uk/man5/rpc.5*
1755 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1756 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1757 %lang(zh_CN) %{_mandir}/zh_CN/man5/rpc.5*
1758 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1759 %lang(zh_CN) %{_mandir}/zh_CN/man7/ascii.7*
1760 %lang(zh_CN) %{_mandir}/zh_CN/man7/charsets.7*
1761 %lang(zh_CN) %{_mandir}/zh_CN/man7/locale.7*
1762 %lang(zh_CN) %{_mandir}/zh_CN/man7/unicode.7*
1763 %lang(zh_CN) %{_mandir}/zh_CN/man7/utf-8.7*
1764 %lang(zh_CN) %{_mandir}/zh_CN/man7/utf8.7*
1765 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1766 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1767 %lang(zh_TW) %{_mandir}/zh_TW/man1/iconv.1*
1768 %lang(zh_TW) %{_mandir}/zh_TW/man5/locale.5*
1769 %lang(zh_TW) %{_mandir}/zh_TW/man5/rpc.5*
1770 %lang(zh_TW) %{_mandir}/zh_TW/man5/tzfile.5*
1771 %lang(zh_TW) %{_mandir}/zh_TW/man7/ascii.7*
1772 %lang(zh_TW) %{_mandir}/zh_TW/man7/charsets.7*
1773 %lang(zh_TW) %{_mandir}/zh_TW/man7/locale.7*
1774 %lang(zh_TW) %{_mandir}/zh_TW/man7/unicode.7*
1775 %lang(zh_TW) %{_mandir}/zh_TW/man7/utf-8.7*
1776 %lang(zh_TW) %{_mandir}/zh_TW/man7/utf8.7*
1777 %lang(zh_TW) %{_mandir}/zh_TW/man8/zdump.8*
1778 %lang(zh_TW) %{_mandir}/zh_TW/man8/zic.8*
1779
1780 %files misc
1781 %defattr(644,root,root,755)
1782 %attr(755,root,root) %{_bindir}/ldd
1783 %attr(755,root,root) %{_bindir}/pldd
1784 %ifarch m68k sparc sparcv9
1785 %attr(755,root,root) %{_bindir}/lddlibc4
1786 %endif
1787 %attr(755,root,root) %{_bindir}/sotruss
1788 %dir %{_libdir}/audit
1789 %attr(755,root,root) %{_libdir}/audit/sotruss-lib.so
1790
1791 %{_mandir}/man1/ldd.1*
1792 %{_mandir}/man1/pldd.1*
1793 %lang(cs) %{_mandir}/cs/man1/ldd.1*
1794 %lang(es) %{_mandir}/es/man1/ldd.1*
1795 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1796 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1797 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1798 %lang(it) %{_mandir}/it/man1/ldd.1*
1799 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1800 %lang(ja) %{_mandir}/ja/man1/pldd.1*
1801 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1802 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1803 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1804 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1805 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1806 %lang(zh_TW) %{_mandir}/zh_TW/man1/ldd.1*
1807
1808 %if %{with crypt}
1809 %files libcrypt
1810 %defattr(644,root,root,755)
1811 %ifarch alpha
1812 %attr(755,root,root) /%{_lib}/libcrypt.so.1.1
1813 %else
1814 %attr(755,root,root) /%{_lib}/libcrypt.so.1
1815 %endif
1816 %endif
1817
1818 %files -n ldconfig
1819 %defattr(644,root,root,755)
1820 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1821 %dir %{_sysconfdir}/ld.so.conf.d
1822 %ghost %{_sysconfdir}/ld.so.cache
1823 %attr(755,root,root) /sbin/ldconfig
1824 %{_mandir}/man8/ldconfig.8*
1825 %lang(es) %{_mandir}/es/man8/ldconfig.8*
1826 %lang(fr) %{_mandir}/fr/man8/ldconfig.8*
1827 %lang(hu) %{_mandir}/hu/man8/ldconfig.8*
1828 %lang(ja) %{_mandir}/ja/man8/ldconfig.8*
1829 %lang(pl) %{_mandir}/pl/man8/ldconfig.8*
1830 %lang(pt) %{_mandir}/pt/man8/ldconfig.8*
1831 %lang(ru) %{_mandir}/ru/man8/ldconfig.8*
1832 %dir %attr(700,root,root) /var/cache/ldconfig
1833 %attr(600,root,root) %ghost /var/cache/ldconfig/aux-cache
1834
1835 %files -n nss_compat
1836 %defattr(644,root,root,755)
1837 %attr(755,root,root) /%{_lib}/libnss_compat.so.2
1838
1839 %files -n nss_db
1840 %defattr(644,root,root,755)
1841 %attr(755,root,root) %{_bindir}/makedb
1842 %attr(755,root,root) /%{_lib}/libnss_db.so.2
1843 %{_var}/db/Makefile
1844
1845 %files -n nss_hesiod
1846 %defattr(644,root,root,755)
1847 %attr(755,root,root) /%{_lib}/libnss_hesiod.so.2
1848
1849 %if %{with memusage}
1850 %files memusage
1851 %defattr(644,root,root,755)
1852 %attr(755,root,root) %{_bindir}/memusage
1853 %attr(755,root,root) %{_bindir}/memusagestat
1854 %attr(755,root,root) %{_libdir}/libmemusage.so
1855 %{_mandir}/man1/memusage.1*
1856 %{_mandir}/man1/memusagestat.1*
1857 %lang(ja) %{_mandir}/ja/man1/memusage.1*
1858 %lang(ja) %{_mandir}/ja/man1/memusagestat.1*
1859 %endif
1860
1861 %files devel
1862 %defattr(644,root,root,755)
1863 %attr(755,root,root) %{_libdir}/libBrokenLocale.so
1864 %{?with_crypt:%attr(755,root,root) %{_libdir}/libcrypt.so}
1865 # for dlopen and not linking
1866 %attr(755,root,root) %{_libdir}/libanl.so
1867 %attr(755,root,root) %{_libdir}/libm.so
1868 %ifarch %{x8664} x32 aarch64
1869 %attr(755,root,root) %{_libdir}/libmvec.so
1870 %endif
1871 %attr(755,root,root) %{_libdir}/libpcprofile.so
1872 %attr(755,root,root) %{_libdir}/libresolv.so
1873 # for dlopen and not linking
1874 %attr(755,root,root) %{_libdir}/libthread_db.so
1875 # empty archives, so linking with obsolete -lXX (these below) works
1876 %{_libdir}/libanl.a
1877 %{_libdir}/libdl.a
1878 %{_libdir}/libpthread.a
1879 %{_libdir}/librt.a
1880 %{_libdir}/libutil.a
1881 %{_libdir}/crt[1in].o
1882 %{_libdir}/[MSgr]crt1.o
1883 %{?with_static_pie:%{_libdir}/grcrt1.o}
1884 # ld scripts
1885 %{_libdir}/libc.so
1886 # static-only libs
1887 %{_libdir}/libc_nonshared.a
1888 %{_libdir}/libg.a
1889 %ifarch alpha ppc sparc
1890 %{_libdir}/libnldbl_nonshared.a
1891 %endif
1892 %ifarch %{ix86} %{x8664} x32 ppc ppc64 s390 s390x sparc sparcv9 sparc64 aarch64 armv6hl armv7hl armv7hnl
1893 # ABI-dependent headers
1894 %{_includedir}/gnu/stubs-*.h
1895 %endif
1896
1897 %files headers
1898 %defattr(644,root,root,755)
1899 %{_includedir}/*.h
1900 %ifarch alpha
1901 %{_includedir}/alpha
1902 %endif
1903 %{_includedir}/arpa
1904 %{_includedir}/bits
1905 %dir %{_includedir}/finclude
1906 %{_includedir}/finclude/math-vector-fortran.h
1907 %dir %{_includedir}/gnu
1908 %{_includedir}/gnu/lib*.h
1909 %{_includedir}/gnu/stubs.h
1910 %{_includedir}/net
1911 %{_includedir}/netash
1912 %{_includedir}/netatalk
1913 %{_includedir}/netax25
1914 %{_includedir}/neteconet
1915 %{_includedir}/netiucv
1916 %{_includedir}/netinet
1917 %{_includedir}/netipx
1918 %{_includedir}/netpacket
1919 %{_includedir}/netrom
1920 %{_includedir}/netrose
1921 %{_includedir}/nfs
1922 %{_includedir}/protocols
1923 %{_includedir}/rpc
1924 %{_includedir}/scsi
1925 %{_includedir}/sys
1926
1927 %files devel-utils
1928 %defattr(644,root,root,755)
1929 %attr(755,root,root) %{_bindir}/gencat
1930 %attr(755,root,root) %{_bindir}/mtrace
1931 %attr(755,root,root) %{_bindir}/pcprofiledump
1932 %attr(755,root,root) %{_bindir}/sprof
1933 %attr(755,root,root) %{_bindir}/xtrace
1934 %{_mandir}/man1/mtrace.1*
1935 %{_mandir}/man1/sprof.1*
1936 %lang(ja) %{_mandir}/ja/man1/mtrace.1*
1937 %lang(ja) %{_mandir}/ja/man1/sprof.1*
1938 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1939
1940 %files devel-doc
1941 %defattr(644,root,root,755)
1942 %doc documentation/*
1943 %{_infodir}/libc.info*
1944
1945 %{_mandir}/man2/getcwd.2*
1946 %{_mandir}/man3/*
1947 %{_mandir}/man7/aio.7*
1948 %{_mandir}/man7/attributes.7*
1949 %{_mandir}/man7/complex.7*
1950 %{_mandir}/man7/feature_test_macros.7*
1951 %{_mandir}/man7/glibc.7*
1952 %{_mandir}/man7/glob.7*
1953 %{_mandir}/man7/libc.7*
1954 %{_mandir}/man7/math_error.7*
1955 %{_mandir}/man7/nptl.7*
1956 %{_mandir}/man7/posixoptions.7*
1957 %{_mandir}/man7/pthreads.7*
1958 %{_mandir}/man7/queue.7*
1959 %{_mandir}/man7/rtld-audit.7*
1960 %{_mandir}/man7/sem_overview.7*
1961 %{_mandir}/man7/shm_overview.7*
1962 %{_mandir}/man7/system_data_types.7*
1963 %lang(cs) %{_mandir}/cs/man3/*
1964 %lang(de) %{_mandir}/de/man3/*
1965 %lang(es) %{_mandir}/es/man3/*
1966 %lang(es) %{_mandir}/es/man7/glob.7*
1967 %lang(fr) %{_mandir}/fr/man3/*
1968 %lang(fr) %{_mandir}/fr/man7/aio.7*
1969 %lang(fr) %{_mandir}/fr/man7/complex.7*
1970 %lang(fr) %{_mandir}/fr/man7/feature_test_macros.7*
1971 %lang(fr) %{_mandir}/fr/man7/glibc.7*
1972 %lang(fr) %{_mandir}/fr/man7/glob.7*
1973 %lang(fr) %{_mandir}/fr/man7/libc.7*
1974 %lang(fr) %{_mandir}/fr/man7/math_error.7*
1975 %lang(fr) %{_mandir}/fr/man7/posixoptions.7*
1976 %lang(fr) %{_mandir}/fr/man7/pthreads.7*
1977 %lang(fr) %{_mandir}/fr/man7/rtld-audit.7*
1978 %lang(fr) %{_mandir}/fr/man7/sem_overview.7*
1979 %lang(fr) %{_mandir}/fr/man7/shm_overview.7*
1980 %lang(hu) %{_mandir}/hu/man3/*
1981 %lang(it) %{_mandir}/it/man3/*
1982 %lang(it) %{_mandir}/it/man7/glob.7*
1983 %lang(ja) %{_mandir}/ja/man2/getcwd.2*
1984 %lang(ja) %{_mandir}/ja/man3/*
1985 %lang(ja) %{_mandir}/ja/man7/aio.7*
1986 %lang(ja) %{_mandir}/ja/man7/complex.7*
1987 %lang(ja) %{_mandir}/ja/man7/feature_test_macros.7*
1988 %lang(ja) %{_mandir}/ja/man7/glibc.7*
1989 %lang(ja) %{_mandir}/ja/man7/glob.7*
1990 %lang(ja) %{_mandir}/ja/man7/libc.7*
1991 %lang(ja) %{_mandir}/ja/man7/math_error.7*
1992 %lang(ja) %{_mandir}/ja/man7/posixoptions.7*
1993 %lang(ja) %{_mandir}/ja/man7/pthreads.7*
1994 %lang(ja) %{_mandir}/ja/man7/sem_overview.7*
1995 %lang(ja) %{_mandir}/ja/man7/shm_overview.7*
1996 %lang(ko) %{_mandir}/ko/man3/*
1997 %lang(nl) %{_mandir}/nl/man3/*
1998 %lang(pl) %{_mandir}/pl/man3/*
1999 %lang(pt) %{_mandir}/pt/man3/*
2000 %lang(pt) %{_mandir}/pt/man7/glob.7*
2001 %lang(ru) %{_mandir}/ru/man3/*
2002 %lang(ru) %{_mandir}/ru/man7/glob.7*
2003 %lang(tr) %{_mandir}/tr/man3/*
2004 %lang(uk) %{_mandir}/uk/man3/*
2005 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
2006 %lang(zh_CN) %{_mandir}/zh_CN/man7/glob.7*
2007 %lang(zh_TW) %{_mandir}/zh_TW/man3/*
2008 %lang(zh_TW) %{_mandir}/zh_TW/man7/glob.7*
2009
2010 %files static
2011 %defattr(644,root,root,755)
2012 %{_libdir}/libBrokenLocale.a
2013 %{_libdir}/libc.a
2014 %{?with_crypt:%{_libdir}/libcrypt.a}
2015 %{_libdir}/libm.a
2016 %{_libdir}/libmcheck.a
2017 %ifarch %{x8664} x32 aarch64
2018 %{_libdir}/libm-%{core_version}.a
2019 %{_libdir}/libmvec.a
2020 %endif
2021 %{_libdir}/libresolv.a
2022
2023 %files profile
2024 %defattr(644,root,root,755)
2025 %{_libdir}/libBrokenLocale_p.a
2026 %{_libdir}/libanl_p.a
2027 %{_libdir}/libc_p.a
2028 %{?with_crypt:%{_libdir}/libcrypt_p.a}
2029 %{_libdir}/libdl_p.a
2030 %{_libdir}/libm_p.a
2031 %ifarch %{x8664} x32 aarch64
2032 %{_libdir}/libmvec_p.a
2033 %endif
2034 %{_libdir}/libpthread_p.a
2035 %{_libdir}/libresolv_p.a
2036 %{_libdir}/librt_p.a
2037 %{_libdir}/libutil_p.a
2038
2039 %files pic
2040 %defattr(644,root,root,755)
2041 %{_libdir}/libc_pic.a
2042 %{_libdir}/libm_pic.a
2043 %{_libdir}/libresolv_pic.a
2044 %{_libdir}/libc.map
2045 %{_libdir}/libm.map
2046 %{_libdir}/sofini.o
2047
2048 %files -n nscd
2049 %defattr(644,root,root,755)
2050 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
2051 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
2052 %attr(754,root,root) /etc/rc.d/init.d/nscd
2053 %attr(755,root,root) %{_sbindir}/nscd*
2054 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
2055 %attr(640,root,root) %ghost /var/log/nscd
2056 %{systemdtmpfilesdir}/nscd.conf
2057 %dir /var/run/nscd
2058 %dir /var/lib/nscd
2059 %attr(600,root,root) %ghost /var/lib/nscd/passwd
2060 %attr(600,root,root) %ghost /var/lib/nscd/group
2061 %attr(600,root,root) %ghost /var/lib/nscd/hosts
2062 %{_mandir}/man5/nscd.conf.5*
2063 %{_mandir}/man8/nscd.8*
2064 %{_mandir}/man8/nscd_nischeck.8*
2065 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
2066 %lang(es) %{_mandir}/es/man8/nscd.8*
2067 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
2068 %lang(fr) %{_mandir}/fr/man8/nscd.8*
2069 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
2070 %lang(ja) %{_mandir}/ja/man8/nscd.8*
2071 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
2072 %lang(pt) %{_mandir}/pt/man8/nscd.8*
2073 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
2074 %lang(ru) %{_mandir}/ru/man8/nscd.8*
2075 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
2076 %lang(zh_TW) %{_mandir}/zh_TW/man5/nscd.conf.5*
2077
2078 %files -n localedb-src
2079 %defattr(644,root,root,755)
2080 %attr(755,root,root) %{_bindir}/localedef
2081 %attr(755,root,root) %{_bindir}/localedb-gen
2082 %{_datadir}/i18n
2083 %{_mandir}/man1/localedef.1*
2084 %lang(ru) %{_mandir}/ru/man1/localedef.1*
2085
2086 %if %{with localedb}
2087 %files localedb-all
2088 %defattr(644,root,root,755)
2089 %{_prefix}/lib/locale/locale-archive
2090 %endif
2091
2092 %files -n iconv
2093 %defattr(644,root,root,755)
2094 %attr(755,root,root) %{_sbindir}/iconvconfig
2095 %dir %{_libdir}/gconv
2096 %{_libdir}/gconv/gconv-modules
2097 %dir %{_libdir}/gconv/gconv-modules.d
2098 %{_libdir}/gconv/gconv-modules.d/gconv-modules-extra.conf
2099 %verify(not md5 mtime size) %{_libdir}/gconv/gconv-modules.cache
2100 %attr(755,root,root) %{_libdir}/gconv/*.so
2101 %{_mandir}/man8/iconvconfig.8*
2102 %lang(ja) %{_mandir}/ja/man8/iconvconfig.8*
This page took 0.192443 seconds and 4 git commands to generate.