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