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 # borrowed from util-linux
30 Patch0: %{name}-info.patch
31 Patch1: %{name}-versions.awk_fix.patch
32 Patch2: %{name}-pld.patch
33 Patch3: %{name}-crypt-blowfish.patch
34 Patch4: %{name}-string2-pointer-arith.patch
35 Patch5: %{name}-linuxthreads-lock.patch
36 Patch6: %{name}-pthread_create-manpage.patch
37 Patch7: %{name}-sparc-linux-chown.patch
38 Patch8: %{name}-ldconfig-bklinks.patch
39 Patch9: %{name}-paths.patch
40 Patch10: %{name}-vaargs.patch
41 Patch11: %{name}-getaddrinfo-workaround.patch
42 Patch12: %{name}-use-int-not-arpa.patch
43 Patch13: %{name}-divdi3.patch
44 Patch14: %{name}-nss_dns-overflow.patch
45 Patch15: %{name}-sunrpc-overflow.patch
46 Patch16: %{name}-calloc-overflow.patch
47 URL: http://www.gnu.org/software/libc/
48 BuildRequires: gd-devel >= 2.0.1
49 BuildRequires: gettext-devel >= 0.10.36
50 BuildRequires: libpng-devel
52 BuildRequires: rpm-build >= 4.0.2-46
53 BuildRequires: texinfo
56 Provides: /sbin/ldconfig
57 Obsoletes: %{name}-common
58 Obsoletes: %{name}-debug
62 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
63 Conflicts: kernel < %{min_kernel}
64 Conflicts: man-pages < 1.43
65 Conflicts: ld.so < 1.9.9-10
67 %define debugcflags -O1 -g
70 Contains the standard libraries that are used by multiple programs on
71 the system. In order to save disk space and memory, as well as to ease
72 upgrades, common system code is kept in one place and shared between
73 programs. This package contains the most important sets of shared
74 libraries, the standard C library and the standard math library.
75 Without these, a Linux system will not function. It also contains
76 national language (locale) support and timezone databases.
79 Enthält die Standard-Libraries, die von verschiedenen Programmen im
80 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
81 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
82 einer einzigen Stelle gespeichert und wird von den Programmen
83 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
84 shared Libraries, die Standard-C-Library und die
85 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
86 Ferner enthält es den Support für die verschiedenen Sprachgregionen
87 (locale) und die Zeitzonen-Datenbank.
90 Contient les bibliothèques standards utilisées par de nombreux
91 programmes du système. Afin d'économiser l'espace disque et mémoire,
92 et de faciliter les mises à jour, le code commun au système est mis à
93 un endroit et partagé entre les programmes. Ce paquetage contient les
94 bibliothèques partagées les plus importantes, la bibliothèque standard
95 du C et la bibliothèque mathématique standard. Sans celles-ci, un
96 système Linux ne peut fonctionner. Il contient aussi la gestion des
97 langues nationales (locales) et les bases de données des zones
101 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
102 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
103 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
104 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
105 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
106 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
107 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
108 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
109 jêzyków (locale) oraz definicje stref czasowych.
112 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
113 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
114 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
115 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
116 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
117 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
118 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
119 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
120 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
123 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
124 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
125 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
126 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
127 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
128 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
129 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
132 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
133 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
134 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
135 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
136 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
137 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
138 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
139 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
140 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
143 Summary: Additional libraries required to compile
144 Summary(de): Weitere Libraries zum Kompilieren
145 Summary(fr): Librairies supplémentaires nécessaires à la compilation.
146 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
147 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
148 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
149 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
150 Group: Development/Libraries
151 Requires: %{name} = %{version}
154 To develop programs which use the standard C libraries (which nearly
155 all programs do), the system needs to have these standard header files
156 and object files available for creating the executables.
158 %description devel -l de
159 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
160 verwenden (also fast alle), benötigt das System diese Standard-Header-
161 und Objektdateien zum Erstellen der ausführbaren Programme.
163 %description devel -l fr
164 Pour développer des programmes utilisant les bibliothèques standard du
165 C (ce que presque tous les programmes font), le système doit posséder
166 ces fichiers en-têtes et objets standards pour créer les exécutables.
168 %description devel -l pl
169 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
170 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
171 nag³ówkowe oraz pliki objektowe, niezbêdne do kompilacji programów
172 wykonywalnych i innych bibliotek.
174 %description devel -l ru
175 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
176 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
177 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
180 %description devel -l tr
181 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
182 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
185 %description devel -l uk
186 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
187 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
188 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
192 Summary: Name Service Caching Daemon
193 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
194 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
195 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
196 Group: Networking/Daemons
197 PreReq: /sbin/chkconfig
198 PreReq: rc-scripts >= 0.2.0
199 Requires: %{name} = %{version}
200 Requires(post): fileutils
203 nscd caches name service lookups; it can dramatically improve
204 performance with NIS+, and may help with DNS as well. You cannot use
205 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
206 nscd happens to hit these bugs particularly hard.
208 %description -n nscd -l pl
209 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
210 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
211 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
214 %description -n nscd -l ru
215 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
216 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
219 %description -n nscd -l uk
220 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
221 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
223 %package -n localedb-src
224 Summary: locale database source code
225 Summary(pl): Kod ¼ród³owy bazy locale
227 Requires: %{name} = %{version}
229 %description -n localedb-src
230 This add-on package contains the data needed to build the locale data
231 files to use the internationalization features of the GNU libc. glibc
232 package contains standard set of locale binary database so you need
233 this package only when you want to build some non-standard locale
236 %description -n localedb-src -l pl
237 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
238 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
239 libc. glibc zawiera standardowy zestaw binarnych baz lokalizacyjnych,
240 w zwi±zku z czym ten pakiet jest potrzebny tylko w sytuacji budowania
241 jakiej¶ niestandardowej bazy.
244 Summary: Convert encoding of given files from one encoding to another
245 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
246 Group: Applications/Text
247 Requires: %{name} = %{version}
249 %description -n iconv
250 Convert encoding of given files from one encoding to another. You need
251 this package if you want to convert some documet from one encoding to
252 another or if you have installed some programs which use Generic
253 Character Set Conversion Interface.
255 %description -n iconv -l pl
256 Program do konwersji plików tekstowych z jednego kodowania do innego.
257 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
258 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
259 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
260 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
261 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
264 Summary: Static libraries
265 Summary(pl): Biblioteki statyczne
266 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
267 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
268 Group: Development/Libraries
269 Requires: %{name}-devel = %{version}
272 GNU libc static libraries.
274 %description static -l pl
275 Biblioteki statyczne GNU libc.
277 %description static -l ru
278 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
279 ×ÈÏÄÑÔ × glibc-devel.
281 %description static -l uk
282 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
286 Summary: glibc with profiling support
287 Summary(de): glibc mit Profil-Unterstützung
288 Summary(fr): glibc avec support pour profiling
289 Summary(pl): glibc ze wsparciem dla profilowania
290 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
291 Summary(tr): Ölçüm desteði olan glibc
292 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
293 Group: Development/Libraries/Libc
294 Obsoletes: libc-profile
295 Requires: %{name}-devel = %{version}
298 When programs are being profiled used gprof, they must use these
299 libraries instead of the standard C libraries for gprof to be able to
300 profile them correctly.
302 %description profile -l de
303 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
304 Libraries anstelle der üblichen C-Libraries verwendet werden.
306 %description profile -l pl
307 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
308 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
311 %description profile -l uk
312 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
313 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
314 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
315 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
318 %description profile -l tr
319 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
320 kitaplýðý kullanmak zorundadýrlar.
322 %description profile -l ru
323 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
324 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
325 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
326 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
330 Summary: glibc PIC archive
331 Summary(pl): archiwum PIC glibc
332 Group: Development/Libraries/Libc
333 Requires: %{name}-devel = %{version}
336 GNU C Library PIC archive contains an archive library (ar file)
337 composed of individual shared objects. This is used for creating a
338 library which is a smaller subset of the standard libc shared library.
340 %description pic -l pl
341 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
342 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
343 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
344 biblioteki wspó³dzielonej libc.
346 %package -n nss_compat
347 Summary: Old style NYS NSS glibc module
348 Summary(pl): Stary modu³ NYS NSS glibc
350 Requires: %{name} = %{version}
352 %description -n nss_compat
353 Old style NYS NSS glibc module.
355 %description -n nss_compat -l pl
356 Stary modu³ NYS NSS glibc.
359 Summary: BIND NSS glibc module
360 Summary(pl): Modu³ BIND NSS glibc
362 Requires: %{name} = %{version}
364 %description -n nss_dns
365 BIND NSS glibc module.
367 %description -n nss_dns -l pl
368 Modu³ BIND NSS glibc.
370 %package -n nss_files
371 Summary: Traditional files databases NSS glibc module
372 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
374 Requires: %{name} = %{version}
376 %description -n nss_files
377 Traditional files databases NSS glibc module.
379 %description -n nss_files -l pl
380 Modu³ tradycyjnych plikowych baz danych NSS glibc.
382 %package -n nss_hesiod
383 Summary: Hesiod NSS glibc module
384 Summary(pl): Modu³ hesiod NSS glibc
386 Requires: %{name} = %{version}
388 %description -n nss_hesiod
389 glibc NSS (Name Service Switch) module for databases access.
391 %description -n nss_hesiod -l pl
392 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
395 Summary: NIS(YP) NSS glibc module
396 Summary(pl): Modu³ NIS(YP) NSS glibc
398 Requires: %{name} = %{version}
400 %description -n nss_nis
401 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
403 %description -n nss_nis -l pl
404 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
406 %package -n nss_nisplus
407 Summary: NIS+ NSS module
408 Summary(pl): Modu³ NIS+ NSS
410 Requires: %{name} = %{version}
412 %description -n nss_nisplus
413 glibc NSS (Name Service Switch) module for NIS+ databases accesa.
415 %description -n nss_nisplus -l pl
416 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
422 Requires: %{name} = %{version}
425 %description memusage
428 %description memusage -l pl
454 # avoid stripping ld.so by -s in rpmldflags
455 LDFLAGS=" " ; export LDFLAGS
457 --enable-add-ons=linuxthreads \
458 --enable-kernel="%{?kernel:%{kernel}}%{!?kernel:%{min_kernel}}" \
464 # this need improvements (like building agains new builded glibc) but works
465 %{__cc} -o postshell %{rpmcflags} %{rpmldflags} %{SOURCE7}
468 rm -rf $RPM_BUILD_ROOT
469 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
471 env LANGUAGE=C LC_ALL=C \
473 install_root=$RPM_BUILD_ROOT \
474 infodir=%{_infodir} \
477 env LANGUAGE=C LC_ALL=C \
478 %{__make} install-locales -C localedata \
479 install_root=$RPM_BUILD_ROOT
481 PICFILES="libc_pic.a libc.map
482 math/libm_pic.a libm.map
483 resolv/libresolv_pic.a"
485 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
486 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
487 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
489 mv -f $RPM_BUILD_ROOT/lib/libmemusage.so $RPM_BUILD_ROOT%{_libdir}
490 mv -f $RPM_BUILD_ROOT/lib/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
492 %{__make} -C linuxthreads/man
493 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
495 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
497 ln -sf ../../..%{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
498 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
499 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
500 ln -sf ../..%{_libdir}/libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
502 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
504 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
505 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
506 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
507 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
508 install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
510 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
511 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
512 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
513 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
514 rm -f %{_mandir}/hu/man7/man.7
516 :> $RPM_BUILD_ROOT/var/log/nscd
519 install -d documentation
521 cp -f linuxthreads/ChangeLog documentation/ChangeLog.threads
522 cp -f linuxthreads/Changes documentation/Changes.threads
523 cp -f linuxthreads/README documentation/README.threads
524 cp -f crypt/README.ufc-crypt documentation/
526 cp -f ChangeLog documentation
528 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
530 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
531 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/lib/ld-%{version}.so}
533 # Collect locale files and mark them with %%lang()
535 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
537 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
539 # list of long %%lang values we do support
540 for j in de_AT de_BE de_CH de_LU ja_JP.SJIS ko_KR.utf8 pt_BR \
541 zh_CN zh_CN.gbk zh_HK zh_TW ; do
542 if [ $j = "$lang" ]; then
546 if [ -n "$twochar" ]; then
547 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
548 lang=`echo $lang | sed "s,\..*,,"`
550 lang=`echo $lang | sed "s,_.*,,"`
553 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
554 echo "%lang($lang) $dir" >> glibc.lang
557 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 \
558 lt lv ms nn pt ro ru sl sr ta uk wa zh_CN ; do
560 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
561 lang=`echo $i | sed -e 's/_.*//'`
562 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
565 install %{SOURCE8} $RPM_BUILD_ROOT%{_mandir}/man8
567 install -m755 postshell $RPM_BUILD_ROOT/sbin
570 rm -rf $RPM_BUILD_ROOT
572 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
573 # when %%postun is run
575 %post -p /sbin/postshell
579 %postun -p /sbin/postshell
583 %post memusage -p /sbin/ldconfig
584 %postun memusage -p /sbin/ldconfig
586 %post -n iconv -p %{_sbindir}/iconvconfig
589 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
592 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
595 /sbin/chkconfig --add nscd
596 touch /var/log/nscd && (chmod 000 /var/log/nscd; chown root.root /var/log/nscd; chmod 640 /var/log/nscd)
597 if [ -f /var/lock/subsys/nscd ]; then
598 /etc/rc.d/init.d/nscd restart 1>&2
600 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
604 if [ "$1" = "0" ]; then
605 if [ -f /var/lock/subsys/nscd ]; then
606 /etc/rc.d/init.d/nscd stop 1>&2
608 /sbin/chkconfig --del nscd
611 %files -f %{name}.lang
612 %defattr(644,root,root,755)
613 %doc README NEWS FAQ BUGS
615 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
616 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
617 %config %{_sysconfdir}/rpc
618 %ghost %{_sysconfdir}/ld.so.cache
620 %attr(755,root,root) /sbin/*
621 %attr(755,root,root) %{_bindir}/catchsegv
622 %attr(755,root,root) %{_bindir}/getent
623 %attr(755,root,root) %{_bindir}/glibcbug
624 %attr(755,root,root) %{_bindir}/iconv
625 %attr(755,root,root) %{_bindir}/ldd
626 %ifnarch alpha sparc sparc64 ppc
627 %attr(755,root,root) %{_bindir}/lddlibc4
629 %attr(755,root,root) %{_bindir}/locale
630 %attr(755,root,root) %{_bindir}/rpcgen
631 %attr(755,root,root) %{_bindir}/tzselect
633 %attr(755,root,root) %{_sbindir}/rpcinfo
634 %attr(755,root,root) %{_sbindir}/zdump
635 %attr(755,root,root) %{_sbindir}/zic
637 %attr(755,root,root) /lib/ld-*
638 %attr(755,root,root) /lib/libanl*
639 %attr(755,root,root) /lib/libdl*
640 %attr(755,root,root) /lib/libnsl*
641 %attr(755,root,root) /lib/lib[BScmprtu]*
643 %dir %{_datadir}/locale
644 %{_datadir}/locale/locale.alias
647 %dir %{_libdir}/locale
649 %{_mandir}/man1/[^lsg]*
650 %{_mandir}/man1/getent.1*
651 %{_mandir}/man1/locale.1*
652 %{_mandir}/man1/ldd.1*
653 %{_mandir}/man5/???[^d]*
655 %{_mandir}/man8/[^n]*
656 %lang(cs) %{_mandir}/cs/man[578]/*
657 %lang(de) %{_mandir}/de/man[578]/*
658 %lang(es) %{_mandir}/es/man[578]/*
659 %lang(fi) %{_mandir}/fi/man1/ldd.1*
660 %lang(fr) %{_mandir}/fr/man1/ldd.1*
661 %lang(fr) %{_mandir}/fr/man[578]/*
662 %lang(hu) %{_mandir}/hu/man1/ldd.1*
663 %lang(hu) %{_mandir}/hu/man[578]/*
664 %lang(it) %{_mandir}/it/man[578]/*
665 %lang(ja) %{_mandir}/ja/man1/[^lsg]*
666 %lang(ja) %{_mandir}/ja/man1/ldd.1*
667 %lang(ja) %{_mandir}/ja/man5/???[^d]*
668 %lang(ja) %{_mandir}/ja/man7/*
669 %lang(ja) %{_mandir}/ja/man8/[^n]*
670 %lang(ko) %{_mandir}/ko/man[578]/*
671 # %lang(nl) %{_mandir}/nl/man[578]/*
672 %lang(pl) %{_mandir}/pl/man1/ldd.1*
673 %lang(pl) %{_mandir}/pl/man[578]/*
674 %lang(pt) %{_mandir}/pt/man5/???[^d]*
675 %lang(pt) %{_mandir}/pt/man7/*
676 %lang(pt) %{_mandir}/pt/man8/[^n]*
677 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[^d]*
678 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
679 %lang(pt_BR) %{_mandir}/pt_BR/man8/[^n]*
680 %lang(ru) %{_mandir}/ru/man[578]/*
683 %defattr(644,root,root,755)
684 %attr(755,root,root) /lib/libnss_dns*.so*
687 %defattr(644,root,root,755)
688 %attr(755,root,root) /lib/libnss_files*.so*
691 %defattr(644,root,root,755)
692 %attr(755,root,root) /lib/libnss_compat*.so*
695 %defattr(644,root,root,755)
696 %attr(755,root,root) /lib/libnss_hesiod*.so*
699 %defattr(644,root,root,755)
700 %attr(755,root,root) /lib/libnss_nis.so.*
701 %attr(755,root,root) /lib/libnss_nis-*.so
703 %files -n nss_nisplus
704 %defattr(644,root,root,755)
705 %attr(755,root,root) /lib/libnss_nisplus*.so*
708 %defattr(644,root,root,755)
709 %attr(755,root,root) %{_bindir}/memusage*
710 %attr(755,root,root) %{_libdir}/libmemusage*
713 %defattr(644,root,root,755)
714 %doc documentation/* NOTES PROJECTS
715 %attr(755,root,root) %{_bindir}/gencat
716 %attr(755,root,root) %{_bindir}/getconf
717 %attr(755,root,root) %{_bindir}/*prof*
718 %attr(755,root,root) %{_bindir}/*trace
722 %{_infodir}/libc.info*
724 %attr(755,root,root) %{_libdir}/lib[^m]*.so
725 %attr(755,root,root) %{_libdir}/libm.so
726 %attr(755,root,root) %{_libdir}/*crt*.o
727 %{_libdir}/libbsd-compat.a
729 %{_libdir}/libc_nonshared.a
732 %{_libdir}/librpcsvc.a
734 %{_mandir}/man1/getconf*
735 %{_mandir}/man1/sprof*
737 %lang(cs) %{_mandir}/cs/man3/*
738 %lang(de) %{_mandir}/de/man3/*
739 %lang(es) %{_mandir}/es/man3/*
740 %lang(fr) %{_mandir}/fr/man3/*
741 %lang(hu) %{_mandir}/hu/man3/*
742 # %lang(it) %{_mandir}/it/man3/*
743 %lang(ja) %{_mandir}/ja/man3/*
744 %lang(ko) %{_mandir}/ko/man3/*
745 %lang(nl) %{_mandir}/nl/man3/*
746 %lang(pl) %{_mandir}/pl/man3/*
747 %lang(pt) %{_mandir}/pt/man3/*
748 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
749 %lang(ru) %{_mandir}/ru/man3/*
752 %defattr(644,root,root,755)
753 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
754 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
755 %attr(754,root,root) /etc/rc.d/init.d/nscd
756 %attr(755,root,root) %{_sbindir}/nscd*
757 %attr(640,root,root) /etc/logrotate.d/nscd
758 %attr(640,root,root) %ghost /var/log/nscd
759 %{_mandir}/man5/nscd.conf*
760 %{_mandir}/man8/nscd*
761 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
762 %lang(ja) %{_mandir}/ja/man8/nscd*
763 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
764 %lang(pt) %{_mandir}/pt/man8/nscd*
765 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
766 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
768 %files -n localedb-src
769 %defattr(644,root,root,755)
770 %attr(755,root,root) %{_bindir}/localedef
772 %{_mandir}/man1/localedef*
775 %defattr(644,root,root,755)
776 %attr(755,root,root) %{_sbindir}/iconvconfig
777 %dir %{_libdir}/gconv
778 %{_libdir}/gconv/gconv-modules
779 %attr(755,root,root) %{_libdir}/gconv/*.so
782 %defattr(644,root,root,755)
784 %{_libdir}/libBrokenLocale.a
786 %{_libdir}/libcrypt.a
789 %{_libdir}/libmcheck.a
791 %{_libdir}/libpthread.a
792 %{_libdir}/libresolv.a
797 %defattr(644,root,root,755)
801 %defattr(644,root,root,755)
802 %{_libdir}/lib*_pic.a