]> git.pld-linux.org Git - packages/glibc.git/blob - glibc.spec
96bb12394f1464251e54cd5269a1ad6ff9682104
[packages/glibc.git] / glibc.spec
1 #
2 # You can define min_kernel macro by "rpm --define 'min_kernel version'"
3 # default is 2.4.6
4 #
5 # Conditional build:
6 %bcond_without  fp              # build without frame pointer (pass \--enable-omitfp)
7 %bcond_without  memusage        # don't build memusage utility
8 %bcond_with     kernelheaders   # use headers from kernel-headers instead of
9                                 # linux-libc-headers (evil, breakage etc., don't use)
10 %bcond_without  dist_kernel     # for above, allow non-distribution kernel
11 %bcond_with     nptl            # use nptl instead of linuxthreads
12 %bcond_with     tls             # use tls
13 %bcond_with     tests           # perform "make test"
14
15 #
16 # TODO:
17 # - localedb-gen man pages(?)
18 # - fix what trojan broke while upgreading (getaddrinfo-workaround)
19 #
20 # WARNING:
21 #       posix zoneinfo dir removed, /etc/rc.d/init.d/timezone must be changed
22 #       in order to use this version!
23 #
24
25 %{!?min_kernel:%global          min_kernel      2.4.6}
26
27 %if %{with nptl}
28 # it seems that nptl uses cmpxchgl (available since i486) on x86
29 %ifarch i486 i586 i686 pentium3 pentium4 athlon amd64 ia64 s390 s390x sparcv9 ppc ppc64
30 %if "%{min_kernel}" < "2.6.0"
31 %global         min_kernel      2.6.0
32 %endif
33 %else
34 %undefine with_nptl
35 %endif
36 %endif
37
38 %if %{with tls}
39 %ifnarch %{ix86} amd64 ia64 s390 s390x sparc sparcv9 ppc ppc64
40 %undefine with_tls
41 %endif
42 %endif
43
44 %define         llh_version     7:2.6.4.0
45 %define         _snap           20040422
46
47 Summary:        GNU libc
48 Summary(de):    GNU libc
49 Summary(es):    GNU libc
50 Summary(fr):    GNU libc
51 Summary(ja):    GNU libc ¥é¥¤¥Ö¥é¥ê
52 Summary(pl):    GNU libc
53 Summary(ru):    GNU libc ×ÅÒÓÉÉ 2.3
54 Summary(tr):    GNU libc
55 Summary(uk):    GNU libc ×ÅÒÓ¦§ 2.3
56 Name:           glibc
57 Version:        2.3.4
58 Release:        0.%{_snap}.1%{?with_nptl:+nptl}
59 Epoch:          6
60 License:        LGPL
61 Group:          Libraries
62 #Source0:       ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
63 Source0:        %{name}-%{_snap}.tar.bz2
64 # Source0-md5:  6eaf90817a363e8e517a970dc0f2446b
65 #Source1:       ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
66 #Source1:       %{name}-linuxthreads-2.3.3.tar.bz2
67 Source2:        nscd.init
68 Source3:        nscd.sysconfig
69 Source4:        nscd.logrotate
70 #Source5:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
71 Source5:        %{name}-man-pages.tar.bz2
72 # Source5-md5:  03bee93e9786b3e7dad2570ccb0cbc5c
73 #Source6:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
74 Source6:        %{name}-non-english-man-pages.tar.bz2
75 # Source6-md5:  6159f0a9b6426b5f6fc1b0d8d21b9b76
76 # borrowed from util-linux
77 Source7:        %{name}-localedb-gen
78 Patch0:         %{name}-info.patch
79 Patch1:         %{name}-pl.po-update.patch
80 Patch2:         %{name}-pld.patch
81 Patch3:         %{name}-crypt-blowfish.patch
82 Patch4:         %{name}-linuxthreads-lock.patch
83 Patch5:         %{name}-pthread_create-manpage.patch
84 Patch6:         %{name}-paths.patch
85 Patch7:         %{name}-i786.patch
86 Patch8:         %{name}-postshell.patch
87 Patch9:         %{name}-missing-nls.patch
88 Patch10:        %{name}-java-libc-wait.patch
89 Patch11:        %{name}-lthrds_noomit.patch
90 Patch12:        %{name}-no_opt_override.patch
91 # this is broken (hardcoded /usr/src/linux)
92 Patch13:        %{name}-kernel_includes.patch
93 Patch14:        %{name}-includes.patch
94 Patch15:        %{name}-soinit-EH_FRAME.patch
95 Patch17:        %{name}-sparc-errno_fix.patch
96 Patch18:        %{name}-make.patch
97 Patch20:        %{name}-tests-noproc.patch
98 Patch21:        %{name}-linuxthreads-ppc-fix.patch
99 Patch23:        %{name}-new-charsets.patch
100 Patch26:        %{name}-sr_CS.patch
101 Patch27:        %{name}-gcc34.patch
102 # PaX
103 Patch30:        %{name}-pax_iconvconfig.patch
104 Patch31:        %{name}-pax_dl-execstack.patch
105 URL:            http://www.gnu.org/software/libc/
106 BuildRequires:  automake
107 BuildRequires:  binutils >= 2.13.90.0.2
108 BuildRequires:  gcc >= 3.2
109 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
110 BuildRequires:  gettext-devel >= 0.10.36
111 %if %{with kernelheaders}
112 %{?with_dist_kernel:BuildRequires:      kernel-headers < 2.5}
113 %else
114 BuildRequires:  linux-libc-headers >= %{llh_version}
115 %endif
116 BuildRequires:  perl-base
117 BuildRequires:  rpm-build >= 4.3-0.20030610.28
118 BuildRequires:  rpm-perlprov
119 BuildRequires:  sed >= 4.0.5
120 BuildRequires:  texinfo
121 AutoReq:        false
122 PreReq:         basesystem
123 Requires:       glibc-misc = %{epoch}:%{version}-%{release}
124 %{?with_tls:Provides:   glibc(tls)}
125 Provides:       ld.so.2
126 Provides:       ldconfig
127 Provides:       /sbin/ldconfig
128 Obsoletes:      %{name}-common
129 Obsoletes:      %{name}-debug
130 Obsoletes:      ldconfig
131 Conflicts:      kernel < %{min_kernel}
132 Conflicts:      ld.so < 1.9.9-10
133 Conflicts:      man-pages < 1.43
134 Conflicts:      rc-scripts < 0.3.1-13
135 Conflicts:      rpm < 4.1
136 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
137
138 %define         debugcflags     -O1 -g
139 %ifarch sparc64
140 %undefine       with_memusage
141 %define         specflags_sparc64       -mvis -fcall-used-g6
142 %define         _libdir                 /usr/lib64
143 %endif
144 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
145 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
146 # patched not to crash on partial hardlinks too)
147 %define         _hack_dontneed_PartialHardlinkSets      1
148
149 %description
150 Contains the standard libraries that are used by multiple programs on
151 the system. In order to save disk space and memory, as well as to ease
152 upgrades, common system code is kept in one place and shared between
153 programs. This package contains the most important sets of shared
154 libraries, the standard C library and the standard math library.
155 Without these, a Linux system will not function. It also contains
156 national language (locale) support and timezone databases.
157
158 Can be used on: Linux kernel >= %{min_kernel}.
159
160 %description -l es
161 Contiene las bibliotecas estándared que son usadas por varios programas
162 del sistema. Para ahorrar el espacio en el disco y la memoria, igual que
163 para facilitar actualizaciones, código común del sistema se guarda en un
164 sitio y es compartido entre los programas. Este paquete contiene las
165 bibliotecas compartidas más importantes, es decir la biblioteca C estándar
166 y la biblioteca estándar de matemática. Sin éstas, un sistema Linux no
167 podrá funcionar. También está incluido soporte de idiomas nacionales
168 (locale) y bases de datos de zona de tiempo.
169
170 Puede usarse con: núcleo Linux >= %{min_kernel}.
171
172 %description -l de
173 Enthält die Standard-Libraries, die von verschiedenen Programmen im
174 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
175 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
176 einer einzigen Stelle gespeichert und wird von den Programmen
177 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
178 shared Libraries, die Standard-C-Library und die
179 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
180 Ferner enthält es den Support für die verschiedenen Sprachgregionen
181 (locale) und die Zeitzonen-Datenbank.
182
183 Can be used on: Linux kernel >= %{min_kernel}.
184
185 %description -l fr
186 Contient les bibliothèques standards utilisées par de nombreux
187 programmes du système. Afin d'économiser l'espace disque et mémoire,
188 et de faciliter les mises à jour, le code commun au système est mis à
189 un endroit et partagé entre les programmes. Ce paquetage contient les
190 bibliothèques partagées les plus importantes, la bibliothèque standard
191 du C et la bibliothèque mathématique standard. Sans celles-ci, un
192 système Linux ne peut fonctionner. Il contient aussi la gestion des
193 langues nationales (locales) et les bases de données des zones
194 horaires.
195
196 Can be used on: Linux kernel >= %{min_kernel}.
197
198 %description -l ja
199 glibc
200 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
201 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
202 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
203 ´Ö¤Ç¶¦Í­¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
204 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: É¸½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
205 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤­¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
206 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
207 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
208
209 Can be used on: Linux kernel >= %{min_kernel}.
210
211 %description -l pl
212 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
213 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
214 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
215 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
216 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
217 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
218 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
219 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
220 jêzyków (locale) oraz definicje stref czasowych.
221
222 Przeznaczony dla j±dra Linux >= %{min_kernel}.
223
224 %description -l ru
225 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
226 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
227 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
228 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
229 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
230 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
231 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
232 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
233 ×ÒÅÍÅÎÎÙÈ ÚÏΠ(timezone databases).
234
235 Can be used on: Linux kernel >= %{min_kernel}.
236
237 %description -l tr
238 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
239 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
240 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
241 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
242 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
243 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
244 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
245
246 Can be used on: Linux kernel >= %{min_kernel}.
247
248 %description -l uk
249 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ Â¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
250 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
251 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
252 ÓЦÌØÎÉÊ ÄÌÑ ×ӦȠÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍՠͦÓæ ¦ ËÏÌÅËÔÉ×ÎÏ
253 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
254 Ú ÄÉÎÁͦÞÎÉȠ¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎՠ¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
255 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉȠ¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
256 ôÁËÏÖ ÐÁËÅԠͦÓÔÉÔؠЦÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
257 ÞÁÓÏ×ÉÈ ÚÏΠ(timezone databases).
258
259 Can be used on: Linux kernel >= %{min_kernel}.
260
261 %package misc
262 Summary:        Utilities and data used by glibc
263 Summary(pl):    Narzêdzia i dane u¿ywane przez glibc
264 Group:          Development/Libraries
265 AutoReq:        false
266 Requires:       %{name} = %{epoch}:%{version}-%{release}
267
268 %description misc
269 Utilities and data used by glibc.
270
271 %description misc -l pl
272 Narzêdzia i dane u¿ywane przez glibc.
273
274 %package devel
275 Summary:        Additional libraries required to compile
276 Summary(de):    Weitere Libraries zum Kompilieren
277 Summary(es):    Bibliotecas adicionales necesarias para la compilación
278 Summary(fr):    Librairies supplémentaires nécessaires à la compilation
279 Summary(ja):    É¸½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
280 Summary(pl):    Dodatkowe biblioteki wymagane podczas kompilacji
281 Summary(ru):    äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
282 Summary(tr):    Geliþtirme için gerekli diðer kitaplýklar
283 Summary(uk):    äÏÄÁÔËÏצ Â¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
284 Group:          Development/Libraries
285 Requires:       %{name} = %{epoch}:%{version}-%{release}
286 %{!?with_kernelheaders:Requires:        linux-libc-headers >= %{llh_version}}
287 Obsoletes:      libiconv-devel
288
289 %description devel
290 To develop programs which use the standard C libraries (which nearly
291 all programs do), the system needs to have these standard header files
292 and object files available for creating the executables.
293
294 %description devel -l de
295 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
296 verwenden (also fast alle), benötigt das System diese Standard-Header-
297 und Objektdateien zum Erstellen der ausführbaren Programme.
298
299 %description devel -l es
300 Para desarrollar programas que utilizan las bibliotecas C estándar
301 (lo cual hacen prácticamente todos los programas), el sistema necesita
302 disponer de estos ficheros de cabecera y de objetos para crear los
303 ejecutables.
304
305 %description devel -l fr
306 Pour développer des programmes utilisant les bibliothèques standard du
307 C (ce que presque tous les programmes font), le système doit posséder
308 ces fichiers en-têtes et objets standards pour créer les exécutables.
309
310 %description devel -l ja
311 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
312 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
313 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
314 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
315 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
316 ¤¬»ÈÍѤǤ­¤Þ¤¹¡£
317
318 %description devel -l pl
319 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
320 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
321 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
322 wykonywalnych i innych bibliotek.
323
324 %description devel -l ru
325 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
326 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
327 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
328 ÉÓÐÏÌÎÑÅÍÙÅ ÆÁÊÌÙ.
329
330 %description devel -l tr
331 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
332 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
333 kitaplýklar.
334
335 %description devel -l uk
336 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ Â¦Â̦ÏÔÅËÉ C
337 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äÈÅÄÅÒÉ
338 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝϠͦÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
339 ×ÉËÏÎÕ×ÁΦ ÆÁÊÌÉ.
340
341 %package -n nscd
342 Summary:        Name Service Caching Daemon
343 Summary(es):    Demonio de caché del servicio de nombres
344 Summary(ja):    ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥­¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
345 Summary(pl):    Demon zapamiêtuj±cy odpowiedzi serwisów nazw
346 Summary(ru):    ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏΠÓÅÒ×ÉÓÏ× ÉÍÅÎ
347 Summary(uk):    ëÅÛÕÀÞÉÊ ÄÅÍÏΠÓÅצӦנ¦ÍÅÎ
348 Group:          Networking/Daemons
349 PreReq:         rc-scripts >= 0.2.0
350 Requires(post,preun):   /sbin/chkconfig
351 Requires(post): fileutils
352 Requires:       %{name} = %{epoch}:%{version}-%{release}
353
354 %description -n nscd
355 nscd caches name service lookups; it can dramatically improve
356 performance with NIS+, and may help with DNS as well. You cannot use
357 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
358 nscd happens to hit these bugs particularly hard.
359
360 %description -n nscd -l es
361 nscd guarda las peticiones del servicio de nombres en una caché; eso puede
362 aumentar drásticamente las prestaciones de NIS+, y también puede ayudar
363 con DNS. No puede usar nscd con núcleos 2.0, por contener éstos errores
364 en el soporte de hilos. Resulta que estos errores impactan el nscd de manera
365 realmente grave.
366
367 %description -n nscd -l ja
368 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥­¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
369 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤­¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
370 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤­¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
371 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
372 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
373
374 %description -n nscd -l pl
375 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
376 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
377 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
378 obs³udze w±tków.
379
380 %description -n nscd -l ru
381 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
382 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
383 DNS.
384
385 %description -n nscd -l uk
386 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏӦנÄÏ ÓÅÒצӦנ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
387 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
388
389 %package -n localedb-src
390 Summary:        locale database source code
391 Summary(es):    Código fuente de la base de datos de los locales
392 Summary(pl):    Kod ¼ród³owy bazy locale
393 Group:          Daemons
394 Requires:       %{name} = %{epoch}:%{version}-%{release}
395 Requires:       sed
396
397 %description -n localedb-src
398 This add-on package contains the data needed to build the locale data
399 files to use the internationalization features of the GNU libc.
400
401 %description -n localedb-src -l es
402 Este paquete adicional contiene los datos necesarios para construir
403 los ficheros de locale, imprescindibles para usar las cualidades de
404 internacionalización de GNU libc.
405
406 %description -n localedb-src -l pl
407 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
408 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
409 libc.
410
411 %package localedb-all
412 Summary:        locale database for all locales supported by glibc
413 Summary(es):    Base de datos de todos los locales soportados por glibc
414 Summary(pl):    Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
415 Group:          Libraries
416 Requires:       iconv = %{epoch}:%{version}-%{release}
417 Requires:       %{name} = %{epoch}:%{version}-%{release}
418
419 %description localedb-all
420 This package contains locale database for all locales supported by
421 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
422 something smaller with support for chosen locales only, consider
423 installing localedb-src and regenerating database using localedb-gen
424 script (when database is generated, localedb-src can be uninstalled).
425
426 %description localedb-all -l es
427 Este paquete contiene una base de datos de todos los locales soportados
428 por glibc. En glibc 2.3.x ése es un fichero grande (aprox. 39 MB) -- si
429 prefiere algo más pequeño, sólo con soporte de unos locales elegidos,
430 considérese instalar localedb-src y regenerar la base de datos usando
431 el escript localedb-gen (una vez que la base de datos esté creada,
432 localedb-src se podrá desinstalar).
433
434 %description localedb-all -l pl
435 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
436 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
437 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
438 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
439 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
440 pakiet localedb-src mo¿na odinstalowaæ).
441
442 %package -n iconv
443 Summary:        Convert encoding of given files from one encoding to another
444 Summary(es):    Convierte entre varias codificaciones de los ficheros dados
445 Summary(pl):    Program do konwersji plików tekstowych z jednego kodowania do innego
446 Group:          Applications/Text
447 Requires:       %{name} = %{epoch}:%{version}-%{release}
448
449 %description -n iconv
450 Convert encoding of given files from one encoding to another. You need
451 this package if you want to convert some document from one encoding to
452 another or if you have installed some programs which use Generic
453 Character Set Conversion Interface.
454
455 %description -n iconv -l es
456 Convierte la codificación de dados ficheros. Necesita este paquete si
457 quiere convertir un documento entre una codificación (juego de
458 caracteres) y otra, o si tiene instalado algún programa que usa el
459 Generic Character Set Conversion Interface (interfaz genérica de
460 conversión de juegos de caracteres).
461
462 %description -n iconv -l pl
463 Program do konwersji plików tekstowych z jednego kodowania do innego.
464 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
465 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
466 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
467 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
468 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
469
470 %package static
471 Summary:        Static libraries
472 Summary(es):    Bibliotecas estáticas
473 Summary(pl):    Biblioteki statyczne
474 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
475 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ glibc
476 Group:          Development/Libraries
477 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
478 Obsoletes:      libiconv-static
479
480 %description static
481 GNU libc static libraries.
482
483 %description static -l es
484 Bibliotecas estáticas de GNU libc.
485
486 %description static -l pl
487 Biblioteki statyczne GNU libc.
488
489 %description static -l ru
490 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
491 ×ÈÏÄÑÔ × glibc-devel.
492
493 %description static -l uk
494 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍɠ¦Â̦ÏÔÅËÁÍÉ, ÝϠ¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
495 ÓËÌÁÄ glibc-devel.
496
497 %package profile
498 Summary:        glibc with profiling support
499 Summary(de):    glibc mit Profil-Unterstützung
500 Summary(es):    glibc con soporte de perfilamiento
501 Summary(fr):    glibc avec support pour profiling
502 Summary(pl):    glibc ze wsparciem dla profilowania
503 Summary(ru):    GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
504 Summary(tr):    Ölçüm desteði olan glibc
505 Summary(uk):    GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
506 Group:          Development/Libraries/Libc
507 Obsoletes:      libc-profile
508 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
509
510 %description profile
511 When programs are being profiled using gprof, they must use these
512 libraries instead of the standard C libraries for gprof to be able to
513 profile them correctly.
514
515 %description profile -l de
516 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
517 Libraries anstelle der üblichen C-Libraries verwendet werden.
518
519 %description profile -l es
520 Cuando programas son perfilidas usando gprof, tienen que usar estas
521 biblioteces en vez de las estándares para que gprof pueda perfilarlas
522 correctamente.
523
524 %description profile -l pl
525 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
526 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
527 wyprofilowaæ.
528
529 %description profile -l uk
530 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
531 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉȠ¦Â̦ÏÔÅˠ¦Â̦ÏÔÅËÉ, ÝϠͦÓÔÑÔØÓÑ
532 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉȠ¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
533 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁԦנÂÕÄÅ ÐÏËÁÚÕ×ÁÔɠæÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
534 ÐÏÚÁÍÉÎÕÌÏÍÕ ÒÏæ...
535
536 %description profile -l tr
537 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
538 kitaplýðý kullanmak zorundadýrlar.
539
540 %description profile -l ru
541 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
542 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
543 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
544 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
545 ÐÏÚÁÐÒÏÛÌÏÍ ÇÏÄÕ...
546
547 %package pic
548 Summary:        glibc PIC archive
549 Summary(es):    Archivo PIC de glibc
550 Summary(pl):    Archiwum PIC glibc
551 Group:          Development/Libraries/Libc
552 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
553
554 %description pic
555 GNU C Library PIC archive contains an archive library (ar file)
556 composed of individual shared objects. This is used for creating a
557 library which is a smaller subset of the standard libc shared library.
558
559 %description pic -l es
560 El archivo PIC de la biblioteca glibc contiene una biblioteca archivada
561 (un fichero ar) compuesta de individuales objetos compartidos. Es usado
562 para crear una biblioteca que sea un subconjunto más pequeño de la
563 biblioteca libc compartida estándar.
564
565 %description pic -l pl
566 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
567 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
568 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
569 biblioteki wspó³dzielonej libc.
570
571 %package -n nss_compat
572 Summary:        Old style NYS NSS glibc module
573 Summary(es):    El antiguo módulo NYS NSS de glibc
574 Summary(pl):    Stary modu³ NYS NSS glibc
575 Group:          Base
576 Requires:       %{name} = %{epoch}:%{version}-%{release}
577
578 %description -n nss_compat
579 Old style NYS NSS glibc module.
580
581 %description -n nss_compat -l es
582 El antiguo módulo NYS NSS de glibc
583
584 %description -n nss_compat -l pl
585 Stary modu³ NYS NSS glibc.
586
587 %package -n nss_dns
588 Summary:        BIND NSS glibc module
589 Summary(es):    Módulo BIND NSS de glibc
590 Summary(pl):    Modu³ BIND NSS glibc
591 Group:          Base
592 Requires:       %{name} = %{epoch}:%{version}-%{release}
593
594 %description -n nss_dns
595 BIND NSS glibc module.
596
597 %description -n nss_dns -l es
598 Módulo BIND NSS de glibc.
599
600 %description -n nss_dns -l pl
601 Modu³ BIND NSS glibc.
602
603 %package -n nss_files
604 Summary:        Traditional files databases NSS glibc module
605 Summary(es):    Módulo de tradicionales bases de datos en ficheros para glibc
606 Summary(pl):    Modu³ tradycyjnych plikowych baz danych NSS glibc
607 Group:          Base
608 Requires:       %{name} = %{epoch}:%{version}-%{release}
609
610 %description -n nss_files
611 Traditional files databases NSS glibc module.
612
613 %description -n nss_files -l es
614 Módulo de tradicionales bases de datos en ficheros para glibc.
615
616 %description -n nss_files -l pl
617 Modu³ tradycyjnych plikowych baz danych NSS glibc.
618
619 %package -n nss_hesiod
620 Summary:        hesiod NSS glibc module
621 Summary(es):    Módulo hesiod NSS de glibc
622 Summary(pl):    Modu³ hesiod NSS glibc
623 Group:          Base
624 Requires:       %{name} = %{epoch}:%{version}-%{release}
625
626 %description -n nss_hesiod
627 glibc NSS (Name Service Switch) module for databases access.
628
629 %description -n nss_hesiod -l es
630 Módulo hesiod NSS de glibc.
631
632 %description -n nss_hesiod -l pl
633 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
634
635 %package -n nss_nis
636 Summary:        NIS(YP) NSS glibc module
637 Summary(es):    Módulo NIS(YP) NSS de glibc
638 Summary(pl):    Modu³ NIS(YP) NSS glibc
639 Group:          Base
640 Requires:       %{name} = %{epoch}:%{version}-%{release}
641
642 %description -n nss_nis
643 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
644
645 %description -n nss_nis -l es
646 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
647
648 %description -n nss_nis -l pl
649 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
650
651 %package -n nss_nisplus
652 Summary:        NIS+ NSS module
653 Summary(es):    Módulo NIS+ NSS
654 Summary(pl):    Modu³ NIS+ NSS
655 Group:          Base
656 Requires:       %{name} = %{epoch}:%{version}-%{release}
657
658 %description -n nss_nisplus
659 glibc NSS (Name Service Switch) module for NIS+ databases access.
660
661 %description -n nss_nisplus -l es
662 Módulo NSS (Name Service Switch) de glibc para acceder las bases de datos NIS+.
663
664 %description -n nss_nisplus -l pl
665 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
666
667 %package memusage
668 Summary:        A toy
669 Summary(es):    Un juguete
670 Summary(pl):    Zabawka
671 Group:          Applications
672 Requires:       %{name} = %{epoch}:%{version}-%{release}
673 Requires:       gd
674
675 %description memusage
676 A toy.
677
678 %description memusage -l es
679 Un juguete.
680
681 %description memusage -l pl
682 Zabawka.
683
684 %package zoneinfo_right
685 Summary:        Non-POSIX (real) time zones
686 Summary(es):    Zonas de tiempo reales (no de POSIX)
687 Summary(pl):    Nie-POSIX-owe (prawdziwe) strefy czasowe
688 Group:          Libraries
689 Requires:       %{name} = %{epoch}:%{version}-%{release}
690
691 %description zoneinfo_right
692 You don't want this. Details at:
693 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
694
695 %description zoneinfo_right -l es
696 No lo necesita. Encontrará los detalles en:
697 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
698
699 %description zoneinfo_right -l pl
700 Nie potrzebujesz tego. Szczegó³y pod:
701 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
702
703 %package -n %{name}64
704 Summary:        GNU libc - 64-bit libraries
705 Summary(es):    GNU libc - bibliotecas de 64 bits
706 Summary(pl):    GNU libc - biblioteki 64-bitowe
707 Group:          Libraries
708 %ifarch amd64
709 Provides:       glibc = %{epoch}:%{version}-%{release}
710 Requires:       glibc-misc = %{epoch}:%{version}-%{release}
711 %else
712 Requires:       %{name} = %{epoch}:%{version}-%{release}
713 %endif
714
715 %description -n %{name}64
716 64-bit GNU libc libraries for 64bit architecture.
717
718 %description -n %{name}64 -l es
719 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
720
721 %description -n %{name}64 -l pl
722 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
723
724 %package -n %{name}64-devel
725 Summary:        Development files for 64-bit GNU libc libraries
726 Summary(es):    Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
727 Summary(pl):    Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
728 Group:          Development/Libraries
729 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
730
731 %description -n %{name}64-devel
732 Development files for 64-bit GNU libc libraries for 64bit
733 architecture.
734
735 %description -n %{name}64-devel -l es
736 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para la
737 arquitectura 64bit.
738
739 %description -n %{name}64-devel -l pl
740 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
741 architektury 64bit.
742
743 %package -n %{name}64-static
744 Summary:        Static 64-bit GNU libc libraries
745 Summary(es):    Bibliotecas estáticas GNU libc de 64 bits
746 Summary(pl):    Statyczne 64-bitowe biblioteki GNU libc
747 Group:          Development/Libraries
748 Requires:       %{name}64-devel = %{epoch}:%{version}-%{release}
749
750 %description -n %{name}64-static
751 Static 64-bit GNU libc libraries.
752
753 %description -n %{name}64-static -l es
754 Bibliotecas estáticas GNU libc de 64 bits.
755
756 %description -n %{name}64-static -l pl
757 Statyczne 64-bitowe biblioteki GNU libc.
758
759 %prep
760 #setup -q -a 1 -n libc
761 %setup -q -n libc
762 %patch0 -p1
763 %patch1 -p1
764 %patch2 -p1
765 %patch3 -p1
766 %patch4 -p1
767 %patch5 -p1
768 %patch6 -p1
769 %patch7 -p1
770 %patch8 -p1
771 %patch9 -p1
772 %patch10 -p1
773 %patch11 -p1
774 # don't know, if it is good idea, for brave ones
775 #%patch12 -p1
776 %{?with_kernelheaders:%patch13}
777 %{?!with_kernelheaders:%patch14 -p1}
778 %patch15 -p1
779 %patch17
780 %patch18 -p1
781 %patch20 -p1
782 %patch21 -p1
783 #%patch23 -p1
784 %patch26 -p1
785 %patch27 -p1
786
787 %patch30 -p1
788 %patch31 -p1
789
790 chmod +x scripts/cpp
791
792 %build
793 # Build glibc
794 cp /usr/share/automake/config.sub .
795 cp /usr/share/automake/config.sub scripts
796 %{__aclocal}
797 %{__autoconf}
798 [ -d builddir ] || mkdir builddir
799 cd builddir
800 # avoid stripping ld.so by -s in rpmldflags
801 LDFLAGS=" " ; export LDFLAGS
802 ../%configure \
803         --enable-kernel="%{min_kernel}" \
804         --%{!?with_fp:en}%{?with_fp:dis}able-omitfp \
805         %{?with_tls:--with-tls} \
806 %if %{with nptl}
807         --enable-add-ons=nptl \
808         --disable-profile \
809 %else
810         --enable-add-ons=linuxthreads \
811         --enable-profile \
812 %endif
813 %if %{with kernelheaders}
814         CPPFLAGS="-I%{_kernelsrcdir}/include" \
815         --with-headers=%{_kernelsrcdir}/include 
816 %else
817         CPPFLAGS="-I%{_includedir}" \
818         --with-headers=%{_includedir} 
819 %endif
820
821 # problem compiling with --enable-bounded (must be reported to libc-alpha)
822
823 %{__make} %{?parallelmkflags}
824
825 %if %{with tests}
826 env LANGUAGE=C LC_ALL=C \
827 %{__make} tests 2>&1 | awk '
828 BEGIN { file = "" }
829 {
830         if (($0 ~ /\*\*\* \[.*\.out\] Error/) && (file == "")) {
831                 file=$0;
832                 gsub(/.*\[/, NIL, file);
833                 gsub(/\].*/, NIL, file);
834         }
835         print $0;
836 }
837 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
838 %endif
839
840 %install
841 rm -rf $RPM_BUILD_ROOT
842 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/run/nscd}
843
844 cd builddir
845
846 env LANGUAGE=C LC_ALL=C \
847 %{__make} install \
848         %{?parallelmkflags} \
849         install_root=$RPM_BUILD_ROOT \
850         infodir=%{_infodir} \
851         mandir=%{_mandir}
852
853 env LANGUAGE=C LC_ALL=C \
854 %{__make} localedata/install-locales \
855         %{?parallelmkflags} \
856         install_root=$RPM_BUILD_ROOT
857
858 PICFILES="libc_pic.a libc.map
859         math/libm_pic.a libm.map
860         resolv/libresolv_pic.a"
861
862 install $PICFILES                               $RPM_BUILD_ROOT%{_libdir}
863 install elf/soinit.os                           $RPM_BUILD_ROOT%{_libdir}/soinit.o
864 install elf/sofini.os                           $RPM_BUILD_ROOT%{_libdir}/sofini.o
865
866 install elf/postshell                           $RPM_BUILD_ROOT/sbin
867
868 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so   $RPM_BUILD_ROOT%{_libdir}}
869 %ifnarch sparc64
870 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so   $RPM_BUILD_ROOT%{_libdir}
871 %endif
872
873 %if %{without nptl}
874 %{__make} -C ../linuxthreads/man
875 install ../linuxthreads/man/*.3thr                      $RPM_BUILD_ROOT%{_mandir}/man3
876 %endif
877
878 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
879
880 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
881 #for i in [A-Z]*; do
882 #       ln -s ../$i posix
883 #done
884 #cd -
885
886 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
887 ln -sf localtime                $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
888 ln -sf localtime                $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
889 ln -sf libbsd-compat.a          $RPM_BUILD_ROOT%{_libdir}/libbsd.a
890
891 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
892
893 # make symlinks across top-level directories absolute
894 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
895         rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
896         ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
897 done
898
899 install %{SOURCE2}              $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
900 install %{SOURCE3}              $RPM_BUILD_ROOT/etc/sysconfig/nscd
901 install %{SOURCE4}              $RPM_BUILD_ROOT/etc/logrotate.d/nscd
902 install ../nscd/nscd.conf       $RPM_BUILD_ROOT%{_sysconfdir}
903 install ../nss/nsswitch.conf    $RPM_BUILD_ROOT%{_sysconfdir}
904
905 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
906 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
907 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
908 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
909 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
910
911 :> $RPM_BUILD_ROOT/var/log/nscd
912
913 rm -rf ../documentation
914 install -d ../documentation
915
916 %if %{without nptl}
917 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
918 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
919 cp -f ../linuxthreads/README ../documentation/README.threads
920 %endif
921 cp -f ../crypt/README.ufc-crypt ../documentation/
922
923 cp -f ../ChangeLog* ../documentation
924
925 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
926
927 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
928 %ifnarch sparc64
929 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-%{version}.so}
930 %endif
931
932 # Collect locale files and mark them with %%lang()
933 rm -f ../glibc.lang
934 echo '%defattr(644,root,root,755)' > ../glibc.lang
935 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
936         if [ -d $i ]; then
937                 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
938                 twochar=1
939                 # list of long %%lang values we do support
940                 for j in de_AT de_BE de_CH de_LU es_AR es_MX ja_JP.SJIS ko_KR.utf8 pt_BR \
941                          zh_CN zh_CN.gbk zh_HK zh_TW ; do
942                         if [ $j = "$lang" ]; then
943                                 twochar=
944                         fi
945                 done
946                 if [ -n "$twochar" ]; then
947                         if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
948                                 lang=`echo $lang | sed "s,\..*,,"`
949                         else
950                                 lang=`echo $lang | sed "s,_.*,,"`
951                         fi
952                 fi
953                 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
954                 echo "%lang($lang) $dir" >> ../glibc.lang
955         fi
956 done
957 # XXX: to be added when become supported by glibc
958 # ia,li (used by GNOME)
959 # nso,ss,ven (used by KDE)
960 # NOTES:
961 # bn is used for bn_BD or bn_IN?
962 # omitted here - already existing (with libc.mo):
963 #   be,ca,cs,da,de,el,en_GB,es,fi,fr,gl,hr,hu,it,ja,ko,nb,nl,pl,pt_BR,sk,sv,tr,zh_CN,zh_TW
964 for i in af am ar az bg bn br bs cy de_AT en en_AU eo es_AR es_MX et eu fa ga \
965          gr he hi id is ja_JP.SJIS ka kn lg lt lv mk ml mn ms mt nn pt ro ru \
966          se sl sq sr sr@Latn ta tg th uk uz vi wa xh yi zu ; do
967         if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
968                 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
969                 lang=`echo $i | sed -e 's/_.*//'`
970                 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
971         fi
972 done
973
974 # localedb-gen infrastructure
975 install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
976 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
977
978 # shutup check-files
979 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
980 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
981 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
982 # we don't support kernel without ptys support
983 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
984
985 # no longer supported (/dev/null has the same, but expected behaviour)
986 rm -f $RPM_BUILD_ROOT%{_bindir}/glibcbug
987
988 %clean
989 rm -rf $RPM_BUILD_ROOT
990
991 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
992 # when %%postun is run
993
994 %ifnarch sparc64
995 %ifarch amd64
996 %post   -n %{name}64 -p /sbin/postshell
997 %else
998 %post   -p /sbin/postshell
999 %endif
1000 /sbin/ldconfig
1001 -/sbin/telinit u
1002
1003 %ifarch amd64
1004 %postun -n %{name}64 -p /sbin/postshell
1005 %else
1006 %postun -p /sbin/postshell
1007 %endif
1008 /sbin/ldconfig
1009 -/sbin/telinit u
1010
1011 %post   memusage -p /sbin/ldconfig
1012 %postun memusage -p /sbin/ldconfig
1013
1014 %post -n iconv -p %{_sbindir}/iconvconfig
1015
1016 %post devel
1017 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1018
1019 %postun devel
1020 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1021
1022 %post -n nscd
1023 /sbin/chkconfig --add nscd
1024 touch /var/log/nscd
1025 chmod 000 /var/log/nscd
1026 chown root:root /var/log/nscd
1027 chmod 640 /var/log/nscd
1028 if [ -f /var/lock/subsys/nscd ]; then
1029         /etc/rc.d/init.d/nscd restart 1>&2
1030 else
1031         echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1032 fi
1033
1034 %preun -n nscd
1035 if [ "$1" = "0" ]; then
1036         if [ -f /var/lock/subsys/nscd ]; then
1037                 /etc/rc.d/init.d/nscd stop 1>&2
1038         fi
1039         /sbin/chkconfig --del nscd
1040 fi
1041 %endif
1042
1043 %ifnarch sparc64
1044 %ifarch amd64
1045 %files -n glibc64
1046 %else
1047 %files 
1048 %endif
1049 %defattr(644,root,root,755)
1050 %doc README NEWS FAQ BUGS
1051 %attr(755,root,root) /sbin/postshell
1052 %attr(755,root,root) /sbin/ldconfig
1053 # ld* and libc.so.6 SONAME symlinks must be in package because of
1054 # chicken-egg problem (postshell is dynamically linked with libc);
1055 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
1056 %attr(755,root,root) /%{_lib}/ld*
1057 %attr(755,root,root) /%{_lib}/libanl*
1058 %attr(755,root,root) /%{_lib}/libdl*
1059 %attr(755,root,root) /%{_lib}/libnsl*
1060 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1061 %dir %{_libdir}/locale
1062
1063 #%files -n nss_dns
1064 %defattr(644,root,root,755)
1065 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1066
1067 #%files -n nss_files
1068 %defattr(644,root,root,755)
1069 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1070
1071
1072 %files misc -f %{name}.lang
1073 %defattr(644,root,root,755)
1074
1075 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1076 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1077 %config %{_sysconfdir}/rpc
1078 %ghost %{_sysconfdir}/ld.so.cache
1079
1080 %attr(755,root,root) /sbin/sln
1081 %attr(755,root,root) %{_bindir}/catchsegv
1082 %attr(755,root,root) %{_bindir}/getent
1083 %attr(755,root,root) %{_bindir}/iconv
1084 %attr(755,root,root) %{_bindir}/ldd
1085 %ifnarch alpha ppc sparc64 amd64
1086 %attr(755,root,root) %{_bindir}/lddlibc4
1087 %endif
1088 %attr(755,root,root) %{_bindir}/locale
1089 %attr(755,root,root) %{_bindir}/rpcgen
1090 %attr(755,root,root) %{_bindir}/tzselect
1091
1092 %attr(755,root,root) %{_sbindir}/rpcinfo
1093 %attr(755,root,root) %{_sbindir}/zdump
1094 %attr(755,root,root) %{_sbindir}/zic
1095
1096 %dir %{_datadir}/locale
1097 %{_datadir}/locale/locale.alias
1098 %{_datadir}/zoneinfo
1099 %exclude %{_datadir}/zoneinfo/right
1100
1101 %{_mandir}/man1/catchsegv.1*
1102 %{_mandir}/man1/getent.1*
1103 %{_mandir}/man1/iconv.1*
1104 %{_mandir}/man1/ldd.1*
1105 %{_mandir}/man1/locale.1*
1106 %{_mandir}/man1/rpcgen.1*
1107 %{_mandir}/man5/locale.5*
1108 %{_mandir}/man5/nsswitch.conf.5*
1109 %{_mandir}/man5/tzfile.5*
1110 %{_mandir}/man7/*
1111 %{_mandir}/man8/ld*.8*
1112 %{_mandir}/man8/rpcinfo.8*
1113 %{_mandir}/man8/sln.8*
1114 %{_mandir}/man8/tzselect.8*
1115 %{_mandir}/man8/zdump.8*
1116 %{_mandir}/man8/zic.8*
1117 %lang(cs) %{_mandir}/cs/man7/*
1118 %lang(de) %{_mandir}/de/man5/tzfile.5*
1119 %lang(de) %{_mandir}/de/man7/*
1120 %lang(es) %{_mandir}/es/man5/locale.5*
1121 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1122 %lang(es) %{_mandir}/es/man5/tzfile.5*
1123 %lang(es) %{_mandir}/es/man7/*
1124 %lang(es) %{_mandir}/es/man8/ld*.8*
1125 %lang(es) %{_mandir}/es/man8/tzselect.8*
1126 %lang(es) %{_mandir}/es/man8/zdump.8*
1127 %lang(es) %{_mandir}/es/man8/zic.8*
1128 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1129 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1130 %lang(fr) %{_mandir}/fr/man5/locale.5*
1131 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1132 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1133 %lang(fr) %{_mandir}/fr/man7/*
1134 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1135 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1136 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1137 %lang(fr) %{_mandir}/fr/man8/zic.8*
1138 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1139 %lang(hu) %{_mandir}/hu/man7/*
1140 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1141 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1142 %lang(it) %{_mandir}/it/man5/locale.5*
1143 %lang(it) %{_mandir}/it/man7/*
1144 %lang(it) %{_mandir}/it/man8/tzselect.8*
1145 %lang(it) %{_mandir}/it/man8/zdump.8*
1146 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1147 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1148 %lang(ja) %{_mandir}/ja/man5/locale.5*
1149 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1150 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1151 %lang(ja) %{_mandir}/ja/man7/*
1152 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1153 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1154 %lang(ja) %{_mandir}/ja/man8/sln.8*
1155 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1156 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1157 %lang(ja) %{_mandir}/ja/man8/zic.8*
1158 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1159 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1160 %lang(ko) %{_mandir}/ko/man7/*
1161 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1162 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1163 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1164 %lang(pl) %{_mandir}/pl/man5/locale.5*
1165 %lang(pl) %{_mandir}/pl/man7/*
1166 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1167 %lang(pt) %{_mandir}/pt/man5/locale.5*
1168 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1169 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1170 %lang(pt) %{_mandir}/pt/man7/*
1171 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1172 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1173 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1174 %lang(pt) %{_mandir}/pt/man8/zic.8*
1175 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1176 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1177 %lang(ru) %{_mandir}/ru/man7/*
1178 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1179 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1180 %lang(ru) %{_mandir}/ru/man8/zic.8*
1181 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1182 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1183 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1184 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1185 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1186 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1187 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1188 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1189
1190 %files zoneinfo_right
1191 %defattr(644,root,root,755)
1192 %{_datadir}/zoneinfo/right
1193
1194 %files -n nss_compat
1195 %defattr(644,root,root,755)
1196 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1197
1198 %files -n nss_hesiod
1199 %defattr(644,root,root,755)
1200 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1201
1202 %files -n nss_nis
1203 %defattr(644,root,root,755)
1204 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1205 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1206
1207 %files -n nss_nisplus
1208 %defattr(644,root,root,755)
1209 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1210
1211 %if %{with memusage}
1212 %files memusage
1213 %defattr(644,root,root,755)
1214 %attr(755,root,root) %{_bindir}/memusage*
1215 %attr(755,root,root) %{_libdir}/libmemusage.so
1216 %endif
1217
1218 %files devel
1219 %defattr(644,root,root,755)
1220 %doc documentation/* NOTES PROJECTS
1221 %attr(755,root,root) %{_bindir}/gencat
1222 %attr(755,root,root) %{_bindir}/getconf
1223 %attr(755,root,root) %{_bindir}/*prof*
1224 %attr(755,root,root) %{_bindir}/*trace
1225
1226 %{_includedir}/*.h
1227 %ifarch alpha
1228 %{_includedir}/alpha
1229 %endif
1230 %{_includedir}/arpa
1231 %{_includedir}/bits
1232 %{_includedir}/gnu
1233 %{_includedir}/net
1234 %{_includedir}/netash
1235 %{_includedir}/netatalk
1236 %{_includedir}/netax25
1237 %{_includedir}/neteconet
1238 %{_includedir}/netinet
1239 %{_includedir}/netipx
1240 %{_includedir}/netpacket
1241 %{_includedir}/netrom
1242 %{_includedir}/netrose
1243 %{_includedir}/nfs
1244 %{_includedir}/protocols
1245 %{_includedir}/rpc
1246 %{_includedir}/rpcsvc
1247 %{_includedir}/scsi
1248 %{_includedir}/sys
1249
1250 %{_infodir}/libc.info*
1251
1252 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1253 %attr(755,root,root) %{_libdir}/libm.so
1254 %attr(755,root,root) %{_libdir}/*crt*.o
1255 %{_libdir}/libbsd-compat.a
1256 %{_libdir}/libbsd.a
1257 %{_libdir}/libc_nonshared.a
1258 %{_libdir}/libg.a
1259 %{_libdir}/libieee.a
1260 %{_libdir}/libpthread_nonshared.a
1261 %{_libdir}/librpcsvc.a
1262
1263 %{_mandir}/man1/getconf.1*
1264 %{_mandir}/man1/sprof.1*
1265 %{_mandir}/man3/*
1266 %lang(cs) %{_mandir}/cs/man3/*
1267 %lang(de) %{_mandir}/de/man3/*
1268 %lang(es) %{_mandir}/es/man3/*
1269 %lang(fr) %{_mandir}/fr/man3/*
1270 %lang(hu) %{_mandir}/hu/man3/*
1271 %lang(it) %{_mandir}/it/man3/*
1272 %lang(ja) %{_mandir}/ja/man3/*
1273 %lang(ko) %{_mandir}/ko/man3/*
1274 %lang(nl) %{_mandir}/nl/man3/*
1275 %lang(pl) %{_mandir}/pl/man3/*
1276 %lang(pt) %{_mandir}/pt/man3/*
1277 %lang(ru) %{_mandir}/ru/man3/*
1278 %lang(uk) %{_mandir}/uk/man3/*
1279 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1280
1281 %files -n nscd
1282 %defattr(644,root,root,755)
1283 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1284 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1285 %attr(754,root,root) /etc/rc.d/init.d/nscd
1286 %attr(755,root,root) %{_sbindir}/nscd*
1287 %attr(640,root,root) /etc/logrotate.d/nscd
1288 %attr(640,root,root) %ghost /var/log/nscd
1289 %dir /var/run/nscd
1290 %{_mandir}/man5/nscd.conf.5*
1291 %{_mandir}/man8/nscd.8*
1292 %{_mandir}/man8/nscd_nischeck.8*
1293 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1294 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1295 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1296 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1297 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1298 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1299
1300 %files -n localedb-src
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_bindir}/localedef
1303 %attr(755,root,root) %{_bindir}/localedb-gen
1304 %{_datadir}/i18n
1305 %{_mandir}/man1/localedef.1*
1306
1307 %files localedb-all
1308 %defattr(644,root,root,755)
1309 %{_libdir}/locale/locale-archive
1310
1311 %files -n iconv
1312 %defattr(644,root,root,755)
1313 %attr(755,root,root) %{_sbindir}/iconvconfig
1314 %dir %{_libdir}/gconv
1315 %{_libdir}/gconv/gconv-modules
1316 %attr(755,root,root) %{_libdir}/gconv/*.so
1317
1318 %files static
1319 %defattr(644,root,root,755)
1320 %{_libdir}/libanl.a
1321 %{_libdir}/libBrokenLocale.a
1322 %{_libdir}/libc.a
1323 %{_libdir}/libcrypt.a
1324 %{_libdir}/libdl.a
1325 %{_libdir}/libm.a
1326 %{_libdir}/libmcheck.a
1327 %{_libdir}/libnsl.a
1328 %{_libdir}/libpthread.a
1329 %{_libdir}/libresolv.a
1330 %{_libdir}/librt.a
1331 %{_libdir}/libutil.a
1332
1333 %if %{without nptl}
1334 %files profile
1335 %defattr(644,root,root,755)
1336 %{_libdir}/lib*_p.a
1337 %endif
1338
1339 %files pic
1340 %defattr(644,root,root,755)
1341 %{_libdir}/lib*_pic.a
1342 %{_libdir}/lib*.map
1343 %{_libdir}/soinit.o
1344 %{_libdir}/sofini.o
1345
1346 %else
1347
1348 %files -n glibc64
1349 %defattr(644,root,root,755)
1350 %attr(755,root,root) %{_libdir}/ld-*
1351 %attr(755,root,root) %{_libdir}/libanl*
1352 %attr(755,root,root) %{_libdir}/libdl*
1353 %attr(755,root,root) %{_libdir}/libnsl*
1354 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1355 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1356 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1357
1358 %files -n glibc64-devel
1359 %defattr(644,root,root,755)
1360 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1361 %attr(755,root,root) %{_libdir}/libm.so
1362 %attr(755,root,root) %{_libdir}/*crt*.o
1363 %{_libdir}/libbsd-compat.a
1364 %{_libdir}/libbsd.a
1365 %{_libdir}/libc_nonshared.a
1366 %{_libdir}/libg.a
1367 %{_libdir}/libieee.a
1368 %{_libdir}/libpthread_nonshared.a
1369 %{_libdir}/librpcsvc.a
1370
1371 %files -n glibc64-static
1372 %defattr(644,root,root,755)
1373 %{_libdir}/libanl.a
1374 %{_libdir}/libBrokenLocale.a
1375 %{_libdir}/libc.a
1376 %{_libdir}/libcrypt.a
1377 %{_libdir}/libdl.a
1378 %{_libdir}/libm.a
1379 %{_libdir}/libmcheck.a
1380 %{_libdir}/libnsl.a
1381 %{_libdir}/libpthread.a
1382 %{_libdir}/libresolv.a
1383 %{_libdir}/librt.a
1384 %{_libdir}/libutil.a
1385 %endif
This page took 0.114789 seconds and 2 git commands to generate.