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: 5@%{_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 URL: http://www.gnu.org/software/libc/
49 BuildRequires: binutils >= 2.13.90.0.2
50 BuildRequires: gcc >= 3.2
51 BuildRequires: gd-devel >= 2.0.1
52 BuildRequires: gettext-devel >= 0.10.36
53 BuildRequires: libpng-devel
55 BuildRequires: rpm-build >= 4.0.2-46
56 BuildRequires: texinfo
57 %{!?_without_dist_kernel:BuildRequires: kernel-headers}
60 Provides: /sbin/ldconfig
61 Obsoletes: %{name}-common
62 Obsoletes: %{name}-debug
66 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
67 Conflicts: kernel < %{min_kernel}
68 Conflicts: man-pages < 1.43
69 Conflicts: ld.so < 1.9.9-10
71 %define debugcflags -O1 -g
72 %define configuredir %{u2p:%{_builddir}}/%{name}-%{version}/
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
204 %description kernel-headers
205 Kernel header files the glibc has been built with.
207 %description kernel-headers -l pl
208 Pliki nag³ówkowe j±dra, z którymi zosta³a zbudowana ta wersja glibc.
211 Summary: Name Service Caching Daemon
212 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
213 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
214 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
215 Group: Networking/Daemons
216 PreReq: /sbin/chkconfig
217 PreReq: rc-scripts >= 0.2.0
218 Requires: %{name} = %{version}
219 Requires(post): fileutils
222 nscd caches name service lookups; it can dramatically improve
223 performance with NIS+, and may help with DNS as well. You cannot use
224 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
225 nscd happens to hit these bugs particularly hard.
227 %description -n nscd -l pl
228 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
229 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
230 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
233 %description -n nscd -l ru
234 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
235 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
238 %description -n nscd -l uk
239 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
240 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
242 %package -n localedb-src
243 Summary: locale database source code
244 Summary(pl): Kod ¼ród³owy bazy locale
246 Requires: %{name} = %{version}
248 %description -n localedb-src
249 This add-on package contains the data needed to build the locale data
250 files to use the internationalization features of the GNU libc. glibc
251 package contains standard set of locale binary database so you need
252 this package only when you want to build some non-standard locale
255 %description -n localedb-src -l pl
256 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
257 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
258 libc. glibc zawiera standardowy zestaw binarnych baz lokalizacyjnych,
259 w zwi±zku z czym ten pakiet jest potrzebny tylko w sytuacji budowania
260 jakiej¶ niestandardowej bazy.
263 Summary: Convert encoding of given files from one encoding to another
264 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
265 Group: Applications/Text
266 Requires: %{name} = %{version}
268 %description -n iconv
269 Convert encoding of given files from one encoding to another. You need
270 this package if you want to convert some documet from one encoding to
271 another or if you have installed some programs which use Generic
272 Character Set Conversion Interface.
274 %description -n iconv -l pl
275 Program do konwersji plików tekstowych z jednego kodowania do innego.
276 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
277 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
278 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
279 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
280 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
283 Summary: Static libraries
284 Summary(pl): Biblioteki statyczne
285 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
286 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
287 Group: Development/Libraries
288 Requires: %{name}-devel = %{version}
291 GNU libc static libraries.
293 %description static -l pl
294 Biblioteki statyczne GNU libc.
296 %description static -l ru
297 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
298 ×ÈÏÄÑÔ × glibc-devel.
300 %description static -l uk
301 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
305 Summary: glibc with profiling support
306 Summary(de): glibc mit Profil-Unterstützung
307 Summary(fr): glibc avec support pour profiling
308 Summary(pl): glibc ze wsparciem dla profilowania
309 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
310 Summary(tr): Ölçüm desteði olan glibc
311 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
312 Group: Development/Libraries/Libc
313 Obsoletes: libc-profile
314 Requires: %{name}-devel = %{version}
317 When programs are being profiled used gprof, they must use these
318 libraries instead of the standard C libraries for gprof to be able to
319 profile them correctly.
321 %description profile -l de
322 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
323 Libraries anstelle der üblichen C-Libraries verwendet werden.
325 %description profile -l pl
326 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
327 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
330 %description profile -l uk
331 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
332 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
333 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
334 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
337 %description profile -l tr
338 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
339 kitaplýðý kullanmak zorundadýrlar.
341 %description profile -l ru
342 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
343 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
344 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
345 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
349 Summary: glibc PIC archive
350 Summary(pl): archiwum PIC glibc
351 Group: Development/Libraries/Libc
352 Requires: %{name}-devel = %{version}
355 GNU C Library PIC archive contains an archive library (ar file)
356 composed of individual shared objects. This is used for creating a
357 library which is a smaller subset of the standard libc shared library.
359 %description pic -l pl
360 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
361 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
362 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
363 biblioteki wspó³dzielonej libc.
365 %package -n nss_compat
366 Summary: Old style NYS NSS glibc module
367 Summary(pl): Stary modu³ NYS NSS glibc
369 Requires: %{name} = %{version}
371 %description -n nss_compat
372 Old style NYS NSS glibc module.
374 %description -n nss_compat -l pl
375 Stary modu³ NYS NSS glibc.
378 Summary: BIND NSS glibc module
379 Summary(pl): Modu³ BIND NSS glibc
381 Requires: %{name} = %{version}
383 %description -n nss_dns
384 BIND NSS glibc module.
386 %description -n nss_dns -l pl
387 Modu³ BIND NSS glibc.
389 %package -n nss_files
390 Summary: Traditional files databases NSS glibc module
391 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
393 Requires: %{name} = %{version}
395 %description -n nss_files
396 Traditional files databases NSS glibc module.
398 %description -n nss_files -l pl
399 Modu³ tradycyjnych plikowych baz danych NSS glibc.
401 %package -n nss_hesiod
402 Summary: Hesiod NSS glibc module
403 Summary(pl): Modu³ hesiod NSS glibc
405 Requires: %{name} = %{version}
407 %description -n nss_hesiod
408 glibc NSS (Name Service Switch) module for databases access.
410 %description -n nss_hesiod -l pl
411 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
414 Summary: NIS(YP) NSS glibc module
415 Summary(pl): Modu³ NIS(YP) NSS glibc
417 Requires: %{name} = %{version}
419 %description -n nss_nis
420 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
422 %description -n nss_nis -l pl
423 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
425 %package -n nss_nisplus
426 Summary: NIS+ NSS module
427 Summary(pl): Modu³ NIS+ NSS
429 Requires: %{name} = %{version}
431 %description -n nss_nisplus
432 glibc NSS (Name Service Switch) module for NIS+ databases accesa.
434 %description -n nss_nisplus -l pl
435 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
441 Requires: %{name} = %{version}
444 %description memusage
447 %description memusage -l pl
473 # avoid stripping ld.so by -s in rpmldflags
474 LDFLAGS=" " ; export LDFLAGS
476 --enable-add-ons=linuxthreads \
477 --enable-kernel="%{?kernel:%{kernel}}%{!?kernel:%{min_kernel}}" \
480 --with-headers=%{_kernelsrcdir}/include
481 # problem compiling with --enable-bounded (must be reported to libc-alpha)
483 %{__make} %{parallelmkflags}
486 rm -rf $RPM_BUILD_ROOT
487 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
491 env LANGUAGE=C LC_ALL=C \
494 install_root=$RPM_BUILD_ROOT \
495 infodir=%{_infodir} \
498 env LANGUAGE=C LC_ALL=C \
499 %{__make} localedata/install-locales \
501 install_root=$RPM_BUILD_ROOT
503 PICFILES="libc_pic.a libc.map
504 math/libm_pic.a libm.map
505 resolv/libresolv_pic.a"
507 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
508 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
509 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
511 install elf/postshell $RPM_BUILD_ROOT/sbin
513 mv -f $RPM_BUILD_ROOT/lib/libmemusage.so $RPM_BUILD_ROOT%{_libdir}
514 mv -f $RPM_BUILD_ROOT/lib/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
516 %{__make} -C ../linuxthreads/man
517 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
519 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
521 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
522 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
523 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
524 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
526 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
528 # make symlinks across top-level directories absolute
529 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
530 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
531 ln -sf /lib/`cd $RPM_BUILD_ROOT/lib ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
534 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
535 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
536 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
537 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
538 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
540 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
541 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
542 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
543 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
544 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
546 :> $RPM_BUILD_ROOT/var/log/nscd
548 rm -rf ../documentation
549 install -d ../documentation
551 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
552 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
553 cp -f ../linuxthreads/README ../documentation/README.threads
554 cp -f ../crypt/README.ufc-crypt ../documentation/
556 cp -f ../ChangeLog* ../documentation
558 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
560 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
561 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/lib/ld-%{version}.so}
563 # Collect locale files and mark them with %%lang()
565 echo '%defattr(644,root,root,755)' > ../glibc.lang
566 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
568 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
570 # list of long %%lang values we do support
571 for j in de_AT de_BE de_CH de_LU ja_JP.SJIS ko_KR.utf8 pt_BR \
572 zh_CN zh_CN.gbk zh_HK zh_TW ; do
573 if [ $j = "$lang" ]; then
577 if [ -n "$twochar" ]; then
578 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
579 lang=`echo $lang | sed "s,\..*,,"`
581 lang=`echo $lang | sed "s,_.*,,"`
584 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
585 echo "%lang($lang) $dir" >> ../glibc.lang
588 for i in af az be bg de_AT el en eo es_ES et eu fi gr he hr hu id is ja_JP.SJIS \
589 lt lv ms nn pt ro ru sl sr ta uk wa zh_CN ; do
590 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
591 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
592 lang=`echo $i | sed -e 's/_.*//'`
593 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
596 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
599 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
600 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
601 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
602 # we don't support kernel without ptys support
603 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
605 # copy actual kernel headers for glibc-kernel-headers
606 %{__mkdir} -p $RPM_BUILD_ROOT%{_includedir}
607 %{__cp} -Hr %{_kernelsrcdir}/include/{asm,linux} $RPM_BUILD_ROOT%{_includedir}
610 rm -rf $RPM_BUILD_ROOT
612 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
613 # when %%postun is run
615 %post -p /sbin/postshell
619 %postun -p /sbin/postshell
623 %post memusage -p /sbin/ldconfig
624 %postun memusage -p /sbin/ldconfig
626 %post -n iconv -p %{_sbindir}/iconvconfig
629 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
630 echo "Please install glibc-kernel-headers or, if you are a brave man,"
631 echo "make appropriate links in /usr/include pointing to an already"
632 echo "installed previously chosen kernel-headers package or other"
633 echo "kernel headers you have."
636 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
639 # useful if these are symlinks
640 if [ -h %{_includedir}/asm ]; then rm -f %{_includedir}/asm; fi
641 if [ -h %{_includedir}/linux ]; then rm -f %{_includedir}/linux; fi
644 /sbin/chkconfig --add nscd
645 touch /var/log/nscd && (chmod 000 /var/log/nscd; chown root.root /var/log/nscd; chmod 640 /var/log/nscd)
646 if [ -f /var/lock/subsys/nscd ]; then
647 /etc/rc.d/init.d/nscd restart 1>&2
649 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
653 if [ "$1" = "0" ]; then
654 if [ -f /var/lock/subsys/nscd ]; then
655 /etc/rc.d/init.d/nscd stop 1>&2
657 /sbin/chkconfig --del nscd
660 %files -f %{name}.lang
661 %defattr(644,root,root,755)
662 %doc README NEWS FAQ BUGS
664 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
665 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
666 %config %{_sysconfdir}/rpc
667 %ghost %{_sysconfdir}/ld.so.cache
669 %attr(755,root,root) /sbin/*
670 %attr(755,root,root) %{_bindir}/catchsegv
671 %attr(755,root,root) %{_bindir}/getent
672 %attr(755,root,root) %{_bindir}/glibcbug
673 %attr(755,root,root) %{_bindir}/iconv
674 %attr(755,root,root) %{_bindir}/ldd
675 %ifnarch alpha sparc sparc64 ppc
676 %attr(755,root,root) %{_bindir}/lddlibc4
678 %attr(755,root,root) %{_bindir}/locale
679 %attr(755,root,root) %{_bindir}/rpcgen
680 %attr(755,root,root) %{_bindir}/tzselect
682 %attr(755,root,root) %{_sbindir}/rpcinfo
683 %attr(755,root,root) %{_sbindir}/zdump
684 %attr(755,root,root) %{_sbindir}/zic
686 %attr(755,root,root) /lib/ld-*
687 %attr(755,root,root) /lib/libanl*
688 %attr(755,root,root) /lib/libdl*
689 %attr(755,root,root) /lib/libnsl*
690 %attr(755,root,root) /lib/lib[BScmprtu]*
692 %dir %{_datadir}/locale
693 %{_datadir}/locale/locale.alias
696 %dir %{_libdir}/locale
697 %{_libdir}/locale/locale-archive
699 %{_mandir}/man1/[^lsg]*
700 %{_mandir}/man1/getent.1*
701 %{_mandir}/man1/locale.1*
702 %{_mandir}/man1/ldd.1*
703 %{_mandir}/man5/???[^d]*
705 %{_mandir}/man8/[^n]*
706 %lang(cs) %{_mandir}/cs/man[578]/*
707 %lang(de) %{_mandir}/de/man[578]/*
708 %lang(es) %{_mandir}/es/man[578]/*
709 %lang(fi) %{_mandir}/fi/man1/ldd.1*
710 %lang(fr) %{_mandir}/fr/man1/ldd.1*
711 %lang(fr) %{_mandir}/fr/man[578]/*
712 %lang(hu) %{_mandir}/hu/man1/ldd.1*
713 %lang(hu) %{_mandir}/hu/man[578]/*
714 %lang(it) %{_mandir}/it/man[578]/*
715 %lang(ja) %{_mandir}/ja/man1/[^lsg]*
716 %lang(ja) %{_mandir}/ja/man1/ldd.1*
717 %lang(ja) %{_mandir}/ja/man5/???[^d]*
718 %lang(ja) %{_mandir}/ja/man7/*
719 %lang(ja) %{_mandir}/ja/man8/[^n]*
720 %lang(ko) %{_mandir}/ko/man[578]/*
721 # %lang(nl) %{_mandir}/nl/man[578]/*
722 %lang(pl) %{_mandir}/pl/man1/ldd.1*
723 %lang(pl) %{_mandir}/pl/man[578]/*
724 %lang(pt) %{_mandir}/pt/man5/???[^d]*
725 %lang(pt) %{_mandir}/pt/man7/*
726 %lang(pt) %{_mandir}/pt/man8/[^n]*
727 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[^d]*
728 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
729 %lang(pt_BR) %{_mandir}/pt_BR/man8/[^n]*
730 %lang(ru) %{_mandir}/ru/man[578]/*
733 %defattr(644,root,root,755)
734 %attr(755,root,root) /lib/libnss_dns*.so*
737 %defattr(644,root,root,755)
738 %attr(755,root,root) /lib/libnss_files*.so*
741 %defattr(644,root,root,755)
742 %attr(755,root,root) /lib/libnss_compat*.so*
745 %defattr(644,root,root,755)
746 %attr(755,root,root) /lib/libnss_hesiod*.so*
749 %defattr(644,root,root,755)
750 %attr(755,root,root) /lib/libnss_nis.so.*
751 %attr(755,root,root) /lib/libnss_nis-*.so
753 %files -n nss_nisplus
754 %defattr(644,root,root,755)
755 %attr(755,root,root) /lib/libnss_nisplus*.so*
758 %defattr(644,root,root,755)
759 %attr(755,root,root) %{_bindir}/memusage*
760 %attr(755,root,root) %{_libdir}/libmemusage*
763 %defattr(644,root,root,755)
764 %doc documentation/* NOTES PROJECTS
765 %attr(755,root,root) %{_bindir}/gencat
766 %attr(755,root,root) %{_bindir}/getconf
767 %attr(755,root,root) %{_bindir}/*prof*
768 %attr(755,root,root) %{_bindir}/*trace
775 %{_includedir}/netash
776 %{_includedir}/netatalk
777 %{_includedir}/netax25
778 %{_includedir}/neteconet
779 %{_includedir}/netinet
780 %{_includedir}/netipx
781 %{_includedir}/netpacket
782 %{_includedir}/netrom
783 %{_includedir}/netrose
785 %{_includedir}/protocols
787 %{_includedir}/rpcsvc
791 %{_infodir}/libc.info*
793 %attr(755,root,root) %{_libdir}/lib[^m]*.so
794 %attr(755,root,root) %{_libdir}/libm.so
795 %attr(755,root,root) %{_libdir}/*crt*.o
796 %{_libdir}/libbsd-compat.a
798 %{_libdir}/libc_nonshared.a
801 %{_libdir}/librpcsvc.a
803 %{_mandir}/man1/getconf*
804 %{_mandir}/man1/sprof*
806 %lang(cs) %{_mandir}/cs/man3/*
807 %lang(de) %{_mandir}/de/man3/*
808 %lang(es) %{_mandir}/es/man3/*
809 %lang(fr) %{_mandir}/fr/man3/*
810 %lang(hu) %{_mandir}/hu/man3/*
811 # %lang(it) %{_mandir}/it/man3/*
812 %lang(ja) %{_mandir}/ja/man3/*
813 %lang(ko) %{_mandir}/ko/man3/*
814 %lang(nl) %{_mandir}/nl/man3/*
815 %lang(pl) %{_mandir}/pl/man3/*
816 %lang(pt) %{_mandir}/pt/man3/*
817 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
818 %lang(ru) %{_mandir}/ru/man3/*
820 %files kernel-headers
821 %defattr(644,root,root,755)
826 %defattr(644,root,root,755)
827 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
828 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
829 %attr(754,root,root) /etc/rc.d/init.d/nscd
830 %attr(755,root,root) %{_sbindir}/nscd*
831 %attr(640,root,root) /etc/logrotate.d/nscd
832 %attr(640,root,root) %ghost /var/log/nscd
833 %{_mandir}/man5/nscd.conf*
834 %{_mandir}/man8/nscd*
835 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
836 %lang(ja) %{_mandir}/ja/man8/nscd*
837 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
838 %lang(pt) %{_mandir}/pt/man8/nscd*
839 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
840 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
842 %files -n localedb-src
843 %defattr(644,root,root,755)
844 %attr(755,root,root) %{_bindir}/localedef
846 %{_mandir}/man1/localedef*
849 %defattr(644,root,root,755)
850 %attr(755,root,root) %{_sbindir}/iconvconfig
851 %dir %{_libdir}/gconv
852 %{_libdir}/gconv/gconv-modules
853 %attr(755,root,root) %{_libdir}/gconv/*.so
856 %defattr(644,root,root,755)
858 %{_libdir}/libBrokenLocale.a
860 %{_libdir}/libcrypt.a
863 %{_libdir}/libmcheck.a
865 %{_libdir}/libpthread.a
866 %{_libdir}/libresolv.a
871 %defattr(644,root,root,755)
875 %defattr(644,root,root,755)
876 %{_libdir}/lib*_pic.a