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