]> git.pld-linux.org Git - packages/glibc.git/blob - glibc.spec
- pax hack as bcond (some people use it)
[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 patches
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.5
81 Release:        5
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:  93d9c51850e0513aa4846ac0ddcef639
87 Source1:        ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
88 # Source1-md5:  77011b0898393c56b799bc011a0f37bf
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 Patch8:         %{name}-missing-nls.patch
109 Patch9:         %{name}-java-libc-wait.patch
110 Patch10:        %{name}-lthrds_noomit.patch
111 Patch11:        %{name}-no_opt_override.patch
112 Patch12:        %{name}-includes.patch
113 Patch13:        %{name}-soinit-EH_FRAME.patch
114 Patch14:        %{name}-sparc-errno_fix.patch
115 Patch15:        %{name}-csu-quotes.patch
116 Patch16:        %{name}-tests-noproc.patch
117 Patch17:        %{name}-new-charsets.patch
118 Patch18:        %{name}-sr_CS.patch
119 Patch19:        %{name}-sparc64-dl-machine.patch
120 Patch20:        %{name}-tzfile-noassert.patch
121 Patch21:        %{name}-morelocales.patch
122 Patch22:        %{name}-locale_ZA.patch
123 Patch23:        %{name}-locale_fixes.patch
124 Patch24:        %{name}-ZA_collate.patch
125 Patch25:        %{name}-tls_fix.patch
126 Patch26:        %{name}-iconvconfig-nxstack.patch
127 Patch27:        %{name}-execvp.patch
128 Patch28:        %{name}-sys-kd.patch
129 Patch29:        %{name}-cross-gcc_eh.patch
130 Patch30:        %{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 Provides:       %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
327 Requires:       %{name} = %{epoch}:%{version}-%{release}
328 Requires:       %{name}-headers = %{epoch}:%{version}-%{release}
329 Requires:       %{name}-devel-utils = %{epoch}:%{version}-%{release}
330 Requires:       %{name}-devel-doc = %{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 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
404 for developing programs which use the standard C libraries (which are
405 used by nearly all programs).  If you are developing programs which
406 will use the standard C libraries, your system needs to have these
407 standard header files available in order to create the
408 executables.
409
410 Install glibc-headers if you are going to develop programs which will
411 use the standard C libraries.
412
413 %package devel-utils
414 Summary:        Utilities needed for development using standard C libraries.
415 Group:          Development/Libraries
416 Provides:       %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
417 %ifarch %{x8664}
418 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
419 # have to be installed, not ix86 one.
420 Obsoletes:      %{name}-devel-utils(i386)
421 Obsoletes:      %{name}-devel-utils(i486)
422 Obsoletes:      %{name}-devel-utils(i586)
423 Obsoletes:      %{name}-devel-utils(i686)
424 Obsoletes:      %{name}-devel-utils(athlon)
425 Obsoletes:      %{name}-devel-utils(pentium3)
426 Obsoletes:      %{name}-devel-utils(pentium4)
427 %endif
428
429 %description devel-utils
430 The glibc-devel-utils package contains utilities necessary
431 for developing programs which use the standard C libraries (which are
432 used by nearly all programs).  If you are developing programs which
433 will use the standard C libraries, your system needs to have these
434 utilities available.
435
436 Install glibc-devel-utils if you are going to develop programs
437 which will use the standard C libraries.
438
439 %package devel-doc
440 Summary:        Documentation needed for development using standard C libraries.
441 Group:          Development/Libraries
442 Provides:       %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
443 %ifarch %{x8664}
444 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
445 # have to be installed, not ix86 one.
446 Obsoletes:      %{name}-devel-doc(i386)
447 Obsoletes:      %{name}-devel-doc(i486)
448 Obsoletes:      %{name}-devel-doc(i586)
449 Obsoletes:      %{name}-devel-doc(i686)
450 Obsoletes:      %{name}-devel-doc(athlon)
451 Obsoletes:      %{name}-devel-doc(pentium3)
452 Obsoletes:      %{name}-devel-doc(pentium4)
453 %endif
454
455 %description devel-doc
456 The glibc-devel-utils package contains info and manual pages necessary
457 for developing programs which use the standard C libraries (which are
458 used by nearly all programs).
459
460 Install glibc-devel-doc if you are going to develop programs
461 which will use the standard C libraries.
462
463 %package -n nscd
464 Summary:        Name Service Caching Daemon
465 Summary(es):    Demonio de caché del servicio de nombres
466 Summary(ja):    ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥­¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
467 Summary(pl):    Demon zapamiêtuj±cy odpowiedzi serwisów nazw
468 Summary(ru):    ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏΠÓÅÒ×ÉÓÏ× ÉÍÅÎ
469 Summary(uk):    ëÅÛÕÀÞÉÊ ÄÅÍÏΠÓÅצӦנ¦ÍÅÎ
470 Group:          Networking/Daemons
471 PreReq:         rc-scripts >= 0.2.0
472 Requires(pre):  /bin/id
473 Requires(pre):  /usr/bin/getgid
474 Requires(pre):  /usr/sbin/groupadd
475 Requires(pre):  /usr/sbin/useradd
476 Requires(post,preun):   /sbin/chkconfig
477 Requires(post): fileutils
478 Requires(postun):       /usr/sbin/groupdel
479 Requires(postun):       /usr/sbin/userdel
480 Requires:       %{name} = %{epoch}:%{version}-%{release}
481 %{?with_selinux:Requires:       libselinux >= 1.18}
482 Provides:       group(nscd)
483 Provides:       user(nscd)
484
485 %description -n nscd
486 nscd caches name service lookups; it can dramatically improve
487 performance with NIS+, and may help with DNS as well.
488
489 %description -n nscd -l es
490 nscd guarda las peticiones del servicio de nombres en una caché; eso
491 puede aumentar drásticamente las prestaciones de NIS+, y también puede
492 ayudar con DNS.
493
494 %description -n nscd -l ja
495 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥­¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
496 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤­¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£
497
498 %description -n nscd -l pl
499 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
500 drastycznie poprawiæ szybko¶æ dzia³ania NIS+.
501
502 %description -n nscd -l ru
503 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
504 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
505 DNS.
506
507 %description -n nscd -l uk
508 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏӦנÄÏ ÓÅÒצӦנ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
509 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
510
511 %package -n localedb-src
512 Summary:        locale database source code
513 Summary(es):    Código fuente de la base de datos de los locales
514 Summary(pl):    Kod ¼ród³owy bazy locale
515 Group:          Daemons
516 Requires:       %{name} = %{epoch}:%{version}-%{release}
517 Requires:       gzip
518 Requires:       sed
519
520 %description -n localedb-src
521 This add-on package contains the data needed to build the locale data
522 files to use the internationalization features of the GNU libc.
523
524 %description -n localedb-src -l es
525 Este paquete adicional contiene los datos necesarios para construir
526 los ficheros de locale, imprescindibles para usar las cualidades de
527 internacionalización de GNU libc.
528
529 %description -n localedb-src -l pl
530 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
531 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
532 libc.
533
534 %package localedb-all
535 Summary:        locale database for all locales supported by glibc
536 Summary(es):    Base de datos de todos los locales soportados por glibc
537 Summary(pl):    Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
538 Group:          Libraries
539 Requires:       iconv = %{epoch}:%{version}-%{release}
540 Requires:       %{name} = %{epoch}:%{version}-%{release}
541
542 %description localedb-all
543 This package contains locale database for all locales supported by
544 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
545 something smaller with support for chosen locales only, consider
546 installing localedb-src and regenerating database using localedb-gen
547 script (when database is generated, localedb-src can be uninstalled).
548
549 %description localedb-all -l es
550 Este paquete contiene una base de datos de todos los locales
551 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
552 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
553 locales elegidos, considérese instalar localedb-src y regenerar la
554 base de datos usando el escript localedb-gen (una vez que la base de
555 datos esté creada, localedb-src se podrá desinstalar).
556
557 %description localedb-all -l pl
558 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
559 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
560 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
561 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
562 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
563 pakiet localedb-src mo¿na odinstalowaæ).
564
565 %package -n iconv
566 Summary:        Convert encoding of given files from one encoding to another
567 Summary(es):    Convierte entre varias codificaciones de los ficheros dados
568 Summary(pl):    Program do konwersji plików tekstowych z jednego kodowania do innego
569 Group:          Applications/Text
570 Requires:       %{name} = %{epoch}:%{version}-%{release}
571
572 %description -n iconv
573 Convert encoding of given files from one encoding to another. You need
574 this package if you want to convert some document from one encoding to
575 another or if you have installed some programs which use Generic
576 Character Set Conversion Interface.
577
578 %description -n iconv -l es
579 Convierte la codificación de dados ficheros. Necesita este paquete si
580 quiere convertir un documento entre una codificación (juego de
581 caracteres) y otra, o si tiene instalado algún programa que usa el
582 Generic Character Set Conversion Interface (interfaz genérica de
583 conversión de juegos de caracteres).
584
585 %description -n iconv -l pl
586 Program do konwersji plików tekstowych z jednego kodowania do innego.
587 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
588 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
589 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
590 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
591 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
592
593 %package static
594 Summary:        Static libraries
595 Summary(es):    Bibliotecas estáticas
596 Summary(pl):    Biblioteki statyczne
597 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
598 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ glibc
599 Group:          Development/Libraries
600 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
601 Obsoletes:      libiconv-static
602
603 %description static
604 GNU libc static libraries.
605
606 %description static -l es
607 Bibliotecas estáticas de GNU libc.
608
609 %description static -l pl
610 Biblioteki statyczne GNU libc.
611
612 %description static -l ru
613 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
614 ×ÈÏÄÑÔ × glibc-devel.
615
616 %description static -l uk
617 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍɠ¦Â̦ÏÔÅËÁÍÉ, ÝϠ¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
618 ÓËÌÁÄ glibc-devel.
619
620 %package profile
621 Summary:        glibc with profiling support
622 Summary(de):    glibc mit Profil-Unterstützung
623 Summary(es):    glibc con soporte de perfilamiento
624 Summary(fr):    glibc avec support pour profiling
625 Summary(pl):    glibc ze wsparciem dla profilowania
626 Summary(ru):    GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
627 Summary(tr):    Ölçüm desteði olan glibc
628 Summary(uk):    GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
629 Group:          Development/Libraries/Libc
630 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
631 Obsoletes:      libc-profile
632
633 %description profile
634 When programs are being profiled using gprof, they must use these
635 libraries instead of the standard C libraries for gprof to be able to
636 profile them correctly.
637
638 %description profile -l de
639 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
640 Libraries anstelle der üblichen C-Libraries verwendet werden.
641
642 %description profile -l es
643 Cuando programas son perfilidas usando gprof, tienen que usar estas
644 biblioteces en vez de las estándares para que gprof pueda perfilarlas
645 correctamente.
646
647 %description profile -l pl
648 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
649 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
650 wyprofilowaæ.
651
652 %description profile -l uk
653 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
654 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉȠ¦Â̦ÏÔÅˠ¦Â̦ÏÔÅËÉ, ÝϠͦÓÔÑÔØÓÑ
655 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉȠ¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
656 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁԦנÂÕÄÅ ÐÏËÁÚÕ×ÁÔɠæÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
657 ÐÏÚÁÍÉÎÕÌÏÍÕ ÒÏæ...
658
659 %description profile -l tr
660 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
661 kitaplýðý kullanmak zorundadýrlar.
662
663 %description profile -l ru
664 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
665 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
666 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
667 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
668 ÐÏÚÁÐÒÏÛÌÏÍ ÇÏÄÕ...
669
670 %package pic
671 Summary:        glibc PIC archive
672 Summary(es):    Archivo PIC de glibc
673 Summary(pl):    Archiwum PIC glibc
674 Group:          Development/Libraries/Libc
675 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
676
677 %description pic
678 GNU C Library PIC archive contains an archive library (ar file)
679 composed of individual shared objects. This is used for creating a
680 library which is a smaller subset of the standard libc shared library.
681
682 %description pic -l es
683 El archivo PIC de la biblioteca glibc contiene una biblioteca
684 archivada (un fichero ar) compuesta de individuales objetos
685 compartidos. Es usado para crear una biblioteca que sea un subconjunto
686 más pequeño de la biblioteca libc compartida estándar.
687
688 %description pic -l pl
689 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
690 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
691 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
692 biblioteki wspó³dzielonej libc.
693
694 %package -n nss_compat
695 Summary:        Old style NYS NSS glibc module
696 Summary(es):    El antiguo módulo NYS NSS de glibc
697 Summary(pl):    Stary modu³ NYS NSS glibc
698 Group:          Base
699 Requires:       %{name} = %{epoch}:%{version}-%{release}
700
701 %description -n nss_compat
702 Old style NYS NSS glibc module.
703
704 %description -n nss_compat -l es
705 El antiguo módulo NYS NSS de glibc
706
707 %description -n nss_compat -l pl
708 Stary modu³ NYS NSS glibc.
709
710 %package -n nss_dns
711 Summary:        BIND NSS glibc module
712 Summary(es):    Módulo BIND NSS de glibc
713 Summary(pl):    Modu³ BIND NSS glibc
714 Group:          Base
715 Requires:       %{name} = %{epoch}:%{version}-%{release}
716
717 %description -n nss_dns
718 BIND NSS glibc module.
719
720 %description -n nss_dns -l es
721 Módulo BIND NSS de glibc.
722
723 %description -n nss_dns -l pl
724 Modu³ BIND NSS glibc.
725
726 %package -n nss_files
727 Summary:        Traditional files databases NSS glibc module
728 Summary(es):    Módulo de tradicionales bases de datos en ficheros para glibc
729 Summary(pl):    Modu³ tradycyjnych plikowych baz danych NSS glibc
730 Group:          Base
731 Requires:       %{name} = %{epoch}:%{version}-%{release}
732
733 %description -n nss_files
734 Traditional files databases NSS glibc module.
735
736 %description -n nss_files -l es
737 Módulo de tradicionales bases de datos en ficheros para glibc.
738
739 %description -n nss_files -l pl
740 Modu³ tradycyjnych plikowych baz danych NSS glibc.
741
742 %package -n nss_hesiod
743 Summary:        hesiod NSS glibc module
744 Summary(es):    Módulo hesiod NSS de glibc
745 Summary(pl):    Modu³ hesiod NSS glibc
746 Group:          Base
747 Requires:       %{name} = %{epoch}:%{version}-%{release}
748
749 %description -n nss_hesiod
750 glibc NSS (Name Service Switch) module for databases access.
751
752 %description -n nss_hesiod -l es
753 Módulo hesiod NSS de glibc.
754
755 %description -n nss_hesiod -l pl
756 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
757
758 %package -n nss_nis
759 Summary:        NIS(YP) NSS glibc module
760 Summary(es):    Módulo NIS(YP) NSS de glibc
761 Summary(pl):    Modu³ NIS(YP) NSS glibc
762 Group:          Base
763 Requires:       %{name} = %{epoch}:%{version}-%{release}
764
765 %description -n nss_nis
766 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
767
768 %description -n nss_nis -l es
769 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
770
771 %description -n nss_nis -l pl
772 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
773
774 %package -n nss_nisplus
775 Summary:        NIS+ NSS module
776 Summary(es):    Módulo NIS+ NSS
777 Summary(pl):    Modu³ NIS+ NSS
778 Group:          Base
779 Requires:       %{name} = %{epoch}:%{version}-%{release}
780
781 %description -n nss_nisplus
782 glibc NSS (Name Service Switch) module for NIS+ databases access.
783
784 %description -n nss_nisplus -l es
785 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
786 datos NIS+.
787
788 %description -n nss_nisplus -l pl
789 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
790
791 %package memusage
792 Summary:        A toy
793 Summary(es):    Un juguete
794 Summary(pl):    Zabawka
795 Group:          Applications
796 Requires:       %{name} = %{epoch}:%{version}-%{release}
797
798 %description memusage
799 A toy.
800
801 %description memusage -l es
802 Un juguete.
803
804 %description memusage -l pl
805 Zabawka.
806
807 %package zoneinfo_right
808 Summary:        Non-POSIX (real) time zones
809 Summary(es):    Zonas de tiempo reales (no de POSIX)
810 Summary(pl):    Nie-POSIX-owe (prawdziwe) strefy czasowe
811 Group:          Libraries
812 Requires:       %{name} = %{epoch}:%{version}-%{release}
813
814 %description zoneinfo_right
815 You don't want this. Details at:
816 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
817
818 %description zoneinfo_right -l es
819 No lo necesita. Encontrará los detalles en:
820 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
821
822 %description zoneinfo_right -l pl
823 Nie potrzebujesz tego. Szczegó³y pod:
824 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
825
826 %package -n %{name}64
827 Summary:        GNU libc - 64-bit libraries
828 Summary(es):    GNU libc - bibliotecas de 64 bits
829 Summary(pl):    GNU libc - biblioteki 64-bitowe
830 Group:          Libraries
831 PreReq:         basesystem
832 Requires:       %{name}-misc = %{epoch}:%{version}-%{release}
833 Provides:       glibc = %{epoch}:%{version}-%{release}
834 %{?with_tls:Provides:   glibc(tls)}
835 Provides:       ldconfig
836 Obsoletes:      glibc-common
837 Obsoletes:      glibc-debug
838 Obsoletes:      ldconfig
839 Conflicts:      kernel < %{min_kernel}
840 Conflicts:      ld.so < 1.9.9-10
841 Conflicts:      man-pages < 1.43
842 Conflicts:      rc-scripts < 0.3.1-13
843 Conflicts:      rpm < 4.1
844 Conflicts:      poldek < 0.18.8-4
845
846 %description -n %{name}64
847 64-bit GNU libc libraries for 64bit architecture.
848
849 %description -n %{name}64 -l es
850 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
851
852 %description -n %{name}64 -l pl
853 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
854
855 %prep
856 %setup -q -a1
857 %patch0 -p1
858 %patch1 -p1
859 %patch2 -p1
860 %patch3 -p1
861 %patch4 -p1
862 %patch5 -p1
863 %patch6 -p1
864 %patch8 -p1
865 %patch9 -p1
866 %patch10 -p1
867 # don't know, if it is good idea, for brave ones
868 #%patch11 -p1
869 %{!?with_kernelheaders:%patch12 -p1}
870 %patch13 -p1
871 %patch14 -p0
872 %patch15 -p1
873 %patch16 -p1
874 %patch17 -p1
875 %patch18 -p1
876 %patch19 -p1
877 %patch20 -p1
878 %patch21 -p1
879 %patch22 -p1
880 %patch23 -p1
881 %patch24 -p1
882 %patch25 -p1
883 %patch26 -p1
884 %patch27 -p1
885 %patch28 -p1
886 %{?with_cross:%patch29 -p1}
887 %{?with_pax:%patch30 -p1}
888
889 chmod +x scripts/cpp
890
891 # i786 (aka pentium4) hack
892 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
893 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
894
895 %build
896 # Build glibc
897 cp -f /usr/share/automake/config.sub scripts
898 %{__aclocal}
899 %{__autoconf}
900 rm -rf builddir
901 install -d builddir
902 cd builddir
903 %ifarch sparc64
904 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
905 %endif
906 %if %{with linuxthreads}
907 ../%configure \
908         --enable-kernel="%{min_kernel}" \
909         --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
910         --with%{!?with___thread:out}-__thread \
911         --with-headers=%{sysheaders} \
912         --with%{!?with_selinux:out}-selinux \
913         --with%{!?with_tls:out}-tls \
914         --enable-add-ons=linuxthreads \
915         --enable-profile
916 %{__make}
917 %endif
918 %if %{with nptl}
919 %if %{with dual}
920 cd ..
921 rm -rf builddir-nptl
922 install -d builddir-nptl
923 cd builddir-nptl
924 %endif
925 ../%configure \
926         --enable-kernel="%{nptl_min_kernel}" \
927         --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
928         --with-headers=%{sysheaders} \
929         --with%{!?with_selinux:out}-selinux \
930         --with-tls \
931         --enable-add-ons=nptl \
932         --enable-profile
933 # simulate cross-compiling so we can perform dual builds on 2.4.x kernel
934 %{__make} \
935         %{?with_dual:cross-compiling=yes}
936 %endif
937 cd ..
938
939 %if %{with linuxthreads}
940 %{__make} -C linuxthreads/man
941 %endif
942
943 %if %{with tests}
944 for d in builddir %{?with_tests_nptl:builddir-nptl} ; do
945 cd $d
946 env LANGUAGE=C LC_ALL=C \
947 %{__make} tests 2>&1 | awk '
948 BEGIN { file = "" }
949 {
950         if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
951                 file=$0;
952                 gsub(/.*\[/, NIL, file);
953                 gsub(/\].*/, NIL, file);
954         }
955         print $0;
956 }
957 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
958 cd ..
959 done
960 %endif
961
962 # compiling static using diet vs glibc saves 400k
963 diet -Os %{__cc} %{SOURCE9} %{rpmcflags} -static -o postshell
964 diet -Os %{__cc} %{SOURCE8} %{rpmcflags} -static -o glibc-postinst
965
966 %install
967 rm -rf $RPM_BUILD_ROOT
968 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
969
970 cd builddir
971 env LANGUAGE=C LC_ALL=C \
972 %{__make} install \
973         install_root=$RPM_BUILD_ROOT \
974         infodir=%{_infodir} \
975         mandir=%{_mandir}
976
977 %if %{with localedb}
978 env LANGUAGE=C LC_ALL=C \
979 %{__make} localedata/install-locales \
980         install_root=$RPM_BUILD_ROOT
981 %endif
982
983 PICFILES="libc_pic.a libc.map
984         math/libm_pic.a libm.map
985         resolv/libresolv_pic.a"
986
987 install $PICFILES                               $RPM_BUILD_ROOT%{_libdir}
988 install elf/soinit.os                           $RPM_BUILD_ROOT%{_libdir}/soinit.o
989 install elf/sofini.os                           $RPM_BUILD_ROOT%{_libdir}/sofini.o
990 cd ..
991
992 install postshell                                       $RPM_BUILD_ROOT/sbin
993 install glibc-postinst                          $RPM_BUILD_ROOT/sbin
994
995 %if %{with dual}
996 env LANGUAGE=C LC_ALL=C \
997 %{__make} -C builddir-nptl install \
998         cross-compiling=yes \
999         install_root=$RPM_BUILD_ROOT/nptl
1000
1001 install -d $RPM_BUILD_ROOT{/%{_lib}/tls,%{_libdir}/nptl,%{_includedir}/nptl}
1002 for f in libc libm libpthread libthread_db librt; do
1003         mv -f $RPM_BUILD_ROOT/nptl/%{_lib}/${f}[-.]* $RPM_BUILD_ROOT/%{_lib}/tls
1004 done
1005 $RPM_BUILD_ROOT/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_lib}/tls
1006
1007 for f in libc.so libpthread.so ; do
1008         cat $RPM_BUILD_ROOT/nptl%{_libdir}/$f | sed \
1009                 -e "s|/libc.so.6|/tls/libc.so.6|g" \
1010                 -e "s|/libpthread.so.0|/tls/libpthread.so.0|g" \
1011                 -e "s|/libpthread_nonshared.a|/nptl/libpthread_nonshared.a|g" \
1012                 > $RPM_BUILD_ROOT%{_libdir}/nptl/$f
1013 done
1014 for f in libc.a libpthread.a libpthread_nonshared.a; do
1015         mv -f $RPM_BUILD_ROOT/nptl%{_libdir}/$f $RPM_BUILD_ROOT%{_libdir}/nptl
1016 done
1017 cd $RPM_BUILD_ROOT/nptl%{_prefix}/include
1018         for f in `find . -type f`; do
1019                 if ! [ -f $RPM_BUILD_ROOT%{_prefix}/include/$f ] \
1020                    || ! cmp -s $f $RPM_BUILD_ROOT%{_prefix}/include/$f ; then
1021                         install -d $RPM_BUILD_ROOT%{_prefix}/include/nptl/`dirname $f`
1022                         cp -a $f $RPM_BUILD_ROOT%{_prefix}/include/nptl/$f
1023                 fi
1024         done
1025 cd -
1026 rm -rf $RPM_BUILD_ROOT/nptl
1027 %endif
1028
1029 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so   $RPM_BUILD_ROOT%{_libdir}}
1030 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so   $RPM_BUILD_ROOT%{_libdir}
1031
1032 %if %{with linuxthreads}
1033 install linuxthreads/man/*.3thr         $RPM_BUILD_ROOT%{_mandir}/man3
1034 %endif
1035
1036 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
1037
1038 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
1039 #for i in [A-Z]*; do
1040 #       ln -s ../$i posix
1041 #done
1042 #cd -
1043
1044 # Where should s390 go?
1045 %ifarch %{ix86} ppc sparc
1046 mv $RPM_BUILD_ROOT%{_includedir}/gnu/stubs.h $RPM_BUILD_ROOT%{_includedir}/gnu/stubs-32.h
1047 %endif
1048
1049 %ifarch %{x8664} ppc64 sparc64 alpha
1050 mv $RPM_BUILD_ROOT%{_includedir}/gnu/stubs.h $RPM_BUILD_ROOT%{_includedir}/gnu/stubs-64.h
1051 %endif
1052
1053 cat <<EOF >$RPM_BUILD_ROOT%{_includedir}/gnu/stubs.h
1054 /* This file selects the right generated file of '__stub_FUNCTION' macros
1055    based on the architecture being compiled for.  */
1056
1057 #include <bits/wordsize.h>
1058
1059 #if __WORDSIZE == 32
1060 # include <gnu/stubs-32.h>
1061 #elif __WORDSIZE == 64
1062 # include <gnu/stubs-64.h>
1063 #else
1064 # error "unexpected value for __WORDSIZE macro"
1065 #endif
1066 EOF
1067
1068 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
1069 ln -sf localtime                $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
1070 ln -sf localtime                $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
1071 ln -sf libbsd-compat.a          $RPM_BUILD_ROOT%{_libdir}/libbsd.a
1072
1073 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
1074
1075 # make symlinks across top-level directories absolute
1076 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
1077         rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1078         ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1079 done
1080
1081 install %{SOURCE2}              $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
1082 install %{SOURCE3}              $RPM_BUILD_ROOT/etc/sysconfig/nscd
1083 install %{SOURCE4}              $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1084 install nscd/nscd.conf  $RPM_BUILD_ROOT%{_sysconfdir}
1085 install nss/nsswitch.conf       $RPM_BUILD_ROOT%{_sysconfdir}
1086
1087 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1088 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1089 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
1090 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
1091 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
1092
1093 :> $RPM_BUILD_ROOT/var/log/nscd
1094 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
1095 :> $RPM_BUILD_ROOT/var/lib/nscd/group
1096 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
1097
1098 rm -rf documentation
1099 install -d documentation
1100
1101 %if %{with linuxthreads}
1102 for f in ChangeLog Changes README ; do
1103         cp -f linuxthreads/$f documentation/${f}.linuxthreads
1104 done
1105 %endif
1106 %if %{with nptl}
1107 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing} ;  do
1108         cp -f nptl/$f documentation/${f}.nptl
1109 done
1110 %endif
1111 cp -f crypt/README.ufc-crypt documentation
1112
1113 cp -f ChangeLog* documentation
1114
1115 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1116
1117 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
1118 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
1119
1120 # Collect locale files and mark them with %%lang()
1121 rm -f glibc.lang
1122 echo '%defattr(644,root,root,755)' > glibc.lang
1123 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
1124         if [ -d $i ]; then
1125                 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
1126                 twochar=1
1127                 # list of long %%lang values we do support
1128                 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
1129                          zh_CN zh_CN.gbk zh_HK zh_TW ; do
1130                         if [ $j = "$lang" ]; then
1131                                 twochar=
1132                         fi
1133                 done
1134                 if [ -n "$twochar" ]; then
1135                         if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1136                                 lang=`echo $lang | sed "s,\..*,,"`
1137                         else
1138                                 lang=`echo $lang | sed "s,_.*,,"`
1139                         fi
1140                 fi
1141                 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1142                 echo "%lang($lang) $dir" >> glibc.lang
1143         fi
1144 done
1145 # XXX: to be added when become supported by glibc
1146 # as (atk, gail)
1147 # az_IR (gtk+)
1148 # my (gaim)
1149 # rm (gtkspell)
1150 # tk, yo (used by GNOME)
1151 #
1152 # NOTES:
1153 # bn is used for bn_BD or bn_IN?
1154 # omitted here - already existing (with libc.mo):
1155 #   be,ca,cs,da,de,el,en_GB,es,fi,fr,gl,hr,hu,it,ja,ko,nb,nl,pl,pt_BR,sk,sv,tr,zh_CN,zh_TW
1156 for i in af am ang ar az bg bn br bs cy de_AT en en@boldquot en@quot en_AU \
1157     en_CA en_US eo es_AR es_MX et eu fa fo ga gu he hi hsb ia id is it_CH ka \
1158     kn ku leet lg li lo lt lv mi mk ml mn mr ms mt nds ne nn nso or pa pt ro \
1159     ru rw se sl sq sr sr@Latn sr@ije ss ta tg th tl tlh uk uz ve vi wa xh yi \
1160     zu ; do
1161         if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1162                 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1163                 lang=`echo $i | sed -e 's/_.*//'`
1164                 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1165         fi
1166 done
1167 cd $RPM_BUILD_ROOT%{_datadir}/locale
1168 ln -s zh_CN zh_SG
1169 ln -s zh_CN zh_HK
1170 cd -
1171
1172 # localedb-gen infrastructure
1173 install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1174 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1175
1176 # shutup check-files
1177 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1178 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1179 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1180 # we don't support kernel without ptys support
1181 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1182
1183 %clean
1184 rm -rf $RPM_BUILD_ROOT
1185
1186 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1187 # when %%postun is run
1188
1189 %ifarch %{x8664} ppc64 s390x sparc64
1190 %post   -n %{name}64 -p /sbin/postshell
1191 %else
1192 %post   -p /sbin/postshell
1193 %endif
1194 /sbin/glibc-postinst /%{_lib}/%{_host_cpu}
1195 /sbin/ldconfig
1196 -/sbin/telinit u
1197
1198 %ifarch %{x8664} ppc64 s390x sparc64
1199 %postun -n %{name}64 -p /sbin/postshell
1200 %else
1201 %postun -p /sbin/postshell
1202 %endif
1203 /sbin/ldconfig
1204 -/sbin/telinit u
1205
1206 %ifarch %{x8664} ppc64 s390x sparc64
1207 %triggerpostun -n %{name}64 -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1208 %else
1209 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1210 %endif
1211 -/bin/mv %{_sysconfdir}/ld.so.conf.rpmsave %{_sysconfdir}/ld.so.conf
1212
1213 %post   memusage -p /sbin/ldconfig
1214 %postun memusage -p /sbin/ldconfig
1215
1216 %post -n iconv -p %{_sbindir}/iconvconfig
1217
1218 %post devel
1219 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1220
1221 %postun devel
1222 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1223
1224 %pre -n nscd
1225 %groupadd -P nscd -g 144 -r nscd
1226 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1227
1228 %post -n nscd
1229 /sbin/chkconfig --add nscd
1230 touch /var/log/nscd
1231 chmod 000 /var/log/nscd
1232 chown root:root /var/log/nscd
1233 chmod 640 /var/log/nscd
1234 if [ -f /var/lock/subsys/nscd ]; then
1235         /etc/rc.d/init.d/nscd restart 1>&2
1236 else
1237         echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1238 fi
1239
1240 %preun -n nscd
1241 if [ "$1" = "0" ]; then
1242         if [ -f /var/lock/subsys/nscd ]; then
1243                 /etc/rc.d/init.d/nscd stop 1>&2
1244         fi
1245         /sbin/chkconfig --del nscd
1246 fi
1247
1248 %postun -n nscd
1249 if [ "$1" = "0" ]; then
1250         %userremove nscd
1251         %groupremove nscd
1252 fi
1253
1254 %ifarch %{x8664} ppc64 s390x sparc64
1255 %files -n %{name}64
1256 %defattr(644,root,root,755)
1257 %else
1258 %files
1259 %defattr(644,root,root,755)
1260 %endif
1261 %defattr(644,root,root,755)
1262 %doc README NEWS FAQ BUGS
1263 %attr(755,root,root) /sbin/postshell
1264 %attr(755,root,root) /sbin/glibc-postinst
1265 %attr(755,root,root) /sbin/ldconfig
1266 # ld* and libc.so.6 SONAME symlinks must be in package because of
1267 # chicken-egg problem (postshell is dynamically linked with libc);
1268 # ld-*.so SONAME is:
1269 #   ld.so.1 on ppc
1270 #   ld64.so.1 on ppc64,s390x
1271 #   ld-linux-ia64.so.2 on ia64
1272 #   ld-linux-x86-64.so.2 on x86_64
1273 #   ld-linux.so.2 on other archs
1274 %attr(755,root,root) /%{_lib}/ld*
1275 %attr(755,root,root) /%{_lib}/libanl*
1276 %attr(755,root,root) /%{_lib}/libdl*
1277 %attr(755,root,root) /%{_lib}/libnsl*
1278 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1279 %if %{with dual}
1280 %dir /%{_lib}/tls
1281 %attr(755,root,root) /%{_lib}/tls/lib[cmprt]*
1282 %endif
1283 %{?with_localedb:%dir %{_libdir}/locale}
1284 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1285 %ghost %{_sysconfdir}/ld.so.cache
1286
1287 #%files -n nss_dns
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1290
1291 #%files -n nss_files
1292 %defattr(644,root,root,755)
1293 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1294
1295 %files misc -f %{name}.lang
1296 %defattr(644,root,root,755)
1297
1298 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1299 %config %{_sysconfdir}/rpc
1300
1301 %attr(755,root,root) /sbin/sln
1302 %attr(755,root,root) %{_bindir}/catchsegv
1303 %attr(755,root,root) %{_bindir}/getconf
1304 %attr(755,root,root) %{_bindir}/getent
1305 %attr(755,root,root) %{_bindir}/iconv
1306 %attr(755,root,root) %{_bindir}/ldd
1307 %ifarch %{ix86} m68k sparc sparcv9
1308 %attr(755,root,root) %{_bindir}/lddlibc4
1309 %endif
1310 %attr(755,root,root) %{_bindir}/locale
1311 %attr(755,root,root) %{_bindir}/rpcgen
1312 %attr(755,root,root) %{_bindir}/tzselect
1313
1314 %attr(755,root,root) %{_sbindir}/rpcinfo
1315 %attr(755,root,root) %{_sbindir}/zdump
1316 %attr(755,root,root) %{_sbindir}/zic
1317
1318 %dir %{_libexecdir}/getconf
1319 %attr(755,root,root) %{_libexecdir}/getconf/*
1320
1321 %dir %{_datadir}/locale
1322 %{_datadir}/locale/locale.alias
1323 %{_datadir}/zoneinfo
1324 %exclude %{_datadir}/zoneinfo/right
1325
1326 %{_mandir}/man1/catchsegv.1*
1327 %{_mandir}/man1/getconf.1*
1328 %{_mandir}/man1/getent.1*
1329 %{_mandir}/man1/iconv.1*
1330 %{_mandir}/man1/ldd.1*
1331 %{_mandir}/man1/locale.1*
1332 %{_mandir}/man1/rpcgen.1*
1333 %{_mandir}/man5/locale.5*
1334 %{_mandir}/man5/nsswitch.conf.5*
1335 %{_mandir}/man5/tzfile.5*
1336 %{_mandir}/man7/*
1337 %{_mandir}/man8/ld*.8*
1338 %{_mandir}/man8/rpcinfo.8*
1339 %{_mandir}/man8/sln.8*
1340 %{_mandir}/man8/tzselect.8*
1341 %{_mandir}/man8/zdump.8*
1342 %{_mandir}/man8/zic.8*
1343 %lang(cs) %{_mandir}/cs/man7/*
1344 %lang(de) %{_mandir}/de/man5/tzfile.5*
1345 %lang(de) %{_mandir}/de/man7/*
1346 %lang(es) %{_mandir}/es/man5/locale.5*
1347 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1348 %lang(es) %{_mandir}/es/man5/tzfile.5*
1349 %lang(es) %{_mandir}/es/man7/*
1350 %lang(es) %{_mandir}/es/man8/ld*.8*
1351 %lang(es) %{_mandir}/es/man8/tzselect.8*
1352 %lang(es) %{_mandir}/es/man8/zdump.8*
1353 %lang(es) %{_mandir}/es/man8/zic.8*
1354 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1355 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1356 %lang(fr) %{_mandir}/fr/man5/locale.5*
1357 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1358 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1359 %lang(fr) %{_mandir}/fr/man7/*
1360 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1361 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1362 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1363 %lang(fr) %{_mandir}/fr/man8/zic.8*
1364 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1365 %lang(hu) %{_mandir}/hu/man7/*
1366 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1367 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1368 %lang(it) %{_mandir}/it/man5/locale.5*
1369 %lang(it) %{_mandir}/it/man7/*
1370 %lang(it) %{_mandir}/it/man8/tzselect.8*
1371 %lang(it) %{_mandir}/it/man8/zdump.8*
1372 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1373 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1374 %lang(ja) %{_mandir}/ja/man5/locale.5*
1375 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1376 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1377 %lang(ja) %{_mandir}/ja/man7/*
1378 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1379 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1380 %lang(ja) %{_mandir}/ja/man8/sln.8*
1381 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1382 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1383 %lang(ja) %{_mandir}/ja/man8/zic.8*
1384 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1385 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1386 %lang(ko) %{_mandir}/ko/man7/*
1387 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1388 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1389 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1390 %lang(pl) %{_mandir}/pl/man5/locale.5*
1391 %lang(pl) %{_mandir}/pl/man7/*
1392 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1393 %lang(pt) %{_mandir}/pt/man5/locale.5*
1394 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1395 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1396 %lang(pt) %{_mandir}/pt/man7/*
1397 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1398 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1399 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1400 %lang(pt) %{_mandir}/pt/man8/zic.8*
1401 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1402 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1403 %lang(ru) %{_mandir}/ru/man7/*
1404 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1405 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1406 %lang(ru) %{_mandir}/ru/man8/zic.8*
1407 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1408 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1409 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1410 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1411 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1412 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1413 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1414 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1415
1416 %files zoneinfo_right
1417 %defattr(644,root,root,755)
1418 %{_datadir}/zoneinfo/right
1419
1420 %files -n nss_compat
1421 %defattr(644,root,root,755)
1422 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1423
1424 %files -n nss_hesiod
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1427
1428 %files -n nss_nis
1429 %defattr(644,root,root,755)
1430 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1431 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1432
1433 %files -n nss_nisplus
1434 %defattr(644,root,root,755)
1435 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1436
1437 %if %{with memusage}
1438 %files memusage
1439 %defattr(644,root,root,755)
1440 %attr(755,root,root) %{_bindir}/memusage*
1441 %attr(755,root,root) %{_libdir}/libmemusage.so
1442 %endif
1443
1444 %files devel
1445 %defattr(644,root,root,755)
1446 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1447 %attr(755,root,root) %{_libdir}/libcrypt.so
1448 %attr(755,root,root) %{_libdir}/libm.so
1449 %attr(755,root,root) %{_libdir}/libpcprofile.so
1450 %attr(755,root,root) %{_libdir}/*crt*.o
1451 # ld scripts
1452 %{_libdir}/libc.so
1453 %{_libdir}/libpthread.so
1454
1455 %{_libdir}/libbsd-compat.a
1456 %{_libdir}/libbsd.a
1457 %{_libdir}/libc_nonshared.a
1458 %{_libdir}/libg.a
1459 %{_libdir}/libieee.a
1460 %{_libdir}/libpthread_nonshared.a
1461 %{_libdir}/librpcsvc.a
1462
1463 %if %{with dual}
1464 %dir %{_libdir}/nptl
1465 # ld scripts
1466 %{_libdir}/nptl/libc.so
1467 %{_libdir}/nptl/libpthread.so
1468 %{_libdir}/nptl/libpthread_nonshared.a
1469 %endif
1470
1471 %{_includedir}/gnu/stubs-*.h
1472
1473 %files headers
1474 %{_includedir}/*.h
1475 %ifarch alpha
1476 %{_includedir}/alpha
1477 %endif
1478 %{_includedir}/arpa
1479 %{_includedir}/bits
1480 %{_includedir}/gnu/lib*.h
1481 %{_includedir}/gnu/stubs.h
1482 %{_includedir}/net
1483 %{_includedir}/netash
1484 %{_includedir}/netatalk
1485 %{_includedir}/netax25
1486 %{_includedir}/neteconet
1487 %{_includedir}/netinet
1488 %{_includedir}/netipx
1489 %{_includedir}/netpacket
1490 %{_includedir}/netrom
1491 %{_includedir}/netrose
1492 %{_includedir}/nfs
1493 %{_includedir}/protocols
1494 %{_includedir}/rpc
1495 %{_includedir}/rpcsvc
1496 %{_includedir}/scsi
1497 %{_includedir}/sys
1498
1499 %if %{with dual}
1500 %{_includedir}/nptl
1501 %endif
1502
1503 %files devel-utils
1504 %defattr(644,root,root,755)
1505 %attr(755,root,root) %{_bindir}/gencat
1506 %attr(755,root,root) %{_bindir}/*prof*
1507 %attr(755,root,root) %{_bindir}/*trace
1508
1509 %files devel-doc
1510 %doc documentation/* NOTES PROJECTS
1511 %{_infodir}/libc.info*
1512
1513 %{_mandir}/man1/sprof.1*
1514 %{_mandir}/man3/*
1515 %lang(cs) %{_mandir}/cs/man3/*
1516 %lang(de) %{_mandir}/de/man3/*
1517 %lang(es) %{_mandir}/es/man3/*
1518 %lang(fr) %{_mandir}/fr/man3/*
1519 %lang(hu) %{_mandir}/hu/man3/*
1520 %lang(it) %{_mandir}/it/man3/*
1521 %lang(ja) %{_mandir}/ja/man3/*
1522 %lang(ko) %{_mandir}/ko/man3/*
1523 %lang(nl) %{_mandir}/nl/man3/*
1524 %lang(pl) %{_mandir}/pl/man3/*
1525 %lang(pt) %{_mandir}/pt/man3/*
1526 %lang(ru) %{_mandir}/ru/man3/*
1527 %lang(uk) %{_mandir}/uk/man3/*
1528 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1529
1530 %files -n nscd
1531 %defattr(644,root,root,755)
1532 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1533 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1534 %attr(754,root,root) /etc/rc.d/init.d/nscd
1535 %attr(755,root,root) %{_sbindir}/nscd*
1536 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1537 %attr(640,root,root) %ghost /var/log/nscd
1538 %dir /var/run/nscd
1539 %dir /var/lib/nscd
1540 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1541 %attr(600,root,root) %ghost /var/lib/nscd/group
1542 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1543 %{_mandir}/man5/nscd.conf.5*
1544 %{_mandir}/man8/nscd.8*
1545 %{_mandir}/man8/nscd_nischeck.8*
1546 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1547 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1548 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1549 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1550 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1551 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1552
1553 %files -n localedb-src
1554 %defattr(644,root,root,755)
1555 %attr(755,root,root) %{_bindir}/localedef
1556 %attr(755,root,root) %{_bindir}/localedb-gen
1557 %{_datadir}/i18n
1558 %{_mandir}/man1/localedef.1*
1559
1560 %if %{with localedb}
1561 %files localedb-all
1562 %defattr(644,root,root,755)
1563 %{_libdir}/locale/locale-archive
1564 %endif
1565
1566 %files -n iconv
1567 %defattr(644,root,root,755)
1568 %attr(755,root,root) %{_sbindir}/iconvconfig
1569 %dir %{_libdir}/gconv
1570 %{_libdir}/gconv/gconv-modules
1571 %attr(755,root,root) %{_libdir}/gconv/*.so
1572
1573 %files static
1574 %defattr(644,root,root,755)
1575 %{_libdir}/libanl.a
1576 %{_libdir}/libBrokenLocale.a
1577 %{_libdir}/libc.a
1578 %{_libdir}/libcrypt.a
1579 %{_libdir}/libdl.a
1580 %{_libdir}/libm.a
1581 %{_libdir}/libmcheck.a
1582 %{_libdir}/libnsl.a
1583 %{_libdir}/libpthread.a
1584 %{_libdir}/libresolv.a
1585 %{_libdir}/librt.a
1586 %{_libdir}/libutil.a
1587 %if %{with dual}
1588 %{_libdir}/nptl/libc.a
1589 %{_libdir}/nptl/libpthread.a
1590 %endif
1591
1592 %files profile
1593 %defattr(644,root,root,755)
1594 #{?with_dual:%{_libdir}/nptl/lib*_p.a}
1595 %{_libdir}/lib*_p.a
1596
1597 %files pic
1598 %defattr(644,root,root,755)
1599 %{_libdir}/lib*_pic.a
1600 %{_libdir}/lib*.map
1601 %{_libdir}/soinit.o
1602 %{_libdir}/sofini.o
This page took 0.137336 seconds and 4 git commands to generate.