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