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