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