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