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