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