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