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