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