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 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
472 mv -f localedata/locales/{lug_UG,lg_UG}
477 # avoid stripping ld.so by -s in rpmldflags
478 LDFLAGS=" " ; export LDFLAGS
480 --enable-add-ons=linuxthreads \
481 --enable-kernel="%{?kernel:%{kernel}}%{!?kernel:%{min_kernel}}" \
484 --with-headers=%{_kernelsrcdir}/include
485 # problem compiling with --enable-bounded (must be reported to libc-alpha)
487 %{__make} %{parallelmkflags}
490 rm -rf $RPM_BUILD_ROOT
491 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
495 env LANGUAGE=C LC_ALL=C \
498 install_root=$RPM_BUILD_ROOT \
499 infodir=%{_infodir} \
502 env LANGUAGE=C LC_ALL=C \
503 %{__make} localedata/install-locales \
505 install_root=$RPM_BUILD_ROOT
507 PICFILES="libc_pic.a libc.map
508 math/libm_pic.a libm.map
509 resolv/libresolv_pic.a"
511 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
512 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
513 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
515 install elf/postshell $RPM_BUILD_ROOT/sbin
517 mv -f $RPM_BUILD_ROOT/lib/libmemusage.so $RPM_BUILD_ROOT%{_libdir}
518 mv -f $RPM_BUILD_ROOT/lib/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
520 %{__make} -C ../linuxthreads/man
521 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
523 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
525 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
526 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
527 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
528 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
530 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
532 # make symlinks across top-level directories absolute
533 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
534 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
535 ln -sf /lib/`cd $RPM_BUILD_ROOT/lib ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
538 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
539 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
540 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
541 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
542 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
544 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
545 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
546 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
547 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
548 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
550 :> $RPM_BUILD_ROOT/var/log/nscd
552 rm -rf ../documentation
553 install -d ../documentation
555 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
556 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
557 cp -f ../linuxthreads/README ../documentation/README.threads
558 cp -f ../crypt/README.ufc-crypt ../documentation/
560 cp -f ../ChangeLog* ../documentation
562 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
564 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
565 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/lib/ld-%{version}.so}
567 # Collect locale files and mark them with %%lang()
569 echo '%defattr(644,root,root,755)' > ../glibc.lang
570 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
572 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
574 # list of long %%lang values we do support
575 for j in de_AT de_BE de_CH de_LU es_AR ja_JP.SJIS ko_KR.utf8 pt_BR \
576 zh_CN zh_CN.gbk zh_HK zh_TW ; do
577 if [ $j = "$lang" ]; then
581 if [ -n "$twochar" ]; then
582 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
583 lang=`echo $lang | sed "s,\..*,,"`
585 lang=`echo $lang | sed "s,_.*,,"`
588 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
589 echo "%lang($lang) $dir" >> ../glibc.lang
592 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 \
593 hr hu id is ja_JP.SJIS ka lg lt lv mk ms nn pt ro ru sl sq sr \
594 sr@cyrillic ta tg th uk uz vi wa zh_CN ; do
595 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
596 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
597 lang=`echo $i | sed -e 's/_.*//'`
598 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
601 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
604 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
605 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
606 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
607 # we don't support kernel without ptys support
608 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
610 # copy actual kernel headers for glibc-kernel-headers
611 %{__mkdir} -p $RPM_BUILD_ROOT%{_includedir}
612 %{__cp} -Hr %{_kernelsrcdir}/include/{asm,linux} $RPM_BUILD_ROOT%{_includedir}
615 rm -rf $RPM_BUILD_ROOT
617 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
618 # when %%postun is run
620 %post -p /sbin/postshell
624 %postun -p /sbin/postshell
628 %post memusage -p /sbin/ldconfig
629 %postun memusage -p /sbin/ldconfig
631 %post -n iconv -p %{_sbindir}/iconvconfig
634 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
635 echo "Please install glibc-kernel-headers or, if you are a brave man,"
636 echo "make appropriate links in /usr/include pointing to an already"
637 echo "installed previously chosen kernel-headers package or other"
638 echo "kernel headers you have."
641 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
644 # useful if these are symlinks
645 if [ -h %{_includedir}/asm ]; then rm -f %{_includedir}/asm; fi
646 if [ -h %{_includedir}/linux ]; then rm -f %{_includedir}/linux; fi
649 /sbin/chkconfig --add nscd
650 touch /var/log/nscd && (chmod 000 /var/log/nscd; chown root.root /var/log/nscd; chmod 640 /var/log/nscd)
651 if [ -f /var/lock/subsys/nscd ]; then
652 /etc/rc.d/init.d/nscd restart 1>&2
654 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
658 if [ "$1" = "0" ]; then
659 if [ -f /var/lock/subsys/nscd ]; then
660 /etc/rc.d/init.d/nscd stop 1>&2
662 /sbin/chkconfig --del nscd
665 %files -f %{name}.lang
666 %defattr(644,root,root,755)
667 %doc README NEWS FAQ BUGS
669 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
670 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
671 %config %{_sysconfdir}/rpc
672 %ghost %{_sysconfdir}/ld.so.cache
674 %attr(755,root,root) /sbin/*
675 %attr(755,root,root) %{_bindir}/catchsegv
676 %attr(755,root,root) %{_bindir}/getent
677 %attr(755,root,root) %{_bindir}/glibcbug
678 %attr(755,root,root) %{_bindir}/iconv
679 %attr(755,root,root) %{_bindir}/ldd
680 %ifnarch alpha sparc sparc64 ppc
681 %attr(755,root,root) %{_bindir}/lddlibc4
683 %attr(755,root,root) %{_bindir}/locale
684 %attr(755,root,root) %{_bindir}/rpcgen
685 %attr(755,root,root) %{_bindir}/tzselect
687 %attr(755,root,root) %{_sbindir}/rpcinfo
688 %attr(755,root,root) %{_sbindir}/zdump
689 %attr(755,root,root) %{_sbindir}/zic
691 %attr(755,root,root) /lib/ld-*
692 %attr(755,root,root) /lib/libanl*
693 %attr(755,root,root) /lib/libdl*
694 %attr(755,root,root) /lib/libnsl*
695 %attr(755,root,root) /lib/lib[BScmprtu]*
697 %dir %{_datadir}/locale
698 %{_datadir}/locale/locale.alias
701 %dir %{_libdir}/locale
702 %{_libdir}/locale/locale-archive
704 %{_mandir}/man1/[!lsg]*
705 %{_mandir}/man1/getent.1*
706 %{_mandir}/man1/locale.1*
707 %{_mandir}/man1/ldd.1*
708 %{_mandir}/man5/???[!d]*
710 %{_mandir}/man8/[!n]*
711 %lang(cs) %{_mandir}/cs/man[578]/*
712 %lang(de) %{_mandir}/de/man[578]/*
713 %lang(es) %{_mandir}/es/man[578]/*
714 %lang(fi) %{_mandir}/fi/man1/ldd.1*
715 %lang(fr) %{_mandir}/fr/man1/ldd.1*
716 %lang(fr) %{_mandir}/fr/man[578]/*
717 %lang(hu) %{_mandir}/hu/man1/ldd.1*
718 %lang(hu) %{_mandir}/hu/man[578]/*
719 %lang(it) %{_mandir}/it/man[578]/*
720 %lang(ja) %{_mandir}/ja/man1/[!lsg]*
721 %lang(ja) %{_mandir}/ja/man1/ldd.1*
722 %lang(ja) %{_mandir}/ja/man5/???[!d]*
723 %lang(ja) %{_mandir}/ja/man7/*
724 %lang(ja) %{_mandir}/ja/man8/[!n]*
725 %lang(ko) %{_mandir}/ko/man[578]/*
726 # %lang(nl) %{_mandir}/nl/man[578]/*
727 %lang(pl) %{_mandir}/pl/man1/ldd.1*
728 %lang(pl) %{_mandir}/pl/man[578]/*
729 %lang(pt) %{_mandir}/pt/man5/???[!d]*
730 %lang(pt) %{_mandir}/pt/man7/*
731 %lang(pt) %{_mandir}/pt/man8/[!n]*
732 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[!d]*
733 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
734 %lang(pt_BR) %{_mandir}/pt_BR/man8/[!n]*
735 %lang(ru) %{_mandir}/ru/man[578]/*
738 %defattr(644,root,root,755)
739 %attr(755,root,root) /lib/libnss_dns*.so*
742 %defattr(644,root,root,755)
743 %attr(755,root,root) /lib/libnss_files*.so*
746 %defattr(644,root,root,755)
747 %attr(755,root,root) /lib/libnss_compat*.so*
750 %defattr(644,root,root,755)
751 %attr(755,root,root) /lib/libnss_hesiod*.so*
754 %defattr(644,root,root,755)
755 %attr(755,root,root) /lib/libnss_nis.so.*
756 %attr(755,root,root) /lib/libnss_nis-*.so
758 %files -n nss_nisplus
759 %defattr(644,root,root,755)
760 %attr(755,root,root) /lib/libnss_nisplus*.so*
763 %defattr(644,root,root,755)
764 %attr(755,root,root) %{_bindir}/memusage*
765 %attr(755,root,root) %{_libdir}/libmemusage*
768 %defattr(644,root,root,755)
769 %doc documentation/* NOTES PROJECTS
770 %attr(755,root,root) %{_bindir}/gencat
771 %attr(755,root,root) %{_bindir}/getconf
772 %attr(755,root,root) %{_bindir}/*prof*
773 %attr(755,root,root) %{_bindir}/*trace
780 %{_includedir}/netash
781 %{_includedir}/netatalk
782 %{_includedir}/netax25
783 %{_includedir}/neteconet
784 %{_includedir}/netinet
785 %{_includedir}/netipx
786 %{_includedir}/netpacket
787 %{_includedir}/netrom
788 %{_includedir}/netrose
790 %{_includedir}/protocols
792 %{_includedir}/rpcsvc
796 %{_infodir}/libc.info*
798 %attr(755,root,root) %{_libdir}/lib[!m]*.so
799 %attr(755,root,root) %{_libdir}/libm.so
800 %attr(755,root,root) %{_libdir}/*crt*.o
801 %{_libdir}/libbsd-compat.a
803 %{_libdir}/libc_nonshared.a
806 %{_libdir}/libpthread_nonshared.a
807 %{_libdir}/librpcsvc.a
809 %{_mandir}/man1/getconf*
810 %{_mandir}/man1/sprof*
812 %lang(cs) %{_mandir}/cs/man3/*
813 %lang(de) %{_mandir}/de/man3/*
814 %lang(es) %{_mandir}/es/man3/*
815 %lang(fr) %{_mandir}/fr/man3/*
816 %lang(hu) %{_mandir}/hu/man3/*
817 # %lang(it) %{_mandir}/it/man3/*
818 %lang(ja) %{_mandir}/ja/man3/*
819 %lang(ko) %{_mandir}/ko/man3/*
820 %lang(nl) %{_mandir}/nl/man3/*
821 %lang(pl) %{_mandir}/pl/man3/*
822 %lang(pt) %{_mandir}/pt/man3/*
823 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
824 %lang(ru) %{_mandir}/ru/man3/*
826 %files kernel-headers
827 %defattr(644,root,root,755)
832 %defattr(644,root,root,755)
833 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
834 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
835 %attr(754,root,root) /etc/rc.d/init.d/nscd
836 %attr(755,root,root) %{_sbindir}/nscd*
837 %attr(640,root,root) /etc/logrotate.d/nscd
838 %attr(640,root,root) %ghost /var/log/nscd
839 %{_mandir}/man5/nscd.conf*
840 %{_mandir}/man8/nscd*
841 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
842 %lang(ja) %{_mandir}/ja/man8/nscd*
843 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
844 %lang(pt) %{_mandir}/pt/man8/nscd*
845 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
846 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
848 %files -n localedb-src
849 %defattr(644,root,root,755)
850 %attr(755,root,root) %{_bindir}/localedef
852 %{_mandir}/man1/localedef*
855 %defattr(644,root,root,755)
856 %attr(755,root,root) %{_sbindir}/iconvconfig
857 %dir %{_libdir}/gconv
858 %{_libdir}/gconv/gconv-modules
859 %attr(755,root,root) %{_libdir}/gconv/*.so
862 %defattr(644,root,root,755)
864 %{_libdir}/libBrokenLocale.a
866 %{_libdir}/libcrypt.a
869 %{_libdir}/libmcheck.a
871 %{_libdir}/libpthread.a
872 %{_libdir}/libresolv.a
877 %defattr(644,root,root,755)
881 %defattr(644,root,root,755)
882 %{_libdir}/lib*_pic.a