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