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