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 URL: http://www.gnu.org/software/libc/
43 BuildRequires: gd-devel >= 2.0.1
44 BuildRequires: gettext-devel >= 0.10.36
45 BuildRequires: libpng-devel
47 BuildRequires: rpm-build >= 4.0.2-46
48 BuildRequires: texinfo
51 Provides: /sbin/ldconfig
52 Obsoletes: %{name}-common
53 Obsoletes: %{name}-debug
57 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58 Conflicts: kernel < %{min_kernel}
59 Conflicts: man-pages < 1.43
60 Conflicts: ld.so < 1.9.9-10
62 %define debugcflags -O1 -g
65 Contains the standard libraries that are used by multiple programs on
66 the system. In order to save disk space and memory, as well as to ease
67 upgrades, common system code is kept in one place and shared between
68 programs. This package contains the most important sets of shared
69 libraries, the standard C library and the standard math library.
70 Without these, a Linux system will not function. It also contains
71 national language (locale) support and timezone databases.
74 Enthält die Standard-Libraries, die von verschiedenen Programmen im
75 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
76 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
77 einer einzigen Stelle gespeichert und wird von den Programmen
78 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
79 shared Libraries, die Standard-C-Library und die
80 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
81 Ferner enthält es den Support für die verschiedenen Sprachgregionen
82 (locale) und die Zeitzonen-Datenbank.
85 Contient les bibliothèques standards utilisées par de nombreux
86 programmes du système. Afin d'économiser l'espace disque et mémoire,
87 et de faciliter les mises à jour, le code commun au système est mis à
88 un endroit et partagé entre les programmes. Ce paquetage contient les
89 bibliothèques partagées les plus importantes, la bibliothèque standard
90 du C et la bibliothèque mathématique standard. Sans celles-ci, un
91 système Linux ne peut fonctionner. Il contient aussi la gestion des
92 langues nationales (locales) et les bases de données des zones
96 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
97 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
98 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
99 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
100 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
101 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
102 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
103 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
104 jêzyków (locale) oraz definicje stref czasowych.
107 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
108 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
109 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
110 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
111 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
112 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
113 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
114 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
115 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
118 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
119 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
120 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
121 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
122 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
123 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
124 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
127 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
128 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
129 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
130 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
131 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
132 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
133 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
134 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
135 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
138 Summary: Additional libraries required to compile
139 Summary(de): Weitere Libraries zum Kompilieren
140 Summary(fr): Librairies supplémentaires nécessaires à la compilation.
141 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
142 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
143 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
144 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
145 Group: Development/Libraries
146 Requires: %{name} = %{version}
149 To develop programs which use the standard C libraries (which nearly
150 all programs do), the system needs to have these standard header files
151 and object files available for creating the executables.
153 %description devel -l de
154 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
155 verwenden (also fast alle), benötigt das System diese Standard-Header-
156 und Objektdateien zum Erstellen der ausführbaren Programme.
158 %description devel -l fr
159 Pour développer des programmes utilisant les bibliothèques standard du
160 C (ce que presque tous les programmes font), le système doit posséder
161 ces fichiers en-têtes et objets standards pour créer les exécutables.
163 %description devel -l pl
164 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
165 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
166 nag³ówkowe oraz pliki objektowe, niezbêdne do kompilacji programów
167 wykonywalnych i innych bibliotek.
169 %description devel -l ru
170 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
171 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
172 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
175 %description devel -l tr
176 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
177 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
180 %description devel -l uk
181 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
182 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
183 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
187 Summary: Name Service Caching Daemon
188 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
189 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
190 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
191 Group: Networking/Daemons
192 PreReq: /sbin/chkconfig
193 PreReq: rc-scripts >= 0.2.0
194 Requires: %{name} = %{version}
195 Requires(post): fileutils
198 nscd caches name service lookups; it can dramatically improve
199 performance with NIS+, and may help with DNS as well. You cannot use
200 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
201 nscd happens to hit these bugs particularly hard.
203 %description -n nscd -l pl
204 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
205 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
206 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
209 %description -n nscd -l ru
210 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
211 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
214 %description -n nscd -l uk
215 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
216 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
218 %package -n localedb-src
219 Summary: locale database source code
220 Summary(pl): Kod ¼ród³owy bazy locale
222 Requires: %{name} = %{version}
224 %description -n localedb-src
225 This add-on package contains the data needed to build the locale data
226 files to use the internationalization features of the GNU libc. glibc
227 package contains standard set of locale binary database so you need
228 this package only when you want to build some non-standard locale
231 %description -n localedb-src -l pl
232 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
233 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
234 libc. glibc zawiera standardowy zestaw binarnych baz lokalizacyjnych,
235 w zwi±zku z czym ten pakiet jest potrzebny tylko w sytuacji budowania
236 jakiej¶ niestandardowej bazy.
239 Summary: Convert encoding of given files from one encoding to another
240 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
241 Group: Applications/Text
242 Requires: %{name} = %{version}
244 %description -n iconv
245 Convert encoding of given files from one encoding to another. You need
246 this package if you want to convert some documet from one encoding to
247 another or if you have installed some programs which use Generic
248 Character Set Conversion Interface.
250 %description -n iconv -l pl
251 Program do konwersji plików tekstowych z jednego kodowania do innego.
252 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
253 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
254 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
255 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
256 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
259 Summary: Static libraries
260 Summary(pl): Biblioteki statyczne
261 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
262 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
263 Group: Development/Libraries
264 Requires: %{name}-devel = %{version}
267 GNU libc static libraries.
269 %description static -l pl
270 Biblioteki statyczne GNU libc.
272 %description static -l ru
273 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
274 ×ÈÏÄÑÔ × glibc-devel.
276 %description static -l uk
277 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
281 Summary: glibc with profiling support
282 Summary(de): glibc mit Profil-Unterstützung
283 Summary(fr): glibc avec support pour profiling
284 Summary(pl): glibc ze wsparciem dla profilowania
285 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
286 Summary(tr): Ölçüm desteði olan glibc
287 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
288 Group: Development/Libraries/Libc
289 Obsoletes: libc-profile
290 Requires: %{name}-devel = %{version}
293 When programs are being profiled used gprof, they must use these
294 libraries instead of the standard C libraries for gprof to be able to
295 profile them correctly.
297 %description profile -l de
298 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
299 Libraries anstelle der üblichen C-Libraries verwendet werden.
301 %description profile -l pl
302 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
303 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
306 %description profile -l uk
307 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
308 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
309 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
310 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
313 %description profile -l tr
314 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
315 kitaplýðý kullanmak zorundadýrlar.
317 %description profile -l ru
318 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
319 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
320 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
321 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
325 Summary: glibc PIC archive
326 Summary(pl): archiwum PIC glibc
327 Group: Development/Libraries/Libc
328 Requires: %{name}-devel = %{version}
331 GNU C Library PIC archive contains an archive library (ar file)
332 composed of individual shared objects. This is used for creating a
333 library which is a smaller subset of the standard libc shared library.
335 %description pic -l pl
336 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
337 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
338 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
339 biblioteki wspó³dzielonej libc.
341 %package -n nss_compat
342 Summary: Old style NYS NSS glibc module
343 Summary(pl): Stary modu³ NYS NSS glibc
345 Requires: %{name} = %{version}
347 %description -n nss_compat
348 Old style NYS NSS glibc module.
350 %description -n nss_compat -l pl
351 Stary modu³ NYS NSS glibc.
354 Summary: BIND NSS glibc module
355 Summary(pl): Modu³ BIND NSS glibc
357 Requires: %{name} = %{version}
359 %description -n nss_dns
360 BIND NSS glibc module.
362 %description -n nss_dns -l pl
363 Modu³ BIND NSS glibc.
365 %package -n nss_files
366 Summary: Traditional files databases NSS glibc module
367 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
369 Requires: %{name} = %{version}
371 %description -n nss_files
372 Traditional files databases NSS glibc module.
374 %description -n nss_files -l pl
375 Modu³ tradycyjnych plikowych baz danych NSS glibc.
377 %package -n nss_hesiod
378 Summary: Hesiod NSS glibc module
379 Summary(pl): Modu³ hesiod NSS glibc
381 Requires: %{name} = %{version}
383 %description -n nss_hesiod
384 glibc NSS (Name Service Switch) module for databases access.
386 %description -n nss_hesiod -l pl
387 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
390 Summary: NIS(YP) NSS glibc module
391 Summary(pl): Modu³ NIS(YP) NSS glibc
393 Requires: %{name} = %{version}
395 %description -n nss_nis
396 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
398 %description -n nss_nis -l pl
399 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
401 %package -n nss_nisplus
402 Summary: NIS+ NSS module
403 Summary(pl): Modu³ NIS+ NSS
405 Requires: %{name} = %{version}
407 %description -n nss_nisplus
408 glibc NSS (Name Service Switch) module for NIS+ databases accesa.
410 %description -n nss_nisplus -l pl
411 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
417 Requires: %{name} = %{version}
420 %description memusage
423 %description memusage -l pl
446 LDFLAGS=" " ; export LDFLAGS
447 if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
448 CPPFLAGS="`pkg-config libpng12 --cflags`"
451 --enable-add-ons=linuxthreads \
452 --enable-kernel="%{?kernel:%{kernel}}%{!?kernel:%{min_kernel}}" \
458 # this need improvements (like building agains new builded glibc) but works
459 %{__cc} -o postshell %{rpmcflags} %{rpmldflags} %{SOURCE7}
462 rm -rf $RPM_BUILD_ROOT
463 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
465 env LANGUAGE=C LC_ALL=C \
467 install_root=$RPM_BUILD_ROOT \
468 infodir=%{_infodir} \
471 env LANGUAGE=C LC_ALL=C \
472 %{__make} install-locales -C localedata \
473 install_root=$RPM_BUILD_ROOT
475 PICFILES="libc_pic.a libc.map
476 math/libm_pic.a libm.map
477 resolv/libresolv_pic.a"
479 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
480 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
481 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
483 mv -f $RPM_BUILD_ROOT/lib/libmemusage.so $RPM_BUILD_ROOT%{_libdir}
484 mv -f $RPM_BUILD_ROOT/lib/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
486 %{__make} -C linuxthreads/man
487 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
489 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
491 ln -sf ../../..%{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
492 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
493 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
494 ln -sf ../..%{_libdir}/libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
496 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
498 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
499 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
500 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
501 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
502 install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
504 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
505 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
506 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
507 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
508 rm -f %{_mandir}/hu/man7/man.7
510 :> $RPM_BUILD_ROOT/var/log/nscd
513 install -d documentation
515 cp -f linuxthreads/ChangeLog documentation/ChangeLog.threads
516 cp -f linuxthreads/Changes documentation/Changes.threads
517 cp -f linuxthreads/README documentation/README.threads
518 cp -f crypt/README.ufc-crypt documentation/
520 cp -f ChangeLog documentation
522 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
524 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
525 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/lib/ld-%{version}.so}
527 # Collect locale files and mark them with %%lang()
529 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
531 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
533 # list of long %%lang values we do support
534 for j in de_AT de_BE de_CH de_LU ja_JP.SJIS ko_KR.utf8 pt_BR \
535 zh_CN zh_CN.gbk zh_HK zh_TW ; do
536 if [ $j = "$lang" ]; then
540 if [ -n "$twochar" ]; then
541 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
542 lang=`echo $lang | sed "s,\..*,,"`
544 lang=`echo $lang | sed "s,_.*,,"`
547 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
548 echo "%lang($lang) $dir" >> glibc.lang
551 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 \
552 lt lv ms nn pt ro ru sl sr ta uk wa zh_CN ; do
554 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
555 lang=`echo $i | sed -e 's/_.*//'`
556 echo "%lang($lang) %ghost %{_datadir}/locale/$i" >> glibc.lang
561 install -m755 postshell $RPM_BUILD_ROOT/sbin
564 rm -rf $RPM_BUILD_ROOT
566 # not run iconvconfig in %%postun -n iconv because iconvconfig don't exist when %%postun is runned
568 %post -p /sbin/postshell
572 %postun -p /sbin/postshell
576 %post memusage -p /sbin/ldconfig
577 %postun memusage -p /sbin/ldconfig
579 %post -n iconv -p %{_sbindir}/iconvconfig
582 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
585 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
588 /sbin/chkconfig --add nscd
589 touch /var/log/nscd && (chmod 000 /var/log/nscd; chown root.root /var/log/nscd; chmod 640 /var/log/nscd)
590 if [ -f /var/lock/subsys/nscd ]; then
591 /etc/rc.d/init.d/nscd restart 1>&2
593 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
597 if [ "$1" = "0" ]; then
598 if [ -f /var/lock/subsys/nscd ]; then
599 /etc/rc.d/init.d/nscd stop 1>&2
601 /sbin/chkconfig --del nscd
604 %files -f %{name}.lang
605 %defattr(644,root,root,755)
606 %doc README NEWS FAQ BUGS
608 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
609 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
610 %config %{_sysconfdir}/rpc
611 %ghost %{_sysconfdir}/ld.so.cache
613 %attr(755,root,root) /sbin/*
614 %attr(755,root,root) %{_bindir}/catchsegv
615 %attr(755,root,root) %{_bindir}/getent
616 %attr(755,root,root) %{_bindir}/glibcbug
617 %attr(755,root,root) %{_bindir}/iconv
618 %attr(755,root,root) %{_bindir}/ldd
619 %ifnarch alpha sparc sparc64 ppc
620 %attr(755,root,root) %{_bindir}/lddlibc4
622 %attr(755,root,root) %{_bindir}/locale
623 %attr(755,root,root) %{_bindir}/rpcgen
624 %attr(755,root,root) %{_bindir}/tzselect
626 %attr(755,root,root) %{_sbindir}/rpcinfo
627 %attr(755,root,root) %{_sbindir}/zdump
628 %attr(755,root,root) %{_sbindir}/zic
630 %attr(755,root,root) /lib/ld-*
631 %attr(755,root,root) /lib/libanl*
632 %attr(755,root,root) /lib/libdl*
633 %attr(755,root,root) /lib/libnsl*
634 %attr(755,root,root) /lib/lib[BScmprtu]*
636 %dir %{_datadir}/locale
637 %{_datadir}/locale/locale.alias
640 %dir %{_libdir}/locale
642 %{_mandir}/man1/[^lsg]*
643 %{_mandir}/man1/getent.1*
644 %{_mandir}/man1/locale.1*
645 %{_mandir}/man1/ldd.1*
646 %{_mandir}/man5/???[^d]*
648 %{_mandir}/man8/[^n]*
649 %lang(cs) %{_mandir}/cs/man[578]/*
650 %lang(de) %{_mandir}/de/man[578]/*
651 %lang(es) %{_mandir}/es/man[578]/*
652 %lang(fi) %{_mandir}/fi/man1/ldd.1*
653 %lang(fr) %{_mandir}/fr/man1/ldd.1*
654 %lang(fr) %{_mandir}/fr/man[578]/*
655 %lang(hu) %{_mandir}/hu/man1/ldd.1*
656 %lang(hu) %{_mandir}/hu/man[578]/*
657 %lang(it) %{_mandir}/it/man[578]/*
658 %lang(ja) %{_mandir}/ja/man1/[^lsg]*
659 %lang(ja) %{_mandir}/ja/man1/ldd.1*
660 %lang(ja) %{_mandir}/ja/man5/???[^d]*
661 %lang(ja) %{_mandir}/ja/man7/*
662 %lang(ja) %{_mandir}/ja/man8/[^n]*
663 %lang(ko) %{_mandir}/ko/man[578]/*
664 # %lang(nl) %{_mandir}/nl/man[578]/*
665 %lang(pl) %{_mandir}/pl/man1/ldd.1*
666 %lang(pl) %{_mandir}/pl/man[578]/*
667 %lang(pt) %{_mandir}/pt/man5/???[^d]*
668 %lang(pt) %{_mandir}/pt/man7/*
669 %lang(pt) %{_mandir}/pt/man8/[^n]*
670 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[^d]*
671 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
672 %lang(pt_BR) %{_mandir}/pt_BR/man8/[^n]*
673 %lang(ru) %{_mandir}/ru/man[578]/*
676 %defattr(644,root,root,755)
677 %attr(755,root,root) /lib/libnss_dns*.so*
680 %defattr(644,root,root,755)
681 %attr(755,root,root) /lib/libnss_files*.so*
684 %defattr(644,root,root,755)
685 %attr(755,root,root) /lib/libnss_compat*.so*
688 %defattr(644,root,root,755)
689 %attr(755,root,root) /lib/libnss_hesiod*.so*
692 %defattr(644,root,root,755)
693 %attr(755,root,root) /lib/libnss_nis.so.*
694 %attr(755,root,root) /lib/libnss_nis-*.so
696 %files -n nss_nisplus
697 %defattr(644,root,root,755)
698 %attr(755,root,root) /lib/libnss_nisplus*.so*
701 %defattr(644,root,root,755)
702 %attr(755,root,root) %{_bindir}/memusage*
703 %attr(755,root,root) %{_libdir}/libmemusage*
706 %defattr(644,root,root,755)
707 %doc documentation/* NOTES PROJECTS
708 %attr(755,root,root) %{_bindir}/gencat
709 %attr(755,root,root) %{_bindir}/getconf
710 %attr(755,root,root) %{_bindir}/*prof*
711 %attr(755,root,root) %{_bindir}/*trace
715 %{_infodir}/libc.info*
717 %attr(755,root,root) %{_libdir}/lib[^m]*.so
718 %attr(755,root,root) %{_libdir}/libm.so
719 %attr(755,root,root) %{_libdir}/*crt*.o
720 %{_libdir}/libbsd-compat.a
722 %{_libdir}/libc_nonshared.a
725 %{_libdir}/librpcsvc.a
727 %{_mandir}/man1/getconf*
728 %{_mandir}/man1/sprof*
730 %lang(cs) %{_mandir}/cs/man3/*
731 %lang(de) %{_mandir}/de/man3/*
732 %lang(es) %{_mandir}/es/man3/*
733 %lang(fr) %{_mandir}/fr/man3/*
734 %lang(hu) %{_mandir}/hu/man3/*
735 # %lang(it) %{_mandir}/it/man3/*
736 %lang(ja) %{_mandir}/ja/man3/*
737 %lang(ko) %{_mandir}/ko/man3/*
738 %lang(nl) %{_mandir}/nl/man3/*
739 %lang(pl) %{_mandir}/pl/man3/*
740 %lang(pt) %{_mandir}/pt/man3/*
741 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
742 %lang(ru) %{_mandir}/ru/man3/*
745 %defattr(644,root,root,755)
746 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
747 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
748 %attr(754,root,root) /etc/rc.d/init.d/nscd
749 %attr(755,root,root) %{_sbindir}/nscd*
750 %attr(640,root,root) /etc/logrotate.d/nscd
751 %attr(640,root,root) %ghost /var/log/nscd
752 %{_mandir}/man5/nscd.conf*
753 %{_mandir}/man8/nscd*
754 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
755 %lang(ja) %{_mandir}/ja/man8/nscd*
756 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
757 %lang(pt) %{_mandir}/pt/man8/nscd*
758 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
759 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
761 %files -n localedb-src
762 %defattr(644,root,root,755)
763 %attr(755,root,root) %{_bindir}/localedef
765 %{_mandir}/man1/localedef*
768 %defattr(644,root,root,755)
769 %attr(755,root,root) %{_sbindir}/iconvconfig
770 %dir %{_libdir}/gconv
771 %{_libdir}/gconv/gconv-modules
772 %attr(755,root,root) %{_libdir}/gconv/*.so
775 %defattr(644,root,root,755)
777 %{_libdir}/libBrokenLocale.a
779 %{_libdir}/libcrypt.a
782 %{_libdir}/libmcheck.a
784 %{_libdir}/libpthread.a
785 %{_libdir}/libresolv.a
790 %defattr(644,root,root,755)
794 %defattr(644,root,root,755)
795 %{_libdir}/lib*_pic.a