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