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)
6 # _without_dist_kernel build without kernel from the distribution;
7 # headers will be searched in %_kernelsrcdir/include.
8 # _without_fp build without frame pointer (pass --enable-omitfp)
9 # _without_memusage build without memusage
11 # _with_kernheaders use "kernheaders" as user-space kernel headers
12 # (instead of copying from kernel-headers 2.4.x)
13 # [broken at the moment]
15 %bcond_with idn # build with included libidn
18 # - localedb-gen man pages(?)
19 # - fix what trojan broke while upgreading (getaddrinfo-workaround)
23 # posix zoneinfo dir removed, /etc/rc.d/init.d/timezone must be changed
24 # in order to use this version!
26 %{!?min_kernel:%define min_kernel 2.2.0}
31 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
33 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
35 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
42 Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
43 # Source0-md5: ede969aad568f48083e413384f20753c
44 Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
45 # Source1-md5: 894b8969cfbdf787c73e139782167607
47 Source3: nscd.sysconfig
48 Source4: nscd.logrotate
49 Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
50 # Source5-md5: ddba280857330dabba4d8c16d24a6dfd
51 Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
52 # Source6-md5: 2e3992c2e1bc94212c2cd33236de6058
53 # borrowed from util-linux
55 Source8: %{name}-localedb-gen
56 # Kernel headers for userspace
57 Source9: %{name}-kernheaders.tar.bz2
58 # Source9-md5: b48fec281f854627d6b8781cd1dd72d2
59 Source10: http://josefsson.org/libidn/releases/libidn-0.3.0rc3.tar.gz
60 # Source10-md5: ded0b439efe16dd29ce5a24d3d3dcebf
61 Patch0: %{name}-info.patch
62 Patch2: %{name}-pld.patch
63 Patch3: %{name}-crypt-blowfish.patch
64 Patch4: %{name}-string2-pointer-arith.patch
65 Patch5: %{name}-linuxthreads-lock.patch
66 Patch6: %{name}-pthread_create-manpage.patch
67 Patch9: %{name}-paths.patch
68 Patch10: %{name}-vaargs.patch
69 Patch11: %{name}-getaddrinfo-workaround.patch
70 Patch12: %{name}-postshell.patch
71 Patch13: %{name}-pl.po-update.patch
72 Patch14: %{name}-missing-nls.patch
73 Patch16: %{name}-java-libc-wait.patch
74 Patch17: %{name}-morelocales.patch
75 Patch18: %{name}-lthrds_noomit.patch
76 Patch19: %{name}-no_opt_override.patch
77 Patch20: %{name}-gcc33.patch
78 #Patch21: %{name}-sanity.patch
79 Patch22: %{name}-secureexec.patch
80 Patch23: %{name}-kernel_includes.patch
81 Patch24: %{name}-sparc64_pause.patch
82 Patch25: %{name}-linuxthreads.patch
83 Patch26: %{name}-alpha-fix-as-syntax.patch
84 URL: http://www.gnu.org/software/libc/
85 BuildRequires: binutils >= 2.13.90.0.2
86 BuildRequires: gcc >= 3.2
87 %{!?_without_memusage:BuildRequires: gd-devel >= 2.0.1}
88 BuildRequires: gettext-devel >= 0.10.36
89 %if 0%{!?_with_kernheaders:1}
90 %{!?_without_dist_kernel:BuildRequires: kernel-headers < 2.5}
92 BuildRequires: perl-base
93 BuildRequires: rpm-build >= 4.0.2-46
94 BuildRequires: rpm-perlprov
95 BuildRequires: sed >= 4.0.5
96 BuildRequires: texinfo
100 Provides: /sbin/ldconfig
101 Obsoletes: %{name}-common
102 Obsoletes: %{name}-debug
105 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
106 Conflicts: kernel < %{min_kernel}
107 Conflicts: ld.so < 1.9.9-10
108 Conflicts: man-pages < 1.43
109 Conflicts: rc-scripts < 0.3.1-13
112 %define debugcflags -O1 -g
114 %define _without_memusage 1
115 %define specflags_sparc64 -mvis -fcall-used-g6
116 %define _libdir /usr/lib64
120 Contains the standard libraries that are used by multiple programs on
121 the system. In order to save disk space and memory, as well as to ease
122 upgrades, common system code is kept in one place and shared between
123 programs. This package contains the most important sets of shared
124 libraries, the standard C library and the standard math library.
125 Without these, a Linux system will not function. It also contains
126 national language (locale) support and timezone databases.
128 Can be used on: Linux kernel >= %{min_kernel}.
131 Enthält die Standard-Libraries, die von verschiedenen Programmen im
132 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
133 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
134 einer einzigen Stelle gespeichert und wird von den Programmen
135 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
136 shared Libraries, die Standard-C-Library und die
137 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
138 Ferner enthält es den Support für die verschiedenen Sprachgregionen
139 (locale) und die Zeitzonen-Datenbank.
141 Can be used on: Linux kernel >= %{min_kernel}.
144 Contient les bibliothèques standards utilisées par de nombreux
145 programmes du système. Afin d'économiser l'espace disque et mémoire,
146 et de faciliter les mises à jour, le code commun au système est mis à
147 un endroit et partagé entre les programmes. Ce paquetage contient les
148 bibliothèques partagées les plus importantes, la bibliothèque standard
149 du C et la bibliothèque mathématique standard. Sans celles-ci, un
150 système Linux ne peut fonctionner. Il contient aussi la gestion des
151 langues nationales (locales) et les bases de données des zones
154 Can be used on: Linux kernel >= %{min_kernel}.
158 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
159 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
160 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
161 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
162 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
163 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
164 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
165 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
167 Can be used on: Linux kernel >= %{min_kernel}.
170 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
171 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
172 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
173 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
174 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
175 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
176 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
177 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
178 jêzyków (locale) oraz definicje stref czasowych.
180 Przeznaczony dla j±dra Linux >= %{min_kernel}.
183 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
184 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
185 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
186 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
187 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
188 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
189 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
190 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
191 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
193 Can be used on: Linux kernel >= %{min_kernel}.
196 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
197 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
198 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
199 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
200 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
201 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
202 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
204 Can be used on: Linux kernel >= %{min_kernel}.
207 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
208 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
209 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
210 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
211 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
212 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
213 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
214 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
215 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
217 Can be used on: Linux kernel >= %{min_kernel}.
220 Summary: Additional libraries required to compile
221 Summary(de): Weitere Libraries zum Kompilieren
222 Summary(fr): Librairies supplémentaires nécessaires à la compilation
223 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
224 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
225 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
226 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
227 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
228 Group: Development/Libraries
229 Requires: %{name} = %{epoch}:%{version}
232 To develop programs which use the standard C libraries (which nearly
233 all programs do), the system needs to have these standard header files
234 and object files available for creating the executables.
236 %description devel -l de
237 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
238 verwenden (also fast alle), benötigt das System diese Standard-Header-
239 und Objektdateien zum Erstellen der ausführbaren Programme.
241 %description devel -l fr
242 Pour développer des programmes utilisant les bibliothèques standard du
243 C (ce que presque tous les programmes font), le système doit posséder
244 ces fichiers en-têtes et objets standards pour créer les exécutables.
246 %description devel -l ja
247 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
248 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
249 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
250 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
251 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
254 %description devel -l pl
255 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
256 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
257 nag³ówkowe oraz pliki objektowe, niezbêdne do kompilacji programów
258 wykonywalnych i innych bibliotek.
260 %description devel -l ru
261 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
262 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
263 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
266 %description devel -l tr
267 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
268 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
271 %description devel -l uk
272 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
273 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
274 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
277 %package kernel-headers
278 Summary: Kernel header files the glibc has been built with
279 Summary(pl): Pliki nag³ówkowe j±dra, z którymi zosta³a zbudowana ta wersja glibc
281 Group: Development/Libraries
283 %description kernel-headers
284 Kernel header files for userspace.
286 %description kernel-headers -l pl
287 Pliki nag³ówkowe j±dra dla przestrzeni u¿ytkownika
290 Summary: Name Service Caching Daemon
291 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
292 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
293 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
294 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
296 Group: Networking/Daemons
297 PreReq: rc-scripts >= 0.2.0
298 Requires(post,preun): /sbin/chkconfig
299 Requires(post): fileutils
300 Requires: %{name} = %{epoch}:%{version}
303 nscd caches name service lookups; it can dramatically improve
304 performance with NIS+, and may help with DNS as well. You cannot use
305 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
306 nscd happens to hit these bugs particularly hard.
308 %description -n nscd -l ja
309 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
310 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
311 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
312 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
313 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
315 %description -n nscd -l pl
316 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
317 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
318 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
321 %description -n nscd -l ru
322 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
323 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
326 %description -n nscd -l uk
327 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
328 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
330 %package -n localedb-src
331 Summary: locale database source code
332 Summary(pl): Kod ¼ród³owy bazy locale
335 Requires: %{name} = %{epoch}:%{version}
337 %description -n localedb-src
338 This add-on package contains the data needed to build the locale data
339 files to use the internationalization features of the GNU libc.
341 %description -n localedb-src -l pl
342 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
343 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
346 %package localedb-all
347 Summary: locale database for all locales supported by glibc
348 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
351 Requires: %{name} = %{epoch}:%{version}
353 %description localedb-all
354 This package contains locale database for all locales supported by
355 glibc. In glibc 2.3.x it's one large file (about 19MB) - if you want
356 something smaller with support for chosen locales only, consider
357 installing localedb-src and regenerating database using localedb-gen
358 script (when database is generated, localedb-src can be uninstalled).
360 %description localedb-all -l pl
361 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
362 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
363 (oko³o 19MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
364 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
365 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
366 pakiet localedb-src mo¿na odinstalowaæ).
369 Summary: Convert encoding of given files from one encoding to another
370 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
372 Group: Applications/Text
373 Requires: %{name} = %{epoch}:%{version}
375 %description -n iconv
376 Convert encoding of given files from one encoding to another. You need
377 this package if you want to convert some documet from one encoding to
378 another or if you have installed some programs which use Generic
379 Character Set Conversion Interface.
381 %description -n iconv -l pl
382 Program do konwersji plików tekstowych z jednego kodowania do innego.
383 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
384 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
385 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
386 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
387 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
390 Summary: Static libraries
391 Summary(pl): Biblioteki statyczne
392 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
393 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
395 Group: Development/Libraries
396 Requires: %{name}-devel = %{epoch}:%{version}
399 GNU libc static libraries.
401 %description static -l pl
402 Biblioteki statyczne GNU libc.
404 %description static -l ru
405 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
406 ×ÈÏÄÑÔ × glibc-devel.
408 %description static -l uk
409 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
413 Summary: glibc with profiling support
414 Summary(de): glibc mit Profil-Unterstützung
415 Summary(fr): glibc avec support pour profiling
416 Summary(pl): glibc ze wsparciem dla profilowania
417 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
418 Summary(tr): Ölçüm desteði olan glibc
419 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
421 Group: Development/Libraries/Libc
422 Obsoletes: libc-profile
423 Requires: %{name}-devel = %{epoch}:%{version}
426 When programs are being profiled used gprof, they must use these
427 libraries instead of the standard C libraries for gprof to be able to
428 profile them correctly.
430 %description profile -l de
431 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
432 Libraries anstelle der üblichen C-Libraries verwendet werden.
434 %description profile -l pl
435 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
436 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
439 %description profile -l uk
440 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
441 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
442 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
443 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
446 %description profile -l tr
447 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
448 kitaplýðý kullanmak zorundadýrlar.
450 %description profile -l ru
451 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
452 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
453 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
454 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
458 Summary: glibc PIC archive
459 Summary(pl): Archiwum PIC glibc
461 Group: Development/Libraries/Libc
462 Requires: %{name}-devel = %{epoch}:%{version}
465 GNU C Library PIC archive contains an archive library (ar file)
466 composed of individual shared objects. This is used for creating a
467 library which is a smaller subset of the standard libc shared library.
469 %description pic -l pl
470 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
471 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
472 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
473 biblioteki wspó³dzielonej libc.
475 %package -n nss_compat
476 Summary: Old style NYS NSS glibc module
477 Summary(pl): Stary modu³ NYS NSS glibc
480 Requires: %{name} = %{epoch}:%{version}
482 %description -n nss_compat
483 Old style NYS NSS glibc module.
485 %description -n nss_compat -l pl
486 Stary modu³ NYS NSS glibc.
489 Summary: BIND NSS glibc module
490 Summary(pl): Modu³ BIND NSS glibc
493 Requires: %{name} = %{epoch}:%{version}
495 %description -n nss_dns
496 BIND NSS glibc module.
498 %description -n nss_dns -l pl
499 Modu³ BIND NSS glibc.
501 %package -n nss_files
502 Summary: Traditional files databases NSS glibc module
503 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
506 Requires: %{name} = %{epoch}:%{version}
508 %description -n nss_files
509 Traditional files databases NSS glibc module.
511 %description -n nss_files -l pl
512 Modu³ tradycyjnych plikowych baz danych NSS glibc.
514 %package -n nss_hesiod
515 Summary: hesiod NSS glibc module
516 Summary(pl): Modu³ hesiod NSS glibc
519 Requires: %{name} = %{epoch}:%{version}
521 %description -n nss_hesiod
522 glibc NSS (Name Service Switch) module for databases access.
524 %description -n nss_hesiod -l pl
525 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
528 Summary: NIS(YP) NSS glibc module
529 Summary(pl): Modu³ NIS(YP) NSS glibc
532 Requires: %{name} = %{epoch}:%{version}
534 %description -n nss_nis
535 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
537 %description -n nss_nis -l pl
538 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
540 %package -n nss_nisplus
541 Summary: NIS+ NSS module
542 Summary(pl): Modu³ NIS+ NSS
545 Requires: %{name} = %{epoch}:%{version}
547 %description -n nss_nisplus
548 glibc NSS (Name Service Switch) module for NIS+ databases accesa.
550 %description -n nss_nisplus -l pl
551 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
558 Requires: %{name} = %{epoch}:%{version}
561 %description memusage
564 %description memusage -l pl
567 %package zoneinfo_right
568 Summary: Non-POSIX (real) time zones
569 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
572 Requires: %{name} = %{epoch}:%{version}
574 %description zoneinfo_right
575 You don't want this. Details at:
576 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
578 %description zoneinfo_right -l pl
579 Nie potrzebujesz tego. Szczegó³y pod:
580 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
582 %package -n %{name}64
583 Summary: GNU libc - 64-bit libraries
584 Summary(pl): GNU libc - biblioteki 64-bitowe
587 Requires: %{name} = %{epoch}:%{version}
589 %description -n %{name}64
590 64-bit GNU libc libraries for sparc64 architecture.
592 %description -l pl -n %{name}64
593 Biblioteki 64-bitowe GNU libc dla architektury sparc64.
595 %package -n %{name}64-devel
596 Summary: Development files for 64-bit GNU libc libraries
597 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
599 Group: Development/Libraries
600 Requires: %{name}-devel = %{epoch}:%{version}
602 %description -n %{name}64-devel
603 Development files for 64-bit GNU libc libraries for sparc64
606 %description -l pl -n %{name}64-devel
607 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
608 architektury sparc64.
610 %package -n %{name}64-static
611 Summary: Static 64-bit GNU libc libraries
612 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
614 Group: Development/Libraries
615 Requires: %{name}64-devel = %{epoch}:%{version}
617 %description -n %{name}64-static
618 Static 64-bit GNU libc libraries.
620 %description -l pl -n %{name}64-static
621 Statyczne 64-bitowe biblioteki GNU libc.
624 %setup -q -a 1 -a 9 -a 10
640 # don't know, if it is good idea, for brave ones
645 %{!?_with_kernheaders:%patch23}
656 mv -f localedata/locales/{lug_UG,lg_UG}
659 cp -r libidn-*/lib libidn
660 cp libidn-*/libc/{Makefile,configure,Banner,Versions} libidn/
661 cp libidn-*/lib/*.{c,h} libidn/
662 sed -e 's/idn-int.h/stdint.h/g' libidn-*/lib/idna.h > libidn/idna.h
663 ln -sf ../libidn/idna.h include/idna.h
664 sed -e 's/idn-int.h/stdint.h/g' libidn-*/lib/stringprep.h > libidn/stringprep.h
665 sed -e 's/idn-int.h/stdint.h/g' libidn-*/lib/punycode.h > libidn/punycode.h
666 sed -e 's/stringprep_generic/rfc3454/g' libidn-*/libc/Makefile > libidn/Makefile
668 #cp libidn-*/libc/getaddrinfo.c sysdeps/posix/
669 #cp libidn-*/libc/netdb.h resolv/
671 cp libidn-*/libc/*.patch libc-idn.patch
672 patch -p0 < libc-idn.patch
674 touch libidn/libidn.texi
677 #make proper symlink for asm in headers
685 # Prepare kernel headers
686 TARGET_CPU=$(echo "%{_target_cpu}" | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
687 -e s/athlon/i386/ -e s/arm.*/arm/ \
688 -e s/sa110/arm/ -e s/s390x/s390/)
689 _headers_dir=`pwd`/usr/include; export _headers_dir;
690 (cd $_headers_dir && ln -s asm-${TARGET_CPU} asm)
695 # avoid stripping ld.so by -s in rpmldflags
696 LDFLAGS=" " ; export LDFLAGS
697 #CFLAGS="-I $_headers_dir %{rpmcflags}"; export CFLAGS
699 --enable-add-ons=linuxthreads%{?with_idn:,libidn} \
700 --enable-kernel="%{?kernel:%{kernel}}%{!?kernel:%{min_kernel}}" \
702 --%{?_without_fp:en}%{!?_without_fp:dis}able-omitfp \
703 %if 0%{!?_with_kernheaders:1}
704 CPPFLAGS="-I%{_kernelsrcdir}/include" \
705 --with-headers=%{_kernelsrcdir}/include
707 CPPFLAGS="-I$_headers_dir" \
708 --with-headers=$_headers_dir
711 # problem compiling with --enable-bounded (must be reported to libc-alpha)
713 %{__make} %{?parallelmkflags}
716 rm -rf $RPM_BUILD_ROOT
717 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
719 _headers_dir=`pwd`/usr/include; export _headers_dir;
723 env LANGUAGE=C LC_ALL=C \
725 %{?parallelmkflags} \
726 install_root=$RPM_BUILD_ROOT \
727 infodir=%{_infodir} \
730 env LANGUAGE=C LC_ALL=C \
731 %{__make} localedata/install-locales \
732 %{?parallelmkflags} \
733 install_root=$RPM_BUILD_ROOT
735 PICFILES="libc_pic.a libc.map
736 math/libm_pic.a libm.map
737 resolv/libresolv_pic.a"
739 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
740 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
741 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
743 install elf/postshell $RPM_BUILD_ROOT/sbin
745 %{!?_without_memusage:mv -f $RPM_BUILD_ROOT/lib/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
747 mv -f $RPM_BUILD_ROOT/lib/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
750 %{__make} -C ../linuxthreads/man
751 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
753 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
755 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
761 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
762 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
763 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
764 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
766 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
768 # make symlinks across top-level directories absolute
769 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
770 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
771 ln -sf /lib/`cd $RPM_BUILD_ROOT/lib ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
774 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
775 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
776 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
777 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
778 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
780 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
781 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
782 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
783 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
784 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
786 :> $RPM_BUILD_ROOT/var/log/nscd
788 rm -rf ../documentation
789 install -d ../documentation
791 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
792 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
793 cp -f ../linuxthreads/README ../documentation/README.threads
794 cp -f ../crypt/README.ufc-crypt ../documentation/
796 cp -f ../ChangeLog* ../documentation
798 rm -f $RPM_BUILD_ROOT%{_libdir}*/libnss_*.so
800 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
802 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/lib/ld-%{version}.so}
805 # Collect locale files and mark them with %%lang()
807 echo '%defattr(644,root,root,755)' > ../glibc.lang
808 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}*/locale/* ; do
810 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
812 # list of long %%lang values we do support
813 for j in de_AT de_BE de_CH de_LU es_AR es_MX ja_JP.SJIS ko_KR.utf8 pt_BR \
814 zh_CN zh_CN.gbk zh_HK zh_TW ; do
815 if [ $j = "$lang" ]; then
819 if [ -n "$twochar" ]; then
820 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
821 lang=`echo $lang | sed "s,\..*,,"`
823 lang=`echo $lang | sed "s,_.*,,"`
826 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
827 echo "%lang($lang) $dir" >> ../glibc.lang
830 # XXX: to be added when become supported by glibc
831 # am,bn,ml (present in sources, but incomplete and disabled) (used by GNOME)
832 # ia,kn,li,mn,sr@Latn (used by GNOME)
833 # note: GNOME2 uses sr as cyrillic!
834 # nso,ss,ven,xh,zu (used by KDE)
835 for i in af ar az be bg br bs cy de_AT el en en_AU eo es_AR es_MX et eu fa fi \
836 ga gr he hi hr hu id is ja_JP.SJIS ka lg lt lv mk ms mt nn pt ro ru \
837 se sl sq sr sr@cyrillic ta tg th uk uz vi wa yi zh_CN ; do
838 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
839 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
840 lang=`echo $i | sed -e 's/_.*//'`
841 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
844 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
846 # localedb-gen infrastructure
847 install %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
848 cat > $RPM_BUILD_ROOT/etc/sysconfig/localedb <<EOF
849 # list of supported locales
850 #SUPPORTED_LOCALES="pl_PL/ISO-8859-2 de_DE/ISO-8859-2 en_GB/ISO-8859-1 en_US/ISO-8859-1"
852 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
855 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
856 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
857 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
858 # we don't support kernel without ptys support
859 rm -f $RPM_BUILD_ROOT%{_libdir}*/pt_chown
861 # copy actual kernel headers for glibc-kernel-headers
862 %if 0%{!?_with_kernheaders:1}
863 %{__mkdir} -p $RPM_BUILD_ROOT%{_includedir}
864 %{__cp} -Hr %{_kernelsrcdir}/include/{asm,linux} $RPM_BUILD_ROOT%{_includedir}
865 if [ -d %{_kernelsrcdir}/include/asm-generic ] ; then
866 %{__cp} -Hr %{_kernelsrcdir}/include/asm-generic $RPM_BUILD_ROOT%{_includedir}
869 %{__cp} -Hr $_headers_dir/{asm,linux} $RPM_BUILD_ROOT%{_includedir}
873 rm -rf $RPM_BUILD_ROOT
875 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
876 # when %%postun is run
879 %post -p /sbin/postshell
883 %postun -p /sbin/postshell
887 %post memusage -p /sbin/ldconfig
888 %postun memusage -p /sbin/ldconfig
890 %post -n iconv -p %{_sbindir}/iconvconfig
893 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
894 echo "Please install glibc-kernel-headers or, if you are a brave man,"
895 echo "make appropriate links in /usr/include pointing to an already"
896 echo "installed previously chosen kernel-headers package or other"
897 echo "kernel headers you have."
900 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
903 # useful if these are symlinks
904 if [ -h %{_includedir}/asm ]; then rm -f %{_includedir}/asm; fi
905 if [ -h %{_includedir}/linux ]; then rm -f %{_includedir}/linux; fi
908 /sbin/chkconfig --add nscd
910 chmod 000 /var/log/nscd
911 chown root:root /var/log/nscd
912 chmod 640 /var/log/nscd
913 if [ -f /var/lock/subsys/nscd ]; then
914 /etc/rc.d/init.d/nscd restart 1>&2
916 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
920 if [ "$1" = "0" ]; then
921 if [ -f /var/lock/subsys/nscd ]; then
922 /etc/rc.d/init.d/nscd stop 1>&2
924 /sbin/chkconfig --del nscd
929 %files -f %{name}.lang
930 %defattr(644,root,root,755)
931 %doc README NEWS FAQ BUGS
933 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
934 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
935 %config %{_sysconfdir}/rpc
936 %ghost %{_sysconfdir}/ld.so.cache
938 %attr(755,root,root) /sbin/*
939 %attr(755,root,root) %{_bindir}/catchsegv
940 %attr(755,root,root) %{_bindir}/getent
941 %attr(755,root,root) %{_bindir}/glibcbug
942 %attr(755,root,root) %{_bindir}/iconv
943 %attr(755,root,root) %{_bindir}/ldd
944 %ifnarch alpha sparc sparc64 ppc
945 %attr(755,root,root) %{_bindir}/lddlibc4
947 %attr(755,root,root) %{_bindir}/locale
948 %attr(755,root,root) %{_bindir}/rpcgen
949 %attr(755,root,root) %{_bindir}/tzselect
951 %attr(755,root,root) %{_sbindir}/rpcinfo
952 %attr(755,root,root) %{_sbindir}/zdump
953 %attr(755,root,root) %{_sbindir}/zic
955 %attr(755,root,root) /lib/ld-*
956 %attr(755,root,root) /lib/libanl*
957 %attr(755,root,root) /lib/libdl*
958 %attr(755,root,root) /lib/libnsl*
959 %attr(755,root,root) /lib/lib[BScmprtu]*
961 %dir %{_datadir}/locale
962 %{_datadir}/locale/locale.alias
964 %exclude %{_datadir}/zoneinfo/right
966 %dir %{_libdir}*/locale
968 %{_mandir}/man1/[!lsg]*
969 %{_mandir}/man1/getent.1*
970 %{_mandir}/man1/locale.1*
971 %{_mandir}/man1/ldd.1*
972 %{_mandir}/man5/???[!d]*
974 %{_mandir}/man8/[!n]*
975 %lang(cs) %{_mandir}/cs/man[578]/*
976 %lang(de) %{_mandir}/de/man[578]/*
977 %lang(es) %{_mandir}/es/man[578]/*
978 %lang(fi) %{_mandir}/fi/man1/ldd.1*
979 %lang(fr) %{_mandir}/fr/man1/ldd.1*
980 %lang(fr) %{_mandir}/fr/man[578]/*
981 %lang(hu) %{_mandir}/hu/man1/ldd.1*
982 %lang(hu) %{_mandir}/hu/man[578]/*
983 %lang(it) %{_mandir}/it/man[578]/*
984 %lang(ja) %{_mandir}/ja/man1/[!lsg]*
985 %lang(ja) %{_mandir}/ja/man1/ldd.1*
986 %lang(ja) %{_mandir}/ja/man5/???[!d]*
987 %lang(ja) %{_mandir}/ja/man7/*
988 %lang(ja) %{_mandir}/ja/man8/[!n]*
989 %lang(ko) %{_mandir}/ko/man[578]/*
990 # %lang(nl) %{_mandir}/nl/man[578]/*
991 %lang(pl) %{_mandir}/pl/man1/ldd.1*
992 %lang(pl) %{_mandir}/pl/man[578]/*
993 %lang(pt) %{_mandir}/pt/man5/???[!d]*
994 %lang(pt) %{_mandir}/pt/man7/*
995 %lang(pt) %{_mandir}/pt/man8/[!n]*
996 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[!d]*
997 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
998 %lang(pt_BR) %{_mandir}/pt_BR/man8/[!n]*
999 %lang(ru) %{_mandir}/ru/man[578]/*
1002 %defattr(644,root,root,755)
1003 %attr(755,root,root) /lib/libnss_dns*.so*
1005 #%files -n nss_files
1006 %defattr(644,root,root,755)
1007 %attr(755,root,root) /lib/libnss_files*.so*
1009 %files zoneinfo_right
1010 %defattr(644,root,root,755)
1011 %{_datadir}/zoneinfo/right
1013 %files -n nss_compat
1014 %defattr(644,root,root,755)
1015 %attr(755,root,root) /lib/libnss_compat*.so*
1017 %files -n nss_hesiod
1018 %defattr(644,root,root,755)
1019 %attr(755,root,root) /lib/libnss_hesiod*.so*
1022 %defattr(644,root,root,755)
1023 %attr(755,root,root) /lib/libnss_nis.so.*
1024 %attr(755,root,root) /lib/libnss_nis-*.so
1026 %files -n nss_nisplus
1027 %defattr(644,root,root,755)
1028 %attr(755,root,root) /lib/libnss_nisplus*.so*
1030 %if %{?_without_memusage:0}%{!?_without_memusage:1}
1032 %defattr(644,root,root,755)
1033 %attr(755,root,root) %{_bindir}/memusage*
1034 %attr(755,root,root) %{_libdir}/libmemusage*
1038 %defattr(644,root,root,755)
1039 %doc documentation/* NOTES PROJECTS
1040 %attr(755,root,root) %{_bindir}/gencat
1041 %attr(755,root,root) %{_bindir}/getconf
1042 %attr(755,root,root) %{_bindir}/*prof*
1043 %attr(755,root,root) %{_bindir}/*trace
1050 %{_includedir}/netash
1051 %{_includedir}/netatalk
1052 %{_includedir}/netax25
1053 %{_includedir}/neteconet
1054 %{_includedir}/netinet
1055 %{_includedir}/netipx
1056 %{_includedir}/netpacket
1057 %{_includedir}/netrom
1058 %{_includedir}/netrose
1060 %{_includedir}/protocols
1062 %{_includedir}/rpcsvc
1066 %{_infodir}/libc.info*
1068 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1069 %attr(755,root,root) %{_libdir}/libm.so
1070 %attr(755,root,root) %{_libdir}/*crt*.o
1071 %{_libdir}/libbsd-compat.a
1073 %{_libdir}/libc_nonshared.a
1075 %{_libdir}/libieee.a
1076 %{_libdir}/libpthread_nonshared.a
1077 %{_libdir}/librpcsvc.a
1079 %{_mandir}/man1/getconf*
1080 %{_mandir}/man1/sprof*
1082 %lang(cs) %{_mandir}/cs/man3/*
1083 %lang(de) %{_mandir}/de/man3/*
1084 %lang(es) %{_mandir}/es/man3/*
1085 %lang(fr) %{_mandir}/fr/man3/*
1086 %lang(hu) %{_mandir}/hu/man3/*
1087 # %lang(it) %{_mandir}/it/man3/*
1088 %lang(ja) %{_mandir}/ja/man3/*
1089 %lang(ko) %{_mandir}/ko/man3/*
1090 %lang(nl) %{_mandir}/nl/man3/*
1091 %lang(pl) %{_mandir}/pl/man3/*
1092 %lang(pt) %{_mandir}/pt/man3/*
1093 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
1094 %lang(ru) %{_mandir}/ru/man3/*
1096 %files kernel-headers
1097 %defattr(644,root,root,755)
1099 %{_includedir}/linux
1102 %defattr(644,root,root,755)
1103 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1104 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1105 %attr(754,root,root) /etc/rc.d/init.d/nscd
1106 %attr(755,root,root) %{_sbindir}/nscd*
1107 %attr(640,root,root) /etc/logrotate.d/nscd
1108 %attr(640,root,root) %ghost /var/log/nscd
1109 %{_mandir}/man5/nscd.conf*
1110 %{_mandir}/man8/nscd*
1111 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
1112 %lang(ja) %{_mandir}/ja/man8/nscd*
1113 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
1114 %lang(pt) %{_mandir}/pt/man8/nscd*
1115 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
1116 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
1118 %files -n localedb-src
1119 %defattr(644,root,root,755)
1120 %attr(755,root,root) %{_bindir}/localedef
1121 %attr(755,root,root) %{_bindir}/localedb-gen
1123 %{_mandir}/man1/localedef*
1124 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/localedb
1127 %defattr(644,root,root,755)
1128 %{_libdir}/locale/locale-archive
1131 %defattr(644,root,root,755)
1132 %attr(755,root,root) %{_sbindir}/iconvconfig
1133 %dir %{_libdir}/gconv
1134 %{_libdir}/gconv/gconv-modules
1135 %attr(755,root,root) %{_libdir}/gconv/*.so
1138 %defattr(644,root,root,755)
1140 %{_libdir}/libBrokenLocale.a
1142 %{_libdir}/libcrypt.a
1145 %{_libdir}/libmcheck.a
1147 %{_libdir}/libpthread.a
1148 %{_libdir}/libresolv.a
1150 %{_libdir}/libutil.a
1153 %defattr(644,root,root,755)
1157 %defattr(644,root,root,755)
1158 %{_libdir}/lib*_pic.a
1166 %defattr(644,root,root,755)
1167 %attr(755,root,root) %{_libdir}/ld-*
1168 %attr(755,root,root) %{_libdir}/libanl*
1169 %attr(755,root,root) %{_libdir}/libdl*
1170 %attr(755,root,root) %{_libdir}/libnsl*
1171 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1172 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1173 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1175 %files -n glibc64-devel
1176 %defattr(644,root,root,755)
1177 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1178 %attr(755,root,root) %{_libdir}/libm.so
1179 %attr(755,root,root) %{_libdir}/*crt*.o
1180 %{_libdir}/libbsd-compat.a
1182 %{_libdir}/libc_nonshared.a
1184 %{_libdir}/libieee.a
1185 %{_libdir}/libpthread_nonshared.a
1186 %{_libdir}/librpcsvc.a
1188 %files -n glibc64-static
1189 %defattr(644,root,root,755)
1191 %{_libdir}/libBrokenLocale.a
1193 %{_libdir}/libcrypt.a
1196 %{_libdir}/libmcheck.a
1198 %{_libdir}/libpthread.a
1199 %{_libdir}/libresolv.a
1201 %{_libdir}/libutil.a