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