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