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