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