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