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