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