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