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