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