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