]> git.pld-linux.org Git - packages/glibc.git/blob - glibc.spec
- changed relative symlinks btw directories to absolute; release 21.1 (check first...)
[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 %{!?min_kernel:%define          min_kernel      2.2.0}
6
7 Summary:        GNU libc
8 Summary(de):    GNU libc
9 Summary(fr):    GNU libc
10 Summary(pl):    GNU libc
11 Summary(ru):    GNU libc ×ÅÒÓÉÉ 2.2
12 Summary(tr):    GNU libc
13 Summary(uk):    GNU libc ×ÅÒÓ¦§ 2.2
14 Name:           glibc
15 Version:        2.2.5
16 Release:        21.1
17 Epoch:          6
18 License:        LGPL
19 Group:          Libraries
20 Source0:        ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
21 Source1:        ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
22 Source2:        nscd.init
23 Source3:        nscd.sysconfig
24 Source4:        nscd.logrotate
25 Source5:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
26 Source6:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
27 Source7:        postshell.c
28 # borrowed from util-linux
29 Source8:        sln.8
30 Patch0:         %{name}-info.patch
31 Patch1:         %{name}-versions.awk_fix.patch
32 Patch2:         %{name}-pld.patch
33 Patch3:         %{name}-crypt-blowfish.patch
34 Patch4:         %{name}-string2-pointer-arith.patch
35 Patch5:         %{name}-linuxthreads-lock.patch
36 Patch6:         %{name}-pthread_create-manpage.patch
37 Patch7:         %{name}-sparc-linux-chown.patch
38 Patch8:         %{name}-ldconfig-bklinks.patch
39 Patch9:         %{name}-paths.patch
40 Patch10:        %{name}-vaargs.patch
41 Patch11:        %{name}-getaddrinfo-workaround.patch
42 Patch12:        %{name}-use-int-not-arpa.patch
43 Patch13:        %{name}-divdi3.patch
44 Patch14:        %{name}-nss_dns-overflow.patch
45 Patch15:        %{name}-sunrpc-overflow.patch
46 Patch16:        %{name}-calloc-overflow.patch
47 Patch17:        %{name}-gcc32.patch
48 URL:            http://www.gnu.org/software/libc/
49 BuildRequires:  gd-devel >= 2.0.1
50 BuildRequires:  gettext-devel >= 0.10.36
51 BuildRequires:  libpng-devel
52 BuildRequires:  perl
53 BuildRequires:  rpm-build >= 4.0.2-46
54 BuildRequires:  texinfo
55 Provides:       ld.so.2
56 Provides:       ldconfig
57 Provides:       /sbin/ldconfig
58 Obsoletes:      %{name}-common
59 Obsoletes:      %{name}-debug
60 Obsoletes:      ldconfig
61 Autoreq:        false
62 PreReq:         basesystem
63 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64 Conflicts:      kernel < %{min_kernel}
65 Conflicts:      man-pages < 1.43
66 Conflicts:      ld.so < 1.9.9-10
67
68 %define         debugcflags     -O1 -g
69
70 %description
71 Contains the standard libraries that are used by multiple programs on
72 the system. In order to save disk space and memory, as well as to ease
73 upgrades, common system code is kept in one place and shared between
74 programs. This package contains the most important sets of shared
75 libraries, the standard C library and the standard math library.
76 Without these, a Linux system will not function. It also contains
77 national language (locale) support and timezone databases.
78
79 %description -l de
80 Enthält die Standard-Libraries, die von verschiedenen Programmen im
81 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
82 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
83 einer einzigen Stelle gespeichert und wird von den Programmen
84 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
85 shared Libraries, die Standard-C-Library und die
86 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
87 Ferner enthält es den Support für die verschiedenen Sprachgregionen
88 (locale) und die Zeitzonen-Datenbank.
89
90 %description -l fr
91 Contient les bibliothèques standards utilisées par de nombreux
92 programmes du système. Afin d'économiser l'espace disque et mémoire,
93 et de faciliter les mises à jour, le code commun au système est mis à
94 un endroit et partagé entre les programmes. Ce paquetage contient les
95 bibliothèques partagées les plus importantes, la bibliothèque standard
96 du C et la bibliothèque mathématique standard. Sans celles-ci, un
97 système Linux ne peut fonctionner. Il contient aussi la gestion des
98 langues nationales (locales) et les bases de données des zones
99 horaires.
100
101 %description -l pl
102 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
103 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
104 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
105 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
106 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
107 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
108 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
109 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
110 jêzyków (locale) oraz definicje stref czasowych.
111
112 %description -l ru
113 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
114 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
115 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
116 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
117 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
118 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
119 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
120 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
121 ×ÒÅÍÅÎÎÙÈ ÚÏΠ(timezone databases).
122
123 %description -l tr
124 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
125 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
126 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
127 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
128 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
129 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
130 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
131
132 %description -l uk
133 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ Â¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
134 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
135 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
136 ÓЦÌØÎÉÊ ÄÌÑ ×ӦȠÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍՠͦÓæ ¦ ËÏÌÅËÔÉ×ÎÏ
137 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
138 Ú ÄÉÎÁͦÞÎÉȠ¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎՠ¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
139 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉȠ¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
140 ôÁËÏÖ ÐÁËÅԠͦÓÔÉÔؠЦÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
141 ÞÁÓÏ×ÉÈ ÚÏΠ(timezone databases).
142
143 %package devel
144 Summary:        Additional libraries required to compile
145 Summary(de):    Weitere Libraries zum Kompilieren
146 Summary(fr):    Librairies supplémentaires nécessaires à la compilation.
147 Summary(pl):    Dodatkowe biblioteki wymagane podczas kompilacji
148 Summary(ru):    äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
149 Summary(tr):    Geliþtirme için gerekli diðer kitaplýklar
150 Summary(uk):    äÏÄÁÔËÏצ Â¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
151 Group:          Development/Libraries
152 Requires:       %{name} = %{version}
153
154 %description devel
155 To develop programs which use the standard C libraries (which nearly
156 all programs do), the system needs to have these standard header files
157 and object files available for creating the executables.
158
159 %description devel -l de
160 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
161 verwenden (also fast alle), benötigt das System diese Standard-Header-
162 und Objektdateien zum Erstellen der ausführbaren Programme.
163
164 %description devel -l fr
165 Pour développer des programmes utilisant les bibliothèques standard du
166 C (ce que presque tous les programmes font), le système doit posséder
167 ces fichiers en-têtes et objets standards pour créer les exécutables.
168
169 %description devel -l pl
170 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
171 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
172 nag³ówkowe oraz pliki objektowe, niezbêdne do kompilacji programów
173 wykonywalnych i innych bibliotek.
174
175 %description devel -l ru
176 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
177 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
178 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
179 ÉÓÐÏÌÎÑÅÍÙÅ ÆÁÊÌÙ.
180
181 %description devel -l tr
182 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
183 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
184 kitaplýklar.
185
186 %description devel -l uk
187 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ Â¦Â̦ÏÔÅËÉ C
188 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äÈÅÄÅÒÉ
189 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝϠͦÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
190 ×ÉËÏÎÕ×ÁΦ ÆÁÊÌÉ.
191
192 %package -n nscd
193 Summary:        Name Service Caching Daemon
194 Summary(pl):    Demon zapamiêtuj±cy odpowiedzi serwisów nazw
195 Summary(ru):    ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏΠÓÅÒ×ÉÓÏ× ÉÍÅÎ
196 Summary(uk):    ëÅÛÕÀÞÉÊ ÄÅÍÏΠÓÅצӦנ¦ÍÅÎ
197 Group:          Networking/Daemons
198 PreReq:         /sbin/chkconfig
199 PreReq:         rc-scripts >= 0.2.0
200 Requires:       %{name} = %{version}
201 Requires(post): fileutils
202
203 %description -n nscd
204 nscd caches name service lookups; it can dramatically improve
205 performance with NIS+, and may help with DNS as well. You cannot use
206 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
207 nscd happens to hit these bugs particularly hard.
208
209 %description -n nscd -l pl
210 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
211 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
212 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
213 obs³udze w±tków.
214
215 %description -n nscd -l ru
216 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
217 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
218 DNS.
219
220 %description -n nscd -l uk
221 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏӦנÄÏ ÓÅÒצӦנ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
222 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
223
224 %package -n localedb-src
225 Summary:        locale database source code
226 Summary(pl):    Kod ¼ród³owy bazy locale
227 Group:          Daemons
228 Requires:       %{name} = %{version}
229
230 %description -n localedb-src
231 This add-on package contains the data needed to build the locale data
232 files to use the internationalization features of the GNU libc. glibc
233 package contains standard set of locale binary database so you need
234 this package only when you want to build some non-standard locale
235 database.
236
237 %description -n localedb-src -l pl
238 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
239 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
240 libc. glibc zawiera standardowy zestaw binarnych baz lokalizacyjnych,
241 w zwi±zku z czym ten pakiet jest potrzebny tylko w sytuacji budowania
242 jakiej¶ niestandardowej bazy.
243
244 %package -n iconv
245 Summary:        Convert encoding of given files from one encoding to another
246 Summary(pl):    Program do konwersji plików tekstowych z jednego kodowania do innego
247 Group:          Applications/Text
248 Requires:       %{name} = %{version}
249
250 %description -n iconv
251 Convert encoding of given files from one encoding to another. You need
252 this package if you want to convert some documet from one encoding to
253 another or if you have installed some programs which use Generic
254 Character Set Conversion Interface.
255
256 %description -n iconv -l pl
257 Program do konwersji plików tekstowych z jednego kodowania do innego.
258 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
259 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
260 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
261 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
262 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
263
264 %package static
265 Summary:        Static libraries
266 Summary(pl):    Biblioteki statyczne
267 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
268 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ glibc
269 Group:          Development/Libraries
270 Requires:       %{name}-devel = %{version}
271
272 %description static
273 GNU libc static libraries.
274
275 %description static -l pl
276 Biblioteki statyczne GNU libc.
277
278 %description static -l ru
279 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
280 ×ÈÏÄÑÔ × glibc-devel.
281
282 %description static -l uk
283 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍɠ¦Â̦ÏÔÅËÁÍÉ, ÝϠ¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
284 ÓËÌÁÄ glibc-devel.
285
286 %package profile
287 Summary:        glibc with profiling support
288 Summary(de):    glibc mit Profil-Unterstützung
289 Summary(fr):    glibc avec support pour profiling
290 Summary(pl):    glibc ze wsparciem dla profilowania
291 Summary(ru):    GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
292 Summary(tr):    Ölçüm desteði olan glibc
293 Summary(uk):    GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
294 Group:          Development/Libraries/Libc
295 Obsoletes:      libc-profile
296 Requires:       %{name}-devel = %{version}
297
298 %description profile
299 When programs are being profiled used gprof, they must use these
300 libraries instead of the standard C libraries for gprof to be able to
301 profile them correctly.
302
303 %description profile -l de
304 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
305 Libraries anstelle der üblichen C-Libraries verwendet werden.
306
307 %description profile -l pl
308 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
309 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
310 wyprofilowaæ.
311
312 %description profile -l uk
313 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
314 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉȠ¦Â̦ÏÔÅˠ¦Â̦ÏÔÅËÉ, ÝϠͦÓÔÑÔØÓÑ
315 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉȠ¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
316 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁԦנÂÕÄÅ ÐÏËÁÚÕ×ÁÔɠæÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
317 ÐÏÚÁÍÉÎÕÌÏÍÕ ÒÏæ...
318
319 %description profile -l tr
320 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
321 kitaplýðý kullanmak zorundadýrlar.
322
323 %description profile -l ru
324 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
325 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
326 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
327 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
328 ÐÏÚÁÐÒÏÛÌÏÍ ÇÏÄÕ...
329
330 %package pic
331 Summary:        glibc PIC archive
332 Summary(pl):    archiwum PIC glibc
333 Group:          Development/Libraries/Libc
334 Requires:       %{name}-devel = %{version}
335
336 %description pic
337 GNU C Library PIC archive contains an archive library (ar file)
338 composed of individual shared objects. This is used for creating a
339 library which is a smaller subset of the standard libc shared library.
340
341 %description pic -l pl
342 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
343 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
344 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
345 biblioteki wspó³dzielonej libc.
346
347 %package -n nss_compat
348 Summary:        Old style NYS NSS glibc module
349 Summary(pl):    Stary modu³ NYS NSS glibc
350 Group:          Base
351 Requires:       %{name} = %{version}
352
353 %description -n nss_compat
354 Old style NYS NSS glibc module.
355
356 %description -n nss_compat -l pl
357 Stary modu³ NYS NSS glibc.
358
359 %package -n nss_dns
360 Summary:        BIND NSS glibc module
361 Summary(pl):    Modu³ BIND NSS glibc
362 Group:          Base
363 Requires:       %{name} = %{version}
364
365 %description -n nss_dns
366 BIND NSS glibc module.
367
368 %description -n nss_dns -l pl
369 Modu³ BIND NSS glibc.
370
371 %package -n nss_files
372 Summary:        Traditional files databases NSS glibc module
373 Summary(pl):    Modu³ tradycyjnych plikowych baz danych NSS glibc
374 Group:          Base
375 Requires:       %{name} = %{version}
376
377 %description -n nss_files
378 Traditional files databases NSS glibc module.
379
380 %description -n nss_files -l pl
381 Modu³ tradycyjnych plikowych baz danych NSS glibc.
382
383 %package -n nss_hesiod
384 Summary:        Hesiod NSS glibc module
385 Summary(pl):    Modu³ hesiod NSS glibc
386 Group:          Base
387 Requires:       %{name} = %{version}
388
389 %description -n nss_hesiod
390 glibc NSS (Name Service Switch) module for databases access.
391
392 %description -n nss_hesiod -l pl
393 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
394
395 %package -n nss_nis
396 Summary:        NIS(YP) NSS glibc module
397 Summary(pl):    Modu³ NIS(YP) NSS glibc
398 Group:          Base
399 Requires:       %{name} = %{version}
400
401 %description -n nss_nis
402 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
403
404 %description -n nss_nis -l pl
405 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
406
407 %package -n nss_nisplus
408 Summary:        NIS+ NSS module
409 Summary(pl):    Modu³ NIS+ NSS
410 Group:          Base
411 Requires:       %{name} = %{version}
412
413 %description -n nss_nisplus
414 glibc NSS (Name Service Switch) module for NIS+ databases accesa.
415
416 %description -n nss_nisplus -l pl
417 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
418
419 %package memusage
420 Summary:        A toy
421 Summary(pl):    Zabawka
422 Group:          Applications
423 Requires:       %{name} = %{version}
424 Requires:       gd
425
426 %description memusage
427 A toy.
428
429 %description memusage -l pl
430 Zabawka.
431
432 %prep
433 %setup -q -a 1
434 %patch0 -p1
435 %patch1 -p1
436 %patch2 -p1
437 %patch3 -p1
438 %patch4 -p1
439 %patch5 -p1
440 %patch6 -p1
441 %patch7 -p1
442 #%patch8 -p1
443 %patch9 -p1
444 %patch10 -p1
445 %patch11 -p1
446 %patch12 -p1
447 %patch13 -p1
448 %patch14 -p1
449 %patch15 -p1
450 %patch16 -p1
451 %patch17 -p1
452
453 chmod +x scripts/cpp
454
455 %build
456 # avoid stripping ld.so by -s in rpmldflags
457 LDFLAGS=" " ; export LDFLAGS
458 %configure2_13 \
459         --enable-add-ons=linuxthreads \
460         --enable-kernel="%{?kernel:%{kernel}}%{!?kernel:%{min_kernel}}" \
461         --enable-profile \
462         --disable-omitfp
463
464 %{__make}
465
466 # this need improvements (like building agains new builded glibc) but works
467 %{__cc} -o postshell %{rpmcflags} %{rpmldflags} %{SOURCE7}
468
469 %install
470 rm -rf $RPM_BUILD_ROOT
471 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
472
473 env LANGUAGE=C LC_ALL=C \
474 %{__make} install \
475         install_root=$RPM_BUILD_ROOT \
476         infodir=%{_infodir} \
477         mandir=%{_mandir}
478
479 env LANGUAGE=C LC_ALL=C \
480 %{__make} install-locales -C localedata \
481         install_root=$RPM_BUILD_ROOT
482
483 PICFILES="libc_pic.a libc.map
484         math/libm_pic.a libm.map
485         resolv/libresolv_pic.a"
486
487 install $PICFILES                               $RPM_BUILD_ROOT%{_libdir}
488 install elf/soinit.os                           $RPM_BUILD_ROOT%{_libdir}/soinit.o
489 install elf/sofini.os                           $RPM_BUILD_ROOT%{_libdir}/sofini.o
490
491 mv -f $RPM_BUILD_ROOT/lib/libmemusage.so        $RPM_BUILD_ROOT%{_libdir}
492 mv -f $RPM_BUILD_ROOT/lib/libpcprofile.so       $RPM_BUILD_ROOT%{_libdir}
493
494 %{__make} -C linuxthreads/man
495 install linuxthreads/man/*.3thr                 $RPM_BUILD_ROOT%{_mandir}/man3
496
497 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
498
499 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
500 ln -sf localtime                $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
501 ln -sf localtime                $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
502 ln -sf libbsd-compat.a          $RPM_BUILD_ROOT%{_libdir}/libbsd.a
503
504 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
505
506 # symlinks between directories should be absolute
507 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
508         rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
509         ln -sf /lib/`cd $RPM_BUILD_ROOT/lib ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
510 done
511
512 install %{SOURCE2}              $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
513 install %{SOURCE3}              $RPM_BUILD_ROOT/etc/sysconfig/nscd
514 install %{SOURCE4}              $RPM_BUILD_ROOT/etc/logrotate.d/nscd
515 install nscd/nscd.conf          $RPM_BUILD_ROOT%{_sysconfdir}
516 install nss/nsswitch.conf       $RPM_BUILD_ROOT%{_sysconfdir}
517
518 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
519 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
520 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
521 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
522 rm -f %{_mandir}/hu/man7/man.7
523
524 :> $RPM_BUILD_ROOT/var/log/nscd
525
526 rm -rf documentation
527 install -d documentation
528
529 cp -f linuxthreads/ChangeLog documentation/ChangeLog.threads
530 cp -f linuxthreads/Changes documentation/Changes.threads
531 cp -f linuxthreads/README documentation/README.threads
532 cp -f crypt/README.ufc-crypt documentation/
533
534 cp -f ChangeLog documentation
535
536 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
537
538 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
539 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/lib/ld-%{version}.so}
540
541 # Collect locale files and mark them with %%lang()
542 rm -f glibc.lang
543 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
544         if [ -d $i ]; then
545                 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
546                 twochar=1
547                 # list of long %%lang values we do support
548                 for j in de_AT de_BE de_CH de_LU ja_JP.SJIS ko_KR.utf8 pt_BR \
549                          zh_CN zh_CN.gbk zh_HK zh_TW ; do
550                         if [ $j = "$lang" ]; then
551                                 twochar=
552                         fi
553                 done
554                 if [ -n "$twochar" ]; then
555                         if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
556                                 lang=`echo $lang | sed "s,\..*,,"`
557                         else
558                                 lang=`echo $lang | sed "s,_.*,,"`
559                         fi 
560                 fi      
561                 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
562                 echo "%lang($lang) $dir" >> glibc.lang
563         fi
564 done
565 for i in af az bg de_AT el en eo es_ES et eu fi gr he hr hu id is ja_JP.SJIS \
566          lt lv ms nn pt ro ru sl sr ta uk wa zh_CN ; do
567         if [ ! -d $i ]; then
568                 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
569                 lang=`echo $i | sed -e 's/_.*//'`
570                 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
571         fi
572 done
573 install %{SOURCE8} $RPM_BUILD_ROOT%{_mandir}/man8
574
575 install -m755 postshell $RPM_BUILD_ROOT/sbin
576
577 %clean
578 rm -rf $RPM_BUILD_ROOT
579
580 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
581 # when %%postun is run
582
583 %post   -p /sbin/postshell
584 /sbin/ldconfig
585 -/sbin/telinit u
586
587 %postun -p /sbin/postshell 
588 /sbin/ldconfig
589 -/sbin/telinit u
590
591 %post   memusage -p /sbin/ldconfig
592 %postun memusage -p /sbin/ldconfig
593
594 %post -n iconv -p %{_sbindir}/iconvconfig
595
596 %post devel
597 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
598
599 %postun devel
600 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
601
602 %post -n nscd
603 /sbin/chkconfig --add nscd
604 touch /var/log/nscd && (chmod 000 /var/log/nscd; chown root.root /var/log/nscd; chmod 640 /var/log/nscd)
605 if [ -f /var/lock/subsys/nscd ]; then
606         /etc/rc.d/init.d/nscd restart 1>&2
607 else
608         echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
609 fi
610
611 %preun -n nscd
612 if [ "$1" = "0" ]; then
613         if [ -f /var/lock/subsys/nscd ]; then
614                 /etc/rc.d/init.d/nscd stop 1>&2
615         fi
616         /sbin/chkconfig --del nscd
617 fi
618
619 %files -f %{name}.lang
620 %defattr(644,root,root,755)
621 %doc README NEWS FAQ BUGS
622
623 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
624 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
625 %config %{_sysconfdir}/rpc
626 %ghost %{_sysconfdir}/ld.so.cache
627
628 %attr(755,root,root) /sbin/*
629 %attr(755,root,root) %{_bindir}/catchsegv
630 %attr(755,root,root) %{_bindir}/getent
631 %attr(755,root,root) %{_bindir}/glibcbug
632 %attr(755,root,root) %{_bindir}/iconv
633 %attr(755,root,root) %{_bindir}/ldd
634 %ifnarch alpha sparc sparc64 ppc
635 %attr(755,root,root) %{_bindir}/lddlibc4
636 %endif
637 %attr(755,root,root) %{_bindir}/locale
638 %attr(755,root,root) %{_bindir}/rpcgen
639 %attr(755,root,root) %{_bindir}/tzselect
640
641 %attr(755,root,root) %{_sbindir}/rpcinfo
642 %attr(755,root,root) %{_sbindir}/zdump
643 %attr(755,root,root) %{_sbindir}/zic
644
645 %attr(755,root,root) /lib/ld-*
646 %attr(755,root,root) /lib/libanl*
647 %attr(755,root,root) /lib/libdl*
648 %attr(755,root,root) /lib/libnsl*
649 %attr(755,root,root) /lib/lib[BScmprtu]*
650
651 %dir %{_datadir}/locale
652 %{_datadir}/locale/locale.alias
653 %{_datadir}/zoneinfo
654
655 %dir %{_libdir}/locale
656
657 %{_mandir}/man1/[^lsg]*
658 %{_mandir}/man1/getent.1*
659 %{_mandir}/man1/locale.1*
660 %{_mandir}/man1/ldd.1*
661 %{_mandir}/man5/???[^d]*
662 %{_mandir}/man7/*
663 %{_mandir}/man8/[^n]*
664 %lang(cs) %{_mandir}/cs/man[578]/*
665 %lang(de) %{_mandir}/de/man[578]/*
666 %lang(es) %{_mandir}/es/man[578]/*
667 %lang(fi) %{_mandir}/fi/man1/ldd.1*
668 %lang(fr) %{_mandir}/fr/man1/ldd.1*
669 %lang(fr) %{_mandir}/fr/man[578]/*
670 %lang(hu) %{_mandir}/hu/man1/ldd.1*
671 %lang(hu) %{_mandir}/hu/man[578]/*
672 %lang(it) %{_mandir}/it/man[578]/*
673 %lang(ja) %{_mandir}/ja/man1/[^lsg]*
674 %lang(ja) %{_mandir}/ja/man1/ldd.1*
675 %lang(ja) %{_mandir}/ja/man5/???[^d]*
676 %lang(ja) %{_mandir}/ja/man7/*
677 %lang(ja) %{_mandir}/ja/man8/[^n]*
678 %lang(ko) %{_mandir}/ko/man[578]/*
679 # %lang(nl) %{_mandir}/nl/man[578]/*
680 %lang(pl) %{_mandir}/pl/man1/ldd.1*
681 %lang(pl) %{_mandir}/pl/man[578]/*
682 %lang(pt) %{_mandir}/pt/man5/???[^d]*
683 %lang(pt) %{_mandir}/pt/man7/*
684 %lang(pt) %{_mandir}/pt/man8/[^n]*
685 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[^d]*
686 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
687 %lang(pt_BR) %{_mandir}/pt_BR/man8/[^n]*
688 %lang(ru) %{_mandir}/ru/man[578]/*
689
690 #%files -n nss_dns
691 %defattr(644,root,root,755)
692 %attr(755,root,root) /lib/libnss_dns*.so*
693
694 #%files -n nss_files
695 %defattr(644,root,root,755)
696 %attr(755,root,root) /lib/libnss_files*.so*
697
698 %files -n nss_compat
699 %defattr(644,root,root,755)
700 %attr(755,root,root) /lib/libnss_compat*.so*
701
702 %files -n nss_hesiod
703 %defattr(644,root,root,755)
704 %attr(755,root,root) /lib/libnss_hesiod*.so*
705
706 %files -n nss_nis
707 %defattr(644,root,root,755)
708 %attr(755,root,root) /lib/libnss_nis.so.*
709 %attr(755,root,root) /lib/libnss_nis-*.so
710
711 %files -n nss_nisplus
712 %defattr(644,root,root,755)
713 %attr(755,root,root) /lib/libnss_nisplus*.so*
714
715 %files memusage
716 %defattr(644,root,root,755)
717 %attr(755,root,root) %{_bindir}/memusage*
718 %attr(755,root,root) %{_libdir}/libmemusage*
719
720 %files devel
721 %defattr(644,root,root,755)
722 %doc documentation/* NOTES PROJECTS
723 %attr(755,root,root) %{_bindir}/gencat
724 %attr(755,root,root) %{_bindir}/getconf
725 %attr(755,root,root) %{_bindir}/*prof*
726 %attr(755,root,root) %{_bindir}/*trace
727
728 %{_includedir}/*
729
730 %{_infodir}/libc.info*
731
732 %attr(755,root,root) %{_libdir}/lib[^m]*.so
733 %attr(755,root,root) %{_libdir}/libm.so
734 %attr(755,root,root) %{_libdir}/*crt*.o
735 %{_libdir}/libbsd-compat.a
736 %{_libdir}/libbsd.a
737 %{_libdir}/libc_nonshared.a
738 %{_libdir}/libg.a
739 %{_libdir}/libieee.a
740 %{_libdir}/librpcsvc.a
741
742 %{_mandir}/man1/getconf*
743 %{_mandir}/man1/sprof*
744 %{_mandir}/man3/*
745 %lang(cs) %{_mandir}/cs/man3/*
746 %lang(de) %{_mandir}/de/man3/*
747 %lang(es) %{_mandir}/es/man3/*
748 %lang(fr) %{_mandir}/fr/man3/*
749 %lang(hu) %{_mandir}/hu/man3/*
750 # %lang(it) %{_mandir}/it/man3/*
751 %lang(ja) %{_mandir}/ja/man3/*
752 %lang(ko) %{_mandir}/ko/man3/*
753 %lang(nl) %{_mandir}/nl/man3/*
754 %lang(pl) %{_mandir}/pl/man3/*
755 %lang(pt) %{_mandir}/pt/man3/*
756 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
757 %lang(ru) %{_mandir}/ru/man3/*
758
759 %files -n nscd
760 %defattr(644,root,root,755)
761 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
762 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
763 %attr(754,root,root) /etc/rc.d/init.d/nscd
764 %attr(755,root,root) %{_sbindir}/nscd*
765 %attr(640,root,root) /etc/logrotate.d/nscd
766 %attr(640,root,root) %ghost /var/log/nscd
767 %{_mandir}/man5/nscd.conf*
768 %{_mandir}/man8/nscd*
769 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
770 %lang(ja) %{_mandir}/ja/man8/nscd*
771 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
772 %lang(pt) %{_mandir}/pt/man8/nscd*
773 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
774 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
775
776 %files -n localedb-src
777 %defattr(644,root,root,755)
778 %attr(755,root,root) %{_bindir}/localedef
779 %{_datadir}/i18n
780 %{_mandir}/man1/localedef*
781
782 %files -n iconv
783 %defattr(644,root,root,755)
784 %attr(755,root,root) %{_sbindir}/iconvconfig
785 %dir %{_libdir}/gconv
786 %{_libdir}/gconv/gconv-modules
787 %attr(755,root,root) %{_libdir}/gconv/*.so
788
789 %files static
790 %defattr(644,root,root,755)
791 %{_libdir}/libanl.a
792 %{_libdir}/libBrokenLocale.a
793 %{_libdir}/libc.a
794 %{_libdir}/libcrypt.a
795 %{_libdir}/libdl.a
796 %{_libdir}/libm.a
797 %{_libdir}/libmcheck.a
798 %{_libdir}/libnsl.a
799 %{_libdir}/libpthread.a
800 %{_libdir}/libresolv.a
801 %{_libdir}/librt.a
802 %{_libdir}/libutil.a
803
804 %files profile
805 %defattr(644,root,root,755)
806 %{_libdir}/lib*_p.a
807
808 %files pic
809 %defattr(644,root,root,755)
810 %{_libdir}/lib*_pic.a
811 %{_libdir}/lib*.map
812 %{_libdir}/soinit.o
813 %{_libdir}/sofini.o
This page took 2.192833 seconds and 4 git commands to generate.