]> git.pld-linux.org Git - packages/glibc.git/blob - glibc.spec
- obsolete
[packages/glibc.git] / glibc.spec
1 # TODO:
2 # - files?
3 #   (debuggable libraries built with frame pointers - -debug package?)
4 #   %{_libdir}/libBrokenLocale_g.a
5 #   %{_libdir}/libanl_g.a
6 #   %{_libdir}/libc_g.a
7 #   %{_libdir}/libcrypt_g.a
8 #   %{_libdir}/libdl_g.a
9 #   %{_libdir}/libm_g.a
10 #   %{_libdir}/libnsl_g.a
11 #   %{_libdir}/libpthread_g.a
12 #   %{_libdir}/libresolv_g.a
13 #   %{_libdir}/librpcsvc_g.a
14 #   %{_libdir}/librt_g.a
15 #   %{_libdir}/libutil_g.a
16 #
17 # Conditional build:
18 # min_kernel    (default is 2.6.12)
19 %bcond_without  memusage        # don't build memusage utility
20 %bcond_without  selinux         # without SELinux support (in nscd)
21 %bcond_with     tests           # perform "make test"
22 %bcond_without  localedb        # don't build localedb-all (is time consuming)
23 %bcond_with     cross           # build using crossgcc (without libgcc_eh)
24 #
25 # TODO:
26 # - look at locale fixes/updates in bugzilla
27 # - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section.
28 # [OLD]
29 # - localedb-gen man pages(?)
30 # - math/{test-fenv,test-tgmath,test-float,test-ifloat},
31 #   debug/backtrace-tst(SEGV)  fail on alpha
32 %{!?min_kernel:%global          min_kernel      2.6.12}
33
34 %ifarch sparc64
35 %undefine       with_memusage
36 %endif
37
38 %define         llh_version     7:2.6.12.0-10
39
40 Summary:        GNU libc
41 Summary(de):    GNU libc
42 Summary(es):    GNU libc
43 Summary(fr):    GNU libc
44 Summary(ja):    GNU libc ¥é¥¤¥Ö¥é¥ê
45 Summary(pl):    GNU libc
46 Summary(ru):    GNU libc ×ÅÒÓÉÉ 2.3
47 Summary(tr):    GNU libc
48 Summary(uk):    GNU libc ×ÅÒÓ¦§ 2.3
49 Name:           glibc
50 Version:        2.5
51 Release:        0.5
52 Epoch:          6
53 License:        LGPL
54 Group:          Libraries
55 Source0:        ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
56 # Source0-md5:  1fb29764a6a650a4d5b409dda227ac9f
57 Source1:        ftp://sources.redhat.com/pub/glibc/releases/%{name}-libidn-%{version}.tar.bz2
58 # Source1-md5:  8787868ba8962d9b125997ec2f25ac01
59 Source2:        nscd.init
60 Source3:        nscd.sysconfig
61 Source4:        nscd.logrotate
62 #Source5:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
63 Source5:        http://qboosh.cs.net.pl/man/%{name}-man-pages.tar.bz2
64 # Source5-md5:  f464eadf3cf06761f65639e44a179e6b
65 Source6:        %{name}-localedb-gen
66 Source7:        %{name}-LD-path.c
67 Patch0:         %{name}-cvs20070210.patch
68 Patch1:         %{name}-pl.po-update.patch
69 Patch2:         %{name}-pld.patch
70 Patch3:         %{name}-crypt-blowfish.patch
71 Patch4:         %{name}-alpha-ev6-opcodes.patch
72 Patch5:         %{name}-sparc-softfp-gcc.patch
73 Patch6:         %{name}-paths.patch
74
75 Patch8:         %{name}-missing-nls.patch
76 Patch9:         %{name}-java-libc-wait.patch
77 Patch10:        %{name}-info.patch
78 Patch11:        %{name}-no_opt_override.patch
79 Patch12:        %{name}-includes.patch
80 Patch13:        %{name}-ppc-inline-fsqrt.patch
81 Patch14:        %{name}-sparc-errno_fix.patch
82
83 Patch17:        %{name}-new-charsets.patch
84
85 Patch20:        %{name}-tzfile-noassert.patch
86 Patch21:        %{name}-morelocales.patch
87 Patch22:        %{name}-locale_fixes.patch
88 Patch23:        %{name}-ZA_collate.patch
89 Patch24:        %{name}-iconvconfig-nxstack.patch
90 Patch25:        %{name}-cross-gcc_eh.patch
91 # PaX hack (dropped)
92 #Patch30:       %{name}-pax_dl-execstack.patch
93 URL:            http://www.gnu.org/software/libc/
94 %{?with_selinux:BuildRequires:  audit-libs-devel}
95 BuildRequires:  autoconf
96 BuildRequires:  automake
97 BuildRequires:  binutils >= 2:2.15.90.0.3
98 BuildRequires:  gcc >= 5:3.4
99 BuildRequires:  gawk
100 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
101 BuildRequires:  gettext-devel >= 0.10.36
102 %{!?with_cross:BuildRequires:   dietlibc-static}
103 %{?with_selinux:BuildRequires:  libselinux-devel >= 1.18}
104 BuildRequires:  linux-libc-headers >= %{llh_version}
105 BuildRequires:  perl-base
106 BuildRequires:  rpm-build >= 4.3-0.20030610.28
107 BuildRequires:  rpm-perlprov
108 BuildRequires:  rpmbuild(macros) >= 1.315
109 BuildRequires:  sed >= 4.0.5
110 BuildRequires:  texinfo
111 AutoReq:        false
112 Requires:       %{name}-misc = %{epoch}:%{version}-%{release}
113 Requires:       basesystem
114 Requires:       uname(release) >= %{min_kernel}
115 Provides:       /sbin/ldconfig
116 Provides:       glibc(nptl)
117 Provides:       glibc(tls)
118 Provides:       glibc64
119 Provides:       ldconfig
120 Obsoletes:      glibc-common
121 Obsoletes:      glibc-debug
122 Obsoletes:      glibc64
123 Obsoletes:      ldconfig
124 Conflicts:      kernel < %{min_kernel}
125 Conflicts:      kernel24
126 Conflicts:      kernel24-smp
127 Conflicts:      ld.so < 1.9.9-10
128 Conflicts:      man-pages < 1.43
129 Conflicts:      poldek < 0.18.8-5
130 Conflicts:      rc-scripts < 0.3.1-13
131 Conflicts:      rpm < 4.1
132 ExclusiveArch:  i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64
133 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
134
135 # avoid -s here (ld.so must not be stripped to allow any program debugging)
136 %define         filterout_ld            (-Wl,)?-[sS] (-Wl,)?--strip.*
137 %define         specflags_sparc64       -mcpu=ultrasparc -mvis -fcall-used-g6
138
139 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
140 %ifarch sparc sparcv9
141 %{expand:%%define       __cc    %{__cc} -m32}
142 %endif
143
144 # Xen-friendly glibc
145 %define         specflags_ia32          -mno-tls-direct-seg-refs
146 %define         specflags_x86_64        -mno-tls-direct-seg-refs
147 %define         specflags_amd64         -mno-tls-direct-seg-refs
148 %define         specflags_ia32e         -mno-tls-direct-seg-refs
149
150 # we don't want perl dependency in glibc-devel
151 %define         _noautoreqfiles         %{_bindir}/mtrace
152 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
153 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
154 # patched not to crash on partial hardlinks too)
155 %define         _hack_dontneed_PartialHardlinkSets      1
156 %define         _noautochrpath          .*\\(ldconfig\\|sln\\)
157
158 %description
159 Contains the standard libraries that are used by multiple programs on
160 the system. In order to save disk space and memory, as well as to ease
161 upgrades, common system code is kept in one place and shared between
162 programs. This package contains the most important sets of shared
163 libraries, the standard C library and the standard math library.
164 Without these, a Linux system will not function. It also contains
165 national language (locale) support.
166
167 Can be used on: Linux kernel >= %{min_kernel}.
168
169 %description -l es
170 Contiene las bibliotecas estándared que son usadas por varios
171 programas del sistema. Para ahorrar el espacio en el disco y la
172 memoria, igual que para facilitar actualizaciones, código común del
173 sistema se guarda en un sitio y es compartido entre los programas.
174 Este paquete contiene las bibliotecas compartidas más importantes, es
175 decir la biblioteca C estándar y la biblioteca estándar de matemática.
176 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
177 soporte de idiomas nacionales (locale).
178
179 Puede usarse con: núcleo Linux >= %{min_kernel}.
180
181 %description -l de
182 Enthält die Standard-Libraries, die von verschiedenen Programmen im
183 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
184 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
185 einer einzigen Stelle gespeichert und wird von den Programmen
186 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
187 shared Libraries, die Standard-C-Library und die
188 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
189 Ferner enthält es den Support für die verschiedenen Sprachgregionen
190 (locale).
191
192 Can be used on: Linux kernel >= %{min_kernel}.
193
194 %description -l fr
195 Contient les bibliothèques standards utilisées par de nombreux
196 programmes du système. Afin d'économiser l'espace disque et mémoire,
197 et de faciliter les mises à jour, le code commun au système est mis à
198 un endroit et partagé entre les programmes. Ce paquetage contient les
199 bibliothèques partagées les plus importantes, la bibliothèque standard
200 du C et la bibliothèque mathématique standard. Sans celles-ci, un
201 système Linux ne peut fonctionner. Il contient aussi la gestion des
202 langues nationales (locales).
203
204 Can be used on: Linux kernel >= %{min_kernel}.
205
206 %description -l ja
207 glibc
208 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
209 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
210 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
211 ´Ö¤Ç¶¦Í­¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
212 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: É¸½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
213 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤­¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
214 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
215 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
216
217 Can be used on: Linux kernel >= %{min_kernel}.
218
219 %description -l pl
220 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
221 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
222 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
223 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
224 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
225 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
226 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
227 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
228 jêzyków (locale).
229
230 Pakiet jest przeznaczony dla j±dra Linuksa >= %{min_kernel}.
231
232 %description -l ru
233 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
234 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
235 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
236 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
237 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
238 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
239 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
240 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale).
241
242 Can be used on: Linux kernel >= %{min_kernel}.
243
244 %description -l tr
245 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
246 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
247 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
248 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
249 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
250 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
251 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
252
253 Can be used on: Linux kernel >= %{min_kernel}.
254
255 %description -l uk
256 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ Â¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
257 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
258 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
259 ÓЦÌØÎÉÊ ÄÌÑ ×ӦȠÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍՠͦÓæ ¦ ËÏÌÅËÔÉ×ÎÏ
260 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
261 Ú ÄÉÎÁͦÞÎÉȠ¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎՠ¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
262 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉȠ¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
263 ôÁËÏÖ ÐÁËÅԠͦÓÔÉÔؠЦÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale).
264
265 Can be used on: Linux kernel >= %{min_kernel}.
266
267 %package misc
268 Summary:        Utilities and data used by glibc
269 Summary(pl):    Narzêdzia i dane u¿ywane przez glibc
270 Group:          Applications/System
271 AutoReq:        false
272 Requires(pre):  %{name} = %{epoch}:%{version}-%{release}
273 Requires:       %{name} = %{epoch}:%{version}-%{release}
274 Requires:       tzdata >= 2006g-2
275
276 %description misc
277 Utilities and data used by glibc.
278
279 %description misc -l pl
280 Narzêdzia i dane u¿ywane przez glibc.
281
282 %package devel
283 Summary:        Additional libraries required to compile
284 Summary(de):    Weitere Libraries zum Kompilieren
285 Summary(es):    Bibliotecas adicionales necesarias para la compilación
286 Summary(fr):    Librairies supplémentaires nécessaires à la compilation
287 Summary(ja):    É¸½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
288 Summary(pl):    Dodatkowe biblioteki wymagane podczas kompilacji
289 Summary(ru):    äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
290 Summary(tr):    Geliþtirme için gerekli diðer kitaplýklar
291 Summary(uk):    äÏÄÁÔËÏצ Â¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
292 Group:          Development/Libraries
293 Requires:       %{name} = %{epoch}:%{version}-%{release}
294 Requires:       %{name}-devel-utils = %{epoch}:%{version}-%{release}
295 Requires:       %{name}-headers = %{epoch}:%{version}-%{release}
296 Provides:       %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
297 Obsoletes:      libiconv-devel
298
299 %description devel
300 To develop programs which use the standard C libraries (which nearly
301 all programs do), the system needs to have these standard header files
302 and object files available for creating the executables.
303
304 %description devel -l de
305 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
306 verwenden (also fast alle), benötigt das System diese Standard-Header-
307 und Objektdateien zum Erstellen der ausführbaren Programme.
308
309 %description devel -l es
310 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
311 cual hacen prácticamente todos los programas), el sistema necesita
312 disponer de estos ficheros de cabecera y de objetos para crear los
313 ejecutables.
314
315 %description devel -l fr
316 Pour développer des programmes utilisant les bibliothèques standard du
317 C (ce que presque tous les programmes font), le système doit posséder
318 ces fichiers en-têtes et objets standards pour créer les exécutables.
319
320 %description devel -l ja
321 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
322 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
323 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
324 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
325 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
326 ¤¬»ÈÍѤǤ­¤Þ¤¹¡£
327
328 %description devel -l pl
329 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
330 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
331 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
332 wykonywalnych i innych bibliotek.
333
334 %description devel -l ru
335 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
336 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
337 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
338 ÉÓÐÏÌÎÑÅÍÙÅ ÆÁÊÌÙ.
339
340 %description devel -l tr
341 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
342 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
343 kitaplýklar.
344
345 %description devel -l uk
346 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ Â¦Â̦ÏÔÅËÉ C
347 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äÈÅÄÅÒÉ
348 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝϠͦÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
349 ×ÉËÏÎÕ×ÁΦ ÆÁÊÌÉ.
350
351 %package headers
352 Summary:        Header files for development using standard C libraries
353 Summary(pl):    Pliki nag³ówkowe do tworzenia programów przy u¿yciu standardowych bibliotek C
354 Group:          Development/Building
355 Provides:       %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
356 %ifarch %{x8664}
357 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
358 # have to be installed, not ix86 one.
359 Obsoletes:      %{name}-headers(i386)
360 Obsoletes:      %{name}-headers(i486)
361 Obsoletes:      %{name}-headers(i586)
362 Obsoletes:      %{name}-headers(i686)
363 Obsoletes:      %{name}-headers(athlon)
364 Obsoletes:      %{name}-headers(pentium3)
365 Obsoletes:      %{name}-headers(pentium4)
366 %endif
367 %ifarch ppc64
368 Obsoletes:      %{name}-headers(ppc)
369 %endif
370 %ifarch s390x
371 Obsoletes:      %{name}-headers(s390)
372 %endif
373 %ifarch sparc64
374 Obsoletes:      %{name}-headers(sparc)
375 %endif
376 Requires:       linux-libc-headers >= %{llh_version}
377
378 %description headers
379 The glibc-headers package contains the header files necessary for
380 developing programs which use the standard C libraries (which are used
381 by nearly all programs). If you are developing programs which will use
382 the standard C libraries, your system needs to have these standard
383 header files available in order to create the executables.
384
385 Install glibc-headers if you are going to develop programs which will
386 use the standard C libraries.
387
388 %description headers -l pl
389 Pakiet glibc-headers zawiera pliki nag³ówkowe niezbêdne do rozwijania
390 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
391 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
392 standardowych bibliotek C, system wymaga dostêpno¶ci tych
393 standardowych plików nag³ówkowych do tworzenia programów
394 wykonywalnych.
395
396 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
397 korzystaj±ce ze standardowych bibliotek C.
398
399 %package devel-utils
400 Summary:        Utilities needed for development using standard C libraries
401 Summary(pl):    Narzêdzia do tworzenia programów przy u¿yciu standardowych bibliotek C
402 Group:          Development/Libraries
403 Provides:       %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
404 %ifarch %{x8664}
405 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
406 # have to be installed, not ix86 one.
407 Obsoletes:      %{name}-devel-utils(i386)
408 Obsoletes:      %{name}-devel-utils(i486)
409 Obsoletes:      %{name}-devel-utils(i586)
410 Obsoletes:      %{name}-devel-utils(i686)
411 Obsoletes:      %{name}-devel-utils(athlon)
412 Obsoletes:      %{name}-devel-utils(pentium3)
413 Obsoletes:      %{name}-devel-utils(pentium4)
414 %endif
415 %ifarch ppc64
416 Obsoletes:      %{name}-devel-utils(ppc)
417 %endif
418 %ifarch s390x
419 Obsoletes:      %{name}-devel-utils(s390)
420 %endif
421 %ifarch sparc64
422 Obsoletes:      %{name}-devel-utils(sparc)
423 %endif
424
425 %description devel-utils
426 The glibc-devel-utils package contains utilities necessary for
427 developing programs which use the standard C libraries (which are used
428 by nearly all programs). If you are developing programs which will use
429 the standard C libraries, your system needs to have these utilities
430 available.
431
432 Install glibc-devel-utils if you are going to develop programs which
433 will use the standard C libraries.
434
435 %description devel-utils -l pl
436 Pakiet glibc-devel-utils zawiera narzêdzia niezbêdne do rozwijania
437 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
438 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
439 standardowych bibliotek C, system wymaga dostêpno¶ci tych narzêdzi do
440 tworzenia programów wykonywalnych.
441
442 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
443 korzystaj±ce ze standardowych bibliotek C.
444
445 %package devel-doc
446 Summary:        Documentation needed for development using standard C libraries
447 Summary(pl):    Dokumentacja do tworzenia programów przy u¿yciu standardowych bibliotek C
448 Group:          Documentation
449 Provides:       %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
450 %ifarch %{x8664}
451 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
452 # have to be installed, not ix86 one.
453 Obsoletes:      %{name}-devel-doc(i386)
454 Obsoletes:      %{name}-devel-doc(i486)
455 Obsoletes:      %{name}-devel-doc(i586)
456 Obsoletes:      %{name}-devel-doc(i686)
457 Obsoletes:      %{name}-devel-doc(athlon)
458 Obsoletes:      %{name}-devel-doc(pentium3)
459 Obsoletes:      %{name}-devel-doc(pentium4)
460 %endif
461 %ifarch ppc64
462 Obsoletes:      %{name}-devel-doc(ppc)
463 %endif
464 %ifarch s390x
465 Obsoletes:      %{name}-devel-doc(s390)
466 %endif
467 %ifarch sparc64
468 Obsoletes:      %{name}-devel-doc(sparc)
469 %endif
470
471 %description devel-doc
472 The glibc-devel-doc package contains info and manual pages necessary
473 for developing programs which use the standard C libraries (which are
474 used by nearly all programs).
475
476 Install glibc-devel-doc if you are going to develop programs which
477 will use the standard C libraries.
478
479 %description devel-doc -l pl
480 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
481 rozwijania programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych
482 przez prawie wszystkie programy).
483
484 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
485 korzystaj±ce ze standardowych bibliotek C.
486
487 %package -n nscd
488 Summary:        Name Service Caching Daemon
489 Summary(es):    Demonio de caché del servicio de nombres
490 Summary(ja):    ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥­¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
491 Summary(pl):    Demon zapamiêtuj±cy odpowiedzi serwisów nazw
492 Summary(ru):    ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏΠÓÅÒ×ÉÓÏ× ÉÍÅÎ
493 Summary(uk):    ëÅÛÕÀÞÉÊ ÄÅÍÏΠÓÅצӦנ¦ÍÅÎ
494 Group:          Networking/Daemons
495 Requires(post): fileutils
496 Requires(post,preun):   /sbin/chkconfig
497 Requires(postun):       /usr/sbin/groupdel
498 Requires(postun):       /usr/sbin/userdel
499 Requires(pre):  /bin/id
500 Requires(pre):  /usr/bin/getgid
501 Requires(pre):  /usr/sbin/groupadd
502 Requires(pre):  /usr/sbin/useradd
503 Requires:       %{name} = %{epoch}:%{version}-%{release}
504 %{?with_selinux:Requires:       libselinux >= 1.18}
505 Requires:       rc-scripts >= 0.2.0
506 Provides:       group(nscd)
507 Provides:       user(nscd)
508
509 %description -n nscd
510 nscd caches name service lookups; it can dramatically improve
511 performance with NIS+, and may help with DNS as well.
512
513 %description -n nscd -l es
514 nscd guarda las peticiones del servicio de nombres en una caché; eso
515 puede aumentar drásticamente las prestaciones de NIS+, y también puede
516 ayudar con DNS.
517
518 %description -n nscd -l ja
519 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥­¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
520 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤­¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£
521
522 %description -n nscd -l pl
523 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
524 drastycznie poprawiæ szybko¶æ dzia³ania NIS+.
525
526 %description -n nscd -l ru
527 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
528 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
529 DNS.
530
531 %description -n nscd -l uk
532 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏӦנÄÏ ÓÅÒצӦנ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
533 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
534
535 %package -n localedb-src
536 Summary:        locale database source code
537 Summary(es):    Código fuente de la base de datos de los locales
538 Summary(pl):    Kod ¼ród³owy bazy locale
539 Group:          Libraries
540 Requires:       %{name} = %{epoch}:%{version}-%{release}
541 Requires:       gzip
542 Requires:       sed
543
544 %description -n localedb-src
545 This add-on package contains the data needed to build the locale data
546 files to use the internationalization features of the GNU libc.
547
548 %description -n localedb-src -l es
549 Este paquete adicional contiene los datos necesarios para construir
550 los ficheros de locale, imprescindibles para usar las cualidades de
551 internacionalización de GNU libc.
552
553 %description -n localedb-src -l pl
554 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
555 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
556 libc.
557
558 %package localedb-all
559 Summary:        locale database for all locales supported by glibc
560 Summary(es):    Base de datos de todos los locales soportados por glibc
561 Summary(pl):    Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
562 Group:          Libraries
563 Requires:       %{name} = %{epoch}:%{version}-%{release}
564 Requires:       iconv = %{epoch}:%{version}-%{release}
565
566 %description localedb-all
567 This package contains locale database for all locales supported by
568 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
569 something smaller with support for chosen locales only, consider
570 installing localedb-src and regenerating database using localedb-gen
571 script (when database is generated, localedb-src can be uninstalled).
572
573 %description localedb-all -l es
574 Este paquete contiene una base de datos de todos los locales
575 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
576 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
577 locales elegidos, considérese instalar localedb-src y regenerar la
578 base de datos usando el escript localedb-gen (una vez que la base de
579 datos esté creada, localedb-src se podrá desinstalar).
580
581 %description localedb-all -l pl
582 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
583 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
584 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
585 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
586 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
587 pakiet localedb-src mo¿na odinstalowaæ).
588
589 %package -n iconv
590 Summary:        Convert encoding of given files from one encoding to another
591 Summary(es):    Convierte entre varias codificaciones de los ficheros dados
592 Summary(pl):    Modu³y do konwersji plików tekstowych z jednego kodowania do innego
593 Group:          Libraries
594 Requires:       %{name} = %{epoch}:%{version}-%{release}
595
596 %description -n iconv
597 Convert encoding of given files from one encoding to another. You need
598 this package if you want to convert some document from one encoding to
599 another or if you have installed some programs which use Generic
600 Character Set Conversion Interface.
601
602 %description -n iconv -l es
603 Convierte la codificación de dados ficheros. Necesita este paquete si
604 quiere convertir un documento entre una codificación (juego de
605 caracteres) y otra, o si tiene instalado algún programa que usa el
606 Generic Character Set Conversion Interface (interfaz genérica de
607 conversión de juegos de caracteres).
608
609 %description -n iconv -l pl
610 Modu³y do konwersji plików tekstowych z jednego kodowania do innego.
611 Trzeba mieæ zainstalowany ten pakiet, aby wykonywaæ konwersjê
612 dokumentów z jednego kodowania do innego lub do u¿ywania programów
613 korzystaj±cych z Generic Character Set Conversion Interface w glibc,
614 czyli z zestawu funkcji z tej biblioteki, które umo¿liwiaj± konwersjê
615 kodowania danych z poziomu dowolnego programu.
616
617 %package static
618 Summary:        Static libraries
619 Summary(es):    Bibliotecas estáticas
620 Summary(pl):    Biblioteki statyczne
621 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
622 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ glibc
623 Group:          Development/Libraries
624 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
625 Provides:       %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
626 Obsoletes:      libiconv-static
627
628 %description static
629 GNU libc static libraries.
630
631 %description static -l es
632 Bibliotecas estáticas de GNU libc.
633
634 %description static -l pl
635 Biblioteki statyczne GNU libc.
636
637 %description static -l ru
638 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
639 ×ÈÏÄÑÔ × glibc-devel.
640
641 %description static -l uk
642 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍɠ¦Â̦ÏÔÅËÁÍÉ, ÝϠ¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
643 ÓËÌÁÄ glibc-devel.
644
645 %package profile
646 Summary:        glibc with profiling support
647 Summary(de):    glibc mit Profil-Unterstützung
648 Summary(es):    glibc con soporte de perfilamiento
649 Summary(fr):    glibc avec support pour profiling
650 Summary(pl):    glibc ze wsparciem dla profilowania
651 Summary(ru):    GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
652 Summary(tr):    Ölçüm desteði olan glibc
653 Summary(uk):    GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
654 Group:          Development/Libraries/Libc
655 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
656 Obsoletes:      libc-profile
657
658 %description profile
659 When programs are being profiled using gprof, they must use these
660 libraries instead of the standard C libraries for gprof to be able to
661 profile them correctly.
662
663 %description profile -l de
664 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
665 Libraries anstelle der üblichen C-Libraries verwendet werden.
666
667 %description profile -l es
668 Cuando programas son perfilidas usando gprof, tienen que usar estas
669 biblioteces en vez de las estándares para que gprof pueda perfilarlas
670 correctamente.
671
672 %description profile -l pl
673 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
674 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
675 wyprofilowaæ.
676
677 %description profile -l uk
678 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
679 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉȠ¦Â̦ÏÔÅˠ¦Â̦ÏÔÅËÉ, ÝϠͦÓÔÑÔØÓÑ
680 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉȠ¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
681 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁԦנÂÕÄÅ ÐÏËÁÚÕ×ÁÔɠæÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
682 ÐÏÚÁÍÉÎÕÌÏÍÕ ÒÏæ...
683
684 %description profile -l tr
685 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
686 kitaplýðý kullanmak zorundadýrlar.
687
688 %description profile -l ru
689 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
690 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
691 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
692 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
693 ÐÏÚÁÐÒÏÛÌÏÍ ÇÏÄÕ...
694
695 %package pic
696 Summary:        glibc PIC archive
697 Summary(es):    Archivo PIC de glibc
698 Summary(pl):    Archiwum PIC glibc
699 Group:          Development/Libraries/Libc
700 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
701
702 %description pic
703 GNU C Library PIC archive contains an archive library (ar file)
704 composed of individual shared objects. This is used for creating a
705 library which is a smaller subset of the standard libc shared library.
706
707 %description pic -l es
708 El archivo PIC de la biblioteca glibc contiene una biblioteca
709 archivada (un fichero ar) compuesta de individuales objetos
710 compartidos. Es usado para crear una biblioteca que sea un subconjunto
711 más pequeño de la biblioteca libc compartida estándar.
712
713 %description pic -l pl
714 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
715 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
716 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
717 biblioteki wspó³dzielonej libc.
718
719 %package -n nss_compat
720 Summary:        Old style NYS NSS glibc module
721 Summary(es):    El antiguo módulo NYS NSS de glibc
722 Summary(pl):    Stary modu³ NYS NSS glibc
723 Group:          Base
724 Requires:       %{name} = %{epoch}:%{version}-%{release}
725
726 %description -n nss_compat
727 Old style NYS NSS glibc module.
728
729 %description -n nss_compat -l es
730 El antiguo módulo NYS NSS de glibc
731
732 %description -n nss_compat -l pl
733 Stary modu³ NYS NSS glibc.
734
735 %package -n nss_dns
736 Summary:        BIND NSS glibc module
737 Summary(es):    Módulo BIND NSS de glibc
738 Summary(pl):    Modu³ BIND NSS glibc
739 Group:          Base
740 Requires:       %{name} = %{epoch}:%{version}-%{release}
741
742 %description -n nss_dns
743 BIND NSS glibc module.
744
745 %description -n nss_dns -l es
746 Módulo BIND NSS de glibc.
747
748 %description -n nss_dns -l pl
749 Modu³ BIND NSS glibc.
750
751 %package -n nss_files
752 Summary:        Traditional files databases NSS glibc module
753 Summary(es):    Módulo de tradicionales bases de datos en ficheros para glibc
754 Summary(pl):    Modu³ tradycyjnych plikowych baz danych NSS glibc
755 Group:          Base
756 Requires:       %{name} = %{epoch}:%{version}-%{release}
757
758 %description -n nss_files
759 Traditional files databases NSS glibc module.
760
761 %description -n nss_files -l es
762 Módulo de tradicionales bases de datos en ficheros para glibc.
763
764 %description -n nss_files -l pl
765 Modu³ tradycyjnych plikowych baz danych NSS glibc.
766
767 %package -n nss_hesiod
768 Summary:        hesiod NSS glibc module
769 Summary(es):    Módulo hesiod NSS de glibc
770 Summary(pl):    Modu³ hesiod NSS glibc
771 Group:          Base
772 Requires:       %{name} = %{epoch}:%{version}-%{release}
773
774 %description -n nss_hesiod
775 glibc NSS (Name Service Switch) module for databases access.
776
777 %description -n nss_hesiod -l es
778 Módulo hesiod NSS de glibc.
779
780 %description -n nss_hesiod -l pl
781 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
782
783 %package -n nss_nis
784 Summary:        NIS(YP) NSS glibc module
785 Summary(es):    Módulo NIS(YP) NSS de glibc
786 Summary(pl):    Modu³ NIS(YP) NSS glibc
787 Group:          Base
788 Requires:       %{name} = %{epoch}:%{version}-%{release}
789
790 %description -n nss_nis
791 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
792
793 %description -n nss_nis -l es
794 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
795
796 %description -n nss_nis -l pl
797 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
798
799 %package -n nss_nisplus
800 Summary:        NIS+ NSS module
801 Summary(es):    Módulo NIS+ NSS
802 Summary(pl):    Modu³ NIS+ NSS
803 Group:          Base
804 Requires:       %{name} = %{epoch}:%{version}-%{release}
805
806 %description -n nss_nisplus
807 glibc NSS (Name Service Switch) module for NIS+ databases access.
808
809 %description -n nss_nisplus -l es
810 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
811 datos NIS+.
812
813 %description -n nss_nisplus -l pl
814 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
815
816 %package memusage
817 Summary:        A toy
818 Summary(es):    Un juguete
819 Summary(pl):    Zabawka
820 Group:          Applications
821 Requires:       %{name} = %{epoch}:%{version}-%{release}
822
823 %description memusage
824 A toy.
825
826 %description memusage -l es
827 Un juguete.
828
829 %description memusage -l pl
830 Zabawka.
831
832 %prep
833 %setup -q -a1
834 ln -s glibc-libidn-%{version} libidn
835 %patch0 -p1
836 # needs update/drop
837 #%patch1 -p1
838 %patch2 -p1
839 %patch3 -p1
840 %patch4 -p1
841 %patch5 -p1
842 %patch6 -p1
843
844 %patch8 -p1
845 %patch9 -p1
846 %patch10 -p1
847 %patch11 -p1
848 %patch12 -p1
849 %patch13 -p1
850 %patch14 -p0
851
852 %patch17 -p1
853
854 %patch20 -p1
855 %patch21 -p1
856 %patch22 -p1
857 %patch23 -p1
858 %patch24 -p1
859 %{?with_cross:%patch25 -p1}
860
861 # these would be copied to localedb-src
862 rm -f localedata/locales/*{.orig,~}
863
864 chmod +x scripts/cpp
865
866 # i786 (aka pentium4) hack
867 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
868 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
869
870 # Hack till glibc-kernheaders get updated, argh
871 %define min_kernel_ver  %(echo %{min_kernel} | cut -f 1 -d .)
872 %define min_kernel_patc %(echo %{min_kernel} | cut -f 2 -d .)
873 %define min_kernel_subl %(echo %{min_kernel} | cut -f 3 -d .)
874 %define min_kernel_code %(expr %{min_kernel_ver} \\* 65536 + %{min_kernel_patc} \\* 256 + %{min_kernel_subl})
875 mkdir -p override_headers/linux
876 cat > override_headers/linux/version.h <<EOF
877 #define UTS_RELEASE "%{min_kernel}"
878 #define LINUX_VERSION_CODE %{min_kernel_code}
879 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
880 EOF
881 mkdir -p override_headers/asm
882 cat > override_headers/asm/unistd.h <<EOF
883 #ifndef _HACK_ASM_UNISTD_H
884 #include_next <asm/unistd.h>
885 %ifarch alpha
886 #ifndef __NR_stat64
887 #define __NR_stat64                     425
888 #define __NR_lstat64                    426
889 #define __NR_fstat64                    427
890 #endif
891 #ifndef __NR_mq_open
892 #define __NR_mq_open                    432
893 #define __NR_mq_unlink                  433
894 #define __NR_mq_timedsend               434
895 #define __NR_mq_timedreceive            435
896 #define __NR_mq_notify                  436
897 #define __NR_mq_getsetattr              437
898 #endif
899 #ifndef __NR_waitid
900 #define __NR_waitid                     438
901 #endif
902 #ifndef __NR_inotify_init
903 #define __NR_inotify_init               444
904 #define __NR_inotify_add_watch          445
905 #define __NR_inotify_rm_watch           446
906 #endif
907 %endif
908 %ifarch %{ix86}
909 #ifndef __NR_mq_open
910 #define __NR_mq_open            277
911 #define __NR_mq_unlink          (__NR_mq_open+1)
912 #define __NR_mq_timedsend       (__NR_mq_open+2)
913 #define __NR_mq_timedreceive    (__NR_mq_open+3)
914 #define __NR_mq_notify          (__NR_mq_open+4)
915 #define __NR_mq_getsetattr      (__NR_mq_open+5)
916 #endif
917 #ifndef __NR_waitid
918 #define __NR_waitid             284
919 #endif
920 #ifndef __NR_inotify_init
921 #define __NR_inotify_init       291
922 #define __NR_inotify_add_watch  292
923 #define __NR_inotify_rm_watch   293
924 #endif
925 #ifndef __NR_openat
926 #define __NR_openat             295
927 #define __NR_mkdirat            296
928 #define __NR_mknodat            297
929 #define __NR_fchownat           298
930 #define __NR_futimesat          299
931 #define __NR_unlinkat           301
932 #define __NR_renameat           302
933 #define __NR_linkat             303
934 #define __NR_symlinkat          304
935 #define __NR_readlinkat         305
936 #define __NR_fchmodat           306
937 #define __NR_faccessat          307
938 #endif
939 #ifndef __NR_fstatat64
940 #define __NR_fstatat64          300
941 #endif
942 #ifndef __NR_pselect6
943 #define __NR_pselect6           308
944 #define __NR_ppoll              309
945 #endif
946 #ifndef __NR_unshare
947 #define __NR_unshare            310
948 #endif
949 #ifndef __NR_set_robust_list
950 #define __NR_set_robust_list    311
951 #define __NR_get_robust_list    312
952 #endif
953 #ifndef __NR_splice
954 #define __NR_splice             313
955 #endif
956 #ifndef __NR_sync_file_range
957 #define __NR_sync_file_range    314
958 #endif
959 #ifndef __NR_tee
960 #define __NR_tee                315
961 #endif
962 #ifndef __NR_vmsplice
963 #define __NR_vmsplice           316
964 #endif
965 %endif
966 %ifarch ia64
967 #ifndef __NR_timer_create
968 #define __NR_timer_create       1248
969 #define __NR_timer_settime      1249
970 #define __NR_timer_gettime      1250
971 #define __NR_timer_getoverrun   1251
972 #define __NR_timer_delete       1252
973 #define __NR_clock_settime      1253
974 #define __NR_clock_gettime      1254
975 #define __NR_clock_getres       1255
976 #define __NR_clock_nanosleep    1256
977 #endif
978 #ifndef __NR_mq_open
979 #define __NR_mq_open            1262
980 #define __NR_mq_unlink          1263
981 #define __NR_mq_timedsend       1264
982 #define __NR_mq_timedreceive    1265
983 #define __NR_mq_notify          1266
984 #define __NR_mq_getsetattr      1267
985 #endif
986 #ifndef __NR_waitid
987 #define __NR_waitid             1270
988 #endif
989 #ifndef __NR_inotify_init
990 #define __NR_inotify_init       1277
991 #define __NR_inotify_add_watch  1278
992 #define __NR_inotify_rm_watch   1279
993 #endif
994 #ifndef __NR_openat
995 #define __NR_openat             1281
996 #define __NR_mkdirat            1282
997 #define __NR_mknodat            1283
998 #define __NR_fchownat           1284
999 #define __NR_futimesat          1285
1000 #define __NR_newfstatat         1286
1001 #define __NR_unlinkat           1287
1002 #define __NR_renameat           1288
1003 #define __NR_linkat             1289
1004 #define __NR_symlinkat          1290
1005 #define __NR_readlinkat         1291
1006 #define __NR_fchmodat           1292
1007 #define __NR_faccessat          1293
1008 #endif
1009 #if 0
1010 #ifndef __NR_pselect6
1011 #define __NR_pselect6           1294
1012 #define __NR_ppoll              1295
1013 #endif
1014 #endif
1015 #ifndef __NR_unshare
1016 #define __NR_unshare            1296
1017 #endif
1018 #ifndef __NR_splice
1019 #define __NR_splice             1297
1020 #endif
1021 #ifndef __NR_set_robust_list
1022 #define __NR_set_robust_list    1298
1023 #define __NR_get_robust_list    1299
1024 #endif
1025 #ifndef __NR_sync_file_range
1026 #define __NR_sync_file_range    1300
1027 #endif
1028 #ifndef __NR_tee
1029 #define __NR_tee                1301
1030 #endif
1031 #ifndef __NR_vmsplice
1032 #define __NR_vmsplice           1302
1033 #endif
1034 %endif
1035 %ifarch ppc
1036 #ifndef __NR_utimes
1037 #define __NR_utimes             251
1038 #endif
1039 #ifndef __NR_statfs64
1040 #define __NR_statfs64           252
1041 #define __NR_fstatfs64          253
1042 #endif
1043 #ifndef __NR_fadvise64_64
1044 #define __NR_fadvise64_64       254
1045 #endif
1046 #ifndef __NR_mq_open
1047 #define __NR_mq_open            262
1048 #define __NR_mq_unlink          263
1049 #define __NR_mq_timedsend       264
1050 #define __NR_mq_timedreceive    265
1051 #define __NR_mq_notify          266
1052 #define __NR_mq_getsetattr      267
1053 #endif
1054 #ifndef __NR_waitid
1055 #define __NR_waitid             272
1056 #endif
1057 #ifndef __NR_inotify_init
1058 #define __NR_inotify_init       275
1059 #define __NR_inotify_add_watch  276
1060 #define __NR_inotify_rm_watch   277
1061 #endif
1062 #ifndef __NR_pselect6
1063 #define __NR_pselect6           280
1064 #define __NR_ppoll              281
1065 #endif
1066 #ifndef __NR_unshare
1067 #define __NR_unshare            282
1068 #endif
1069 #ifndef __NR_splice
1070 #define __NR_splice             283
1071 #endif
1072 #ifndef __NR_tee
1073 #define __NR_tee                284
1074 #endif
1075 #ifndef __NR_vmsplice
1076 #define __NR_vmsplice           285
1077 #endif
1078 #ifndef __NR_openat
1079 #define __NR_openat             286
1080 #define __NR_mkdirat            287
1081 #define __NR_mknodat            288
1082 #define __NR_fchownat           289
1083 #define __NR_futimesat          290
1084 #define __NR_fstatat64          291
1085 #define __NR_unlinkat           292
1086 #define __NR_renameat           293
1087 #define __NR_linkat             294
1088 #define __NR_symlinkat          295
1089 #define __NR_readlinkat         296
1090 #define __NR_fchmodat           297
1091 #define __NR_faccessat          298
1092 #endif
1093 %endif
1094 %ifarch ppc64
1095 #ifndef __NR_utimes
1096 #define __NR_utimes             251
1097 #endif
1098 #ifndef __NR_mq_open
1099 #define __NR_mq_open            262
1100 #define __NR_mq_unlink          263
1101 #define __NR_mq_timedsend       264
1102 #define __NR_mq_timedreceive    265
1103 #define __NR_mq_notify          266
1104 #define __NR_mq_getsetattr      267
1105 #endif
1106 #ifndef __NR_waitid
1107 #define __NR_waitid             272
1108 #endif
1109 #ifndef __NR_inotify_init
1110 #define __NR_inotify_init       275
1111 #define __NR_inotify_add_watch  276
1112 #define __NR_inotify_rm_watch   277
1113 #endif
1114 #ifndef __NR_pselect6
1115 #define __NR_pselect6           280
1116 #define __NR_ppoll              281
1117 #endif
1118 #ifndef __NR_unshare
1119 #define __NR_unshare            282
1120 #endif
1121 #ifndef __NR_splice
1122 #define __NR_splice             283
1123 #endif
1124 #ifndef __NR_tee
1125 #define __NR_tee                284
1126 #endif
1127 #ifndef __NR_vmsplice
1128 #define __NR_vmsplice           285
1129 #endif
1130 #ifndef __NR_openat
1131 #define __NR_openat             286
1132 #define __NR_mkdirat            287
1133 #define __NR_mknodat            288
1134 #define __NR_fchownat           289
1135 #define __NR_futimesat          290
1136 #define __NR_newfstatat         291
1137 #define __NR_unlinkat           292
1138 #define __NR_renameat           293
1139 #define __NR_linkat             294
1140 #define __NR_symlinkat          295
1141 #define __NR_readlinkat         296
1142 #define __NR_fchmodat           297
1143 #define __NR_faccessat          298
1144 #endif
1145 %endif
1146 %ifarch s390
1147 #ifndef __NR_timer_create
1148 #define __NR_timer_create       254
1149 #define __NR_timer_settime      (__NR_timer_create+1)
1150 #define __NR_timer_gettime      (__NR_timer_create+2)
1151 #define __NR_timer_getoverrun   (__NR_timer_create+3)
1152 #define __NR_timer_delete       (__NR_timer_create+4)
1153 #define __NR_clock_settime      (__NR_timer_create+5)
1154 #define __NR_clock_gettime      (__NR_timer_create+6)
1155 #define __NR_clock_getres       (__NR_timer_create+7)
1156 #define __NR_clock_nanosleep    (__NR_timer_create+8)
1157 #endif
1158 #ifndef __NR_fadvise64_64
1159 #define __NR_fadvise64_64       264
1160 #endif
1161 #ifndef __NR_statfs64
1162 #define __NR_statfs64           265
1163 #define __NR_fstatfs64          266
1164 #endif
1165 #ifndef __NR_mq_open
1166 #define __NR_mq_open            271
1167 #define __NR_mq_unlink          272
1168 #define __NR_mq_timedsend       273
1169 #define __NR_mq_timedreceive    274
1170 #define __NR_mq_notify          275
1171 #define __NR_mq_getsetattr      276
1172 #endif
1173 #ifndef __NR_waitid
1174 #define __NR_waitid             281
1175 #endif
1176 #ifndef __NR_inotify_init
1177 #define __NR_inotify_init       284
1178 #define __NR_inotify_add_watch  285
1179 #define __NR_inotify_rm_watch   286
1180 #endif
1181 #ifndef __NR_openat
1182 #define __NR_openat             288
1183 #define __NR_mkdirat            289
1184 #define __NR_mknodat            290
1185 #define __NR_fchownat           291
1186 #define __NR_futimesat          292
1187 #define __NR_fstatat64          293
1188 #define __NR_unlinkat           294
1189 #define __NR_renameat           295
1190 #define __NR_linkat             296
1191 #define __NR_symlinkat          297
1192 #define __NR_readlinkat         298
1193 #define __NR_fchmodat           299
1194 #define __NR_faccessat          300
1195 #endif
1196 #ifndef __NR_pselect6
1197 #define __NR_pselect6           301
1198 #define __NR_ppoll              302
1199 #endif
1200 #ifndef __NR_unshare
1201 #define __NR_unshare            303
1202 #endif
1203 %endif
1204 %ifarch s390x
1205 #ifndef __NR_timer_create
1206 #define __NR_timer_create       254
1207 #define __NR_timer_settime      (__NR_timer_create+1)
1208 #define __NR_timer_gettime      (__NR_timer_create+2)
1209 #define __NR_timer_getoverrun   (__NR_timer_create+3)
1210 #define __NR_timer_delete       (__NR_timer_create+4)
1211 #define __NR_clock_settime      (__NR_timer_create+5)
1212 #define __NR_clock_gettime      (__NR_timer_create+6)
1213 #define __NR_clock_getres       (__NR_timer_create+7)
1214 #define __NR_clock_nanosleep    (__NR_timer_create+8)
1215 #endif
1216 #ifndef __NR_mq_open
1217 #define __NR_mq_open            271
1218 #define __NR_mq_unlink          272
1219 #define __NR_mq_timedsend       273
1220 #define __NR_mq_timedreceive    274
1221 #define __NR_mq_notify          275
1222 #define __NR_mq_getsetattr      276
1223 #endif
1224 #ifndef __NR_waitid
1225 #define __NR_waitid             281
1226 #endif
1227 #ifndef __NR_inotify_init
1228 #define __NR_inotify_init       284
1229 #define __NR_inotify_add_watch  285
1230 #define __NR_inotify_rm_watch   286
1231 #endif
1232 #ifndef __NR_openat
1233 #define __NR_openat             288
1234 #define __NR_mkdirat            289
1235 #define __NR_mknodat            290
1236 #define __NR_fchownat           291
1237 #define __NR_futimesat          292
1238 #define __NR_newfstatat         293
1239 #define __NR_unlinkat           294
1240 #define __NR_renameat           295
1241 #define __NR_linkat             296
1242 #define __NR_symlinkat          297
1243 #define __NR_readlinkat         298
1244 #define __NR_fchmodat           299
1245 #define __NR_faccessat          300
1246 #endif
1247 #ifndef __NR_pselect6
1248 #define __NR_pselect6           301
1249 #define __NR_ppoll              302
1250 #endif
1251 #ifndef __NR_unshare
1252 #define __NR_unshare            303
1253 #endif
1254 %endif
1255 %ifarch sparc sparcv9 sparc64
1256 #ifndef __NR_mq_open
1257 #define __NR_mq_open            273
1258 #define __NR_mq_unlink          274
1259 #define __NR_mq_timedsend       275
1260 #define __NR_mq_timedreceive    276
1261 #define __NR_mq_notify          277
1262 #define __NR_mq_getsetattr      278
1263 #endif
1264 #ifndef __NR_waitid
1265 #define __NR_waitid             279
1266 #endif
1267 #ifndef __NR_stat64
1268 #define __NR_fstat64            63
1269 #define __NR_lstat64            132
1270 #define __NR_stat64             139
1271 #endif
1272 #ifndef __NR_inotify_init
1273 #define __NR_inotify_init       151
1274 #define __NR_inotify_add_watch  152
1275 #define __NR_inotify_rm_watch   156
1276 #endif
1277 #ifndef __NR_openat
1278 #define __NR_openat             284
1279 #define __NR_mkdirat            285
1280 #define __NR_mknodat            286
1281 #define __NR_fchownat           287
1282 #define __NR_futimesat          288
1283 #define __NR_newfstatat         289
1284 #define __NR_unlinkat           290
1285 #define __NR_renameat           291
1286 #define __NR_linkat             292
1287 #define __NR_symlinkat          293
1288 #define __NR_readlinkat         294
1289 #define __NR_fchmodat           295
1290 #define __NR_faccessat          296
1291 #endif
1292 #ifndef __NR_pselect6
1293 #define __NR_pselect6           297
1294 #define __NR_ppoll              298
1295 #endif
1296 #ifndef __NR_unshare
1297 #define __NR_unshare            299
1298 #endif
1299 %endif
1300 %ifarch x86_64
1301 #ifndef __NR_mq_open
1302 #define __NR_mq_open            240
1303 #define __NR_mq_unlink          241
1304 #define __NR_mq_timedsend       242
1305 #define __NR_mq_timedreceive    243
1306 #define __NR_mq_notify          244
1307 #define __NR_mq_getsetattr      245
1308 #endif
1309 #ifndef __NR_waitid
1310 #define __NR_waitid             247
1311 #endif
1312 #ifndef __NR_inotify_init
1313 #define __NR_inotify_init       253
1314 #define __NR_inotify_add_watch  254
1315 #define __NR_inotify_rm_watch   255
1316 #endif
1317 #ifndef __NR_openat
1318 #define __NR_openat             257
1319 #define __NR_mkdirat            258
1320 #define __NR_mknodat            259
1321 #define __NR_fchownat           260
1322 #define __NR_futimesat          261
1323 #define __NR_newfstatat         262
1324 #define __NR_unlinkat           263
1325 #define __NR_renameat           264
1326 #define __NR_linkat             265
1327 #define __NR_symlinkat          266
1328 #define __NR_readlinkat         267
1329 #define __NR_fchmodat           268
1330 #define __NR_faccessat          269
1331 #endif
1332 #ifndef __NR_pselect6
1333 #define __NR_pselect6           270
1334 #define __NR_ppoll              271
1335 #endif
1336 #ifndef __NR_unshare
1337 #define __NR_unshare            272
1338 #endif
1339 #ifndef __NR_set_robust_list
1340 #define __NR_set_robust_list    273
1341 #define __NR_get_robust_list    274
1342 #endif
1343 #ifndef __NR_splice
1344 #define __NR_splice             275
1345 #endif
1346 #ifndef __NR_tee
1347 #define __NR_tee                276
1348 #endif
1349 #ifndef __NR_sync_file_range
1350 #define __NR_sync_file_range    277
1351 #endif
1352 #ifndef __NR_vmsplice
1353 #define __NR_vmsplice           278
1354 #endif
1355 %endif
1356 #endif
1357 EOF
1358 cat > override_headers/asm/errno.h <<EOF
1359 #ifndef _HACK_ASM_ERRNO_H
1360 #include_next <asm/errno.h>
1361 %ifarch alpha
1362 #ifndef ENOKEY
1363 #define ENOKEY          132
1364 #define EKEYEXPIRED     133
1365 #define EKEYREVOKED     134
1366 #define EKEYREJECTED    135
1367 #endif
1368 #ifndef EOWNERDEAD
1369 #define EOWNERDEAD      136
1370 #define ENOTRECOVERABLE 137
1371 #endif
1372 %endif
1373 %ifarch %{ix86} ia64 ppc ppc64 s390 s390x x86_64
1374 #ifndef ENOKEY
1375 #define ENOKEY          126
1376 #define EKEYEXPIRED     127
1377 #define EKEYREVOKED     128
1378 #define EKEYREJECTED    129
1379 #endif
1380 #ifndef EOWNERDEAD
1381 #define EOWNERDEAD      130
1382 #define ENOTRECOVERABLE 131
1383 #endif
1384 %endif
1385 %ifarch sparc sparcv9 sparc64
1386 #ifndef ENOKEY
1387 #define ENOKEY          128
1388 #define EKEYEXPIRED     129
1389 #define EKEYREVOKED     130
1390 #define EKEYREJECTED    131
1391 #endif
1392 #ifndef EOWNERDEAD
1393 #define EOWNERDEAD      132
1394 #define ENOTRECOVERABLE 133
1395 #endif
1396 %endif
1397 #endif
1398 EOF
1399
1400 # A lot of programs still misuse memcpy when they have to use
1401 # memmove. The memcpy implementation below is not tolerant at
1402 # all.
1403 rm -f sysdeps/alpha/alphaev6/memcpy.S
1404
1405 %build
1406 # glibc has its own way to remove PLT relocations. / H. J. Lu.
1407 unset LD_SYMBOLIC_FUNCTIONS || :
1408
1409 cp -f /usr/share/automake/config.sub scripts
1410 %{__aclocal}
1411 %{__autoconf}
1412
1413 rm -rf builddir
1414 install -d builddir
1415 cd builddir
1416 %ifarch sparc64
1417 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
1418 %endif
1419 AWK="gawk" \
1420 ../%configure \
1421         --enable-kernel="%{min_kernel}" \
1422         --enable-omitfp \
1423         --with-headers=`cd ..; pwd`/override_headers:%{_includedir} \
1424         --with%{!?with_selinux:out}-selinux \
1425         --with-tls \
1426         --enable-add-ons=nptl,libidn \
1427         --enable-stackguard-randomization \
1428         --enable-hidden-plt \
1429         --enable-profile
1430
1431 %{__make}
1432 cd ..
1433
1434 %if %{with tests}
1435 for d in builddir; do
1436 cd $d
1437 env LANGUAGE=C LC_ALL=C \
1438 %{__make} tests 2>&1 | awk '
1439 BEGIN { file = "" }
1440 {
1441         if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
1442                 file=$0;
1443                 gsub(/.*\[/, NIL, file);
1444                 gsub(/\].*/, NIL, file);
1445         }
1446         print $0;
1447 }
1448 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
1449 cd ..
1450 done
1451 %endif
1452
1453 %if !%{with cross}
1454 diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
1455 %endif
1456
1457 %install
1458 rm -rf $RPM_BUILD_ROOT
1459 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
1460
1461 cd builddir
1462 env LANGUAGE=C LC_ALL=C \
1463 %{__make} install \
1464         install_root=$RPM_BUILD_ROOT \
1465         infodir=%{_infodir} \
1466         mandir=%{_mandir}
1467
1468 %if %{with localedb}
1469 env LANGUAGE=C LC_ALL=C \
1470 %{__make} localedata/install-locales \
1471         install_root=$RPM_BUILD_ROOT
1472 %endif
1473
1474 PICFILES="libc_pic.a libc.map
1475         math/libm_pic.a libm.map
1476         resolv/libresolv_pic.a"
1477
1478 install $PICFILES                               $RPM_BUILD_ROOT%{_libdir}
1479 install elf/soinit.os                           $RPM_BUILD_ROOT%{_libdir}/soinit.o
1480 install elf/sofini.os                           $RPM_BUILD_ROOT%{_libdir}/sofini.o
1481 cd ..
1482
1483 %if !%{with cross}
1484 install glibc-postinst                          $RPM_BUILD_ROOT/sbin
1485 %endif
1486
1487 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
1488 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so   $RPM_BUILD_ROOT%{_libdir}
1489
1490 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
1491 # moved to tzdata package
1492 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
1493
1494 ln -sf libbsd-compat.a          $RPM_BUILD_ROOT%{_libdir}/libbsd.a
1495
1496 # make symlinks across top-level directories absolute
1497 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
1498         rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1499         ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1500 done
1501
1502 install %{SOURCE2}              $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
1503 install %{SOURCE3}              $RPM_BUILD_ROOT/etc/sysconfig/nscd
1504 install %{SOURCE4}              $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1505 install nscd/nscd.conf          $RPM_BUILD_ROOT%{_sysconfdir}
1506 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
1507 install posix/gai.conf          $RPM_BUILD_ROOT%{_sysconfdir}
1508
1509 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1510 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
1511 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
1512 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
1513 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
1514
1515 :> $RPM_BUILD_ROOT/var/log/nscd
1516 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
1517 :> $RPM_BUILD_ROOT/var/lib/nscd/group
1518 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
1519
1520 rm -rf documentation
1521 install -d documentation
1522
1523 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
1524         cp -f nptl/$f documentation/$f.nptl
1525 done
1526 cp -f crypt/README.ufc-crypt ChangeLog* documentation
1527
1528 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1529
1530 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
1531 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
1532
1533 # Collect locale files and mark them with %%lang()
1534 rm -f glibc.lang
1535 echo '%defattr(644,root,root,755)' > glibc.lang
1536 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
1537         if [ -d $i ]; then
1538                 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
1539                 twochar=1
1540                 # list of long %%lang values we do support
1541                 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
1542                          zh_CN zh_CN.gbk zh_HK zh_TW ; do
1543                         if [ $j = "$lang" ]; then
1544                                 twochar=
1545                         fi
1546                 done
1547                 if [ -n "$twochar" ]; then
1548                         if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1549                                 lang=`echo $lang | sed "s,\..*,,"`
1550                         else
1551                                 lang=`echo $lang | sed "s,_.*,,"`
1552                         fi
1553                 fi
1554                 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1555                 echo "%lang($lang) $dir" >> glibc.lang
1556         fi
1557 done
1558 # XXX: to be added when become supported by glibc
1559 # az_IR (gtk+)
1560 # gn (gn_BR in gnome, maybe gn_PY)
1561 # dv, haw, kok, ps (iso-codes)
1562 # my (gaim)
1563 #
1564 # NOTES:
1565 # what about sr@ije? it used to be sr_CS@ije (should be @[i]jekavian?), but
1566 # now this dialect uses sr_ME locale - rename dir to sr_ME?
1567 #
1568 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
1569 #   till now
1570 #
1571 # omitted here - already existing (with libc.mo):
1572 #   be,ca,cs,da,de,el,en_GB,es,fi,fr,gl,hr,hu,it,ja,ko,nb,nl,pl,pt_BR,sk,sv,
1573 #   tr,zh_CN,zh_TW
1574 #
1575 for i in aa af am ang ar as az bg bn bn_IN br bs byn cy de_AT dz en en@boldquot \
1576     en@quot en_AU en_CA en_US eo es_AR es_MX es_NI et eu fa fo fr_BE fy ga \
1577     gez gu gv he hi hsb hy ia id is it_CH iu ka kk kl km kn ku kw ky leet lg li \
1578     lo lt lv mg mi mk ml mn mr ms mt nds ne nl_BE nn nso oc om or pa pt rm ro \
1579     ru rw sa se si sid sl so sq sr sr@Latn sr@ije ss syr sw ta te tg th ti tig \
1580     tk tl tlh tt ug uk ur uz ve vi wa wal wo xh yi yo zh_HK zu ; do
1581         if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1582                 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1583                 lang=`echo $i | sed -e 's/_.*//'`
1584                 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1585         fi
1586 done
1587
1588 # localedb-gen infrastructure
1589 sed -e 's,@localedir@,%{_libdir}/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1590 chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1591 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1592
1593 # shutup check-files
1594 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1595 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1596 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1597 # we don't support kernel without ptys support
1598 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1599
1600 %clean
1601 rm -rf $RPM_BUILD_ROOT
1602
1603 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1604 # when %%postun is run
1605
1606 %if !%{with cross}
1607 %post   -p /sbin/postshell
1608 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
1609 /sbin/ldconfig
1610 -/sbin/telinit u
1611
1612 %postun -p /sbin/postshell
1613 /sbin/ldconfig
1614 -/sbin/telinit u
1615
1616 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1617 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1618 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1619 %endif
1620
1621 %post   memusage -p /sbin/ldconfig
1622 %postun memusage -p /sbin/ldconfig
1623
1624 %post -n iconv -p %{_sbindir}/iconvconfig
1625
1626 %post devel
1627 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1628
1629 %postun devel
1630 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1631
1632 %pre -n nscd
1633 %groupadd -P nscd -g 144 -r nscd
1634 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1635
1636 %post -n nscd
1637 /sbin/chkconfig --add nscd
1638 touch /var/log/nscd
1639 chmod 000 /var/log/nscd
1640 chown root:root /var/log/nscd
1641 chmod 640 /var/log/nscd
1642 %service nscd restart "nscd daemon"
1643
1644 %preun -n nscd
1645 if [ "$1" = "0" ]; then
1646         %service nscd stop
1647         /sbin/chkconfig --del nscd
1648 fi
1649
1650 %postun -n nscd
1651 if [ "$1" = "0" ]; then
1652         %userremove nscd
1653         %groupremove nscd
1654 fi
1655
1656 %files
1657 %defattr(644,root,root,755)
1658 %doc README NEWS FAQ BUGS
1659 %if !%{with cross}
1660 %attr(755,root,root) /sbin/glibc-postinst
1661 %endif
1662 %attr(755,root,root) /sbin/ldconfig
1663 # ld* and libc.so.6 SONAME symlinks must be in package because of
1664 # chicken-egg problem (postshell is dynamically linked with libc);
1665 # NOTE: postshell is now linked statically with diet
1666 # ld-*.so SONAME is:
1667 #   ld.so.1 on ppc
1668 #   ld64.so.1 on ppc64,s390x
1669 #   ld-linux-ia64.so.2 on ia64
1670 #   ld-linux-x86-64.so.2 on x86_64
1671 #   ld-linux.so.2 on other archs
1672 %attr(755,root,root) /%{_lib}/ld*
1673 %attr(755,root,root) /%{_lib}/libanl*
1674 %attr(755,root,root) /%{_lib}/libdl*
1675 %attr(755,root,root) /%{_lib}/libnsl*
1676 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1677 %{?with_localedb:%dir %{_libdir}/locale}
1678 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1679 %dir %{_sysconfdir}/ld.so.conf.d
1680 %ghost %{_sysconfdir}/ld.so.cache
1681
1682 #%files -n nss_dns
1683 %defattr(644,root,root,755)
1684 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1685
1686 #%files -n nss_files
1687 %defattr(644,root,root,755)
1688 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1689
1690 %files misc -f %{name}.lang
1691 %defattr(644,root,root,755)
1692
1693 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1694 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1695
1696 %config %{_sysconfdir}/rpc
1697
1698 %attr(755,root,root) /sbin/sln
1699 %attr(755,root,root) %{_bindir}/catchsegv
1700 %attr(755,root,root) %{_bindir}/getconf
1701 %attr(755,root,root) %{_bindir}/getent
1702 %attr(755,root,root) %{_bindir}/iconv
1703 %attr(755,root,root) %{_bindir}/ldd
1704 %ifarch %{ix86} m68k sparc sparcv9
1705 %attr(755,root,root) %{_bindir}/lddlibc4
1706 %endif
1707 %attr(755,root,root) %{_bindir}/locale
1708 %attr(755,root,root) %{_bindir}/rpcgen
1709 %attr(755,root,root) %{_bindir}/tzselect
1710
1711 %attr(755,root,root) %{_sbindir}/rpcinfo
1712 %attr(755,root,root) %{_sbindir}/zdump
1713 %attr(755,root,root) %{_sbindir}/zic
1714
1715 %dir %{_libexecdir}/getconf
1716 %attr(755,root,root) %{_libexecdir}/getconf/*
1717
1718 %dir %{_datadir}/locale
1719 %{_datadir}/locale/locale.alias
1720
1721 %{_mandir}/man1/catchsegv.1*
1722 %{_mandir}/man1/getconf.1*
1723 %{_mandir}/man1/getent.1*
1724 %{_mandir}/man1/iconv.1*
1725 %{_mandir}/man1/ldd.1*
1726 %{_mandir}/man1/locale.1*
1727 %{_mandir}/man1/rpcgen.1*
1728 %{_mandir}/man5/locale.5*
1729 %{_mandir}/man5/nsswitch.conf.5*
1730 %{_mandir}/man5/tzfile.5*
1731 %{_mandir}/man7/*
1732 %{_mandir}/man8/ld*.8*
1733 %{_mandir}/man8/rpcinfo.8*
1734 %{_mandir}/man8/sln.8*
1735 %{_mandir}/man8/tzselect.8*
1736 %{_mandir}/man8/zdump.8*
1737 %{_mandir}/man8/zic.8*
1738 %lang(cs) %{_mandir}/cs/man7/*
1739 %lang(de) %{_mandir}/de/man5/tzfile.5*
1740 %lang(de) %{_mandir}/de/man7/*
1741 %lang(es) %{_mandir}/es/man1/ldd.1*
1742 %lang(es) %{_mandir}/es/man5/locale.5*
1743 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1744 %lang(es) %{_mandir}/es/man5/tzfile.5*
1745 %lang(es) %{_mandir}/es/man7/*
1746 %lang(es) %{_mandir}/es/man8/ld*.8*
1747 %lang(es) %{_mandir}/es/man8/tzselect.8*
1748 %lang(es) %{_mandir}/es/man8/zdump.8*
1749 %lang(es) %{_mandir}/es/man8/zic.8*
1750 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1751 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1752 %lang(fr) %{_mandir}/fr/man5/locale.5*
1753 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1754 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1755 %lang(fr) %{_mandir}/fr/man7/*
1756 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1757 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1758 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1759 %lang(fr) %{_mandir}/fr/man8/zic.8*
1760 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1761 %lang(hu) %{_mandir}/hu/man7/*
1762 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1763 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1764 %lang(it) %{_mandir}/it/man5/locale.5*
1765 %lang(it) %{_mandir}/it/man7/*
1766 %lang(it) %{_mandir}/it/man8/tzselect.8*
1767 %lang(it) %{_mandir}/it/man8/zdump.8*
1768 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1769 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1770 %lang(ja) %{_mandir}/ja/man5/locale.5*
1771 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1772 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1773 %lang(ja) %{_mandir}/ja/man7/*
1774 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1775 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1776 %lang(ja) %{_mandir}/ja/man8/sln.8*
1777 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1778 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1779 %lang(ja) %{_mandir}/ja/man8/zic.8*
1780 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1781 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1782 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1783 %lang(ko) %{_mandir}/ko/man7/*
1784 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1785 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1786 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1787 %lang(pl) %{_mandir}/pl/man5/locale.5*
1788 %lang(pl) %{_mandir}/pl/man7/*
1789 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1790 %lang(pt) %{_mandir}/pt/man5/locale.5*
1791 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1792 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1793 %lang(pt) %{_mandir}/pt/man7/*
1794 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1795 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1796 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1797 %lang(pt) %{_mandir}/pt/man8/zic.8*
1798 %lang(ru) %{_mandir}/ru/man1/getent.1*
1799 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1800 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1801 %lang(ru) %{_mandir}/ru/man1/locale.1*
1802 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1803 %lang(ru) %{_mandir}/ru/man5/locale.5*
1804 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1805 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1806 %lang(ru) %{_mandir}/ru/man7/*
1807 %lang(ru) %{_mandir}/ru/man8/ld*.8*
1808 %lang(ru) %{_mandir}/ru/man8/rpcinfo.8*
1809 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1810 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1811 %lang(ru) %{_mandir}/ru/man8/zic.8*
1812 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1813 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1814 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1815 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1816 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1817 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1818 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1819 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1820 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1821 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1822
1823 %files -n nss_compat
1824 %defattr(644,root,root,755)
1825 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1826
1827 %files -n nss_hesiod
1828 %defattr(644,root,root,755)
1829 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1830
1831 %files -n nss_nis
1832 %defattr(644,root,root,755)
1833 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1834 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1835
1836 %files -n nss_nisplus
1837 %defattr(644,root,root,755)
1838 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1839
1840 %if %{with memusage}
1841 %files memusage
1842 %defattr(644,root,root,755)
1843 %attr(755,root,root) %{_bindir}/memusage*
1844 %attr(755,root,root) %{_libdir}/libmemusage.so
1845 %endif
1846
1847 %files devel
1848 %defattr(644,root,root,755)
1849 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1850 %attr(755,root,root) %{_libdir}/libcrypt.so
1851 %attr(755,root,root) %{_libdir}/libm.so
1852 %attr(755,root,root) %{_libdir}/libpcprofile.so
1853 %attr(755,root,root) %{_libdir}/*crt*.o
1854 # ld scripts
1855 %{_libdir}/libc.so
1856 %{_libdir}/libpthread.so
1857 %{_libdir}/libbsd-compat.a
1858 %{_libdir}/libbsd.a
1859 %{_libdir}/libc_nonshared.a
1860 %{_libdir}/libg.a
1861 %{_libdir}/libieee.a
1862 %ifarch alpha ppc sparc
1863 %{_libdir}/libnldbl_nonshared.a
1864 %endif
1865 %{_libdir}/libpthread_nonshared.a
1866 %{_libdir}/librpcsvc.a
1867 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1868 %{_includedir}/gnu/stubs-*.h
1869 %endif
1870
1871 %files headers
1872 %defattr(644,root,root,755)
1873 %{_includedir}/*.h
1874 %ifarch alpha
1875 %{_includedir}/alpha
1876 %endif
1877 %{_includedir}/arpa
1878 %{_includedir}/bits
1879 %dir %{_includedir}/gnu
1880 %{_includedir}/gnu/lib*.h
1881 %{_includedir}/gnu/stubs.h
1882 %{_includedir}/net
1883 %{_includedir}/netash
1884 %{_includedir}/netatalk
1885 %{_includedir}/netax25
1886 %{_includedir}/neteconet
1887 %{_includedir}/netinet
1888 %{_includedir}/netipx
1889 %{_includedir}/netpacket
1890 %{_includedir}/netrom
1891 %{_includedir}/netrose
1892 %{_includedir}/nfs
1893 %{_includedir}/protocols
1894 %{_includedir}/rpc
1895 %{_includedir}/rpcsvc
1896 %{_includedir}/scsi
1897 %{_includedir}/sys
1898
1899 %files devel-utils
1900 %defattr(644,root,root,755)
1901 %attr(755,root,root) %{_bindir}/gencat
1902 %attr(755,root,root) %{_bindir}/*prof*
1903 %attr(755,root,root) %{_bindir}/*trace
1904
1905 %files devel-doc
1906 %defattr(644,root,root,755)
1907 %doc documentation/* NOTES PROJECTS
1908 %{_infodir}/libc.info*
1909
1910 %{_mandir}/man1/sprof.1*
1911 %{_mandir}/man3/*
1912 %lang(cs) %{_mandir}/cs/man3/*
1913 %lang(de) %{_mandir}/de/man3/*
1914 %lang(es) %{_mandir}/es/man3/*
1915 %lang(fr) %{_mandir}/fr/man3/*
1916 %lang(hu) %{_mandir}/hu/man3/*
1917 %lang(it) %{_mandir}/it/man3/*
1918 %lang(ja) %{_mandir}/ja/man3/*
1919 %lang(ko) %{_mandir}/ko/man3/*
1920 %lang(nl) %{_mandir}/nl/man3/*
1921 %lang(pl) %{_mandir}/pl/man3/*
1922 %lang(pt) %{_mandir}/pt/man3/*
1923 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1924 %lang(ru) %{_mandir}/ru/man3/*
1925 %lang(tr) %{_mandir}/tr/man3/*
1926 %lang(uk) %{_mandir}/uk/man3/*
1927 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1928
1929 %files -n nscd
1930 %defattr(644,root,root,755)
1931 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1932 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1933 %attr(754,root,root) /etc/rc.d/init.d/nscd
1934 %attr(755,root,root) %{_sbindir}/nscd*
1935 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1936 %attr(640,root,root) %ghost /var/log/nscd
1937 %dir /var/run/nscd
1938 %dir /var/lib/nscd
1939 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1940 %attr(600,root,root) %ghost /var/lib/nscd/group
1941 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1942 %{_mandir}/man5/nscd.conf.5*
1943 %{_mandir}/man8/nscd.8*
1944 %{_mandir}/man8/nscd_nischeck.8*
1945 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1946 %lang(es) %{_mandir}/es/man8/nscd.8*
1947 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1948 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1949 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1950 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1951 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1952 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1953 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1954 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1955 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1956
1957 %files -n localedb-src
1958 %defattr(644,root,root,755)
1959 %attr(755,root,root) %{_bindir}/localedef
1960 %attr(755,root,root) %{_bindir}/localedb-gen
1961 %{_datadir}/i18n
1962 %{_mandir}/man1/localedef.1*
1963 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1964
1965 %if %{with localedb}
1966 %files localedb-all
1967 %defattr(644,root,root,755)
1968 %{_libdir}/locale/locale-archive
1969 %endif
1970
1971 %files -n iconv
1972 %defattr(644,root,root,755)
1973 %attr(755,root,root) %{_sbindir}/iconvconfig
1974 %dir %{_libdir}/gconv
1975 %{_libdir}/gconv/gconv-modules
1976 %attr(755,root,root) %{_libdir}/gconv/*.so
1977
1978 %files static
1979 %defattr(644,root,root,755)
1980 %{_libdir}/libanl.a
1981 %{_libdir}/libBrokenLocale.a
1982 %{_libdir}/libc.a
1983 %{_libdir}/libcrypt.a
1984 %{_libdir}/libdl.a
1985 %{_libdir}/libm.a
1986 %{_libdir}/libmcheck.a
1987 %{_libdir}/libnsl.a
1988 %{_libdir}/libpthread.a
1989 %{_libdir}/libresolv.a
1990 %{_libdir}/librt.a
1991 %{_libdir}/libutil.a
1992
1993 %files profile
1994 %defattr(644,root,root,755)
1995 %{_libdir}/lib*_p.a
1996
1997 %files pic
1998 %defattr(644,root,root,755)
1999 %{_libdir}/lib*_pic.a
2000 %{_libdir}/lib*.map
2001 %{_libdir}/soinit.o
2002 %{_libdir}/sofini.o
This page took 0.360264 seconds and 3 git commands to generate.