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