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
27 Patch0: %{name}-info.patch
28 Patch1: %{name}-versions.awk_fix.patch
29 Patch2: %{name}-pld.patch
30 Patch3: %{name}-crypt-blowfish.patch
31 Patch4: %{name}-string2-pointer-arith.patch
32 Patch5: %{name}-linuxthreads-lock.patch
33 Patch6: %{name}-pthread_create-manpage.patch
34 Patch7: %{name}-sparc-linux-chown.patch
35 Patch8: %{name}-ldconfig-bklinks.patch
36 Patch9: %{name}-paths.patch
37 Patch10: %{name}-vaargs.patch
38 Patch11: %{name}-getaddrinfo-workaround.patch
39 Patch12: %{name}-use-int-not-arpa.patch
40 Patch13: %{name}-divdi3.patch
41 URL: http://www.gnu.org/software/libc/
42 BuildRequires: gd-devel >= 2.0.1
43 BuildRequires: gettext-devel >= 0.10.36
44 BuildRequires: libpng-devel
46 BuildRequires: rpm-build >= 4.0.2-46
47 BuildRequires: texinfo
50 Provides: /sbin/ldconfig
51 Obsoletes: %{name}-common
52 Obsoletes: %{name}-debug
56 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57 Conflicts: kernel < %{min_kernel}
58 Conflicts: man-pages < 1.43
59 Conflicts: ld.so < 1.9.9-9
61 %define debugcflags -O1 -g
64 Contains the standard libraries that are used by multiple programs on
65 the system. In order to save disk space and memory, as well as to ease
66 upgrades, common system code is kept in one place and shared between
67 programs. This package contains the most important sets of shared
68 libraries, the standard C library and the standard math library.
69 Without these, a Linux system will not function. It also contains
70 national language (locale) support and timezone databases.
73 Enthält die Standard-Libraries, die von verschiedenen Programmen im
74 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
75 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
76 einer einzigen Stelle gespeichert und wird von den Programmen
77 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
78 shared Libraries, die Standard-C-Library und die
79 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
80 Ferner enthält es den Support für die verschiedenen Sprachgregionen
81 (locale) und die Zeitzonen-Datenbank.
84 Contient les bibliothèques standards utilisées par de nombreux
85 programmes du système. Afin d'économiser l'espace disque et mémoire,
86 et de faciliter les mises à jour, le code commun au système est mis à
87 un endroit et partagé entre les programmes. Ce paquetage contient les
88 bibliothèques partagées les plus importantes, la bibliothèque standard
89 du C et la bibliothèque mathématique standard. Sans celles-ci, un
90 système Linux ne peut fonctionner. Il contient aussi la gestion des
91 langues nationales (locales) et les bases de données des zones
95 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
96 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
97 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
98 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
99 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
100 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
101 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
102 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
103 jêzyków (locale) oraz definicje stref czasowych.
106 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
107 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
108 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
109 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
110 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
111 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
112 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
113 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
114 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
117 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
118 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
119 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
120 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
121 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
122 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
123 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
126 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
127 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
128 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
129 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
130 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
131 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
132 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
133 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
134 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
137 Summary: Additional libraries required to compile
138 Summary(de): Weitere Libraries zum Kompilieren
139 Summary(fr): Librairies supplémentaires nécessaires à la compilation.
140 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
141 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
142 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
143 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
144 Group: Development/Libraries
145 Requires: %{name} = %{version}
148 To develop programs which use the standard C libraries (which nearly
149 all programs do), the system needs to have these standard header files
150 and object files available for creating the executables.
152 %description devel -l de
153 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
154 verwenden (also fast alle), benötigt das System diese Standard-Header-
155 und Objektdateien zum Erstellen der ausführbaren Programme.
157 %description devel -l fr
158 Pour développer des programmes utilisant les bibliothèques standard du
159 C (ce que presque tous les programmes font), le système doit posséder
160 ces fichiers en-têtes et objets standards pour créer les exécutables.
162 %description devel -l pl
163 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
164 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
165 nag³ówkowe oraz pliki objektowe, niezbêdne do kompilacji programów
166 wykonywalnych i innych bibliotek.
168 %description devel -l ru
169 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
170 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
171 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
174 %description devel -l tr
175 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
176 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
179 %description devel -l uk
180 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
181 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
182 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
186 Summary: Name Service Caching Daemon
187 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
188 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
189 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
190 Group: Networking/Daemons
191 Prereq: /sbin/chkconfig
192 Prereq: rc-scripts >= 0.2.0
193 Requires: %{name} = %{version}
194 Requires(post): fileutils
197 nscd caches name service lookups; it can dramatically improve
198 performance with NIS+, and may help with DNS as well. You cannot use
199 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
200 nscd happens to hit these bugs particularly hard.
202 %description -n nscd -l pl
203 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
204 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
205 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
208 %description -n nscd -l ru
209 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
210 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
213 %description -n nscd -l uk
214 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
215 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
217 %package -n localedb-src
218 Summary: locale database source code
219 Summary(pl): Kod ¼ród³owy bazy locale
221 Requires: %{name} = %{version}
223 %description -n localedb-src
224 This add-on package contains the data needed to build the locale data
225 files to use the internationalization features of the GNU libc. glibc
226 package contains standard set of locale binary database so you need
227 this package only when you want to build some non-standard locale
230 %description -n localedb-src -l pl
231 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
232 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
233 libc. glibc zawiera standardowy zestaw binarnych baz lokalizacyjnych,
234 w zwi±zku z czym ten pakiet jest potrzebny tylko w sytuacji budowania
235 jakiej¶ niestandardowej bazy.
238 Summary: Convert encoding of given files from one encoding to another
239 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
241 Requires: %{name} = %{version}
243 %description -n iconv
244 Convert encoding of given files from one encoding to another. You need
245 this package if you want to convert some documet from one encoding to
246 another or if you have installed some programs which use Generic
247 Character Set Conversion Interface.
249 %description -n iconv -l pl
250 Program do konwersji plików tekstowych z jednego kodowania do innego.
251 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
252 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
253 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
254 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
255 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
258 Summary: Static libraries
259 Summary(pl): Biblioteki statyczne
260 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
261 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
262 Group: Development/Libraries
263 Requires: %{name}-devel = %{version}
266 GNU libc static libraries.
268 %description static -l pl
269 Biblioteki statyczne GNU libc.
271 %description static -l ru
272 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
273 ×ÈÏÄÑÔ × glibc-devel.
275 %description static -l uk
276 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
280 Summary: glibc with profiling support
281 Summary(de): glibc mit Profil-Unterstützung
282 Summary(fr): glibc avec support pour profiling
283 Summary(pl): glibc ze wsparciem dla profilowania
284 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
285 Summary(tr): Ölçüm desteði olan glibc
286 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
287 Group: Development/Libraries/Libc
288 Obsoletes: libc-profile
289 Requires: %{name}-devel = %{version}
292 When programs are being profiled used gprof, they must use these
293 libraries instead of the standard C libraries for gprof to be able to
294 profile them correctly.
296 %description profile -l de
297 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
298 Libraries anstelle der üblichen C-Libraries verwendet werden.
300 %description profile -l pl
301 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
302 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
305 %description profile -l uk
306 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
307 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
308 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
309 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
312 %description profile -l tr
313 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
314 kitaplýðý kullanmak zorundadýrlar.
316 %description profile -l ru
317 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
318 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
319 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
320 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
324 Summary: glibc PIC archive
325 Summary(pl): archiwum PIC glibc
326 Group: Development/Libraries/Libc
327 Requires: %{name}-devel = %{version}
330 GNU C Library PIC archive contains an archive library (ar file)
331 composed of individual shared objects. This is used for creating a
332 library which is a smaller subset of the standard libc shared library.
334 %description pic -l pl
335 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
336 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
337 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
338 biblioteki wspó³dzielonej libc.
340 %package -n nss_compat
341 Summary: Old style NYS NSS glibc module
342 Summary(pl): Stary modu³ NYS NSS glibc
344 Requires: %{name} = %{version}
346 %description -n nss_compat
347 Old style NYS NSS glibc module.
349 %description -n nss_compat -l pl
350 Stary modu³ NYS NSS glibc.
353 Summary: BIND NSS glibc module
354 Summary(pl): Modu³ BIND NSS glibc
356 Requires: %{name} = %{version}
358 %description -n nss_dns
359 BIND NSS glibc module.
361 %description -n nss_dns -l pl
362 Modu³ BIND NSS glibc.
364 %package -n nss_files
365 Summary: Traditional files databases NSS glibc module
366 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
368 Requires: %{name} = %{version}
370 %description -n nss_files
371 Traditional files databases NSS glibc module.
373 %description -n nss_files -l pl
374 Modu³ tradycyjnych plikowych baz danych NSS glibc.
376 %package -n nss_hesiod
377 Summary: Hesiod NSS glibc module
378 Summary(pl): Modu³ hesiod NSS glibc
380 Requires: %{name} = %{version}
382 %description -n nss_hesiod
383 glibc NSS (Name Service Switch) module for databases access.
385 %description -n nss_hesiod -l pl
386 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
389 Summary: NIS(YP) NSS glibc module
390 Summary(pl): Modu³ NIS(YP) NSS glibc
392 Requires: %{name} = %{version}
394 %description -n nss_nis
395 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
397 %description -n nss_nis -l pl
398 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
400 %package -n nss_nisplus
401 Summary: NIS+ NSS module
402 Summary(pl): Modu³ NIS+ NSS
404 Requires: %{name} = %{version}
406 %description -n nss_nisplus
407 glibc NSS (Name Service Switch) module for NIS+ databases accesa.
409 %description -n nss_nisplus -l pl
410 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
416 Requires: %{name} = %{version}
419 %description memusage
422 %description memusage -l pl
445 LDFLAGS=" " ; export LDFLAGS
447 --enable-add-ons=linuxthreads \
448 --enable-kernel="%{?kernel:%{kernel}}%{!?kernel:%{min_kernel}}" \
455 rm -rf $RPM_BUILD_ROOT
456 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
458 env LANGUAGE=C LC_ALL=C \
460 install_root=$RPM_BUILD_ROOT \
461 infodir=%{_infodir} \
464 env LANGUAGE=C LC_ALL=C \
465 %{__make} install-locales -C localedata \
466 install_root=$RPM_BUILD_ROOT
468 PICFILES="libc_pic.a libc.map
469 math/libm_pic.a libm.map
470 resolv/libresolv_pic.a"
472 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
473 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
474 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
476 mv -f $RPM_BUILD_ROOT/lib/libmemusage.so $RPM_BUILD_ROOT%{_libdir}
477 mv -f $RPM_BUILD_ROOT/lib/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
479 %{__make} -C linuxthreads/man
480 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
482 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
484 ln -sf ../../..%{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
485 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
486 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
487 ln -sf ../..%{_libdir}/libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
489 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
491 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
492 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
493 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
494 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
495 install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
497 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
498 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
499 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
500 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
501 rm -f %{_mandir}/hu/man7/man.7
503 :> $RPM_BUILD_ROOT/var/log/nscd
506 install -d documentation
508 cp -f linuxthreads/ChangeLog documentation/ChangeLog.threads
509 cp -f linuxthreads/Changes documentation/Changes.threads
510 cp -f linuxthreads/README documentation/README.threads
511 cp -f crypt/README.ufc-crypt documentation/
513 cp -f ChangeLog documentation
515 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
517 gzip -9nf README NEWS FAQ BUGS NOTES PROJECTS documentation/*
519 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
520 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/lib/ld-%{version}.so}
522 # Collect locale files and mark them with %%lang()
524 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
526 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
527 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
528 echo "%lang($lang) $dir" >> glibc.lang
533 rm -rf $RPM_BUILD_ROOT
535 %post -p /sbin/ldconfig
536 %postun -p /sbin/ldconfig
538 %post memusage -p /sbin/ldconfig
539 %postun memusage -p /sbin/ldconfig
542 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
545 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
548 /sbin/chkconfig --add nscd
549 touch /var/log/nscd && (chmod 000 /var/log/nscd; chown root.root /var/log/nscd; chmod 640 /var/log/nscd)
550 if [ -f /var/lock/subsys/nscd ]; then
551 /etc/rc.d/init.d/nscd restart 1>&2
553 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
557 if [ "$1" = "0" ]; then
558 if [ -f /var/lock/subsys/nscd ]; then
559 /etc/rc.d/init.d/nscd stop 1>&2
561 /sbin/chkconfig --del nscd
564 %files -f %{name}.lang
565 %defattr(644,root,root,755)
566 %doc {README,NEWS,FAQ,BUGS}.gz
568 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
569 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
570 %config %{_sysconfdir}/rpc
571 %ghost %{_sysconfdir}/ld.so.cache
573 %attr(755,root,root) /sbin/*
574 %attr(755,root,root) %{_bindir}/catchsegv
575 %attr(755,root,root) %{_bindir}/getent
576 %attr(755,root,root) %{_bindir}/glibcbug
577 %attr(755,root,root) %{_bindir}/iconv
578 %attr(755,root,root) %{_bindir}/ldd
579 %ifnarch alpha sparc sparc64 ppc
580 %attr(755,root,root) %{_bindir}/lddlibc4
582 %attr(755,root,root) %{_bindir}/locale
583 %attr(755,root,root) %{_bindir}/rpcgen
584 %attr(755,root,root) %{_bindir}/tzselect
586 %attr(755,root,root) %{_sbindir}/rpcinfo
587 %attr(755,root,root) %{_sbindir}/zdump
588 %attr(755,root,root) %{_sbindir}/zic
590 %attr(755,root,root) /lib/ld-*
591 %attr(755,root,root) /lib/libdl*
592 %attr(755,root,root) /lib/libnsl*
593 %attr(755,root,root) /lib/lib[BScmprtu]*
595 %dir %{_datadir}/locale
596 %{_datadir}/locale/locale.alias
599 %dir %{_libdir}/locale
601 %{_mandir}/man1/[^ls]*
602 %{_mandir}/man1/locale.1*
603 %{_mandir}/man1/ldd.1*
604 %{_mandir}/man5/???[^d]*
606 %{_mandir}/man8/[^n]*
607 %lang(cs) %{_mandir}/cs/man[578]/*
608 %lang(de) %{_mandir}/de/man[578]/*
609 %lang(es) %{_mandir}/es/man[578]/*
610 %lang(fi) %{_mandir}/fi/man1/ldd.1*
611 %lang(fr) %{_mandir}/fr/man1/ldd.1*
612 %lang(fr) %{_mandir}/fr/man[578]/*
613 %lang(hu) %{_mandir}/hu/man1/ldd.1*
614 %lang(hu) %{_mandir}/hu/man[578]/*
615 %lang(it) %{_mandir}/it/man[578]/*
616 %lang(ja) %{_mandir}/ja/man1/[^ls]*
617 %lang(ja) %{_mandir}/ja/man1/ldd.1*
618 %lang(ja) %{_mandir}/ja/man5/???[^d]*
619 %lang(ja) %{_mandir}/ja/man7/*
620 %lang(ja) %{_mandir}/ja/man8/[^n]*
621 %lang(ko) %{_mandir}/ko/man[578]/*
622 # %lang(nl) %{_mandir}/nl/man[578]/*
623 %lang(pl) %{_mandir}/pl/man1/ldd.1*
624 %lang(pl) %{_mandir}/pl/man[578]/*
625 %lang(pt) %{_mandir}/pt/man5/???[^d]*
626 %lang(pt) %{_mandir}/pt/man7/*
627 %lang(pt) %{_mandir}/pt/man8/[^n]*
628 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[^d]*
629 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
630 %lang(pt_BR) %{_mandir}/pt_BR/man8/[^n]*
631 %lang(ru) %{_mandir}/ru/man[578]/*
634 %defattr(644,root,root,755)
635 %attr(755,root,root) /lib/libnss_dns*.so*
638 %defattr(644,root,root,755)
639 %attr(755,root,root) /lib/libnss_files*.so*
642 %defattr(644,root,root,755)
643 %attr(755,root,root) /lib/libnss_compat*.so*
646 %defattr(644,root,root,755)
647 %attr(755,root,root) /lib/libnss_hesiod*.so*
650 %defattr(644,root,root,755)
651 %attr(755,root,root) /lib/libnss_nis.so.*
652 %attr(755,root,root) /lib/libnss_nis-*.so
654 %files -n nss_nisplus
655 %defattr(644,root,root,755)
656 %attr(755,root,root) /lib/libnss_nisplus*.so*
659 %defattr(644,root,root,755)
660 %attr(755,root,root) %{_bindir}/memusage*
661 %attr(755,root,root) %{_libdir}/libmemusage*
664 %defattr(644,root,root,755)
665 %doc documentation/* {NOTES,PROJECTS}.gz
666 %attr(755,root,root) %{_bindir}/gencat
667 %attr(755,root,root) %{_bindir}/getconf
668 %attr(755,root,root) %{_bindir}/*prof*
669 %attr(755,root,root) %{_bindir}/*trace
673 %{_infodir}/libc.info*
675 %attr(755,root,root) %{_libdir}/lib*.so
676 %attr(755,root,root) %{_libdir}/*crt*.o
677 %{_libdir}/libc_nonshared.a
678 %{_libdir}/librpcsvc.a
680 %{_mandir}/man1/sprof*
682 %lang(cs) %{_mandir}/cs/man3/*
683 %lang(de) %{_mandir}/de/man3/*
684 %lang(es) %{_mandir}/es/man3/*
685 %lang(fr) %{_mandir}/fr/man3/*
686 %lang(hu) %{_mandir}/hu/man3/*
687 # %lang(it) %{_mandir}/it/man3/*
688 %lang(ja) %{_mandir}/ja/man3/*
689 %lang(ko) %{_mandir}/ko/man3/*
690 %lang(nl) %{_mandir}/nl/man3/*
691 %lang(pl) %{_mandir}/pl/man3/*
692 %lang(pt) %{_mandir}/pt/man3/*
693 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
694 %lang(ru) %{_mandir}/ru/man3/*
697 %defattr(644,root,root,755)
698 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
699 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
700 %attr(754,root,root) /etc/rc.d/init.d/nscd
701 %attr(755,root,root) %{_sbindir}/nscd*
702 %attr(640,root,root) /etc/logrotate.d/nscd
703 %attr(640,root,root) %ghost /var/log/nscd
704 %{_mandir}/man5/nscd.conf*
705 %{_mandir}/man8/nscd*
706 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
707 %lang(ja) %{_mandir}/ja/man8/nscd*
708 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
709 %lang(pt) %{_mandir}/pt/man8/nscd*
710 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
711 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
713 %files -n localedb-src
714 %defattr(644,root,root,755)
715 %attr(755,root,root) %{_bindir}/localedef
717 %{_mandir}/man1/localedef*
720 %defattr(644,root,root,755)
721 %dir %{_libdir}/gconv
722 %{_libdir}/gconv/gconv-modules
723 %attr(755,root,root) %{_libdir}/gconv/*.so
726 %defattr(644,root,root,755)
727 %{_libdir}/libBrokenLocale.a
728 %{_libdir}/libbsd-compat.a
731 %{_libdir}/libcrypt.a
736 %{_libdir}/libmcheck.a
738 %{_libdir}/libpthread.a
739 %{_libdir}/libresolv.a
744 %defattr(644,root,root,755)
748 %defattr(644,root,root,755)
749 %{_libdir}/lib*_pic.a