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:%global min_kernel 2.2.0}
30 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
32 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
34 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 Patch1: %{name}-initgroups-overflow.patch
63 Patch2: %{name}-pld.patch
64 Patch3: %{name}-crypt-blowfish.patch
65 Patch4: %{name}-string2-pointer-arith.patch
66 Patch5: %{name}-linuxthreads-lock.patch
67 Patch6: %{name}-pthread_create-manpage.patch
68 Patch9: %{name}-paths.patch
69 Patch10: %{name}-vaargs.patch
70 Patch11: %{name}-getaddrinfo-workaround.patch
71 Patch12: %{name}-postshell.patch
72 Patch13: %{name}-pl.po-update.patch
73 Patch14: %{name}-missing-nls.patch
74 Patch16: %{name}-java-libc-wait.patch
75 Patch17: %{name}-morelocales.patch
76 Patch18: %{name}-lthrds_noomit.patch
77 Patch19: %{name}-no_opt_override.patch
78 Patch20: %{name}-gcc33.patch
79 #Patch21: %{name}-sanity.patch
80 Patch22: %{name}-secureexec.patch
81 Patch23: %{name}-kernel_includes.patch
82 Patch24: %{name}-sparc64_pause.patch
83 Patch25: %{name}-linuxthreads.patch
84 Patch26: %{name}-alpha-fix-as-syntax.patch
85 URL: http://www.gnu.org/software/libc/
86 BuildRequires: binutils >= 2.13.90.0.2
87 BuildRequires: gcc >= 3.2
88 %{!?_without_memusage:BuildRequires: gd-devel >= 2.0.1}
89 BuildRequires: gettext-devel >= 0.10.36
90 %if 0%{!?_with_kernheaders:1}
91 %{!?_without_dist_kernel:BuildRequires: kernel-headers < 2.5}
93 BuildRequires: perl-base
94 BuildRequires: rpm-build >= 4.0.2-46
95 BuildRequires: rpm-perlprov
96 BuildRequires: sed >= 4.0.5
97 BuildRequires: texinfo
101 Provides: /sbin/ldconfig
102 Obsoletes: %{name}-common
103 Obsoletes: %{name}-debug
106 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
107 Conflicts: kernel < %{min_kernel}
108 Conflicts: ld.so < 1.9.9-10
109 Conflicts: man-pages < 1.43
110 Conflicts: rc-scripts < 0.3.1-13
113 %define debugcflags -O1 -g
115 %define _without_memusage 1
116 %define specflags_sparc64 -mvis -fcall-used-g6
117 %define _libdir /usr/lib64
121 Contains the standard libraries that are used by multiple programs on
122 the system. In order to save disk space and memory, as well as to ease
123 upgrades, common system code is kept in one place and shared between
124 programs. This package contains the most important sets of shared
125 libraries, the standard C library and the standard math library.
126 Without these, a Linux system will not function. It also contains
127 national language (locale) support and timezone databases.
129 Can be used on: Linux kernel >= %{min_kernel}.
132 Enthält die Standard-Libraries, die von verschiedenen Programmen im
133 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
134 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
135 einer einzigen Stelle gespeichert und wird von den Programmen
136 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
137 shared Libraries, die Standard-C-Library und die
138 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
139 Ferner enthält es den Support für die verschiedenen Sprachgregionen
140 (locale) und die Zeitzonen-Datenbank.
142 Can be used on: Linux kernel >= %{min_kernel}.
145 Contient les bibliothèques standards utilisées par de nombreux
146 programmes du système. Afin d'économiser l'espace disque et mémoire,
147 et de faciliter les mises à jour, le code commun au système est mis à
148 un endroit et partagé entre les programmes. Ce paquetage contient les
149 bibliothèques partagées les plus importantes, la bibliothèque standard
150 du C et la bibliothèque mathématique standard. Sans celles-ci, un
151 système Linux ne peut fonctionner. Il contient aussi la gestion des
152 langues nationales (locales) et les bases de données des zones
155 Can be used on: Linux kernel >= %{min_kernel}.
159 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
160 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
161 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
162 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
163 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
164 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
165 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
166 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
168 Can be used on: Linux kernel >= %{min_kernel}.
171 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
172 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
173 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
174 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
175 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
176 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
177 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
178 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
179 jêzyków (locale) oraz definicje stref czasowych.
181 Przeznaczony dla j±dra Linux >= %{min_kernel}.
184 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
185 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
186 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
187 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
188 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
189 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
190 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
191 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
192 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
194 Can be used on: Linux kernel >= %{min_kernel}.
197 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
198 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
199 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
200 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
201 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
202 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
203 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
205 Can be used on: Linux kernel >= %{min_kernel}.
208 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
209 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
210 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
211 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
212 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
213 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
214 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
215 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
216 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
218 Can be used on: Linux kernel >= %{min_kernel}.
221 Summary: Additional libraries required to compile
222 Summary(de): Weitere Libraries zum Kompilieren
223 Summary(fr): Librairies supplémentaires nécessaires à la compilation
224 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
225 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
226 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
227 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
228 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
229 Group: Development/Libraries
230 Requires: %{name} = %{epoch}:%{version}
233 To develop programs which use the standard C libraries (which nearly
234 all programs do), the system needs to have these standard header files
235 and object files available for creating the executables.
237 %description devel -l de
238 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
239 verwenden (also fast alle), benötigt das System diese Standard-Header-
240 und Objektdateien zum Erstellen der ausführbaren Programme.
242 %description devel -l fr
243 Pour développer des programmes utilisant les bibliothèques standard du
244 C (ce que presque tous les programmes font), le système doit posséder
245 ces fichiers en-têtes et objets standards pour créer les exécutables.
247 %description devel -l ja
248 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
249 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
250 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
251 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
252 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
255 %description devel -l pl
256 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
257 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
258 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
259 wykonywalnych i innych bibliotek.
261 %description devel -l ru
262 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
263 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
264 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
267 %description devel -l tr
268 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
269 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
272 %description devel -l uk
273 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
274 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
275 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
278 %package kernel-headers
279 Summary: Kernel header files the glibc has been built with
280 Summary(pl): Pliki nag³ówkowe j±dra, z którymi zosta³a zbudowana ta wersja glibc
282 Group: Development/Libraries
284 %description kernel-headers
285 Kernel header files for userspace.
287 %description kernel-headers -l pl
288 Pliki nag³ówkowe j±dra dla przestrzeni u¿ytkownika
291 Summary: Name Service Caching Daemon
292 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
293 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
294 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
295 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
297 Group: Networking/Daemons
298 PreReq: rc-scripts >= 0.2.0
299 Requires(post,preun): /sbin/chkconfig
300 Requires(post): fileutils
301 Requires: %{name} = %{epoch}:%{version}
304 nscd caches name service lookups; it can dramatically improve
305 performance with NIS+, and may help with DNS as well. You cannot use
306 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
307 nscd happens to hit these bugs particularly hard.
309 %description -n nscd -l ja
310 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
311 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
312 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
313 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
314 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
316 %description -n nscd -l pl
317 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
318 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
319 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
322 %description -n nscd -l ru
323 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
324 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
327 %description -n nscd -l uk
328 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
329 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
331 %package -n localedb-src
332 Summary: locale database source code
333 Summary(pl): Kod ¼ród³owy bazy locale
336 Requires: %{name} = %{epoch}:%{version}
338 %description -n localedb-src
339 This add-on package contains the data needed to build the locale data
340 files to use the internationalization features of the GNU libc.
342 %description -n localedb-src -l pl
343 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
344 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
347 %package localedb-all
348 Summary: locale database for all locales supported by glibc
349 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
352 Requires: %{name} = %{epoch}:%{version}
354 %description localedb-all
355 This package contains locale database for all locales supported by
356 glibc. In glibc 2.3.x it's one large file (about 19MB) - if you want
357 something smaller with support for chosen locales only, consider
358 installing localedb-src and regenerating database using localedb-gen
359 script (when database is generated, localedb-src can be uninstalled).
361 %description localedb-all -l pl
362 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
363 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
364 (oko³o 19MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
365 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
366 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
367 pakiet localedb-src mo¿na odinstalowaæ).
370 Summary: Convert encoding of given files from one encoding to another
371 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
373 Group: Applications/Text
374 Requires: %{name} = %{epoch}:%{version}
376 %description -n iconv
377 Convert encoding of given files from one encoding to another. You need
378 this package if you want to convert some documet from one encoding to
379 another or if you have installed some programs which use Generic
380 Character Set Conversion Interface.
382 %description -n iconv -l pl
383 Program do konwersji plików tekstowych z jednego kodowania do innego.
384 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
385 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
386 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
387 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
388 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
391 Summary: Static libraries
392 Summary(pl): Biblioteki statyczne
393 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
394 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
396 Group: Development/Libraries
397 Requires: %{name}-devel = %{epoch}:%{version}
400 GNU libc static libraries.
402 %description static -l pl
403 Biblioteki statyczne GNU libc.
405 %description static -l ru
406 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
407 ×ÈÏÄÑÔ × glibc-devel.
409 %description static -l uk
410 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
414 Summary: glibc with profiling support
415 Summary(de): glibc mit Profil-Unterstützung
416 Summary(fr): glibc avec support pour profiling
417 Summary(pl): glibc ze wsparciem dla profilowania
418 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
419 Summary(tr): Ölçüm desteði olan glibc
420 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
422 Group: Development/Libraries/Libc
423 Obsoletes: libc-profile
424 Requires: %{name}-devel = %{epoch}:%{version}
427 When programs are being profiled used gprof, they must use these
428 libraries instead of the standard C libraries for gprof to be able to
429 profile them correctly.
431 %description profile -l de
432 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
433 Libraries anstelle der üblichen C-Libraries verwendet werden.
435 %description profile -l pl
436 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
437 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
440 %description profile -l uk
441 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
442 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
443 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
444 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
447 %description profile -l tr
448 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
449 kitaplýðý kullanmak zorundadýrlar.
451 %description profile -l ru
452 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
453 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
454 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
455 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
459 Summary: glibc PIC archive
460 Summary(pl): Archiwum PIC glibc
462 Group: Development/Libraries/Libc
463 Requires: %{name}-devel = %{epoch}:%{version}
466 GNU C Library PIC archive contains an archive library (ar file)
467 composed of individual shared objects. This is used for creating a
468 library which is a smaller subset of the standard libc shared library.
470 %description pic -l pl
471 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
472 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
473 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
474 biblioteki wspó³dzielonej libc.
476 %package -n nss_compat
477 Summary: Old style NYS NSS glibc module
478 Summary(pl): Stary modu³ NYS NSS glibc
481 Requires: %{name} = %{epoch}:%{version}
483 %description -n nss_compat
484 Old style NYS NSS glibc module.
486 %description -n nss_compat -l pl
487 Stary modu³ NYS NSS glibc.
490 Summary: BIND NSS glibc module
491 Summary(pl): Modu³ BIND NSS glibc
494 Requires: %{name} = %{epoch}:%{version}
496 %description -n nss_dns
497 BIND NSS glibc module.
499 %description -n nss_dns -l pl
500 Modu³ BIND NSS glibc.
502 %package -n nss_files
503 Summary: Traditional files databases NSS glibc module
504 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
507 Requires: %{name} = %{epoch}:%{version}
509 %description -n nss_files
510 Traditional files databases NSS glibc module.
512 %description -n nss_files -l pl
513 Modu³ tradycyjnych plikowych baz danych NSS glibc.
515 %package -n nss_hesiod
516 Summary: hesiod NSS glibc module
517 Summary(pl): Modu³ hesiod NSS glibc
520 Requires: %{name} = %{epoch}:%{version}
522 %description -n nss_hesiod
523 glibc NSS (Name Service Switch) module for databases access.
525 %description -n nss_hesiod -l pl
526 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
529 Summary: NIS(YP) NSS glibc module
530 Summary(pl): Modu³ NIS(YP) NSS glibc
533 Requires: %{name} = %{epoch}:%{version}
535 %description -n nss_nis
536 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
538 %description -n nss_nis -l pl
539 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
541 %package -n nss_nisplus
542 Summary: NIS+ NSS module
543 Summary(pl): Modu³ NIS+ NSS
546 Requires: %{name} = %{epoch}:%{version}
548 %description -n nss_nisplus
549 glibc NSS (Name Service Switch) module for NIS+ databases accesa.
551 %description -n nss_nisplus -l pl
552 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
559 Requires: %{name} = %{epoch}:%{version}
562 %description memusage
565 %description memusage -l pl
568 %package zoneinfo_right
569 Summary: Non-POSIX (real) time zones
570 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
573 Requires: %{name} = %{epoch}:%{version}
575 %description zoneinfo_right
576 You don't want this. Details at:
577 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
579 %description zoneinfo_right -l pl
580 Nie potrzebujesz tego. Szczegó³y pod:
581 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
583 %package -n %{name}64
584 Summary: GNU libc - 64-bit libraries
585 Summary(pl): GNU libc - biblioteki 64-bitowe
588 Requires: %{name} = %{epoch}:%{version}
590 %description -n %{name}64
591 64-bit GNU libc libraries for sparc64 architecture.
593 %description -l pl -n %{name}64
594 Biblioteki 64-bitowe GNU libc dla architektury sparc64.
596 %package -n %{name}64-devel
597 Summary: Development files for 64-bit GNU libc libraries
598 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
600 Group: Development/Libraries
601 Requires: %{name}-devel = %{epoch}:%{version}
603 %description -n %{name}64-devel
604 Development files for 64-bit GNU libc libraries for sparc64
607 %description -l pl -n %{name}64-devel
608 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
609 architektury sparc64.
611 %package -n %{name}64-static
612 Summary: Static 64-bit GNU libc libraries
613 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
615 Group: Development/Libraries
616 Requires: %{name}64-devel = %{epoch}:%{version}
618 %description -n %{name}64-static
619 Static 64-bit GNU libc libraries.
621 %description -l pl -n %{name}64-static
622 Statyczne 64-bitowe biblioteki GNU libc.
625 %setup -q -a 1 -a 9 -a 10
642 # don't know, if it is good idea, for brave ones
647 %{!?_with_kernheaders:%patch23}
658 mv -f localedata/locales/{lug_UG,lg_UG}
661 cp -r libidn-*/lib libidn
662 cp libidn-*/libc/{Makefile,configure,Banner,Versions} libidn
663 cp libidn-*/lib/*.{c,h} libidn
664 sed -e 's/idn-int.h/stdint.h/g' libidn-*/lib/idna.h > libidn/idna.h
665 ln -sf ../libidn/idna.h include/idna.h
666 sed -e 's/idn-int.h/stdint.h/g' libidn-*/lib/stringprep.h > libidn/stringprep.h
667 sed -e 's/idn-int.h/stdint.h/g' libidn-*/lib/punycode.h > libidn/punycode.h
668 sed -e 's/stringprep_generic/rfc3454/g' libidn-*/libc/Makefile > libidn/Makefile
670 #cp libidn-*/libc/getaddrinfo.c sysdeps/posix/
671 #cp libidn-*/libc/netdb.h resolv/
673 cp libidn-*/libc/*.patch libc-idn.patch
674 patch -p0 < libc-idn.patch
676 touch libidn/libidn.texi
679 #make proper symlink for asm in headers
687 # Prepare kernel headers
688 TARGET_CPU=$(echo "%{_target_cpu}" | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
689 -e s/athlon/i386/ -e s/arm.*/arm/ \
690 -e s/sa110/arm/ -e s/s390x/s390/)
691 _headers_dir=`pwd`/usr/include; export _headers_dir;
692 (cd $_headers_dir && ln -s asm-${TARGET_CPU} asm)
697 # avoid stripping ld.so by -s in rpmldflags
698 LDFLAGS=" " ; export LDFLAGS
699 #CFLAGS="-I $_headers_dir %{rpmcflags}"; export CFLAGS
701 --enable-add-ons=linuxthreads%{?with_idn:,libidn} \
702 --enable-kernel="%{min_kernel}" \
704 --%{?_without_fp:en}%{!?_without_fp:dis}able-omitfp \
705 %if 0%{!?_with_kernheaders:1}
706 CPPFLAGS="-I%{_kernelsrcdir}/include" \
707 --with-headers=%{_kernelsrcdir}/include
709 CPPFLAGS="-I$_headers_dir" \
710 --with-headers=$_headers_dir
713 # problem compiling with --enable-bounded (must be reported to libc-alpha)
715 %{__make} %{?parallelmkflags}
718 rm -rf $RPM_BUILD_ROOT
719 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
721 _headers_dir=`pwd`/usr/include; export _headers_dir;
725 env LANGUAGE=C LC_ALL=C \
727 %{?parallelmkflags} \
728 install_root=$RPM_BUILD_ROOT \
729 infodir=%{_infodir} \
732 env LANGUAGE=C LC_ALL=C \
733 %{__make} localedata/install-locales \
734 %{?parallelmkflags} \
735 install_root=$RPM_BUILD_ROOT
737 PICFILES="libc_pic.a libc.map
738 math/libm_pic.a libm.map
739 resolv/libresolv_pic.a"
741 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
742 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
743 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
745 install elf/postshell $RPM_BUILD_ROOT/sbin
747 %{!?_without_memusage:mv -f $RPM_BUILD_ROOT/lib/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
749 mv -f $RPM_BUILD_ROOT/lib/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
752 %{__make} -C ../linuxthreads/man
753 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
755 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
757 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
763 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
764 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
765 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
766 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
768 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
770 # make symlinks across top-level directories absolute
771 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
772 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
773 ln -sf /lib/`cd $RPM_BUILD_ROOT/lib ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
776 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
777 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
778 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
779 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
780 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
782 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
783 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
784 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
785 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
786 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
788 :> $RPM_BUILD_ROOT/var/log/nscd
790 rm -rf ../documentation
791 install -d ../documentation
793 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
794 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
795 cp -f ../linuxthreads/README ../documentation/README.threads
796 cp -f ../crypt/README.ufc-crypt ../documentation/
798 cp -f ../ChangeLog* ../documentation
800 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
802 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
804 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/lib/ld-%{version}.so}
807 # Collect locale files and mark them with %%lang()
809 echo '%defattr(644,root,root,755)' > ../glibc.lang
810 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
812 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
814 # list of long %%lang values we do support
815 for j in de_AT de_BE de_CH de_LU es_AR es_MX ja_JP.SJIS ko_KR.utf8 pt_BR \
816 zh_CN zh_CN.gbk zh_HK zh_TW ; do
817 if [ $j = "$lang" ]; then
821 if [ -n "$twochar" ]; then
822 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
823 lang=`echo $lang | sed "s,\..*,,"`
825 lang=`echo $lang | sed "s,_.*,,"`
828 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
829 echo "%lang($lang) $dir" >> ../glibc.lang
832 # XXX: to be added when become supported by glibc
833 # am,bn,ml (present in sources, but incomplete and disabled) (used by GNOME)
834 # ia,kn,li,mn,sr@Latn (used by GNOME)
835 # note: GNOME2 uses sr as cyrillic!
836 # nso,ss,ven,xh,zu (used by KDE)
837 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 \
838 ga gr he hi hr hu id is ja_JP.SJIS ka lg lt lv mk ms mt nn pt ro ru \
839 se sl sq sr sr@cyrillic ta tg th uk uz vi wa yi zh_CN ; do
840 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
841 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
842 lang=`echo $i | sed -e 's/_.*//'`
843 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
846 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
848 # localedb-gen infrastructure
849 install %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
850 cat > $RPM_BUILD_ROOT/etc/sysconfig/localedb <<EOF
851 # list of supported locales
852 #SUPPORTED_LOCALES="pl_PL/ISO-8859-2 de_DE/ISO-8859-2 en_GB/ISO-8859-1 en_US/ISO-8859-1"
854 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
857 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
858 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
859 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
860 # we don't support kernel without ptys support
861 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
863 # copy actual kernel headers for glibc-kernel-headers
864 %if 0%{!?_with_kernheaders:1}
865 %{__mkdir} -p $RPM_BUILD_ROOT%{_includedir}
866 %{__cp} -Hr %{_kernelsrcdir}/include/{asm,linux} $RPM_BUILD_ROOT%{_includedir}
867 if [ -d %{_kernelsrcdir}/include/asm-generic ] ; then
868 %{__cp} -Hr %{_kernelsrcdir}/include/asm-generic $RPM_BUILD_ROOT%{_includedir}
871 %{__cp} -Hr $_headers_dir/{asm,linux} $RPM_BUILD_ROOT%{_includedir}
875 rm -rf $RPM_BUILD_ROOT
877 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
878 # when %%postun is run
881 %post -p /sbin/postshell
885 %postun -p /sbin/postshell
889 %post memusage -p /sbin/ldconfig
890 %postun memusage -p /sbin/ldconfig
892 %post -n iconv -p %{_sbindir}/iconvconfig
895 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
896 echo "Please install glibc-kernel-headers or, if you are a brave man,"
897 echo "make appropriate links in /usr/include pointing to an already"
898 echo "installed previously chosen kernel-headers package or other"
899 echo "kernel headers you have."
902 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
905 # useful if these are symlinks
906 if [ -h %{_includedir}/asm ]; then rm -f %{_includedir}/asm; fi
907 if [ -h %{_includedir}/linux ]; then rm -f %{_includedir}/linux; fi
910 /sbin/chkconfig --add nscd
912 chmod 000 /var/log/nscd
913 chown root:root /var/log/nscd
914 chmod 640 /var/log/nscd
915 if [ -f /var/lock/subsys/nscd ]; then
916 /etc/rc.d/init.d/nscd restart 1>&2
918 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
922 if [ "$1" = "0" ]; then
923 if [ -f /var/lock/subsys/nscd ]; then
924 /etc/rc.d/init.d/nscd stop 1>&2
926 /sbin/chkconfig --del nscd
931 %files -f %{name}.lang
932 %defattr(644,root,root,755)
933 %doc README NEWS FAQ BUGS
935 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
936 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
937 %config %{_sysconfdir}/rpc
938 %ghost %{_sysconfdir}/ld.so.cache
940 %attr(755,root,root) /sbin/*
941 %attr(755,root,root) %{_bindir}/catchsegv
942 %attr(755,root,root) %{_bindir}/getent
943 %attr(755,root,root) %{_bindir}/glibcbug
944 %attr(755,root,root) %{_bindir}/iconv
945 %attr(755,root,root) %{_bindir}/ldd
946 %ifnarch alpha sparc sparc64 ppc
947 %attr(755,root,root) %{_bindir}/lddlibc4
949 %attr(755,root,root) %{_bindir}/locale
950 %attr(755,root,root) %{_bindir}/rpcgen
951 %attr(755,root,root) %{_bindir}/tzselect
953 %attr(755,root,root) %{_sbindir}/rpcinfo
954 %attr(755,root,root) %{_sbindir}/zdump
955 %attr(755,root,root) %{_sbindir}/zic
957 %attr(755,root,root) /lib/ld-*
958 %attr(755,root,root) /lib/libanl*
959 %attr(755,root,root) /lib/libdl*
960 %attr(755,root,root) /lib/libnsl*
961 %attr(755,root,root) /lib/lib[BScmprtu]*
963 %dir %{_datadir}/locale
964 %{_datadir}/locale/locale.alias
966 %exclude %{_datadir}/zoneinfo/right
968 %dir %{_libdir}/locale
970 %{_mandir}/man1/[!lsg]*
971 %{_mandir}/man1/getent.1*
972 %{_mandir}/man1/locale.1*
973 %{_mandir}/man1/ldd.1*
974 %{_mandir}/man5/???[!d]*
976 %{_mandir}/man8/[!n]*
977 %lang(cs) %{_mandir}/cs/man[578]/*
978 %lang(de) %{_mandir}/de/man[578]/*
979 %lang(es) %{_mandir}/es/man[578]/*
980 %lang(fi) %{_mandir}/fi/man1/ldd.1*
981 %lang(fr) %{_mandir}/fr/man1/ldd.1*
982 %lang(fr) %{_mandir}/fr/man[578]/*
983 %lang(hu) %{_mandir}/hu/man1/ldd.1*
984 %lang(hu) %{_mandir}/hu/man[578]/*
985 %lang(it) %{_mandir}/it/man[578]/*
986 %lang(ja) %{_mandir}/ja/man1/[!lsg]*
987 %lang(ja) %{_mandir}/ja/man1/ldd.1*
988 %lang(ja) %{_mandir}/ja/man5/???[!d]*
989 %lang(ja) %{_mandir}/ja/man7/*
990 %lang(ja) %{_mandir}/ja/man8/[!n]*
991 %lang(ko) %{_mandir}/ko/man[578]/*
992 # %lang(nl) %{_mandir}/nl/man[578]/*
993 %lang(pl) %{_mandir}/pl/man1/ldd.1*
994 %lang(pl) %{_mandir}/pl/man[578]/*
995 %lang(pt) %{_mandir}/pt/man5/???[!d]*
996 %lang(pt) %{_mandir}/pt/man7/*
997 %lang(pt) %{_mandir}/pt/man8/[!n]*
998 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[!d]*
999 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
1000 %lang(pt_BR) %{_mandir}/pt_BR/man8/[!n]*
1001 %lang(ru) %{_mandir}/ru/man[578]/*
1004 %defattr(644,root,root,755)
1005 %attr(755,root,root) /lib/libnss_dns*.so*
1007 #%files -n nss_files
1008 %defattr(644,root,root,755)
1009 %attr(755,root,root) /lib/libnss_files*.so*
1011 %files zoneinfo_right
1012 %defattr(644,root,root,755)
1013 %{_datadir}/zoneinfo/right
1015 %files -n nss_compat
1016 %defattr(644,root,root,755)
1017 %attr(755,root,root) /lib/libnss_compat*.so*
1019 %files -n nss_hesiod
1020 %defattr(644,root,root,755)
1021 %attr(755,root,root) /lib/libnss_hesiod*.so*
1024 %defattr(644,root,root,755)
1025 %attr(755,root,root) /lib/libnss_nis.so.*
1026 %attr(755,root,root) /lib/libnss_nis-*.so
1028 %files -n nss_nisplus
1029 %defattr(644,root,root,755)
1030 %attr(755,root,root) /lib/libnss_nisplus*.so*
1032 %if %{?_without_memusage:0}%{!?_without_memusage:1}
1034 %defattr(644,root,root,755)
1035 %attr(755,root,root) %{_bindir}/memusage*
1036 %attr(755,root,root) %{_libdir}/libmemusage*
1040 %defattr(644,root,root,755)
1041 %doc documentation/* NOTES PROJECTS
1042 %attr(755,root,root) %{_bindir}/gencat
1043 %attr(755,root,root) %{_bindir}/getconf
1044 %attr(755,root,root) %{_bindir}/*prof*
1045 %attr(755,root,root) %{_bindir}/*trace
1052 %{_includedir}/netash
1053 %{_includedir}/netatalk
1054 %{_includedir}/netax25
1055 %{_includedir}/neteconet
1056 %{_includedir}/netinet
1057 %{_includedir}/netipx
1058 %{_includedir}/netpacket
1059 %{_includedir}/netrom
1060 %{_includedir}/netrose
1062 %{_includedir}/protocols
1064 %{_includedir}/rpcsvc
1068 %{_infodir}/libc.info*
1070 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1071 %attr(755,root,root) %{_libdir}/libm.so
1072 %attr(755,root,root) %{_libdir}/*crt*.o
1073 %{_libdir}/libbsd-compat.a
1075 %{_libdir}/libc_nonshared.a
1077 %{_libdir}/libieee.a
1078 %{_libdir}/libpthread_nonshared.a
1079 %{_libdir}/librpcsvc.a
1081 %{_mandir}/man1/getconf*
1082 %{_mandir}/man1/sprof*
1084 %lang(cs) %{_mandir}/cs/man3/*
1085 %lang(de) %{_mandir}/de/man3/*
1086 %lang(es) %{_mandir}/es/man3/*
1087 %lang(fr) %{_mandir}/fr/man3/*
1088 %lang(hu) %{_mandir}/hu/man3/*
1089 # %lang(it) %{_mandir}/it/man3/*
1090 %lang(ja) %{_mandir}/ja/man3/*
1091 %lang(ko) %{_mandir}/ko/man3/*
1092 %lang(nl) %{_mandir}/nl/man3/*
1093 %lang(pl) %{_mandir}/pl/man3/*
1094 %lang(pt) %{_mandir}/pt/man3/*
1095 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
1096 %lang(ru) %{_mandir}/ru/man3/*
1098 %files kernel-headers
1099 %defattr(644,root,root,755)
1101 %{_includedir}/linux
1104 %defattr(644,root,root,755)
1105 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1106 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1107 %attr(754,root,root) /etc/rc.d/init.d/nscd
1108 %attr(755,root,root) %{_sbindir}/nscd*
1109 %attr(640,root,root) /etc/logrotate.d/nscd
1110 %attr(640,root,root) %ghost /var/log/nscd
1111 %{_mandir}/man5/nscd.conf*
1112 %{_mandir}/man8/nscd*
1113 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
1114 %lang(ja) %{_mandir}/ja/man8/nscd*
1115 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
1116 %lang(pt) %{_mandir}/pt/man8/nscd*
1117 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
1118 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
1120 %files -n localedb-src
1121 %defattr(644,root,root,755)
1122 %attr(755,root,root) %{_bindir}/localedef
1123 %attr(755,root,root) %{_bindir}/localedb-gen
1125 %{_mandir}/man1/localedef*
1126 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/localedb
1129 %defattr(644,root,root,755)
1130 %{_libdir}/locale/locale-archive
1133 %defattr(644,root,root,755)
1134 %attr(755,root,root) %{_sbindir}/iconvconfig
1135 %dir %{_libdir}/gconv
1136 %{_libdir}/gconv/gconv-modules
1137 %attr(755,root,root) %{_libdir}/gconv/*.so
1140 %defattr(644,root,root,755)
1142 %{_libdir}/libBrokenLocale.a
1144 %{_libdir}/libcrypt.a
1147 %{_libdir}/libmcheck.a
1149 %{_libdir}/libpthread.a
1150 %{_libdir}/libresolv.a
1152 %{_libdir}/libutil.a
1155 %defattr(644,root,root,755)
1159 %defattr(644,root,root,755)
1160 %{_libdir}/lib*_pic.a
1168 %defattr(644,root,root,755)
1169 %attr(755,root,root) %{_libdir}/ld-*
1170 %attr(755,root,root) %{_libdir}/libanl*
1171 %attr(755,root,root) %{_libdir}/libdl*
1172 %attr(755,root,root) %{_libdir}/libnsl*
1173 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1174 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1175 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1177 %files -n glibc64-devel
1178 %defattr(644,root,root,755)
1179 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1180 %attr(755,root,root) %{_libdir}/libm.so
1181 %attr(755,root,root) %{_libdir}/*crt*.o
1182 %{_libdir}/libbsd-compat.a
1184 %{_libdir}/libc_nonshared.a
1186 %{_libdir}/libieee.a
1187 %{_libdir}/libpthread_nonshared.a
1188 %{_libdir}/librpcsvc.a
1190 %files -n glibc64-static
1191 %defattr(644,root,root,755)
1193 %{_libdir}/libBrokenLocale.a
1195 %{_libdir}/libcrypt.a
1198 %{_libdir}/libmcheck.a
1200 %{_libdir}/libpthread.a
1201 %{_libdir}/libresolv.a
1203 %{_libdir}/libutil.a