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