]> git.pld-linux.org Git - packages/glibc.git/blob - glibc.spec
- started implementing localedb-gen infrastructure
[packages/glibc.git] / glibc.spec
1 #
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)
4 #
5 # _without_dist_kernel  build without kernel from the distribution;
6 #                       headers will be searched in %_kernelsrcdir/include.
7 # _without_fp           build without frame pointer (pass --enable-omitfp)
8 # _without_memusage     build without memusage
9 #
10 # TODO: localedb-gen man pages(?)
11 #
12 %{!?min_kernel:%define          min_kernel      2.2.0}
13 Summary:        GNU libc
14 Summary(de):    GNU libc
15 Summary(fr):    GNU libc
16 Summary(ja):    GNU libc ¥é¥¤¥Ö¥é¥ê
17 Summary(pl):    GNU libc
18 Summary(ru):    GNU libc ×ÅÒÓÉÉ 2.3
19 Summary(tr):    GNU libc
20 Summary(uk):    GNU libc ×ÅÒÓ¦§ 2.3
21 Name:           glibc
22 Version:        2.3.2
23 Release:        2.9
24 Epoch:          6
25 License:        LGPL
26 Group:          Libraries
27 Source0:        ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
28 # Source0-md5:  ede969aad568f48083e413384f20753c
29 Source1:        ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
30 # Source1-md5:  894b8969cfbdf787c73e139782167607
31 Source2:        nscd.init
32 Source3:        nscd.sysconfig
33 Source4:        nscd.logrotate
34 Source5:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
35 # Source5-md5:  ddba280857330dabba4d8c16d24a6dfd
36 Source6:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
37 # Source6-md5:  2e3992c2e1bc94212c2cd33236de6058
38 # borrowed from util-linux
39 Source7:        sln.8
40 Source8:        %{name}-localedb-gen
41 Patch0:         %{name}-info.patch
42 Patch2:         %{name}-pld.patch
43 Patch3:         %{name}-crypt-blowfish.patch
44 Patch4:         %{name}-string2-pointer-arith.patch
45 Patch5:         %{name}-linuxthreads-lock.patch
46 Patch6:         %{name}-pthread_create-manpage.patch
47 Patch9:         %{name}-paths.patch
48 Patch10:        %{name}-vaargs.patch
49 Patch11:        %{name}-getaddrinfo-workaround.patch
50 Patch12:        %{name}-postshell.patch
51 Patch13:        %{name}-pl.po-update.patch
52 Patch14:        %{name}-missing-nls.patch
53 Patch16:        %{name}-java-libc-wait.patch
54 Patch17:        %{name}-morelocales.patch
55 Patch18:        %{name}-lthrds_noomit.patch
56 Patch19:        %{name}-no_opt_override.patch
57 Patch20:        %{name}-gcc33.patch
58 URL:            http://www.gnu.org/software/libc/
59 BuildRequires:  binutils >= 2.13.90.0.2
60 BuildRequires:  gcc >= 3.2
61 %{!?_without_memusage:BuildRequires:    gd-devel >= 2.0.1}
62 %{!?_without_memusage:BuildRequires:    XFree86-devel}
63 BuildRequires:  gettext-devel >= 0.10.36
64 %{!?_without_dist_kernel:BuildRequires: kernel-headers}
65 BuildRequires:  libpng-devel
66 BuildRequires:  perl-base
67 BuildRequires:  rpm-build >= 4.0.2-46
68 BuildRequires:  rpm-perlprov
69 BuildRequires:  sed >= 4.0.5
70 BuildRequires:  texinfo
71 Provides:       ld.so.2
72 Provides:       ldconfig
73 Provides:       /sbin/ldconfig
74 Obsoletes:      %{name}-common
75 Obsoletes:      %{name}-debug
76 Obsoletes:      ldconfig
77 Autoreq:        false
78 PreReq:         basesystem
79 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
80 Conflicts:      kernel < %{min_kernel}
81 Conflicts:      ld.so < 1.9.9-10
82 Conflicts:      man-pages < 1.43
83 Conflicts:      rpm < 4.1
84
85 %define         debugcflags     -O1 -g
86
87 %description
88 Contains the standard libraries that are used by multiple programs on
89 the system. In order to save disk space and memory, as well as to ease
90 upgrades, common system code is kept in one place and shared between
91 programs. This package contains the most important sets of shared
92 libraries, the standard C library and the standard math library.
93 Without these, a Linux system will not function. It also contains
94 national language (locale) support and timezone databases.
95
96 Compiled on: Linux kernel %{_kernel_ver_str}. Can be used on: Linux
97 kernel >= %{min_kernel}.
98
99 %description -l de
100 Enthält die Standard-Libraries, die von verschiedenen Programmen im
101 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
102 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
103 einer einzigen Stelle gespeichert und wird von den Programmen
104 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
105 shared Libraries, die Standard-C-Library und die
106 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
107 Ferner enthält es den Support für die verschiedenen Sprachgregionen
108 (locale) und die Zeitzonen-Datenbank.
109
110 Compiled on: Linux kernel %{_kernel_ver_str}. Can be used on: Linux
111 kernel >= %{min_kernel}.
112
113 %description -l fr
114 Contient les bibliothèques standards utilisées par de nombreux
115 programmes du système. Afin d'économiser l'espace disque et mémoire,
116 et de faciliter les mises à jour, le code commun au système est mis à
117 un endroit et partagé entre les programmes. Ce paquetage contient les
118 bibliothèques partagées les plus importantes, la bibliothèque standard
119 du C et la bibliothèque mathématique standard. Sans celles-ci, un
120 système Linux ne peut fonctionner. Il contient aussi la gestion des
121 langues nationales (locales) et les bases de données des zones
122 horaires.
123
124 Compiled on: Linux kernel %{_kernel_ver_str}. Can be used on: Linux
125 kernel >= %{min_kernel}.
126
127 %description -l ja
128 glibc
129 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
130 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
131 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
132 ´Ö¤Ç¶¦Í­¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
133 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: É¸½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
134 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤­¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
135 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
136 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
137
138 %description -l pl
139 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
140 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
141 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
142 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
143 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
144 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
145 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
146 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
147 jêzyków (locale) oraz definicje stref czasowych.
148
149 Pakiet skompilowano na nag³ówkach j±dra Linuksa %{_kernel_ver_str}.
150 Mo¿na go u¿ywaæ na j±drach Linuksa >= %{min_kernel}.
151
152 %description -l ru
153 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
154 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
155 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
156 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
157 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
158 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
159 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
160 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
161 ×ÒÅÍÅÎÎÙÈ ÚÏΠ(timezone databases).
162
163 Compiled on: Linux kernel %{_kernel_ver_str}. Can be used on: Linux
164 kernel >= %{min_kernel}.
165
166 %description -l tr
167 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
168 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
169 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
170 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
171 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
172 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
173 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
174
175 Compiled on: Linux kernel %{_kernel_ver_str}. Can be used on: Linux
176 kernel >= %{min_kernel}.
177
178 %description -l uk
179 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ Â¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
180 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
181 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
182 ÓЦÌØÎÉÊ ÄÌÑ ×ӦȠÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍՠͦÓæ ¦ ËÏÌÅËÔÉ×ÎÏ
183 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
184 Ú ÄÉÎÁͦÞÎÉȠ¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎՠ¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
185 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉȠ¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
186 ôÁËÏÖ ÐÁËÅԠͦÓÔÉÔؠЦÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
187 ÞÁÓÏ×ÉÈ ÚÏΠ(timezone databases).
188
189 Compiled on: Linux kernel %{_kernel_ver_str}. Can be used on: Linux
190 kernel >= %{min_kernel}.
191
192 %package devel
193 Summary:        Additional libraries required to compile
194 Summary(de):    Weitere Libraries zum Kompilieren
195 Summary(fr):    Librairies supplémentaires nécessaires à la compilation
196 Summary(ja):    É¸½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
197 Summary(pl):    Dodatkowe biblioteki wymagane podczas kompilacji
198 Summary(ru):    äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
199 Summary(tr):    Geliþtirme için gerekli diðer kitaplýklar
200 Summary(uk):    äÏÄÁÔËÏצ Â¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
201 Group:          Development/Libraries
202 Requires:       %{name} = %{version}
203
204 %description devel
205 To develop programs which use the standard C libraries (which nearly
206 all programs do), the system needs to have these standard header files
207 and object files available for creating the executables.
208
209 %description devel -l de
210 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
211 verwenden (also fast alle), benötigt das System diese Standard-Header-
212 und Objektdateien zum Erstellen der ausführbaren Programme.
213
214 %description devel -l fr
215 Pour développer des programmes utilisant les bibliothèques standard du
216 C (ce que presque tous les programmes font), le système doit posséder
217 ces fichiers en-têtes et objets standards pour créer les exécutables.
218
219 %description devel -l ja
220 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
221 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
222 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
223 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
224 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
225 ¤¬»ÈÍѤǤ­¤Þ¤¹¡£
226
227 %description devel -l pl
228 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
229 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
230 nag³ówkowe oraz pliki objektowe, niezbêdne do kompilacji programów
231 wykonywalnych i innych bibliotek.
232
233 %description devel -l ru
234 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
235 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
236 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
237 ÉÓÐÏÌÎÑÅÍÙÅ ÆÁÊÌÙ.
238
239 %description devel -l tr
240 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
241 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
242 kitaplýklar.
243
244 %description devel -l uk
245 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ Â¦Â̦ÏÔÅËÉ C
246 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äÈÅÄÅÒÉ
247 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝϠͦÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
248 ×ÉËÏÎÕ×ÁΦ ÆÁÊÌÉ.
249
250 %package kernel-headers
251 Summary:        Kernel header files the glibc has been built with
252 Summary(pl):    Pliki nag³ówkowe j±dra, z którymi zosta³a zbudowana ta wersja glibc
253 Group:          Development/Libraries
254
255 %description kernel-headers
256 Kernel header files the glibc has been built with (Linux
257 %{_kernel_ver_str}).
258
259 %description kernel-headers -l pl
260 Pliki nag³ówkowe j±dra, z którymi zosta³a zbudowana ta wersja glibc
261 (Linux %{_kernel_ver_str}).
262
263 %package -n nscd
264 Summary:        Name Service Caching Daemon
265 Summary(ja):    ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥­¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
266 Summary(pl):    Demon zapamiêtuj±cy odpowiedzi serwisów nazw
267 Summary(ru):    ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏΠÓÅÒ×ÉÓÏ× ÉÍÅÎ
268 Summary(uk):    ëÅÛÕÀÞÉÊ ÄÅÍÏΠÓÅצӦנ¦ÍÅÎ
269 Group:          Networking/Daemons
270 PreReq:         rc-scripts >= 0.2.0
271 Requires(post,preun):   /sbin/chkconfig
272 Requires(post): fileutils
273 Requires:       %{name} = %{version}
274
275 %description -n nscd
276 nscd caches name service lookups; it can dramatically improve
277 performance with NIS+, and may help with DNS as well. You cannot use
278 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
279 nscd happens to hit these bugs particularly hard.
280
281 %description -n nscd -l ja
282 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥­¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
283 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤­¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
284 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤­¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
285 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
286 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
287
288 %description -n nscd -l pl
289 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
290 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
291 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
292 obs³udze w±tków.
293
294 %description -n nscd -l ru
295 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
296 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
297 DNS.
298
299 %description -n nscd -l uk
300 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏӦנÄÏ ÓÅÒצӦנ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
301 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
302
303 %package -n localedb-src
304 Summary:        locale database source code
305 Summary(pl):    Kod ¼ród³owy bazy locale
306 Group:          Daemons
307 Requires:       %{name} = %{version}
308
309 %description -n localedb-src
310 This add-on package contains the data needed to build the locale data
311 files to use the internationalization features of the GNU libc.
312
313 %description -n localedb-src -l pl
314 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
315 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
316 libc.
317
318 %package localedb-all
319 Summary:        locale database for all locales supported by glibc
320 Summary(pl):    Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
321 Group:          Libraries
322 Requires:       %{name} = %{version}
323
324 %description localedb-all
325 This package contains locale database for all locales supported by
326 glibc. In glibc 2.3.x it's one large file (about 19MB) - if you want
327 something smaller with support for chosen locales only, consider
328 installing localedb-src and regenerating database using localedb-gen
329 script (when database is generated, localedb-src can be uninstalled).
330
331 %description localedb-all -l pl
332 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
333 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
334 (oko³o 19MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
335 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
336 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
337 pakiet localedb-src mo¿na odinstalowaæ).
338
339 %package -n iconv
340 Summary:        Convert encoding of given files from one encoding to another
341 Summary(pl):    Program do konwersji plików tekstowych z jednego kodowania do innego
342 Group:          Applications/Text
343 Requires:       %{name} = %{version}
344
345 %description -n iconv
346 Convert encoding of given files from one encoding to another. You need
347 this package if you want to convert some documet from one encoding to
348 another or if you have installed some programs which use Generic
349 Character Set Conversion Interface.
350
351 %description -n iconv -l pl
352 Program do konwersji plików tekstowych z jednego kodowania do innego.
353 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
354 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
355 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
356 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
357 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
358
359 %package static
360 Summary:        Static libraries
361 Summary(pl):    Biblioteki statyczne
362 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
363 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ glibc
364 Group:          Development/Libraries
365 Requires:       %{name}-devel = %{version}
366
367 %description static
368 GNU libc static libraries.
369
370 %description static -l pl
371 Biblioteki statyczne GNU libc.
372
373 %description static -l ru
374 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
375 ×ÈÏÄÑÔ × glibc-devel.
376
377 %description static -l uk
378 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍɠ¦Â̦ÏÔÅËÁÍÉ, ÝϠ¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
379 ÓËÌÁÄ glibc-devel.
380
381 %package profile
382 Summary:        glibc with profiling support
383 Summary(de):    glibc mit Profil-Unterstützung
384 Summary(fr):    glibc avec support pour profiling
385 Summary(pl):    glibc ze wsparciem dla profilowania
386 Summary(ru):    GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
387 Summary(tr):    Ölçüm desteði olan glibc
388 Summary(uk):    GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
389 Group:          Development/Libraries/Libc
390 Obsoletes:      libc-profile
391 Requires:       %{name}-devel = %{version}
392
393 %description profile
394 When programs are being profiled used gprof, they must use these
395 libraries instead of the standard C libraries for gprof to be able to
396 profile them correctly.
397
398 %description profile -l de
399 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
400 Libraries anstelle der üblichen C-Libraries verwendet werden.
401
402 %description profile -l pl
403 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
404 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
405 wyprofilowaæ.
406
407 %description profile -l uk
408 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
409 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉȠ¦Â̦ÏÔÅˠ¦Â̦ÏÔÅËÉ, ÝϠͦÓÔÑÔØÓÑ
410 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉȠ¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
411 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁԦנÂÕÄÅ ÐÏËÁÚÕ×ÁÔɠæÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
412 ÐÏÚÁÍÉÎÕÌÏÍÕ ÒÏæ...
413
414 %description profile -l tr
415 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
416 kitaplýðý kullanmak zorundadýrlar.
417
418 %description profile -l ru
419 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
420 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
421 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
422 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
423 ÐÏÚÁÐÒÏÛÌÏÍ ÇÏÄÕ...
424
425 %package pic
426 Summary:        glibc PIC archive
427 Summary(pl):    archiwum PIC glibc
428 Group:          Development/Libraries/Libc
429 Requires:       %{name}-devel = %{version}
430
431 %description pic
432 GNU C Library PIC archive contains an archive library (ar file)
433 composed of individual shared objects. This is used for creating a
434 library which is a smaller subset of the standard libc shared library.
435
436 %description pic -l pl
437 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
438 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
439 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
440 biblioteki wspó³dzielonej libc.
441
442 %package -n nss_compat
443 Summary:        Old style NYS NSS glibc module
444 Summary(pl):    Stary modu³ NYS NSS glibc
445 Group:          Base
446 Requires:       %{name} = %{version}
447
448 %description -n nss_compat
449 Old style NYS NSS glibc module.
450
451 %description -n nss_compat -l pl
452 Stary modu³ NYS NSS glibc.
453
454 %package -n nss_dns
455 Summary:        BIND NSS glibc module
456 Summary(pl):    Modu³ BIND NSS glibc
457 Group:          Base
458 Requires:       %{name} = %{version}
459
460 %description -n nss_dns
461 BIND NSS glibc module.
462
463 %description -n nss_dns -l pl
464 Modu³ BIND NSS glibc.
465
466 %package -n nss_files
467 Summary:        Traditional files databases NSS glibc module
468 Summary(pl):    Modu³ tradycyjnych plikowych baz danych NSS glibc
469 Group:          Base
470 Requires:       %{name} = %{version}
471
472 %description -n nss_files
473 Traditional files databases NSS glibc module.
474
475 %description -n nss_files -l pl
476 Modu³ tradycyjnych plikowych baz danych NSS glibc.
477
478 %package -n nss_hesiod
479 Summary:        Hesiod NSS glibc module
480 Summary(pl):    Modu³ hesiod NSS glibc
481 Group:          Base
482 Requires:       %{name} = %{version}
483
484 %description -n nss_hesiod
485 glibc NSS (Name Service Switch) module for databases access.
486
487 %description -n nss_hesiod -l pl
488 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
489
490 %package -n nss_nis
491 Summary:        NIS(YP) NSS glibc module
492 Summary(pl):    Modu³ NIS(YP) NSS glibc
493 Group:          Base
494 Requires:       %{name} = %{version}
495
496 %description -n nss_nis
497 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
498
499 %description -n nss_nis -l pl
500 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
501
502 %package -n nss_nisplus
503 Summary:        NIS+ NSS module
504 Summary(pl):    Modu³ NIS+ NSS
505 Group:          Base
506 Requires:       %{name} = %{version}
507
508 %description -n nss_nisplus
509 glibc NSS (Name Service Switch) module for NIS+ databases accesa.
510
511 %description -n nss_nisplus -l pl
512 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
513
514 %package memusage
515 Summary:        A toy
516 Summary(pl):    Zabawka
517 Group:          Applications
518 Requires:       %{name} = %{version}
519 Requires:       gd
520
521 %description memusage
522 A toy.
523
524 %description memusage -l pl
525 Zabawka.
526
527 %package zoneinfo_right
528 Summary:        Non-POSIX (real) time zones
529 Summary(pl):    Nie-POSIX-owe (prawdziwe) strefy czasowe
530 Group:          Libraries
531 Requires:       %{name} = %{version}
532
533 %description zoneinfo_right
534 You don't want this. Details at:
535 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
536
537 %description zoneinfo_right -l pl
538 Nie potrzebujesz tego. Szczegó³y pod:
539 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
540
541 %prep
542 %setup -q -a 1
543 %patch0 -p1
544 %patch2 -p1
545 %patch3 -p1
546 %patch4 -p1
547 %patch5 -p1
548 %patch6 -p1
549 %patch9 -p1
550 %patch10 -p1
551 #%%patch11 -p1
552 %patch12 -p1
553 %patch13 -p1
554 %patch14 -p1
555 %patch16 -p1
556 %patch17 -p1
557 %patch18 -p1
558 # don't know, if it is good idea, for brave ones
559 #%patch19 -p1
560 %patch20 -p1
561
562 chmod +x scripts/cpp
563
564 # standardize name
565 mv -f localedata/locales/{lug_UG,lg_UG}
566
567 %build
568 mkdir builddir
569 cd builddir
570 # avoid stripping ld.so by -s in rpmldflags
571 LDFLAGS=" " ; export LDFLAGS
572 ../%configure \
573         --enable-add-ons=linuxthreads \
574         --enable-kernel="%{?kernel:%{kernel}}%{!?kernel:%{min_kernel}}" \
575         --enable-profile \
576         --%{?_without_fp:en}%{!?_without_fp:dis}able-omitfp \
577         --with-headers=%{_kernelsrcdir}/include
578 # problem compiling with --enable-bounded (must be reported to libc-alpha)
579
580 %{__make} %{?parallelmkflags}
581
582 %install
583 rm -rf $RPM_BUILD_ROOT
584 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
585
586 cd builddir
587
588 env LANGUAGE=C LC_ALL=C \
589 %{__make} install \
590         %{?parallelmkflags} \
591         install_root=$RPM_BUILD_ROOT \
592         infodir=%{_infodir} \
593         mandir=%{_mandir}
594
595 env LANGUAGE=C LC_ALL=C \
596 %{__make} localedata/install-locales \
597         %{?parallelmkflags} \
598         install_root=$RPM_BUILD_ROOT
599
600 PICFILES="libc_pic.a libc.map
601         math/libm_pic.a libm.map
602         resolv/libresolv_pic.a"
603
604 install $PICFILES                               $RPM_BUILD_ROOT%{_libdir}
605 install elf/soinit.os                           $RPM_BUILD_ROOT%{_libdir}/soinit.o
606 install elf/sofini.os                           $RPM_BUILD_ROOT%{_libdir}/sofini.o
607
608 install elf/postshell                           $RPM_BUILD_ROOT/sbin
609
610 %{!?_without_memusage:mv -f $RPM_BUILD_ROOT/lib/libmemusage.so  $RPM_BUILD_ROOT%{_libdir}}
611 mv -f $RPM_BUILD_ROOT/lib/libpcprofile.so       $RPM_BUILD_ROOT%{_libdir}
612
613 %{__make} -C ../linuxthreads/man
614 install ../linuxthreads/man/*.3thr                      $RPM_BUILD_ROOT%{_mandir}/man3
615
616 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
617
618 cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
619 for i in [A-Z]*; do
620         ln -s ../$i posix
621 done
622 cd -
623
624 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
625 ln -sf localtime                $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
626 ln -sf localtime                $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
627 ln -sf libbsd-compat.a          $RPM_BUILD_ROOT%{_libdir}/libbsd.a
628
629 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
630
631 # make symlinks across top-level directories absolute
632 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
633         rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
634         ln -sf /lib/`cd $RPM_BUILD_ROOT/lib ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
635 done
636
637 install %{SOURCE2}              $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
638 install %{SOURCE3}              $RPM_BUILD_ROOT/etc/sysconfig/nscd
639 install %{SOURCE4}              $RPM_BUILD_ROOT/etc/logrotate.d/nscd
640 install ../nscd/nscd.conf       $RPM_BUILD_ROOT%{_sysconfdir}
641 install ../nss/nsswitch.conf    $RPM_BUILD_ROOT%{_sysconfdir}
642
643 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
644 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
645 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
646 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
647 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
648
649 :> $RPM_BUILD_ROOT/var/log/nscd
650
651 rm -rf ../documentation
652 install -d ../documentation
653
654 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
655 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
656 cp -f ../linuxthreads/README ../documentation/README.threads
657 cp -f ../crypt/README.ufc-crypt ../documentation/
658
659 cp -f ../ChangeLog* ../documentation
660
661 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
662
663 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
664 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/lib/ld-%{version}.so}
665
666 # Collect locale files and mark them with %%lang()
667 rm -f ../glibc.lang
668 echo '%defattr(644,root,root,755)' > ../glibc.lang
669 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
670         if [ -d $i ]; then
671                 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
672                 twochar=1
673                 # list of long %%lang values we do support
674                 for j in de_AT de_BE de_CH de_LU es_AR ja_JP.SJIS ko_KR.utf8 pt_BR \
675                          zh_CN zh_CN.gbk zh_HK zh_TW ; do
676                         if [ $j = "$lang" ]; then
677                                 twochar=
678                         fi
679                 done
680                 if [ -n "$twochar" ]; then
681                         if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
682                                 lang=`echo $lang | sed "s,\..*,,"`
683                         else
684                                 lang=`echo $lang | sed "s,_.*,,"`
685                         fi
686                 fi
687                 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
688                 echo "%lang($lang) $dir" >> ../glibc.lang
689         fi
690 done
691 # XXX: to be added when become supported by glibc
692 # am,bn,ml (present in sources, but incomplete and disabled) (used by GNOME)
693 # kn,mn,ia (used by GNOME)
694 # nso,ss,ven,xh,zu (used by KDE)
695 for i in af ar az be bg br bs cy de_AT el en eo es_AR et eu fa fi ga gr he hi \
696          hr hu id is ja_JP.SJIS ka lg lt lv mk ms mt nn pt ro ru se sl sq sr \
697          sr@cyrillic ta tg th uk uz vi wa yi zh_CN ; do
698         if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
699                 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
700                 lang=`echo $i | sed -e 's/_.*//'`
701                 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
702         fi
703 done
704 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
705
706 # localedb-gen infrastructure
707 install %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
708 cat > $RPM_BUILD_ROOT/etc/sysconfig/localedb <<EOF
709 # list of supported locales
710 #SUPPORTED_LOCALES="pl_PL/ISO-8859-2 de_DE/ISO-8859-2 en_GB/ISO-8859-1 en_US/ISO-8859-1"
711 EOF
712 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
713
714 # shutup check-files
715 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
716 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
717 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
718 # we don't support kernel without ptys support
719 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
720
721 # copy actual kernel headers for glibc-kernel-headers
722 %{__mkdir} -p $RPM_BUILD_ROOT%{_includedir}
723 %{__cp} -Hr %{_kernelsrcdir}/include/{asm,linux} $RPM_BUILD_ROOT%{_includedir}
724
725 %clean
726 rm -rf $RPM_BUILD_ROOT
727
728 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
729 # when %%postun is run
730
731 %post   -p /sbin/postshell
732 /sbin/ldconfig
733 -/sbin/telinit u
734
735 %postun -p /sbin/postshell
736 /sbin/ldconfig
737 -/sbin/telinit u
738
739 %post   memusage -p /sbin/ldconfig
740 %postun memusage -p /sbin/ldconfig
741
742 %post -n iconv -p %{_sbindir}/iconvconfig
743
744 %post devel
745 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
746 echo "Please install glibc-kernel-headers or, if you are a brave man,"
747 echo "make appropriate links in /usr/include pointing to an already"
748 echo "installed previously chosen kernel-headers package or other"
749 echo "kernel headers you have."
750
751 %postun devel
752 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
753
754 %pre kernel-headers
755 # useful if these are symlinks
756 if [ -h %{_includedir}/asm ]; then rm -f %{_includedir}/asm; fi
757 if [ -h %{_includedir}/linux ]; then rm -f %{_includedir}/linux; fi
758
759 %post -n nscd
760 /sbin/chkconfig --add nscd
761 touch /var/log/nscd && (chmod 000 /var/log/nscd; chown root.root /var/log/nscd; chmod 640 /var/log/nscd)
762 if [ -f /var/lock/subsys/nscd ]; then
763         /etc/rc.d/init.d/nscd restart 1>&2
764 else
765         echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
766 fi
767
768 %preun -n nscd
769 if [ "$1" = "0" ]; then
770         if [ -f /var/lock/subsys/nscd ]; then
771                 /etc/rc.d/init.d/nscd stop 1>&2
772         fi
773         /sbin/chkconfig --del nscd
774 fi
775
776 %files -f %{name}.lang
777 %defattr(644,root,root,755)
778 %doc README NEWS FAQ BUGS
779
780 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
781 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
782 %config %{_sysconfdir}/rpc
783 %ghost %{_sysconfdir}/ld.so.cache
784
785 %attr(755,root,root) /sbin/*
786 %attr(755,root,root) %{_bindir}/catchsegv
787 %attr(755,root,root) %{_bindir}/getent
788 %attr(755,root,root) %{_bindir}/glibcbug
789 %attr(755,root,root) %{_bindir}/iconv
790 %attr(755,root,root) %{_bindir}/ldd
791 %ifnarch alpha sparc sparc64 ppc
792 %attr(755,root,root) %{_bindir}/lddlibc4
793 %endif
794 %attr(755,root,root) %{_bindir}/locale
795 %attr(755,root,root) %{_bindir}/rpcgen
796 %attr(755,root,root) %{_bindir}/tzselect
797
798 %attr(755,root,root) %{_sbindir}/rpcinfo
799 %attr(755,root,root) %{_sbindir}/zdump
800 %attr(755,root,root) %{_sbindir}/zic
801
802 %attr(755,root,root) /lib/ld-*
803 %attr(755,root,root) /lib/libanl*
804 %attr(755,root,root) /lib/libdl*
805 %attr(755,root,root) /lib/libnsl*
806 %attr(755,root,root) /lib/lib[BScmprtu]*
807
808 %dir %{_datadir}/locale
809 %{_datadir}/locale/locale.alias
810 %{_datadir}/zoneinfo
811 %exclude %{_datadir}/zoneinfo/right
812
813 %dir %{_libdir}/locale
814
815 %{_mandir}/man1/[!lsg]*
816 %{_mandir}/man1/getent.1*
817 %{_mandir}/man1/locale.1*
818 %{_mandir}/man1/ldd.1*
819 %{_mandir}/man5/???[!d]*
820 %{_mandir}/man7/*
821 %{_mandir}/man8/[!n]*
822 %lang(cs) %{_mandir}/cs/man[578]/*
823 %lang(de) %{_mandir}/de/man[578]/*
824 %lang(es) %{_mandir}/es/man[578]/*
825 %lang(fi) %{_mandir}/fi/man1/ldd.1*
826 %lang(fr) %{_mandir}/fr/man1/ldd.1*
827 %lang(fr) %{_mandir}/fr/man[578]/*
828 %lang(hu) %{_mandir}/hu/man1/ldd.1*
829 %lang(hu) %{_mandir}/hu/man[578]/*
830 %lang(it) %{_mandir}/it/man[578]/*
831 %lang(ja) %{_mandir}/ja/man1/[!lsg]*
832 %lang(ja) %{_mandir}/ja/man1/ldd.1*
833 %lang(ja) %{_mandir}/ja/man5/???[!d]*
834 %lang(ja) %{_mandir}/ja/man7/*
835 %lang(ja) %{_mandir}/ja/man8/[!n]*
836 %lang(ko) %{_mandir}/ko/man[578]/*
837 # %lang(nl) %{_mandir}/nl/man[578]/*
838 %lang(pl) %{_mandir}/pl/man1/ldd.1*
839 %lang(pl) %{_mandir}/pl/man[578]/*
840 %lang(pt) %{_mandir}/pt/man5/???[!d]*
841 %lang(pt) %{_mandir}/pt/man7/*
842 %lang(pt) %{_mandir}/pt/man8/[!n]*
843 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[!d]*
844 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
845 %lang(pt_BR) %{_mandir}/pt_BR/man8/[!n]*
846 %lang(ru) %{_mandir}/ru/man[578]/*
847
848 #%files -n nss_dns
849 %defattr(644,root,root,755)
850 %attr(755,root,root) /lib/libnss_dns*.so*
851
852 #%files -n nss_files
853 %defattr(644,root,root,755)
854 %attr(755,root,root) /lib/libnss_files*.so*
855
856 %files zoneinfo_right
857 %defattr(644,root,root,755)
858 %{_datadir}/zoneinfo/right
859
860 %files -n nss_compat
861 %defattr(644,root,root,755)
862 %attr(755,root,root) /lib/libnss_compat*.so*
863
864 %files -n nss_hesiod
865 %defattr(644,root,root,755)
866 %attr(755,root,root) /lib/libnss_hesiod*.so*
867
868 %files -n nss_nis
869 %defattr(644,root,root,755)
870 %attr(755,root,root) /lib/libnss_nis.so.*
871 %attr(755,root,root) /lib/libnss_nis-*.so
872
873 %files -n nss_nisplus
874 %defattr(644,root,root,755)
875 %attr(755,root,root) /lib/libnss_nisplus*.so*
876
877 %if %{?_without_memusage:0}%{!?_without_memusage:1}
878 %files memusage
879 %defattr(644,root,root,755)
880 %attr(755,root,root) %{_bindir}/memusage*
881 %attr(755,root,root) %{_libdir}/libmemusage*
882 %endif
883
884 %files devel
885 %defattr(644,root,root,755)
886 %doc documentation/* NOTES PROJECTS
887 %attr(755,root,root) %{_bindir}/gencat
888 %attr(755,root,root) %{_bindir}/getconf
889 %attr(755,root,root) %{_bindir}/*prof*
890 %attr(755,root,root) %{_bindir}/*trace
891
892 %{_includedir}/*.h
893 %{_includedir}/arpa
894 %{_includedir}/bits
895 %{_includedir}/gnu
896 %{_includedir}/net
897 %{_includedir}/netash
898 %{_includedir}/netatalk
899 %{_includedir}/netax25
900 %{_includedir}/neteconet
901 %{_includedir}/netinet
902 %{_includedir}/netipx
903 %{_includedir}/netpacket
904 %{_includedir}/netrom
905 %{_includedir}/netrose
906 %{_includedir}/nfs
907 %{_includedir}/protocols
908 %{_includedir}/rpc
909 %{_includedir}/rpcsvc
910 %{_includedir}/scsi
911 %{_includedir}/sys
912
913 %{_infodir}/libc.info*
914
915 %attr(755,root,root) %{_libdir}/lib[!m]*.so
916 %attr(755,root,root) %{_libdir}/libm.so
917 %attr(755,root,root) %{_libdir}/*crt*.o
918 %{_libdir}/libbsd-compat.a
919 %{_libdir}/libbsd.a
920 %{_libdir}/libc_nonshared.a
921 %{_libdir}/libg.a
922 %{_libdir}/libieee.a
923 %{_libdir}/libpthread_nonshared.a
924 %{_libdir}/librpcsvc.a
925
926 %{_mandir}/man1/getconf*
927 %{_mandir}/man1/sprof*
928 %{_mandir}/man3/*
929 %lang(cs) %{_mandir}/cs/man3/*
930 %lang(de) %{_mandir}/de/man3/*
931 %lang(es) %{_mandir}/es/man3/*
932 %lang(fr) %{_mandir}/fr/man3/*
933 %lang(hu) %{_mandir}/hu/man3/*
934 # %lang(it) %{_mandir}/it/man3/*
935 %lang(ja) %{_mandir}/ja/man3/*
936 %lang(ko) %{_mandir}/ko/man3/*
937 %lang(nl) %{_mandir}/nl/man3/*
938 %lang(pl) %{_mandir}/pl/man3/*
939 %lang(pt) %{_mandir}/pt/man3/*
940 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
941 %lang(ru) %{_mandir}/ru/man3/*
942
943 %files kernel-headers
944 %defattr(644,root,root,755)
945 %{_includedir}/asm
946 %{_includedir}/linux
947
948 %files -n nscd
949 %defattr(644,root,root,755)
950 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
951 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
952 %attr(754,root,root) /etc/rc.d/init.d/nscd
953 %attr(755,root,root) %{_sbindir}/nscd*
954 %attr(640,root,root) /etc/logrotate.d/nscd
955 %attr(640,root,root) %ghost /var/log/nscd
956 %{_mandir}/man5/nscd.conf*
957 %{_mandir}/man8/nscd*
958 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
959 %lang(ja) %{_mandir}/ja/man8/nscd*
960 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
961 %lang(pt) %{_mandir}/pt/man8/nscd*
962 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
963 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
964
965 %files -n localedb-src
966 %defattr(644,root,root,755)
967 %attr(755,root,root) %{_bindir}/localedef
968 %attr(755,root,root) %{_bindir}/localedb-gen
969 %{_datadir}/i18n
970 %{_mandir}/man1/localedef*
971 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/localedb
972
973 %files localedb-all
974 %defattr(644,root,root,755)
975 %{_libdir}/locale/locale-archive
976
977 %files -n iconv
978 %defattr(644,root,root,755)
979 %attr(755,root,root) %{_sbindir}/iconvconfig
980 %dir %{_libdir}/gconv
981 %{_libdir}/gconv/gconv-modules
982 %attr(755,root,root) %{_libdir}/gconv/*.so
983
984 %files static
985 %defattr(644,root,root,755)
986 %{_libdir}/libanl.a
987 %{_libdir}/libBrokenLocale.a
988 %{_libdir}/libc.a
989 %{_libdir}/libcrypt.a
990 %{_libdir}/libdl.a
991 %{_libdir}/libm.a
992 %{_libdir}/libmcheck.a
993 %{_libdir}/libnsl.a
994 %{_libdir}/libpthread.a
995 %{_libdir}/libresolv.a
996 %{_libdir}/librt.a
997 %{_libdir}/libutil.a
998
999 %files profile
1000 %defattr(644,root,root,755)
1001 %{_libdir}/lib*_p.a
1002
1003 %files pic
1004 %defattr(644,root,root,755)
1005 %{_libdir}/lib*_pic.a
1006 %{_libdir}/lib*.map
1007 %{_libdir}/soinit.o
1008 %{_libdir}/sofini.o
This page took 0.128579 seconds and 3 git commands to generate.