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