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