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