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 %{!?min_kernel:%define min_kernel 2.2.0}
11 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.2
13 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.2
20 Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
21 Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
23 Source3: nscd.sysconfig
24 Source4: nscd.logrotate
25 Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
26 Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
28 Patch0: %{name}-info.patch
29 Patch1: %{name}-versions.awk_fix.patch
30 Patch2: %{name}-pld.patch
31 Patch3: %{name}-crypt-blowfish.patch
32 Patch4: %{name}-string2-pointer-arith.patch
33 Patch5: %{name}-linuxthreads-lock.patch
34 Patch6: %{name}-pthread_create-manpage.patch
35 Patch7: %{name}-sparc-linux-chown.patch
36 Patch8: %{name}-ldconfig-bklinks.patch
37 Patch9: %{name}-paths.patch
38 Patch10: %{name}-vaargs.patch
39 Patch11: %{name}-getaddrinfo-workaround.patch
40 Patch12: %{name}-use-int-not-arpa.patch
41 Patch13: %{name}-divdi3.patch
42 Patch14: %{name}-nss_dns-overflow.patch
43 Patch15: %{name}-sunrpc-overflow.patch
44 URL: http://www.gnu.org/software/libc/
45 BuildRequires: gd-devel >= 2.0.1
46 BuildRequires: gettext-devel >= 0.10.36
47 BuildRequires: libpng-devel
49 BuildRequires: rpm-build >= 4.0.2-46
50 BuildRequires: texinfo
53 Provides: /sbin/ldconfig
54 Obsoletes: %{name}-common
55 Obsoletes: %{name}-debug
59 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
60 Conflicts: kernel < %{min_kernel}
61 Conflicts: man-pages < 1.43
62 Conflicts: ld.so < 1.9.9-10
64 %define debugcflags -O1 -g
67 Contains the standard libraries that are used by multiple programs on
68 the system. In order to save disk space and memory, as well as to ease
69 upgrades, common system code is kept in one place and shared between
70 programs. This package contains the most important sets of shared
71 libraries, the standard C library and the standard math library.
72 Without these, a Linux system will not function. It also contains
73 national language (locale) support and timezone databases.
76 Enthält die Standard-Libraries, die von verschiedenen Programmen im
77 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
78 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
79 einer einzigen Stelle gespeichert und wird von den Programmen
80 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
81 shared Libraries, die Standard-C-Library und die
82 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
83 Ferner enthält es den Support für die verschiedenen Sprachgregionen
84 (locale) und die Zeitzonen-Datenbank.
87 Contient les bibliothèques standards utilisées par de nombreux
88 programmes du système. Afin d'économiser l'espace disque et mémoire,
89 et de faciliter les mises à jour, le code commun au système est mis à
90 un endroit et partagé entre les programmes. Ce paquetage contient les
91 bibliothèques partagées les plus importantes, la bibliothèque standard
92 du C et la bibliothèque mathématique standard. Sans celles-ci, un
93 système Linux ne peut fonctionner. Il contient aussi la gestion des
94 langues nationales (locales) et les bases de données des zones
98 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
99 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
100 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
101 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
102 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
103 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
104 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
105 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
106 jêzyków (locale) oraz definicje stref czasowych.
109 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
110 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
111 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
112 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
113 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
114 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
115 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
116 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
117 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
120 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
121 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
122 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
123 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
124 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
125 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
126 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
129 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
130 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
131 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
132 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
133 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
134 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
135 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
136 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
137 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
140 Summary: Additional libraries required to compile
141 Summary(de): Weitere Libraries zum Kompilieren
142 Summary(fr): Librairies supplémentaires nécessaires à la compilation.
143 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
144 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
145 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
146 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
147 Group: Development/Libraries
148 Requires: %{name} = %{version}
151 To develop programs which use the standard C libraries (which nearly
152 all programs do), the system needs to have these standard header files
153 and object files available for creating the executables.
155 %description devel -l de
156 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
157 verwenden (also fast alle), benötigt das System diese Standard-Header-
158 und Objektdateien zum Erstellen der ausführbaren Programme.
160 %description devel -l fr
161 Pour développer des programmes utilisant les bibliothèques standard du
162 C (ce que presque tous les programmes font), le système doit posséder
163 ces fichiers en-têtes et objets standards pour créer les exécutables.
165 %description devel -l pl
166 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
167 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
168 nag³ówkowe oraz pliki objektowe, niezbêdne do kompilacji programów
169 wykonywalnych i innych bibliotek.
171 %description devel -l ru
172 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
173 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
174 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
177 %description devel -l tr
178 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
179 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
182 %description devel -l uk
183 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
184 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
185 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
189 Summary: Name Service Caching Daemon
190 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
191 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
192 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
193 Group: Networking/Daemons
194 PreReq: /sbin/chkconfig
195 PreReq: rc-scripts >= 0.2.0
196 Requires: %{name} = %{version}
197 Requires(post): fileutils
200 nscd caches name service lookups; it can dramatically improve
201 performance with NIS+, and may help with DNS as well. You cannot use
202 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
203 nscd happens to hit these bugs particularly hard.
205 %description -n nscd -l pl
206 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
207 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
208 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
211 %description -n nscd -l ru
212 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
213 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
216 %description -n nscd -l uk
217 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
218 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
220 %package -n localedb-src
221 Summary: locale database source code
222 Summary(pl): Kod ¼ród³owy bazy locale
224 Requires: %{name} = %{version}
226 %description -n localedb-src
227 This add-on package contains the data needed to build the locale data
228 files to use the internationalization features of the GNU libc. glibc
229 package contains standard set of locale binary database so you need
230 this package only when you want to build some non-standard locale
233 %description -n localedb-src -l pl
234 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
235 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
236 libc. glibc zawiera standardowy zestaw binarnych baz lokalizacyjnych,
237 w zwi±zku z czym ten pakiet jest potrzebny tylko w sytuacji budowania
238 jakiej¶ niestandardowej bazy.
241 Summary: Convert encoding of given files from one encoding to another
242 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
243 Group: Applications/Text
244 Requires: %{name} = %{version}
246 %description -n iconv
247 Convert encoding of given files from one encoding to another. You need
248 this package if you want to convert some documet from one encoding to
249 another or if you have installed some programs which use Generic
250 Character Set Conversion Interface.
252 %description -n iconv -l pl
253 Program do konwersji plików tekstowych z jednego kodowania do innego.
254 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
255 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
256 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
257 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
258 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
261 Summary: Static libraries
262 Summary(pl): Biblioteki statyczne
263 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
264 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
265 Group: Development/Libraries
266 Requires: %{name}-devel = %{version}
269 GNU libc static libraries.
271 %description static -l pl
272 Biblioteki statyczne GNU libc.
274 %description static -l ru
275 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
276 ×ÈÏÄÑÔ × glibc-devel.
278 %description static -l uk
279 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
283 Summary: glibc with profiling support
284 Summary(de): glibc mit Profil-Unterstützung
285 Summary(fr): glibc avec support pour profiling
286 Summary(pl): glibc ze wsparciem dla profilowania
287 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
288 Summary(tr): Ölçüm desteði olan glibc
289 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
290 Group: Development/Libraries/Libc
291 Obsoletes: libc-profile
292 Requires: %{name}-devel = %{version}
295 When programs are being profiled used gprof, they must use these
296 libraries instead of the standard C libraries for gprof to be able to
297 profile them correctly.
299 %description profile -l de
300 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
301 Libraries anstelle der üblichen C-Libraries verwendet werden.
303 %description profile -l pl
304 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
305 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
308 %description profile -l uk
309 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
310 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
311 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
312 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
315 %description profile -l tr
316 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
317 kitaplýðý kullanmak zorundadýrlar.
319 %description profile -l ru
320 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
321 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
322 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
323 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
327 Summary: glibc PIC archive
328 Summary(pl): archiwum PIC glibc
329 Group: Development/Libraries/Libc
330 Requires: %{name}-devel = %{version}
333 GNU C Library PIC archive contains an archive library (ar file)
334 composed of individual shared objects. This is used for creating a
335 library which is a smaller subset of the standard libc shared library.
337 %description pic -l pl
338 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
339 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
340 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
341 biblioteki wspó³dzielonej libc.
343 %package -n nss_compat
344 Summary: Old style NYS NSS glibc module
345 Summary(pl): Stary modu³ NYS NSS glibc
347 Requires: %{name} = %{version}
349 %description -n nss_compat
350 Old style NYS NSS glibc module.
352 %description -n nss_compat -l pl
353 Stary modu³ NYS NSS glibc.
356 Summary: BIND NSS glibc module
357 Summary(pl): Modu³ BIND NSS glibc
359 Requires: %{name} = %{version}
361 %description -n nss_dns
362 BIND NSS glibc module.
364 %description -n nss_dns -l pl
365 Modu³ BIND NSS glibc.
367 %package -n nss_files
368 Summary: Traditional files databases NSS glibc module
369 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
371 Requires: %{name} = %{version}
373 %description -n nss_files
374 Traditional files databases NSS glibc module.
376 %description -n nss_files -l pl
377 Modu³ tradycyjnych plikowych baz danych NSS glibc.
379 %package -n nss_hesiod
380 Summary: Hesiod NSS glibc module
381 Summary(pl): Modu³ hesiod NSS glibc
383 Requires: %{name} = %{version}
385 %description -n nss_hesiod
386 glibc NSS (Name Service Switch) module for databases access.
388 %description -n nss_hesiod -l pl
389 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
392 Summary: NIS(YP) NSS glibc module
393 Summary(pl): Modu³ NIS(YP) NSS glibc
395 Requires: %{name} = %{version}
397 %description -n nss_nis
398 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
400 %description -n nss_nis -l pl
401 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
403 %package -n nss_nisplus
404 Summary: NIS+ NSS module
405 Summary(pl): Modu³ NIS+ NSS
407 Requires: %{name} = %{version}
409 %description -n nss_nisplus
410 glibc NSS (Name Service Switch) module for NIS+ databases accesa.
412 %description -n nss_nisplus -l pl
413 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
419 Requires: %{name} = %{version}
422 %description memusage
425 %description memusage -l pl
450 # avoid stripping ld.so by -s in rpmldflags
451 LDFLAGS=" " ; export LDFLAGS
453 --enable-add-ons=linuxthreads \
454 --enable-kernel="%{?kernel:%{kernel}}%{!?kernel:%{min_kernel}}" \
460 # this need improvements (like building agains new builded glibc) but works
461 %{__cc} -o postshell %{rpmcflags} %{rpmldflags} %{SOURCE7}
464 rm -rf $RPM_BUILD_ROOT
465 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
467 env LANGUAGE=C LC_ALL=C \
469 install_root=$RPM_BUILD_ROOT \
470 infodir=%{_infodir} \
473 env LANGUAGE=C LC_ALL=C \
474 %{__make} install-locales -C localedata \
475 install_root=$RPM_BUILD_ROOT
477 PICFILES="libc_pic.a libc.map
478 math/libm_pic.a libm.map
479 resolv/libresolv_pic.a"
481 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
482 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
483 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
485 mv -f $RPM_BUILD_ROOT/lib/libmemusage.so $RPM_BUILD_ROOT%{_libdir}
486 mv -f $RPM_BUILD_ROOT/lib/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
488 %{__make} -C linuxthreads/man
489 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
491 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
493 ln -sf ../../..%{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
494 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
495 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
496 ln -sf ../..%{_libdir}/libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
498 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
500 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
501 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
502 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
503 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
504 install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
506 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
507 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
508 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
509 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
510 rm -f %{_mandir}/hu/man7/man.7
512 :> $RPM_BUILD_ROOT/var/log/nscd
515 install -d documentation
517 cp -f linuxthreads/ChangeLog documentation/ChangeLog.threads
518 cp -f linuxthreads/Changes documentation/Changes.threads
519 cp -f linuxthreads/README documentation/README.threads
520 cp -f crypt/README.ufc-crypt documentation/
522 cp -f ChangeLog documentation
524 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
526 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
527 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/lib/ld-%{version}.so}
529 # Collect locale files and mark them with %%lang()
531 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
533 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
535 # list of long %%lang values we do support
536 for j in de_AT de_BE de_CH de_LU ja_JP.SJIS ko_KR.utf8 pt_BR \
537 zh_CN zh_CN.gbk zh_HK zh_TW ; do
538 if [ $j = "$lang" ]; then
542 if [ -n "$twochar" ]; then
543 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
544 lang=`echo $lang | sed "s,\..*,,"`
546 lang=`echo $lang | sed "s,_.*,,"`
549 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
550 echo "%lang($lang) $dir" >> glibc.lang
553 for i in af az bg de_AT el en eo es_ES et eu fi gr he hr hu id is ja_JP.SJIS \
554 lt lv ms nn pt ro ru sl sr ta uk wa zh_CN ; do
556 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
557 lang=`echo $i | sed -e 's/_.*//'`
558 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
563 install -m755 postshell $RPM_BUILD_ROOT/sbin
566 rm -rf $RPM_BUILD_ROOT
568 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
569 # when %%postun is run
571 %post -p /sbin/postshell
575 %postun -p /sbin/postshell
579 %post memusage -p /sbin/ldconfig
580 %postun memusage -p /sbin/ldconfig
582 %post -n iconv -p %{_sbindir}/iconvconfig
585 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
588 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
591 /sbin/chkconfig --add nscd
592 touch /var/log/nscd && (chmod 000 /var/log/nscd; chown root.root /var/log/nscd; chmod 640 /var/log/nscd)
593 if [ -f /var/lock/subsys/nscd ]; then
594 /etc/rc.d/init.d/nscd restart 1>&2
596 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
600 if [ "$1" = "0" ]; then
601 if [ -f /var/lock/subsys/nscd ]; then
602 /etc/rc.d/init.d/nscd stop 1>&2
604 /sbin/chkconfig --del nscd
607 %files -f %{name}.lang
608 %defattr(644,root,root,755)
609 %doc README NEWS FAQ BUGS
611 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
612 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
613 %config %{_sysconfdir}/rpc
614 %ghost %{_sysconfdir}/ld.so.cache
616 %attr(755,root,root) /sbin/*
617 %attr(755,root,root) %{_bindir}/catchsegv
618 %attr(755,root,root) %{_bindir}/getent
619 %attr(755,root,root) %{_bindir}/glibcbug
620 %attr(755,root,root) %{_bindir}/iconv
621 %attr(755,root,root) %{_bindir}/ldd
622 %ifnarch alpha sparc sparc64 ppc
623 %attr(755,root,root) %{_bindir}/lddlibc4
625 %attr(755,root,root) %{_bindir}/locale
626 %attr(755,root,root) %{_bindir}/rpcgen
627 %attr(755,root,root) %{_bindir}/tzselect
629 %attr(755,root,root) %{_sbindir}/rpcinfo
630 %attr(755,root,root) %{_sbindir}/zdump
631 %attr(755,root,root) %{_sbindir}/zic
633 %attr(755,root,root) /lib/ld-*
634 %attr(755,root,root) /lib/libanl*
635 %attr(755,root,root) /lib/libdl*
636 %attr(755,root,root) /lib/libnsl*
637 %attr(755,root,root) /lib/lib[BScmprtu]*
639 %dir %{_datadir}/locale
640 %{_datadir}/locale/locale.alias
643 %dir %{_libdir}/locale
645 %{_mandir}/man1/[^lsg]*
646 %{_mandir}/man1/getent.1*
647 %{_mandir}/man1/locale.1*
648 %{_mandir}/man1/ldd.1*
649 %{_mandir}/man5/???[^d]*
651 %{_mandir}/man8/[^n]*
652 %lang(cs) %{_mandir}/cs/man[578]/*
653 %lang(de) %{_mandir}/de/man[578]/*
654 %lang(es) %{_mandir}/es/man[578]/*
655 %lang(fi) %{_mandir}/fi/man1/ldd.1*
656 %lang(fr) %{_mandir}/fr/man1/ldd.1*
657 %lang(fr) %{_mandir}/fr/man[578]/*
658 %lang(hu) %{_mandir}/hu/man1/ldd.1*
659 %lang(hu) %{_mandir}/hu/man[578]/*
660 %lang(it) %{_mandir}/it/man[578]/*
661 %lang(ja) %{_mandir}/ja/man1/[^lsg]*
662 %lang(ja) %{_mandir}/ja/man1/ldd.1*
663 %lang(ja) %{_mandir}/ja/man5/???[^d]*
664 %lang(ja) %{_mandir}/ja/man7/*
665 %lang(ja) %{_mandir}/ja/man8/[^n]*
666 %lang(ko) %{_mandir}/ko/man[578]/*
667 # %lang(nl) %{_mandir}/nl/man[578]/*
668 %lang(pl) %{_mandir}/pl/man1/ldd.1*
669 %lang(pl) %{_mandir}/pl/man[578]/*
670 %lang(pt) %{_mandir}/pt/man5/???[^d]*
671 %lang(pt) %{_mandir}/pt/man7/*
672 %lang(pt) %{_mandir}/pt/man8/[^n]*
673 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[^d]*
674 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
675 %lang(pt_BR) %{_mandir}/pt_BR/man8/[^n]*
676 %lang(ru) %{_mandir}/ru/man[578]/*
679 %defattr(644,root,root,755)
680 %attr(755,root,root) /lib/libnss_dns*.so*
683 %defattr(644,root,root,755)
684 %attr(755,root,root) /lib/libnss_files*.so*
687 %defattr(644,root,root,755)
688 %attr(755,root,root) /lib/libnss_compat*.so*
691 %defattr(644,root,root,755)
692 %attr(755,root,root) /lib/libnss_hesiod*.so*
695 %defattr(644,root,root,755)
696 %attr(755,root,root) /lib/libnss_nis.so.*
697 %attr(755,root,root) /lib/libnss_nis-*.so
699 %files -n nss_nisplus
700 %defattr(644,root,root,755)
701 %attr(755,root,root) /lib/libnss_nisplus*.so*
704 %defattr(644,root,root,755)
705 %attr(755,root,root) %{_bindir}/memusage*
706 %attr(755,root,root) %{_libdir}/libmemusage*
709 %defattr(644,root,root,755)
710 %doc documentation/* NOTES PROJECTS
711 %attr(755,root,root) %{_bindir}/gencat
712 %attr(755,root,root) %{_bindir}/getconf
713 %attr(755,root,root) %{_bindir}/*prof*
714 %attr(755,root,root) %{_bindir}/*trace
718 %{_infodir}/libc.info*
720 %attr(755,root,root) %{_libdir}/lib[^m]*.so
721 %attr(755,root,root) %{_libdir}/libm.so
722 %attr(755,root,root) %{_libdir}/*crt*.o
723 %{_libdir}/libbsd-compat.a
725 %{_libdir}/libc_nonshared.a
728 %{_libdir}/librpcsvc.a
730 %{_mandir}/man1/getconf*
731 %{_mandir}/man1/sprof*
733 %lang(cs) %{_mandir}/cs/man3/*
734 %lang(de) %{_mandir}/de/man3/*
735 %lang(es) %{_mandir}/es/man3/*
736 %lang(fr) %{_mandir}/fr/man3/*
737 %lang(hu) %{_mandir}/hu/man3/*
738 # %lang(it) %{_mandir}/it/man3/*
739 %lang(ja) %{_mandir}/ja/man3/*
740 %lang(ko) %{_mandir}/ko/man3/*
741 %lang(nl) %{_mandir}/nl/man3/*
742 %lang(pl) %{_mandir}/pl/man3/*
743 %lang(pt) %{_mandir}/pt/man3/*
744 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
745 %lang(ru) %{_mandir}/ru/man3/*
748 %defattr(644,root,root,755)
749 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
750 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
751 %attr(754,root,root) /etc/rc.d/init.d/nscd
752 %attr(755,root,root) %{_sbindir}/nscd*
753 %attr(640,root,root) /etc/logrotate.d/nscd
754 %attr(640,root,root) %ghost /var/log/nscd
755 %{_mandir}/man5/nscd.conf*
756 %{_mandir}/man8/nscd*
757 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
758 %lang(ja) %{_mandir}/ja/man8/nscd*
759 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
760 %lang(pt) %{_mandir}/pt/man8/nscd*
761 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
762 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
764 %files -n localedb-src
765 %defattr(644,root,root,755)
766 %attr(755,root,root) %{_bindir}/localedef
768 %{_mandir}/man1/localedef*
771 %defattr(644,root,root,755)
772 %attr(755,root,root) %{_sbindir}/iconvconfig
773 %dir %{_libdir}/gconv
774 %{_libdir}/gconv/gconv-modules
775 %attr(755,root,root) %{_libdir}/gconv/*.so
778 %defattr(644,root,root,755)
780 %{_libdir}/libBrokenLocale.a
782 %{_libdir}/libcrypt.a
785 %{_libdir}/libmcheck.a
787 %{_libdir}/libpthread.a
788 %{_libdir}/libresolv.a
793 %defattr(644,root,root,755)
797 %defattr(644,root,root,755)
798 %{_libdir}/lib*_pic.a