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)
5 # _without_dist_kernel build without kernel from the distribution;
6 # headers will be searched in %_kernelsrcdir/include.
9 %{!?min_kernel:%define min_kernel 2.2.0}
15 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
17 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
20 Release: 0.2@%{_kernel_ver_str}
24 Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
25 Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
27 Source3: nscd.sysconfig
28 Source4: nscd.logrotate
29 Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
30 Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
31 # borrowed from util-linux
33 Patch0: %{name}-info.patch
34 Patch1: %{name}-versions.awk_fix.patch
35 Patch2: %{name}-pld.patch
36 Patch3: %{name}-crypt-blowfish.patch
37 Patch4: %{name}-string2-pointer-arith.patch
38 Patch5: %{name}-linuxthreads-lock.patch
39 Patch6: %{name}-pthread_create-manpage.patch
40 Patch9: %{name}-paths.patch
41 Patch10: %{name}-vaargs.patch
42 Patch11: %{name}-getaddrinfo-workaround.patch
43 Patch12: %{name}-postshell.patch
44 Patch13: %{name}-pl.po-update.patch
45 Patch14: %{name}-missing-nls.patch
46 Patch15: %{name}-broken-ldconfig-on-i386-with-gcc32.patch
47 Patch16: %{name}-java-libc-wait.patch
48 Patch17: %{name}-morelocales.patch
49 URL: http://www.gnu.org/software/libc/
50 BuildRequires: binutils >= 2.13.90.0.2
51 BuildRequires: gcc >= 3.2
52 BuildRequires: gd-devel >= 2.0.1
53 BuildRequires: gettext-devel >= 0.10.36
54 BuildRequires: libpng-devel
56 BuildRequires: rpm-build >= 4.0.2-46
57 BuildRequires: texinfo
58 %{!?_without_dist_kernel:BuildRequires: kernel-headers}
61 Provides: /sbin/ldconfig
62 Obsoletes: %{name}-common
63 Obsoletes: %{name}-debug
67 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
68 Conflicts: kernel < %{min_kernel}
69 Conflicts: man-pages < 1.43
70 Conflicts: ld.so < 1.9.9-10
72 %define debugcflags -O1 -g
73 #define parallelmkflags PARALLELMFLAGS="-j 4"
74 %define parallelmkflags %{nil}
77 Contains the standard libraries that are used by multiple programs on
78 the system. In order to save disk space and memory, as well as to ease
79 upgrades, common system code is kept in one place and shared between
80 programs. This package contains the most important sets of shared
81 libraries, the standard C library and the standard math library.
82 Without these, a Linux system will not function. It also contains
83 national language (locale) support and timezone databases.
86 Enthält die Standard-Libraries, die von verschiedenen Programmen im
87 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
88 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
89 einer einzigen Stelle gespeichert und wird von den Programmen
90 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
91 shared Libraries, die Standard-C-Library und die
92 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
93 Ferner enthält es den Support für die verschiedenen Sprachgregionen
94 (locale) und die Zeitzonen-Datenbank.
97 Contient les bibliothèques standards utilisées par de nombreux
98 programmes du système. Afin d'économiser l'espace disque et mémoire,
99 et de faciliter les mises à jour, le code commun au système est mis à
100 un endroit et partagé entre les programmes. Ce paquetage contient les
101 bibliothèques partagées les plus importantes, la bibliothèque standard
102 du C et la bibliothèque mathématique standard. Sans celles-ci, un
103 système Linux ne peut fonctionner. Il contient aussi la gestion des
104 langues nationales (locales) et les bases de données des zones
108 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
109 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
110 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
111 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
112 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
113 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
114 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
115 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
116 jêzyków (locale) oraz definicje stref czasowych.
119 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
120 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
121 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
122 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
123 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
124 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
125 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
126 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
127 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
130 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
131 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
132 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
133 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
134 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
135 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
136 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
139 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
140 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
141 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
142 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
143 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
144 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
145 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
146 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
147 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
150 Summary: Additional libraries required to compile
151 Summary(de): Weitere Libraries zum Kompilieren
152 Summary(fr): Librairies supplémentaires nécessaires à la compilation
153 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
154 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
155 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
156 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
157 Group: Development/Libraries
158 Requires: %{name} = %{version}
161 To develop programs which use the standard C libraries (which nearly
162 all programs do), the system needs to have these standard header files
163 and object files available for creating the executables.
165 %description devel -l de
166 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
167 verwenden (also fast alle), benötigt das System diese Standard-Header-
168 und Objektdateien zum Erstellen der ausführbaren Programme.
170 %description devel -l fr
171 Pour développer des programmes utilisant les bibliothèques standard du
172 C (ce que presque tous les programmes font), le système doit posséder
173 ces fichiers en-têtes et objets standards pour créer les exécutables.
175 %description devel -l pl
176 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
177 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
178 nag³ówkowe oraz pliki objektowe, niezbêdne do kompilacji programów
179 wykonywalnych i innych bibliotek.
181 %description devel -l ru
182 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
183 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
184 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
187 %description devel -l tr
188 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
189 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
192 %description devel -l uk
193 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
194 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
195 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
199 %package kernel-headers
200 Summary: Kernel header files the glibc has been built with
201 Summary(pl): Pliki nag³ówkowe j±dra, z którymi zosta³a zbudowana ta wersja glibc
202 Group: Development/Libraries
203 Obsoletes: kernel-headers
204 Provides: kernel-headers = %{_kernel_ver_str}
206 %description kernel-headers
207 Kernel header files the glibc has been built with.
209 %description kernel-headers -l pl
210 Pliki nag³ówkowe j±dra, z którymi zosta³a zbudowana ta wersja glibc.
213 Summary: Name Service Caching Daemon
214 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
215 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
216 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
217 Group: Networking/Daemons
218 PreReq: /sbin/chkconfig
219 PreReq: rc-scripts >= 0.2.0
220 Requires: %{name} = %{version}
221 Requires(post): fileutils
224 nscd caches name service lookups; it can dramatically improve
225 performance with NIS+, and may help with DNS as well. You cannot use
226 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
227 nscd happens to hit these bugs particularly hard.
229 %description -n nscd -l pl
230 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
231 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
232 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
235 %description -n nscd -l ru
236 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
237 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
240 %description -n nscd -l uk
241 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
242 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
244 %package -n localedb-src
245 Summary: locale database source code
246 Summary(pl): Kod ¼ród³owy bazy locale
248 Requires: %{name} = %{version}
250 %description -n localedb-src
251 This add-on package contains the data needed to build the locale data
252 files to use the internationalization features of the GNU libc. glibc
253 package contains standard set of locale binary database so you need
254 this package only when you want to build some non-standard locale
257 %description -n localedb-src -l pl
258 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
259 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
260 libc. glibc zawiera standardowy zestaw binarnych baz lokalizacyjnych,
261 w zwi±zku z czym ten pakiet jest potrzebny tylko w sytuacji budowania
262 jakiej¶ niestandardowej bazy.
265 Summary: Convert encoding of given files from one encoding to another
266 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
267 Group: Applications/Text
268 Requires: %{name} = %{version}
270 %description -n iconv
271 Convert encoding of given files from one encoding to another. You need
272 this package if you want to convert some documet from one encoding to
273 another or if you have installed some programs which use Generic
274 Character Set Conversion Interface.
276 %description -n iconv -l pl
277 Program do konwersji plików tekstowych z jednego kodowania do innego.
278 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
279 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
280 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
281 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
282 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
285 Summary: Static libraries
286 Summary(pl): Biblioteki statyczne
287 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
288 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
289 Group: Development/Libraries
290 Requires: %{name}-devel = %{version}
293 GNU libc static libraries.
295 %description static -l pl
296 Biblioteki statyczne GNU libc.
298 %description static -l ru
299 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
300 ×ÈÏÄÑÔ × glibc-devel.
302 %description static -l uk
303 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
307 Summary: glibc with profiling support
308 Summary(de): glibc mit Profil-Unterstützung
309 Summary(fr): glibc avec support pour profiling
310 Summary(pl): glibc ze wsparciem dla profilowania
311 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
312 Summary(tr): Ölçüm desteði olan glibc
313 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
314 Group: Development/Libraries/Libc
315 Obsoletes: libc-profile
316 Requires: %{name}-devel = %{version}
319 When programs are being profiled used gprof, they must use these
320 libraries instead of the standard C libraries for gprof to be able to
321 profile them correctly.
323 %description profile -l de
324 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
325 Libraries anstelle der üblichen C-Libraries verwendet werden.
327 %description profile -l pl
328 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
329 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
332 %description profile -l uk
333 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
334 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
335 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
336 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
339 %description profile -l tr
340 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
341 kitaplýðý kullanmak zorundadýrlar.
343 %description profile -l ru
344 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
345 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
346 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
347 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
351 Summary: glibc PIC archive
352 Summary(pl): archiwum PIC glibc
353 Group: Development/Libraries/Libc
354 Requires: %{name}-devel = %{version}
357 GNU C Library PIC archive contains an archive library (ar file)
358 composed of individual shared objects. This is used for creating a
359 library which is a smaller subset of the standard libc shared library.
361 %description pic -l pl
362 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
363 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
364 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
365 biblioteki wspó³dzielonej libc.
367 %package -n nss_compat
368 Summary: Old style NYS NSS glibc module
369 Summary(pl): Stary modu³ NYS NSS glibc
371 Requires: %{name} = %{version}
373 %description -n nss_compat
374 Old style NYS NSS glibc module.
376 %description -n nss_compat -l pl
377 Stary modu³ NYS NSS glibc.
380 Summary: BIND NSS glibc module
381 Summary(pl): Modu³ BIND NSS glibc
383 Requires: %{name} = %{version}
385 %description -n nss_dns
386 BIND NSS glibc module.
388 %description -n nss_dns -l pl
389 Modu³ BIND NSS glibc.
391 %package -n nss_files
392 Summary: Traditional files databases NSS glibc module
393 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
395 Requires: %{name} = %{version}
397 %description -n nss_files
398 Traditional files databases NSS glibc module.
400 %description -n nss_files -l pl
401 Modu³ tradycyjnych plikowych baz danych NSS glibc.
403 %package -n nss_hesiod
404 Summary: Hesiod NSS glibc module
405 Summary(pl): Modu³ hesiod NSS glibc
407 Requires: %{name} = %{version}
409 %description -n nss_hesiod
410 glibc NSS (Name Service Switch) module for databases access.
412 %description -n nss_hesiod -l pl
413 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
416 Summary: NIS(YP) NSS glibc module
417 Summary(pl): Modu³ NIS(YP) NSS glibc
419 Requires: %{name} = %{version}
421 %description -n nss_nis
422 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
424 %description -n nss_nis -l pl
425 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
427 %package -n nss_nisplus
428 Summary: NIS+ NSS module
429 Summary(pl): Modu³ NIS+ NSS
431 Requires: %{name} = %{version}
433 %description -n nss_nisplus
434 glibc NSS (Name Service Switch) module for NIS+ databases accesa.
436 %description -n nss_nisplus -l pl
437 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
443 Requires: %{name} = %{version}
446 %description memusage
449 %description memusage -l pl
474 mv -f localedata/locales/{lug_UG,lg_UG}
479 # avoid stripping ld.so by -s in rpmldflags
480 LDFLAGS=" " ; export LDFLAGS
482 --enable-add-ons=linuxthreads \
483 --enable-kernel="%{?kernel:%{kernel}}%{!?kernel:%{min_kernel}}" \
486 --with-headers=%{_kernelsrcdir}/include
487 # problem compiling with --enable-bounded (must be reported to libc-alpha)
489 %{__make} %{parallelmkflags}
492 rm -rf $RPM_BUILD_ROOT
493 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
497 env LANGUAGE=C LC_ALL=C \
500 install_root=$RPM_BUILD_ROOT \
501 infodir=%{_infodir} \
504 env LANGUAGE=C LC_ALL=C \
505 %{__make} localedata/install-locales \
507 install_root=$RPM_BUILD_ROOT
509 PICFILES="libc_pic.a libc.map
510 math/libm_pic.a libm.map
511 resolv/libresolv_pic.a"
513 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
514 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
515 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
517 install elf/postshell $RPM_BUILD_ROOT/sbin
519 mv -f $RPM_BUILD_ROOT/lib/libmemusage.so $RPM_BUILD_ROOT%{_libdir}
520 mv -f $RPM_BUILD_ROOT/lib/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
522 %{__make} -C ../linuxthreads/man
523 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
525 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
527 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
528 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
529 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
530 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
532 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
534 # make symlinks across top-level directories absolute
535 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
536 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
537 ln -sf /lib/`cd $RPM_BUILD_ROOT/lib ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
540 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
541 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
542 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
543 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
544 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
546 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
547 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
548 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
549 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
550 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
552 :> $RPM_BUILD_ROOT/var/log/nscd
554 rm -rf ../documentation
555 install -d ../documentation
557 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
558 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
559 cp -f ../linuxthreads/README ../documentation/README.threads
560 cp -f ../crypt/README.ufc-crypt ../documentation/
562 cp -f ../ChangeLog* ../documentation
564 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
566 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
567 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/lib/ld-%{version}.so}
569 # Collect locale files and mark them with %%lang()
571 echo '%defattr(644,root,root,755)' > ../glibc.lang
572 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
574 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
576 # list of long %%lang values we do support
577 for j in de_AT de_BE de_CH de_LU ja_JP.SJIS ko_KR.utf8 pt_BR \
578 zh_CN zh_CN.gbk zh_HK zh_TW ; do
579 if [ $j = "$lang" ]; then
583 if [ -n "$twochar" ]; then
584 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
585 lang=`echo $lang | sed "s,\..*,,"`
587 lang=`echo $lang | sed "s,_.*,,"`
590 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
591 echo "%lang($lang) $dir" >> ../glibc.lang
594 for i in af ar az be bg br bs cy de_AT el en eo es_ES et eu fa fi ga gr he hi \
595 hr hu id is ja_JP.SJIS ka lg lt lv mk ms nn pt ro ru sl sq sr \
596 sr@cyrillic ta tg th uk uz vi wa zh_CN ; do
597 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
598 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
599 lang=`echo $i | sed -e 's/_.*//'`
600 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
603 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
606 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
607 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
608 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
609 # we don't support kernel without ptys support
610 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
612 # copy actual kernel headers for glibc-kernel-headers
613 %{__mkdir} -p $RPM_BUILD_ROOT%{_includedir}
614 %{__cp} -Hr %{_kernelsrcdir}/include/{asm,linux} $RPM_BUILD_ROOT%{_includedir}
617 rm -rf $RPM_BUILD_ROOT
619 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
620 # when %%postun is run
622 %post -p /sbin/postshell
626 %postun -p /sbin/postshell
630 %post memusage -p /sbin/ldconfig
631 %postun memusage -p /sbin/ldconfig
633 %post -n iconv -p %{_sbindir}/iconvconfig
636 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
637 echo "Please install glibc-kernel-headers or, if you are a brave man,"
638 echo "make appropriate links in /usr/include pointing to an already"
639 echo "installed previously chosen kernel-headers package or other"
640 echo "kernel headers you have."
643 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
646 # useful if these are symlinks
647 if [ -h %{_includedir}/asm ]; then rm -f %{_includedir}/asm; fi
648 if [ -h %{_includedir}/linux ]; then rm -f %{_includedir}/linux; fi
651 /sbin/chkconfig --add nscd
652 touch /var/log/nscd && (chmod 000 /var/log/nscd; chown root.root /var/log/nscd; chmod 640 /var/log/nscd)
653 if [ -f /var/lock/subsys/nscd ]; then
654 /etc/rc.d/init.d/nscd restart 1>&2
656 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
660 if [ "$1" = "0" ]; then
661 if [ -f /var/lock/subsys/nscd ]; then
662 /etc/rc.d/init.d/nscd stop 1>&2
664 /sbin/chkconfig --del nscd
667 %files -f %{name}.lang
668 %defattr(644,root,root,755)
669 %doc README NEWS FAQ BUGS
671 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
672 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
673 %config %{_sysconfdir}/rpc
674 %ghost %{_sysconfdir}/ld.so.cache
676 %attr(755,root,root) /sbin/*
677 %attr(755,root,root) %{_bindir}/catchsegv
678 %attr(755,root,root) %{_bindir}/getent
679 %attr(755,root,root) %{_bindir}/glibcbug
680 %attr(755,root,root) %{_bindir}/iconv
681 %attr(755,root,root) %{_bindir}/ldd
682 %ifnarch alpha sparc sparc64 ppc
683 %attr(755,root,root) %{_bindir}/lddlibc4
685 %attr(755,root,root) %{_bindir}/locale
686 %attr(755,root,root) %{_bindir}/rpcgen
687 %attr(755,root,root) %{_bindir}/tzselect
689 %attr(755,root,root) %{_sbindir}/rpcinfo
690 %attr(755,root,root) %{_sbindir}/zdump
691 %attr(755,root,root) %{_sbindir}/zic
693 %attr(755,root,root) /lib/ld-*
694 %attr(755,root,root) /lib/libanl*
695 %attr(755,root,root) /lib/libdl*
696 %attr(755,root,root) /lib/libnsl*
697 %attr(755,root,root) /lib/lib[BScmprtu]*
699 %dir %{_datadir}/locale
700 %{_datadir}/locale/locale.alias
703 %dir %{_libdir}/locale
704 %{_libdir}/locale/locale-archive
706 %{_mandir}/man1/[^lsg]*
707 %{_mandir}/man1/getent.1*
708 %{_mandir}/man1/locale.1*
709 %{_mandir}/man1/ldd.1*
710 %{_mandir}/man5/???[^d]*
712 %{_mandir}/man8/[^n]*
713 %lang(cs) %{_mandir}/cs/man[578]/*
714 %lang(de) %{_mandir}/de/man[578]/*
715 %lang(es) %{_mandir}/es/man[578]/*
716 %lang(fi) %{_mandir}/fi/man1/ldd.1*
717 %lang(fr) %{_mandir}/fr/man1/ldd.1*
718 %lang(fr) %{_mandir}/fr/man[578]/*
719 %lang(hu) %{_mandir}/hu/man1/ldd.1*
720 %lang(hu) %{_mandir}/hu/man[578]/*
721 %lang(it) %{_mandir}/it/man[578]/*
722 %lang(ja) %{_mandir}/ja/man1/[^lsg]*
723 %lang(ja) %{_mandir}/ja/man1/ldd.1*
724 %lang(ja) %{_mandir}/ja/man5/???[^d]*
725 %lang(ja) %{_mandir}/ja/man7/*
726 %lang(ja) %{_mandir}/ja/man8/[^n]*
727 %lang(ko) %{_mandir}/ko/man[578]/*
728 # %lang(nl) %{_mandir}/nl/man[578]/*
729 %lang(pl) %{_mandir}/pl/man1/ldd.1*
730 %lang(pl) %{_mandir}/pl/man[578]/*
731 %lang(pt) %{_mandir}/pt/man5/???[^d]*
732 %lang(pt) %{_mandir}/pt/man7/*
733 %lang(pt) %{_mandir}/pt/man8/[^n]*
734 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[^d]*
735 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
736 %lang(pt_BR) %{_mandir}/pt_BR/man8/[^n]*
737 %lang(ru) %{_mandir}/ru/man[578]/*
740 %defattr(644,root,root,755)
741 %attr(755,root,root) /lib/libnss_dns*.so*
744 %defattr(644,root,root,755)
745 %attr(755,root,root) /lib/libnss_files*.so*
748 %defattr(644,root,root,755)
749 %attr(755,root,root) /lib/libnss_compat*.so*
752 %defattr(644,root,root,755)
753 %attr(755,root,root) /lib/libnss_hesiod*.so*
756 %defattr(644,root,root,755)
757 %attr(755,root,root) /lib/libnss_nis.so.*
758 %attr(755,root,root) /lib/libnss_nis-*.so
760 %files -n nss_nisplus
761 %defattr(644,root,root,755)
762 %attr(755,root,root) /lib/libnss_nisplus*.so*
765 %defattr(644,root,root,755)
766 %attr(755,root,root) %{_bindir}/memusage*
767 %attr(755,root,root) %{_libdir}/libmemusage*
770 %defattr(644,root,root,755)
771 %doc documentation/* NOTES PROJECTS
772 %attr(755,root,root) %{_bindir}/gencat
773 %attr(755,root,root) %{_bindir}/getconf
774 %attr(755,root,root) %{_bindir}/*prof*
775 %attr(755,root,root) %{_bindir}/*trace
782 %{_includedir}/netash
783 %{_includedir}/netatalk
784 %{_includedir}/netax25
785 %{_includedir}/neteconet
786 %{_includedir}/netinet
787 %{_includedir}/netipx
788 %{_includedir}/netpacket
789 %{_includedir}/netrom
790 %{_includedir}/netrose
792 %{_includedir}/protocols
794 %{_includedir}/rpcsvc
798 %{_infodir}/libc.info*
800 %attr(755,root,root) %{_libdir}/lib[^m]*.so
801 %attr(755,root,root) %{_libdir}/libm.so
802 %attr(755,root,root) %{_libdir}/*crt*.o
803 %{_libdir}/libbsd-compat.a
805 %{_libdir}/libc_nonshared.a
808 %{_libdir}/libpthread_nonshared.a
809 #%%{_libdir}/librpcsvc.a
811 %{_mandir}/man1/getconf*
812 %{_mandir}/man1/sprof*
814 %lang(cs) %{_mandir}/cs/man3/*
815 %lang(de) %{_mandir}/de/man3/*
816 %lang(es) %{_mandir}/es/man3/*
817 %lang(fr) %{_mandir}/fr/man3/*
818 %lang(hu) %{_mandir}/hu/man3/*
819 # %lang(it) %{_mandir}/it/man3/*
820 %lang(ja) %{_mandir}/ja/man3/*
821 %lang(ko) %{_mandir}/ko/man3/*
822 %lang(nl) %{_mandir}/nl/man3/*
823 %lang(pl) %{_mandir}/pl/man3/*
824 %lang(pt) %{_mandir}/pt/man3/*
825 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
826 %lang(ru) %{_mandir}/ru/man3/*
828 %files kernel-headers
829 %defattr(644,root,root,755)
834 %defattr(644,root,root,755)
835 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
836 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
837 %attr(754,root,root) /etc/rc.d/init.d/nscd
838 %attr(755,root,root) %{_sbindir}/nscd*
839 %attr(640,root,root) /etc/logrotate.d/nscd
840 %attr(640,root,root) %ghost /var/log/nscd
841 %{_mandir}/man5/nscd.conf*
842 %{_mandir}/man8/nscd*
843 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
844 %lang(ja) %{_mandir}/ja/man8/nscd*
845 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
846 %lang(pt) %{_mandir}/pt/man8/nscd*
847 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
848 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
850 %files -n localedb-src
851 %defattr(644,root,root,755)
852 %attr(755,root,root) %{_bindir}/localedef
854 %{_mandir}/man1/localedef*
857 %defattr(644,root,root,755)
858 %attr(755,root,root) %{_sbindir}/iconvconfig
859 %dir %{_libdir}/gconv
860 %{_libdir}/gconv/gconv-modules
861 %attr(755,root,root) %{_libdir}/gconv/*.so
864 %defattr(644,root,root,755)
866 %{_libdir}/libBrokenLocale.a
868 %{_libdir}/libcrypt.a
871 %{_libdir}/libmcheck.a
873 %{_libdir}/libpthread.a
874 %{_libdir}/libresolv.a
879 %defattr(644,root,root,755)
883 %defattr(644,root,root,755)
884 %{_libdir}/lib*_pic.a