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