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: 1.1@%{_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 Patch2: %{name}-pld.patch
35 Patch3: %{name}-crypt-blowfish.patch
36 Patch4: %{name}-string2-pointer-arith.patch
37 Patch5: %{name}-linuxthreads-lock.patch
38 Patch6: %{name}-pthread_create-manpage.patch
39 Patch9: %{name}-paths.patch
40 Patch10: %{name}-vaargs.patch
41 Patch11: %{name}-getaddrinfo-workaround.patch
42 Patch12: %{name}-postshell.patch
43 Patch13: %{name}-pl.po-update.patch
44 Patch14: %{name}-missing-nls.patch
45 Patch16: %{name}-java-libc-wait.patch
46 Patch17: %{name}-morelocales.patch
47 URL: http://www.gnu.org/software/libc/
48 BuildRequires: binutils >= 2.13.90.0.2
49 BuildRequires: gcc >= 3.2
50 BuildRequires: gd-devel >= 2.0.1
51 BuildRequires: gettext-devel >= 0.10.36
52 %{!?_without_dist_kernel:BuildRequires: kernel-headers}
53 BuildRequires: libpng-devel
55 BuildRequires: rpm-build >= 4.0.2-46
56 BuildRequires: sed >= 4.0.5
57 BuildRequires: texinfo
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: ld.so < 1.9.9-10
69 Conflicts: man-pages < 1.43
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 Provides: kernel-headers = %{_kernel_ver_str}
205 %description kernel-headers
206 Kernel header files the glibc has been built with.
208 %description kernel-headers -l pl
209 Pliki nag³ówkowe j±dra, z którymi zosta³a zbudowana ta wersja glibc.
212 Summary: Name Service Caching Daemon
213 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
214 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
215 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
216 Group: Networking/Daemons
217 PreReq: /sbin/chkconfig
218 PreReq: rc-scripts >= 0.2.0
219 Requires: %{name} = %{version}
220 Requires(post): fileutils
223 nscd caches name service lookups; it can dramatically improve
224 performance with NIS+, and may help with DNS as well. You cannot use
225 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
226 nscd happens to hit these bugs particularly hard.
228 %description -n nscd -l pl
229 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
230 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
231 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
234 %description -n nscd -l ru
235 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
236 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
239 %description -n nscd -l uk
240 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
241 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
243 %package -n localedb-src
244 Summary: locale database source code
245 Summary(pl): Kod ¼ród³owy bazy locale
247 Requires: %{name} = %{version}
249 %description -n localedb-src
250 This add-on package contains the data needed to build the locale data
251 files to use the internationalization features of the GNU libc. glibc
252 package contains standard set of locale binary database so you need
253 this package only when you want to build some non-standard locale
256 %description -n localedb-src -l pl
257 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
258 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
259 libc. glibc zawiera standardowy zestaw binarnych baz lokalizacyjnych,
260 w zwi±zku z czym ten pakiet jest potrzebny tylko w sytuacji budowania
261 jakiej¶ niestandardowej bazy.
264 Summary: Convert encoding of given files from one encoding to another
265 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
266 Group: Applications/Text
267 Requires: %{name} = %{version}
269 %description -n iconv
270 Convert encoding of given files from one encoding to another. You need
271 this package if you want to convert some documet from one encoding to
272 another or if you have installed some programs which use Generic
273 Character Set Conversion Interface.
275 %description -n iconv -l pl
276 Program do konwersji plików tekstowych z jednego kodowania do innego.
277 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
278 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
279 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
280 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
281 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
284 Summary: Static libraries
285 Summary(pl): Biblioteki statyczne
286 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
287 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
288 Group: Development/Libraries
289 Requires: %{name}-devel = %{version}
292 GNU libc static libraries.
294 %description static -l pl
295 Biblioteki statyczne GNU libc.
297 %description static -l ru
298 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
299 ×ÈÏÄÑÔ × glibc-devel.
301 %description static -l uk
302 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
306 Summary: glibc with profiling support
307 Summary(de): glibc mit Profil-Unterstützung
308 Summary(fr): glibc avec support pour profiling
309 Summary(pl): glibc ze wsparciem dla profilowania
310 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
311 Summary(tr): Ölçüm desteði olan glibc
312 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
313 Group: Development/Libraries/Libc
314 Obsoletes: libc-profile
315 Requires: %{name}-devel = %{version}
318 When programs are being profiled used gprof, they must use these
319 libraries instead of the standard C libraries for gprof to be able to
320 profile them correctly.
322 %description profile -l de
323 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
324 Libraries anstelle der üblichen C-Libraries verwendet werden.
326 %description profile -l pl
327 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
328 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
331 %description profile -l uk
332 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
333 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
334 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
335 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
338 %description profile -l tr
339 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
340 kitaplýðý kullanmak zorundadýrlar.
342 %description profile -l ru
343 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
344 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
345 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
346 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
350 Summary: glibc PIC archive
351 Summary(pl): archiwum PIC glibc
352 Group: Development/Libraries/Libc
353 Requires: %{name}-devel = %{version}
356 GNU C Library PIC archive contains an archive library (ar file)
357 composed of individual shared objects. This is used for creating a
358 library which is a smaller subset of the standard libc shared library.
360 %description pic -l pl
361 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
362 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
363 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
364 biblioteki wspó³dzielonej libc.
366 %package -n nss_compat
367 Summary: Old style NYS NSS glibc module
368 Summary(pl): Stary modu³ NYS NSS glibc
370 Requires: %{name} = %{version}
372 %description -n nss_compat
373 Old style NYS NSS glibc module.
375 %description -n nss_compat -l pl
376 Stary modu³ NYS NSS glibc.
379 Summary: BIND NSS glibc module
380 Summary(pl): Modu³ BIND NSS glibc
382 Requires: %{name} = %{version}
384 %description -n nss_dns
385 BIND NSS glibc module.
387 %description -n nss_dns -l pl
388 Modu³ BIND NSS glibc.
390 %package -n nss_files
391 Summary: Traditional files databases NSS glibc module
392 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
394 Requires: %{name} = %{version}
396 %description -n nss_files
397 Traditional files databases NSS glibc module.
399 %description -n nss_files -l pl
400 Modu³ tradycyjnych plikowych baz danych NSS glibc.
402 %package -n nss_hesiod
403 Summary: Hesiod NSS glibc module
404 Summary(pl): Modu³ hesiod NSS glibc
406 Requires: %{name} = %{version}
408 %description -n nss_hesiod
409 glibc NSS (Name Service Switch) module for databases access.
411 %description -n nss_hesiod -l pl
412 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
415 Summary: NIS(YP) NSS glibc module
416 Summary(pl): Modu³ NIS(YP) NSS glibc
418 Requires: %{name} = %{version}
420 %description -n nss_nis
421 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
423 %description -n nss_nis -l pl
424 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
426 %package -n nss_nisplus
427 Summary: NIS+ NSS module
428 Summary(pl): Modu³ NIS+ NSS
430 Requires: %{name} = %{version}
432 %description -n nss_nisplus
433 glibc NSS (Name Service Switch) module for NIS+ databases accesa.
435 %description -n nss_nisplus -l pl
436 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
442 Requires: %{name} = %{version}
445 %description memusage
448 %description memusage -l pl
471 mv -f localedata/locales/{lug_UG,lg_UG}
476 # avoid stripping ld.so by -s in rpmldflags
477 LDFLAGS=" " ; export LDFLAGS
479 --enable-add-ons=linuxthreads \
480 --enable-kernel="%{?kernel:%{kernel}}%{!?kernel:%{min_kernel}}" \
483 --with-headers=%{_kernelsrcdir}/include
484 # problem compiling with --enable-bounded (must be reported to libc-alpha)
486 %{__make} %{parallelmkflags}
489 rm -rf $RPM_BUILD_ROOT
490 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
494 env LANGUAGE=C LC_ALL=C \
497 install_root=$RPM_BUILD_ROOT \
498 infodir=%{_infodir} \
501 env LANGUAGE=C LC_ALL=C \
502 %{__make} localedata/install-locales \
504 install_root=$RPM_BUILD_ROOT
506 PICFILES="libc_pic.a libc.map
507 math/libm_pic.a libm.map
508 resolv/libresolv_pic.a"
510 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
511 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
512 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
514 install elf/postshell $RPM_BUILD_ROOT/sbin
516 mv -f $RPM_BUILD_ROOT/lib/libmemusage.so $RPM_BUILD_ROOT%{_libdir}
517 mv -f $RPM_BUILD_ROOT/lib/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
519 %{__make} -C ../linuxthreads/man
520 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
522 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
524 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
525 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
526 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
527 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
529 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
531 # make symlinks across top-level directories absolute
532 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
533 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
534 ln -sf /lib/`cd $RPM_BUILD_ROOT/lib ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
537 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
538 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
539 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
540 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
541 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
543 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
544 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
545 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
546 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
547 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
549 :> $RPM_BUILD_ROOT/var/log/nscd
551 rm -rf ../documentation
552 install -d ../documentation
554 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
555 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
556 cp -f ../linuxthreads/README ../documentation/README.threads
557 cp -f ../crypt/README.ufc-crypt ../documentation/
559 cp -f ../ChangeLog* ../documentation
561 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
563 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
564 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/lib/ld-%{version}.so}
566 # Collect locale files and mark them with %%lang()
568 echo '%defattr(644,root,root,755)' > ../glibc.lang
569 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
571 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
573 # list of long %%lang values we do support
574 for j in de_AT de_BE de_CH de_LU es_AR ja_JP.SJIS ko_KR.utf8 pt_BR \
575 zh_CN zh_CN.gbk zh_HK zh_TW ; do
576 if [ $j = "$lang" ]; then
580 if [ -n "$twochar" ]; then
581 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
582 lang=`echo $lang | sed "s,\..*,,"`
584 lang=`echo $lang | sed "s,_.*,,"`
587 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
588 echo "%lang($lang) $dir" >> ../glibc.lang
591 for i in af ar az be bg br bs cy de_AT el en eo es_AR et eu fa fi ga gr he hi \
592 hr hu id is ja_JP.SJIS ka lg lt lv mk ms nn pt ro ru sl sq sr \
593 sr@cyrillic ta tg th uk uz vi wa zh_CN ; do
594 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
595 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
596 lang=`echo $i | sed -e 's/_.*//'`
597 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
600 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
603 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
604 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
605 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
606 # we don't support kernel without ptys support
607 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
609 # copy actual kernel headers for glibc-kernel-headers
610 %{__mkdir} -p $RPM_BUILD_ROOT%{_includedir}
611 %{__cp} -Hr %{_kernelsrcdir}/include/{asm,linux} $RPM_BUILD_ROOT%{_includedir}
614 rm -rf $RPM_BUILD_ROOT
616 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
617 # when %%postun is run
619 %post -p /sbin/postshell
623 %postun -p /sbin/postshell
627 %post memusage -p /sbin/ldconfig
628 %postun memusage -p /sbin/ldconfig
630 %post -n iconv -p %{_sbindir}/iconvconfig
633 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
634 echo "Please install glibc-kernel-headers or, if you are a brave man,"
635 echo "make appropriate links in /usr/include pointing to an already"
636 echo "installed previously chosen kernel-headers package or other"
637 echo "kernel headers you have."
640 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
643 # useful if these are symlinks
644 if [ -h %{_includedir}/asm ]; then rm -f %{_includedir}/asm; fi
645 if [ -h %{_includedir}/linux ]; then rm -f %{_includedir}/linux; fi
648 /sbin/chkconfig --add nscd
649 touch /var/log/nscd && (chmod 000 /var/log/nscd; chown root.root /var/log/nscd; chmod 640 /var/log/nscd)
650 if [ -f /var/lock/subsys/nscd ]; then
651 /etc/rc.d/init.d/nscd restart 1>&2
653 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
657 if [ "$1" = "0" ]; then
658 if [ -f /var/lock/subsys/nscd ]; then
659 /etc/rc.d/init.d/nscd stop 1>&2
661 /sbin/chkconfig --del nscd
664 %files -f %{name}.lang
665 %defattr(644,root,root,755)
666 %doc README NEWS FAQ BUGS
668 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
669 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
670 %config %{_sysconfdir}/rpc
671 %ghost %{_sysconfdir}/ld.so.cache
673 %attr(755,root,root) /sbin/*
674 %attr(755,root,root) %{_bindir}/catchsegv
675 %attr(755,root,root) %{_bindir}/getent
676 %attr(755,root,root) %{_bindir}/glibcbug
677 %attr(755,root,root) %{_bindir}/iconv
678 %attr(755,root,root) %{_bindir}/ldd
679 %ifnarch alpha sparc sparc64 ppc
680 %attr(755,root,root) %{_bindir}/lddlibc4
682 %attr(755,root,root) %{_bindir}/locale
683 %attr(755,root,root) %{_bindir}/rpcgen
684 %attr(755,root,root) %{_bindir}/tzselect
686 %attr(755,root,root) %{_sbindir}/rpcinfo
687 %attr(755,root,root) %{_sbindir}/zdump
688 %attr(755,root,root) %{_sbindir}/zic
690 %attr(755,root,root) /lib/ld-*
691 %attr(755,root,root) /lib/libanl*
692 %attr(755,root,root) /lib/libdl*
693 %attr(755,root,root) /lib/libnsl*
694 %attr(755,root,root) /lib/lib[BScmprtu]*
696 %dir %{_datadir}/locale
697 %{_datadir}/locale/locale.alias
700 %dir %{_libdir}/locale
701 %{_libdir}/locale/locale-archive
703 %{_mandir}/man1/[!lsg]*
704 %{_mandir}/man1/getent.1*
705 %{_mandir}/man1/locale.1*
706 %{_mandir}/man1/ldd.1*
707 %{_mandir}/man5/???[!d]*
709 %{_mandir}/man8/[!n]*
710 %lang(cs) %{_mandir}/cs/man[578]/*
711 %lang(de) %{_mandir}/de/man[578]/*
712 %lang(es) %{_mandir}/es/man[578]/*
713 %lang(fi) %{_mandir}/fi/man1/ldd.1*
714 %lang(fr) %{_mandir}/fr/man1/ldd.1*
715 %lang(fr) %{_mandir}/fr/man[578]/*
716 %lang(hu) %{_mandir}/hu/man1/ldd.1*
717 %lang(hu) %{_mandir}/hu/man[578]/*
718 %lang(it) %{_mandir}/it/man[578]/*
719 %lang(ja) %{_mandir}/ja/man1/[!lsg]*
720 %lang(ja) %{_mandir}/ja/man1/ldd.1*
721 %lang(ja) %{_mandir}/ja/man5/???[!d]*
722 %lang(ja) %{_mandir}/ja/man7/*
723 %lang(ja) %{_mandir}/ja/man8/[!n]*
724 %lang(ko) %{_mandir}/ko/man[578]/*
725 # %lang(nl) %{_mandir}/nl/man[578]/*
726 %lang(pl) %{_mandir}/pl/man1/ldd.1*
727 %lang(pl) %{_mandir}/pl/man[578]/*
728 %lang(pt) %{_mandir}/pt/man5/???[!d]*
729 %lang(pt) %{_mandir}/pt/man7/*
730 %lang(pt) %{_mandir}/pt/man8/[!n]*
731 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[!d]*
732 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
733 %lang(pt_BR) %{_mandir}/pt_BR/man8/[!n]*
734 %lang(ru) %{_mandir}/ru/man[578]/*
737 %defattr(644,root,root,755)
738 %attr(755,root,root) /lib/libnss_dns*.so*
741 %defattr(644,root,root,755)
742 %attr(755,root,root) /lib/libnss_files*.so*
745 %defattr(644,root,root,755)
746 %attr(755,root,root) /lib/libnss_compat*.so*
749 %defattr(644,root,root,755)
750 %attr(755,root,root) /lib/libnss_hesiod*.so*
753 %defattr(644,root,root,755)
754 %attr(755,root,root) /lib/libnss_nis.so.*
755 %attr(755,root,root) /lib/libnss_nis-*.so
757 %files -n nss_nisplus
758 %defattr(644,root,root,755)
759 %attr(755,root,root) /lib/libnss_nisplus*.so*
762 %defattr(644,root,root,755)
763 %attr(755,root,root) %{_bindir}/memusage*
764 %attr(755,root,root) %{_libdir}/libmemusage*
767 %defattr(644,root,root,755)
768 %doc documentation/* NOTES PROJECTS
769 %attr(755,root,root) %{_bindir}/gencat
770 %attr(755,root,root) %{_bindir}/getconf
771 %attr(755,root,root) %{_bindir}/*prof*
772 %attr(755,root,root) %{_bindir}/*trace
779 %{_includedir}/netash
780 %{_includedir}/netatalk
781 %{_includedir}/netax25
782 %{_includedir}/neteconet
783 %{_includedir}/netinet
784 %{_includedir}/netipx
785 %{_includedir}/netpacket
786 %{_includedir}/netrom
787 %{_includedir}/netrose
789 %{_includedir}/protocols
791 %{_includedir}/rpcsvc
795 %{_infodir}/libc.info*
797 %attr(755,root,root) %{_libdir}/lib[!m]*.so
798 %attr(755,root,root) %{_libdir}/libm.so
799 %attr(755,root,root) %{_libdir}/*crt*.o
800 %{_libdir}/libbsd-compat.a
802 %{_libdir}/libc_nonshared.a
805 %{_libdir}/libpthread_nonshared.a
806 %{_libdir}/librpcsvc.a
808 %{_mandir}/man1/getconf*
809 %{_mandir}/man1/sprof*
811 %lang(cs) %{_mandir}/cs/man3/*
812 %lang(de) %{_mandir}/de/man3/*
813 %lang(es) %{_mandir}/es/man3/*
814 %lang(fr) %{_mandir}/fr/man3/*
815 %lang(hu) %{_mandir}/hu/man3/*
816 # %lang(it) %{_mandir}/it/man3/*
817 %lang(ja) %{_mandir}/ja/man3/*
818 %lang(ko) %{_mandir}/ko/man3/*
819 %lang(nl) %{_mandir}/nl/man3/*
820 %lang(pl) %{_mandir}/pl/man3/*
821 %lang(pt) %{_mandir}/pt/man3/*
822 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
823 %lang(ru) %{_mandir}/ru/man3/*
825 %files kernel-headers
826 %defattr(644,root,root,755)
831 %defattr(644,root,root,755)
832 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
833 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
834 %attr(754,root,root) /etc/rc.d/init.d/nscd
835 %attr(755,root,root) %{_sbindir}/nscd*
836 %attr(640,root,root) /etc/logrotate.d/nscd
837 %attr(640,root,root) %ghost /var/log/nscd
838 %{_mandir}/man5/nscd.conf*
839 %{_mandir}/man8/nscd*
840 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
841 %lang(ja) %{_mandir}/ja/man8/nscd*
842 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
843 %lang(pt) %{_mandir}/pt/man8/nscd*
844 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
845 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
847 %files -n localedb-src
848 %defattr(644,root,root,755)
849 %attr(755,root,root) %{_bindir}/localedef
851 %{_mandir}/man1/localedef*
854 %defattr(644,root,root,755)
855 %attr(755,root,root) %{_sbindir}/iconvconfig
856 %dir %{_libdir}/gconv
857 %{_libdir}/gconv/gconv-modules
858 %attr(755,root,root) %{_libdir}/gconv/*.so
861 %defattr(644,root,root,755)
863 %{_libdir}/libBrokenLocale.a
865 %{_libdir}/libcrypt.a
868 %{_libdir}/libmcheck.a
870 %{_libdir}/libpthread.a
871 %{_libdir}/libresolv.a
876 %defattr(644,root,root,755)
880 %defattr(644,root,root,755)
881 %{_libdir}/lib*_pic.a