]> git.pld-linux.org Git - packages/glibc.git/blob - glibc.spec
- update from 2.5 cvs branch
[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}-info.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 Patch7:         %{name}-sparc64-fixes.patch
75 Patch8:         %{name}-missing-nls.patch
76 Patch9:         %{name}-java-libc-wait.patch
77
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 %patch1 -p1
837 %patch2 -p1
838 %patch3 -p1
839 %patch4 -p1
840 %patch5 -p1
841 %patch6 -p1
842 %patch7 -p1
843 %patch8 -p1
844 %patch9 -p1
845
846 %patch11 -p1
847 %patch12 -p1
848 %patch13 -p1
849 %patch14 -p0
850
851 %patch17 -p1
852
853 %patch20 -p1
854 %patch21 -p1
855 %patch22 -p1
856 %patch23 -p1
857 %patch24 -p1
858 %{?with_cross:%patch25 -p1}
859
860 # these would be copied to localedb-src
861 rm -f localedata/locales/*{.orig,~}
862
863 chmod +x scripts/cpp
864
865 # i786 (aka pentium4) hack
866 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
867 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
868
869 # Hack till glibc-kernheaders get updated, argh
870 %define min_kernel_ver  %(echo %{min_kernel} | cut -f 1 -d .)
871 %define min_kernel_patc %(echo %{min_kernel} | cut -f 2 -d .)
872 %define min_kernel_subl %(echo %{min_kernel} | cut -f 3 -d .)
873 %define min_kernel_code %(expr %{min_kernel_ver} \\* 65536 + %{min_kernel_patc} \\* 256 + %{min_kernel_subl})
874 mkdir -p override_headers/linux
875 cat > override_headers/linux/version.h <<EOF
876 #define UTS_RELEASE "%{min_kernel}"
877 #define LINUX_VERSION_CODE %{min_kernel_code}
878 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
879 EOF
880 mkdir -p override_headers/asm
881 cat > override_headers/asm/unistd.h <<EOF
882 #ifndef _HACK_ASM_UNISTD_H
883 #include_next <asm/unistd.h>
884 %ifarch alpha
885 #ifndef __NR_stat64
886 #define __NR_stat64                     425
887 #define __NR_lstat64                    426
888 #define __NR_fstat64                    427
889 #endif
890 #ifndef __NR_mq_open
891 #define __NR_mq_open                    432
892 #define __NR_mq_unlink                  433
893 #define __NR_mq_timedsend               434
894 #define __NR_mq_timedreceive            435
895 #define __NR_mq_notify                  436
896 #define __NR_mq_getsetattr              437
897 #endif
898 #ifndef __NR_waitid
899 #define __NR_waitid                     438
900 #endif
901 #ifndef __NR_inotify_init
902 #define __NR_inotify_init               444
903 #define __NR_inotify_add_watch          445
904 #define __NR_inotify_rm_watch           446
905 #endif
906 %endif
907 %ifarch %{ix86}
908 #ifndef __NR_mq_open
909 #define __NR_mq_open            277
910 #define __NR_mq_unlink          (__NR_mq_open+1)
911 #define __NR_mq_timedsend       (__NR_mq_open+2)
912 #define __NR_mq_timedreceive    (__NR_mq_open+3)
913 #define __NR_mq_notify          (__NR_mq_open+4)
914 #define __NR_mq_getsetattr      (__NR_mq_open+5)
915 #endif
916 #ifndef __NR_waitid
917 #define __NR_waitid             284
918 #endif
919 #ifndef __NR_inotify_init
920 #define __NR_inotify_init       291
921 #define __NR_inotify_add_watch  292
922 #define __NR_inotify_rm_watch   293
923 #endif
924 #ifndef __NR_openat
925 #define __NR_openat             295
926 #define __NR_mkdirat            296
927 #define __NR_mknodat            297
928 #define __NR_fchownat           298
929 #define __NR_futimesat          299
930 #define __NR_unlinkat           301
931 #define __NR_renameat           302
932 #define __NR_linkat             303
933 #define __NR_symlinkat          304
934 #define __NR_readlinkat         305
935 #define __NR_fchmodat           306
936 #define __NR_faccessat          307
937 #endif
938 #ifndef __NR_fstatat64
939 #define __NR_fstatat64          300
940 #endif
941 #ifndef __NR_pselect6
942 #define __NR_pselect6           308
943 #define __NR_ppoll              309
944 #endif
945 #ifndef __NR_unshare
946 #define __NR_unshare            310
947 #endif
948 #ifndef __NR_set_robust_list
949 #define __NR_set_robust_list    311
950 #define __NR_get_robust_list    312
951 #endif
952 #ifndef __NR_splice
953 #define __NR_splice             313
954 #endif
955 #ifndef __NR_sync_file_range
956 #define __NR_sync_file_range    314
957 #endif
958 #ifndef __NR_tee
959 #define __NR_tee                315
960 #endif
961 #ifndef __NR_vmsplice
962 #define __NR_vmsplice           316
963 #endif
964 %endif
965 %ifarch ia64
966 #ifndef __NR_timer_create
967 #define __NR_timer_create       1248
968 #define __NR_timer_settime      1249
969 #define __NR_timer_gettime      1250
970 #define __NR_timer_getoverrun   1251
971 #define __NR_timer_delete       1252
972 #define __NR_clock_settime      1253
973 #define __NR_clock_gettime      1254
974 #define __NR_clock_getres       1255
975 #define __NR_clock_nanosleep    1256
976 #endif
977 #ifndef __NR_mq_open
978 #define __NR_mq_open            1262
979 #define __NR_mq_unlink          1263
980 #define __NR_mq_timedsend       1264
981 #define __NR_mq_timedreceive    1265
982 #define __NR_mq_notify          1266
983 #define __NR_mq_getsetattr      1267
984 #endif
985 #ifndef __NR_waitid
986 #define __NR_waitid             1270
987 #endif
988 #ifndef __NR_inotify_init
989 #define __NR_inotify_init       1277
990 #define __NR_inotify_add_watch  1278
991 #define __NR_inotify_rm_watch   1279
992 #endif
993 #ifndef __NR_openat
994 #define __NR_openat             1281
995 #define __NR_mkdirat            1282
996 #define __NR_mknodat            1283
997 #define __NR_fchownat           1284
998 #define __NR_futimesat          1285
999 #define __NR_newfstatat         1286
1000 #define __NR_unlinkat           1287
1001 #define __NR_renameat           1288
1002 #define __NR_linkat             1289
1003 #define __NR_symlinkat          1290
1004 #define __NR_readlinkat         1291
1005 #define __NR_fchmodat           1292
1006 #define __NR_faccessat          1293
1007 #endif
1008 #if 0
1009 #ifndef __NR_pselect6
1010 #define __NR_pselect6           1294
1011 #define __NR_ppoll              1295
1012 #endif
1013 #endif
1014 #ifndef __NR_unshare
1015 #define __NR_unshare            1296
1016 #endif
1017 #ifndef __NR_splice
1018 #define __NR_splice             1297
1019 #endif
1020 #ifndef __NR_set_robust_list
1021 #define __NR_set_robust_list    1298
1022 #define __NR_get_robust_list    1299
1023 #endif
1024 #ifndef __NR_sync_file_range
1025 #define __NR_sync_file_range    1300
1026 #endif
1027 #ifndef __NR_tee
1028 #define __NR_tee                1301
1029 #endif
1030 #ifndef __NR_vmsplice
1031 #define __NR_vmsplice           1302
1032 #endif
1033 %endif
1034 %ifarch ppc
1035 #ifndef __NR_utimes
1036 #define __NR_utimes             251
1037 #endif
1038 #ifndef __NR_statfs64
1039 #define __NR_statfs64           252
1040 #define __NR_fstatfs64          253
1041 #endif
1042 #ifndef __NR_fadvise64_64
1043 #define __NR_fadvise64_64       254
1044 #endif
1045 #ifndef __NR_mq_open
1046 #define __NR_mq_open            262
1047 #define __NR_mq_unlink          263
1048 #define __NR_mq_timedsend       264
1049 #define __NR_mq_timedreceive    265
1050 #define __NR_mq_notify          266
1051 #define __NR_mq_getsetattr      267
1052 #endif
1053 #ifndef __NR_waitid
1054 #define __NR_waitid             272
1055 #endif
1056 #ifndef __NR_inotify_init
1057 #define __NR_inotify_init       275
1058 #define __NR_inotify_add_watch  276
1059 #define __NR_inotify_rm_watch   277
1060 #endif
1061 #ifndef __NR_pselect6
1062 #define __NR_pselect6           280
1063 #define __NR_ppoll              281
1064 #endif
1065 #ifndef __NR_unshare
1066 #define __NR_unshare            282
1067 #endif
1068 #ifndef __NR_splice
1069 #define __NR_splice             283
1070 #endif
1071 #ifndef __NR_tee
1072 #define __NR_tee                284
1073 #endif
1074 #ifndef __NR_vmsplice
1075 #define __NR_vmsplice           285
1076 #endif
1077 #ifndef __NR_openat
1078 #define __NR_openat             286
1079 #define __NR_mkdirat            287
1080 #define __NR_mknodat            288
1081 #define __NR_fchownat           289
1082 #define __NR_futimesat          290
1083 #define __NR_fstatat64          291
1084 #define __NR_unlinkat           292
1085 #define __NR_renameat           293
1086 #define __NR_linkat             294
1087 #define __NR_symlinkat          295
1088 #define __NR_readlinkat         296
1089 #define __NR_fchmodat           297
1090 #define __NR_faccessat          298
1091 #endif
1092 %endif
1093 %ifarch ppc64
1094 #ifndef __NR_utimes
1095 #define __NR_utimes             251
1096 #endif
1097 #ifndef __NR_mq_open
1098 #define __NR_mq_open            262
1099 #define __NR_mq_unlink          263
1100 #define __NR_mq_timedsend       264
1101 #define __NR_mq_timedreceive    265
1102 #define __NR_mq_notify          266
1103 #define __NR_mq_getsetattr      267
1104 #endif
1105 #ifndef __NR_waitid
1106 #define __NR_waitid             272
1107 #endif
1108 #ifndef __NR_inotify_init
1109 #define __NR_inotify_init       275
1110 #define __NR_inotify_add_watch  276
1111 #define __NR_inotify_rm_watch   277
1112 #endif
1113 #ifndef __NR_pselect6
1114 #define __NR_pselect6           280
1115 #define __NR_ppoll              281
1116 #endif
1117 #ifndef __NR_unshare
1118 #define __NR_unshare            282
1119 #endif
1120 #ifndef __NR_splice
1121 #define __NR_splice             283
1122 #endif
1123 #ifndef __NR_tee
1124 #define __NR_tee                284
1125 #endif
1126 #ifndef __NR_vmsplice
1127 #define __NR_vmsplice           285
1128 #endif
1129 #ifndef __NR_openat
1130 #define __NR_openat             286
1131 #define __NR_mkdirat            287
1132 #define __NR_mknodat            288
1133 #define __NR_fchownat           289
1134 #define __NR_futimesat          290
1135 #define __NR_newfstatat         291
1136 #define __NR_unlinkat           292
1137 #define __NR_renameat           293
1138 #define __NR_linkat             294
1139 #define __NR_symlinkat          295
1140 #define __NR_readlinkat         296
1141 #define __NR_fchmodat           297
1142 #define __NR_faccessat          298
1143 #endif
1144 %endif
1145 %ifarch s390
1146 #ifndef __NR_timer_create
1147 #define __NR_timer_create       254
1148 #define __NR_timer_settime      (__NR_timer_create+1)
1149 #define __NR_timer_gettime      (__NR_timer_create+2)
1150 #define __NR_timer_getoverrun   (__NR_timer_create+3)
1151 #define __NR_timer_delete       (__NR_timer_create+4)
1152 #define __NR_clock_settime      (__NR_timer_create+5)
1153 #define __NR_clock_gettime      (__NR_timer_create+6)
1154 #define __NR_clock_getres       (__NR_timer_create+7)
1155 #define __NR_clock_nanosleep    (__NR_timer_create+8)
1156 #endif
1157 #ifndef __NR_fadvise64_64
1158 #define __NR_fadvise64_64       264
1159 #endif
1160 #ifndef __NR_statfs64
1161 #define __NR_statfs64           265
1162 #define __NR_fstatfs64          266
1163 #endif
1164 #ifndef __NR_mq_open
1165 #define __NR_mq_open            271
1166 #define __NR_mq_unlink          272
1167 #define __NR_mq_timedsend       273
1168 #define __NR_mq_timedreceive    274
1169 #define __NR_mq_notify          275
1170 #define __NR_mq_getsetattr      276
1171 #endif
1172 #ifndef __NR_waitid
1173 #define __NR_waitid             281
1174 #endif
1175 #ifndef __NR_inotify_init
1176 #define __NR_inotify_init       284
1177 #define __NR_inotify_add_watch  285
1178 #define __NR_inotify_rm_watch   286
1179 #endif
1180 #ifndef __NR_openat
1181 #define __NR_openat             288
1182 #define __NR_mkdirat            289
1183 #define __NR_mknodat            290
1184 #define __NR_fchownat           291
1185 #define __NR_futimesat          292
1186 #define __NR_fstatat64          293
1187 #define __NR_unlinkat           294
1188 #define __NR_renameat           295
1189 #define __NR_linkat             296
1190 #define __NR_symlinkat          297
1191 #define __NR_readlinkat         298
1192 #define __NR_fchmodat           299
1193 #define __NR_faccessat          300
1194 #endif
1195 #ifndef __NR_pselect6
1196 #define __NR_pselect6           301
1197 #define __NR_ppoll              302
1198 #endif
1199 #ifndef __NR_unshare
1200 #define __NR_unshare            303
1201 #endif
1202 %endif
1203 %ifarch s390x
1204 #ifndef __NR_timer_create
1205 #define __NR_timer_create       254
1206 #define __NR_timer_settime      (__NR_timer_create+1)
1207 #define __NR_timer_gettime      (__NR_timer_create+2)
1208 #define __NR_timer_getoverrun   (__NR_timer_create+3)
1209 #define __NR_timer_delete       (__NR_timer_create+4)
1210 #define __NR_clock_settime      (__NR_timer_create+5)
1211 #define __NR_clock_gettime      (__NR_timer_create+6)
1212 #define __NR_clock_getres       (__NR_timer_create+7)
1213 #define __NR_clock_nanosleep    (__NR_timer_create+8)
1214 #endif
1215 #ifndef __NR_mq_open
1216 #define __NR_mq_open            271
1217 #define __NR_mq_unlink          272
1218 #define __NR_mq_timedsend       273
1219 #define __NR_mq_timedreceive    274
1220 #define __NR_mq_notify          275
1221 #define __NR_mq_getsetattr      276
1222 #endif
1223 #ifndef __NR_waitid
1224 #define __NR_waitid             281
1225 #endif
1226 #ifndef __NR_inotify_init
1227 #define __NR_inotify_init       284
1228 #define __NR_inotify_add_watch  285
1229 #define __NR_inotify_rm_watch   286
1230 #endif
1231 #ifndef __NR_openat
1232 #define __NR_openat             288
1233 #define __NR_mkdirat            289
1234 #define __NR_mknodat            290
1235 #define __NR_fchownat           291
1236 #define __NR_futimesat          292
1237 #define __NR_newfstatat         293
1238 #define __NR_unlinkat           294
1239 #define __NR_renameat           295
1240 #define __NR_linkat             296
1241 #define __NR_symlinkat          297
1242 #define __NR_readlinkat         298
1243 #define __NR_fchmodat           299
1244 #define __NR_faccessat          300
1245 #endif
1246 #ifndef __NR_pselect6
1247 #define __NR_pselect6           301
1248 #define __NR_ppoll              302
1249 #endif
1250 #ifndef __NR_unshare
1251 #define __NR_unshare            303
1252 #endif
1253 %endif
1254 %ifarch sparc sparcv9 sparc64
1255 #ifndef __NR_mq_open
1256 #define __NR_mq_open            273
1257 #define __NR_mq_unlink          274
1258 #define __NR_mq_timedsend       275
1259 #define __NR_mq_timedreceive    276
1260 #define __NR_mq_notify          277
1261 #define __NR_mq_getsetattr      278
1262 #endif
1263 #ifndef __NR_waitid
1264 #define __NR_waitid             279
1265 #endif
1266 #ifndef __NR_stat64
1267 #define __NR_fstat64            63
1268 #define __NR_lstat64            132
1269 #define __NR_stat64             139
1270 #endif
1271 #ifndef __NR_inotify_init
1272 #define __NR_inotify_init       151
1273 #define __NR_inotify_add_watch  152
1274 #define __NR_inotify_rm_watch   156
1275 #endif
1276 #ifndef __NR_openat
1277 #define __NR_openat             284
1278 #define __NR_mkdirat            285
1279 #define __NR_mknodat            286
1280 #define __NR_fchownat           287
1281 #define __NR_futimesat          288
1282 #define __NR_newfstatat         289
1283 #define __NR_unlinkat           290
1284 #define __NR_renameat           291
1285 #define __NR_linkat             292
1286 #define __NR_symlinkat          293
1287 #define __NR_readlinkat         294
1288 #define __NR_fchmodat           295
1289 #define __NR_faccessat          296
1290 #endif
1291 #ifndef __NR_pselect6
1292 #define __NR_pselect6           297
1293 #define __NR_ppoll              298
1294 #endif
1295 #ifndef __NR_unshare
1296 #define __NR_unshare            299
1297 #endif
1298 %endif
1299 %ifarch x86_64
1300 #ifndef __NR_mq_open
1301 #define __NR_mq_open            240
1302 #define __NR_mq_unlink          241
1303 #define __NR_mq_timedsend       242
1304 #define __NR_mq_timedreceive    243
1305 #define __NR_mq_notify          244
1306 #define __NR_mq_getsetattr      245
1307 #endif
1308 #ifndef __NR_waitid
1309 #define __NR_waitid             247
1310 #endif
1311 #ifndef __NR_inotify_init
1312 #define __NR_inotify_init       253
1313 #define __NR_inotify_add_watch  254
1314 #define __NR_inotify_rm_watch   255
1315 #endif
1316 #ifndef __NR_openat
1317 #define __NR_openat             257
1318 #define __NR_mkdirat            258
1319 #define __NR_mknodat            259
1320 #define __NR_fchownat           260
1321 #define __NR_futimesat          261
1322 #define __NR_newfstatat         262
1323 #define __NR_unlinkat           263
1324 #define __NR_renameat           264
1325 #define __NR_linkat             265
1326 #define __NR_symlinkat          266
1327 #define __NR_readlinkat         267
1328 #define __NR_fchmodat           268
1329 #define __NR_faccessat          269
1330 #endif
1331 #ifndef __NR_pselect6
1332 #define __NR_pselect6           270
1333 #define __NR_ppoll              271
1334 #endif
1335 #ifndef __NR_unshare
1336 #define __NR_unshare            272
1337 #endif
1338 #ifndef __NR_set_robust_list
1339 #define __NR_set_robust_list    273
1340 #define __NR_get_robust_list    274
1341 #endif
1342 #ifndef __NR_splice
1343 #define __NR_splice             275
1344 #endif
1345 #ifndef __NR_tee
1346 #define __NR_tee                276
1347 #endif
1348 #ifndef __NR_sync_file_range
1349 #define __NR_sync_file_range    277
1350 #endif
1351 #ifndef __NR_vmsplice
1352 #define __NR_vmsplice           278
1353 #endif
1354 %endif
1355 #endif
1356 EOF
1357 cat > override_headers/asm/errno.h <<EOF
1358 #ifndef _HACK_ASM_ERRNO_H
1359 #include_next <asm/errno.h>
1360 %ifarch alpha
1361 #ifndef ENOKEY
1362 #define ENOKEY          132
1363 #define EKEYEXPIRED     133
1364 #define EKEYREVOKED     134
1365 #define EKEYREJECTED    135
1366 #endif
1367 #ifndef EOWNERDEAD
1368 #define EOWNERDEAD      136
1369 #define ENOTRECOVERABLE 137
1370 #endif
1371 %endif
1372 %ifarch %{ix86} ia64 ppc ppc64 s390 s390x x86_64
1373 #ifndef ENOKEY
1374 #define ENOKEY          126
1375 #define EKEYEXPIRED     127
1376 #define EKEYREVOKED     128
1377 #define EKEYREJECTED    129
1378 #endif
1379 #ifndef EOWNERDEAD
1380 #define EOWNERDEAD      130
1381 #define ENOTRECOVERABLE 131
1382 #endif
1383 %endif
1384 %ifarch sparc sparcv9 sparc64
1385 #ifndef ENOKEY
1386 #define ENOKEY          128
1387 #define EKEYEXPIRED     129
1388 #define EKEYREVOKED     130
1389 #define EKEYREJECTED    131
1390 #endif
1391 #ifndef EOWNERDEAD
1392 #define EOWNERDEAD      132
1393 #define ENOTRECOVERABLE 133
1394 #endif
1395 %endif
1396 #endif
1397 EOF
1398
1399 # A lot of programs still misuse memcpy when they have to use
1400 # memmove. The memcpy implementation below is not tolerant at
1401 # all.
1402 rm -f sysdeps/alpha/alphaev6/memcpy.S
1403
1404 %build
1405 # glibc has its own way to remove PLT relocations. / H. J. Lu.
1406 unset LD_SYMBOLIC_FUNCTIONS || :
1407
1408 cp -f /usr/share/automake/config.sub scripts
1409 %{__aclocal}
1410 %{__autoconf}
1411
1412 rm -rf builddir
1413 install -d builddir
1414 cd builddir
1415 %ifarch sparc64
1416 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
1417 %endif
1418 AWK="gawk" \
1419 ../%configure \
1420         --enable-kernel="%{min_kernel}" \
1421         --enable-omitfp \
1422         --with-headers=`cd ..; pwd`/override_headers:%{_includedir} \
1423         --with%{!?with_selinux:out}-selinux \
1424         --with-tls \
1425         --enable-add-ons=nptl,libidn \
1426         --enable-stackguard-randomization \
1427         --enable-hidden-plt \
1428         --enable-profile
1429
1430 %{__make}
1431 cd ..
1432
1433 %if %{with tests}
1434 for d in builddir; do
1435 cd $d
1436 env LANGUAGE=C LC_ALL=C \
1437 %{__make} tests 2>&1 | awk '
1438 BEGIN { file = "" }
1439 {
1440         if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
1441                 file=$0;
1442                 gsub(/.*\[/, NIL, file);
1443                 gsub(/\].*/, NIL, file);
1444         }
1445         print $0;
1446 }
1447 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
1448 cd ..
1449 done
1450 %endif
1451
1452 %if !%{with cross}
1453 diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
1454 %endif
1455
1456 %install
1457 rm -rf $RPM_BUILD_ROOT
1458 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
1459
1460 cd builddir
1461 env LANGUAGE=C LC_ALL=C \
1462 %{__make} install \
1463         install_root=$RPM_BUILD_ROOT \
1464         infodir=%{_infodir} \
1465         mandir=%{_mandir}
1466
1467 %if %{with localedb}
1468 env LANGUAGE=C LC_ALL=C \
1469 %{__make} localedata/install-locales \
1470         install_root=$RPM_BUILD_ROOT
1471 %endif
1472
1473 PICFILES="libc_pic.a libc.map
1474         math/libm_pic.a libm.map
1475         resolv/libresolv_pic.a"
1476
1477 install $PICFILES                               $RPM_BUILD_ROOT%{_libdir}
1478 install elf/soinit.os                           $RPM_BUILD_ROOT%{_libdir}/soinit.o
1479 install elf/sofini.os                           $RPM_BUILD_ROOT%{_libdir}/sofini.o
1480 cd ..
1481
1482 %if !%{with cross}
1483 install glibc-postinst                          $RPM_BUILD_ROOT/sbin
1484 %endif
1485
1486 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
1487 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so   $RPM_BUILD_ROOT%{_libdir}
1488
1489 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
1490 # moved to tzdata package
1491 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
1492
1493 ln -sf libbsd-compat.a          $RPM_BUILD_ROOT%{_libdir}/libbsd.a
1494
1495 # make symlinks across top-level directories absolute
1496 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
1497         rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1498         ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1499 done
1500
1501 install %{SOURCE2}              $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
1502 install %{SOURCE3}              $RPM_BUILD_ROOT/etc/sysconfig/nscd
1503 install %{SOURCE4}              $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1504 install nscd/nscd.conf          $RPM_BUILD_ROOT%{_sysconfdir}
1505 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
1506 install posix/gai.conf          $RPM_BUILD_ROOT%{_sysconfdir}
1507
1508 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1509 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
1510 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
1511 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
1512 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
1513
1514 :> $RPM_BUILD_ROOT/var/log/nscd
1515 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
1516 :> $RPM_BUILD_ROOT/var/lib/nscd/group
1517 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
1518
1519 rm -rf documentation
1520 install -d documentation
1521
1522 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
1523         cp -f nptl/$f documentation/$f.nptl
1524 done
1525 cp -f crypt/README.ufc-crypt ChangeLog* documentation
1526
1527 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1528
1529 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
1530 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
1531
1532 # Collect locale files and mark them with %%lang()
1533 rm -f glibc.lang
1534 echo '%defattr(644,root,root,755)' > glibc.lang
1535 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
1536         if [ -d $i ]; then
1537                 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
1538                 twochar=1
1539                 # list of long %%lang values we do support
1540                 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
1541                          zh_CN zh_CN.gbk zh_HK zh_TW ; do
1542                         if [ $j = "$lang" ]; then
1543                                 twochar=
1544                         fi
1545                 done
1546                 if [ -n "$twochar" ]; then
1547                         if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1548                                 lang=`echo $lang | sed "s,\..*,,"`
1549                         else
1550                                 lang=`echo $lang | sed "s,_.*,,"`
1551                         fi
1552                 fi
1553                 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1554                 echo "%lang($lang) $dir" >> glibc.lang
1555         fi
1556 done
1557 # XXX: to be added when become supported by glibc
1558 # az_IR (gtk+)
1559 # gn (gn_BR in gnome, maybe gn_PY)
1560 # dv, haw, kok, ps (iso-codes)
1561 # my (gaim)
1562 #
1563 # NOTES:
1564 # what about sr@ije? it used to be sr_CS@ije (should be @[i]jekavian?), but
1565 # now this dialect uses sr_ME locale - rename dir to sr_ME?
1566 #
1567 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
1568 #   till now
1569 #
1570 # omitted here - already existing (with libc.mo):
1571 #   be,ca,cs,da,de,el,en_GB,es,fi,fr,gl,hr,hu,it,ja,ko,nb,nl,pl,pt_BR,sk,sv,
1572 #   tr,zh_CN,zh_TW
1573 #
1574 for i in aa af am ang ar as az bg bn bn_IN br bs byn cy de_AT dz en en@boldquot \
1575     en@quot en_AU en_CA en_US eo es_AR es_MX es_NI et eu fa fo fr_BE fy ga \
1576     gez gu gv he hi hsb hy ia id is it_CH iu ka kk kl km kn ku kw ky leet lg li \
1577     lo lt lv mg mi mk ml mn mr ms mt nds ne nl_BE nn nso oc om or pa pt rm ro \
1578     ru rw sa se si sid sl so sq sr sr@Latn sr@ije ss syr sw ta te tg th ti tig \
1579     tk tl tlh tt ug uk ur uz ve vi wa wal wo xh yi yo zh_HK zu ; do
1580         if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1581                 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1582                 lang=`echo $i | sed -e 's/_.*//'`
1583                 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1584         fi
1585 done
1586
1587 # localedb-gen infrastructure
1588 sed -e 's,@localedir@,%{_libdir}/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1589 chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1590 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1591
1592 # shutup check-files
1593 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1594 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1595 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1596 # we don't support kernel without ptys support
1597 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1598
1599 %clean
1600 rm -rf $RPM_BUILD_ROOT
1601
1602 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1603 # when %%postun is run
1604
1605 %if !%{with cross}
1606 %post   -p /sbin/postshell
1607 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
1608 /sbin/ldconfig
1609 -/sbin/telinit u
1610
1611 %postun -p /sbin/postshell
1612 /sbin/ldconfig
1613 -/sbin/telinit u
1614
1615 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1616 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1617 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1618 %endif
1619
1620 %post   memusage -p /sbin/ldconfig
1621 %postun memusage -p /sbin/ldconfig
1622
1623 %post -n iconv -p %{_sbindir}/iconvconfig
1624
1625 %post devel
1626 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1627
1628 %postun devel
1629 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1630
1631 %pre -n nscd
1632 %groupadd -P nscd -g 144 -r nscd
1633 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1634
1635 %post -n nscd
1636 /sbin/chkconfig --add nscd
1637 touch /var/log/nscd
1638 chmod 000 /var/log/nscd
1639 chown root:root /var/log/nscd
1640 chmod 640 /var/log/nscd
1641 %service nscd restart "nscd daemon"
1642
1643 %preun -n nscd
1644 if [ "$1" = "0" ]; then
1645         %service nscd stop
1646         /sbin/chkconfig --del nscd
1647 fi
1648
1649 %postun -n nscd
1650 if [ "$1" = "0" ]; then
1651         %userremove nscd
1652         %groupremove nscd
1653 fi
1654
1655 %files
1656 %defattr(644,root,root,755)
1657 %doc README NEWS FAQ BUGS
1658 %if !%{with cross}
1659 %attr(755,root,root) /sbin/glibc-postinst
1660 %endif
1661 %attr(755,root,root) /sbin/ldconfig
1662 # ld* and libc.so.6 SONAME symlinks must be in package because of
1663 # chicken-egg problem (postshell is dynamically linked with libc);
1664 # NOTE: postshell is now linked statically with diet
1665 # ld-*.so SONAME is:
1666 #   ld.so.1 on ppc
1667 #   ld64.so.1 on ppc64,s390x
1668 #   ld-linux-ia64.so.2 on ia64
1669 #   ld-linux-x86-64.so.2 on x86_64
1670 #   ld-linux.so.2 on other archs
1671 %attr(755,root,root) /%{_lib}/ld*
1672 %attr(755,root,root) /%{_lib}/libanl*
1673 %attr(755,root,root) /%{_lib}/libdl*
1674 %attr(755,root,root) /%{_lib}/libnsl*
1675 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1676 %{?with_localedb:%dir %{_libdir}/locale}
1677 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1678 %dir %{_sysconfdir}/ld.so.conf.d
1679 %ghost %{_sysconfdir}/ld.so.cache
1680
1681 #%files -n nss_dns
1682 %defattr(644,root,root,755)
1683 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1684
1685 #%files -n nss_files
1686 %defattr(644,root,root,755)
1687 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1688
1689 %files misc -f %{name}.lang
1690 %defattr(644,root,root,755)
1691
1692 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1693 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1694
1695 %config %{_sysconfdir}/rpc
1696
1697 %attr(755,root,root) /sbin/sln
1698 %attr(755,root,root) %{_bindir}/catchsegv
1699 %attr(755,root,root) %{_bindir}/getconf
1700 %attr(755,root,root) %{_bindir}/getent
1701 %attr(755,root,root) %{_bindir}/iconv
1702 %attr(755,root,root) %{_bindir}/ldd
1703 %ifarch %{ix86} m68k sparc sparcv9
1704 %attr(755,root,root) %{_bindir}/lddlibc4
1705 %endif
1706 %attr(755,root,root) %{_bindir}/locale
1707 %attr(755,root,root) %{_bindir}/rpcgen
1708 %attr(755,root,root) %{_bindir}/tzselect
1709
1710 %attr(755,root,root) %{_sbindir}/rpcinfo
1711 %attr(755,root,root) %{_sbindir}/zdump
1712 %attr(755,root,root) %{_sbindir}/zic
1713
1714 %dir %{_libexecdir}/getconf
1715 %attr(755,root,root) %{_libexecdir}/getconf/*
1716
1717 %dir %{_datadir}/locale
1718 %{_datadir}/locale/locale.alias
1719
1720 %{_mandir}/man1/catchsegv.1*
1721 %{_mandir}/man1/getconf.1*
1722 %{_mandir}/man1/getent.1*
1723 %{_mandir}/man1/iconv.1*
1724 %{_mandir}/man1/ldd.1*
1725 %{_mandir}/man1/locale.1*
1726 %{_mandir}/man1/rpcgen.1*
1727 %{_mandir}/man5/locale.5*
1728 %{_mandir}/man5/nsswitch.conf.5*
1729 %{_mandir}/man5/tzfile.5*
1730 %{_mandir}/man7/*
1731 %{_mandir}/man8/ld*.8*
1732 %{_mandir}/man8/rpcinfo.8*
1733 %{_mandir}/man8/sln.8*
1734 %{_mandir}/man8/tzselect.8*
1735 %{_mandir}/man8/zdump.8*
1736 %{_mandir}/man8/zic.8*
1737 %lang(cs) %{_mandir}/cs/man7/*
1738 %lang(de) %{_mandir}/de/man5/tzfile.5*
1739 %lang(de) %{_mandir}/de/man7/*
1740 %lang(es) %{_mandir}/es/man1/ldd.1*
1741 %lang(es) %{_mandir}/es/man5/locale.5*
1742 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1743 %lang(es) %{_mandir}/es/man5/tzfile.5*
1744 %lang(es) %{_mandir}/es/man7/*
1745 %lang(es) %{_mandir}/es/man8/ld*.8*
1746 %lang(es) %{_mandir}/es/man8/tzselect.8*
1747 %lang(es) %{_mandir}/es/man8/zdump.8*
1748 %lang(es) %{_mandir}/es/man8/zic.8*
1749 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1750 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1751 %lang(fr) %{_mandir}/fr/man5/locale.5*
1752 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1753 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1754 %lang(fr) %{_mandir}/fr/man7/*
1755 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1756 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1757 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1758 %lang(fr) %{_mandir}/fr/man8/zic.8*
1759 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1760 %lang(hu) %{_mandir}/hu/man7/*
1761 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1762 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1763 %lang(it) %{_mandir}/it/man5/locale.5*
1764 %lang(it) %{_mandir}/it/man7/*
1765 %lang(it) %{_mandir}/it/man8/tzselect.8*
1766 %lang(it) %{_mandir}/it/man8/zdump.8*
1767 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1768 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1769 %lang(ja) %{_mandir}/ja/man5/locale.5*
1770 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1771 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1772 %lang(ja) %{_mandir}/ja/man7/*
1773 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1774 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1775 %lang(ja) %{_mandir}/ja/man8/sln.8*
1776 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1777 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1778 %lang(ja) %{_mandir}/ja/man8/zic.8*
1779 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1780 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1781 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1782 %lang(ko) %{_mandir}/ko/man7/*
1783 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1784 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1785 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1786 %lang(pl) %{_mandir}/pl/man5/locale.5*
1787 %lang(pl) %{_mandir}/pl/man7/*
1788 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1789 %lang(pt) %{_mandir}/pt/man5/locale.5*
1790 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1791 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1792 %lang(pt) %{_mandir}/pt/man7/*
1793 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1794 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1795 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1796 %lang(pt) %{_mandir}/pt/man8/zic.8*
1797 %lang(ru) %{_mandir}/ru/man1/getent.1*
1798 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1799 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1800 %lang(ru) %{_mandir}/ru/man1/locale.1*
1801 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1802 %lang(ru) %{_mandir}/ru/man5/locale.5*
1803 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1804 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1805 %lang(ru) %{_mandir}/ru/man7/*
1806 %lang(ru) %{_mandir}/ru/man8/ld*.8*
1807 %lang(ru) %{_mandir}/ru/man8/rpcinfo.8*
1808 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1809 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1810 %lang(ru) %{_mandir}/ru/man8/zic.8*
1811 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1812 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1813 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1814 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1815 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1816 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1817 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1818 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1819 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1820 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1821
1822 %files -n nss_compat
1823 %defattr(644,root,root,755)
1824 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1825
1826 %files -n nss_hesiod
1827 %defattr(644,root,root,755)
1828 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1829
1830 %files -n nss_nis
1831 %defattr(644,root,root,755)
1832 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1833 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1834
1835 %files -n nss_nisplus
1836 %defattr(644,root,root,755)
1837 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1838
1839 %if %{with memusage}
1840 %files memusage
1841 %defattr(644,root,root,755)
1842 %attr(755,root,root) %{_bindir}/memusage*
1843 %attr(755,root,root) %{_libdir}/libmemusage.so
1844 %endif
1845
1846 %files devel
1847 %defattr(644,root,root,755)
1848 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1849 %attr(755,root,root) %{_libdir}/libcrypt.so
1850 %attr(755,root,root) %{_libdir}/libm.so
1851 %attr(755,root,root) %{_libdir}/libpcprofile.so
1852 %attr(755,root,root) %{_libdir}/*crt*.o
1853 # ld scripts
1854 %{_libdir}/libc.so
1855 %{_libdir}/libpthread.so
1856 %{_libdir}/libbsd-compat.a
1857 %{_libdir}/libbsd.a
1858 %{_libdir}/libc_nonshared.a
1859 %{_libdir}/libg.a
1860 %{_libdir}/libieee.a
1861 %ifarch alpha ppc sparc
1862 %{_libdir}/libnldbl_nonshared.a
1863 %endif
1864 %{_libdir}/libpthread_nonshared.a
1865 %{_libdir}/librpcsvc.a
1866 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1867 %{_includedir}/gnu/stubs-*.h
1868 %endif
1869
1870 %files headers
1871 %defattr(644,root,root,755)
1872 %{_includedir}/*.h
1873 %ifarch alpha
1874 %{_includedir}/alpha
1875 %endif
1876 %{_includedir}/arpa
1877 %{_includedir}/bits
1878 %dir %{_includedir}/gnu
1879 %{_includedir}/gnu/lib*.h
1880 %{_includedir}/gnu/stubs.h
1881 %{_includedir}/net
1882 %{_includedir}/netash
1883 %{_includedir}/netatalk
1884 %{_includedir}/netax25
1885 %{_includedir}/neteconet
1886 %{_includedir}/netinet
1887 %{_includedir}/netipx
1888 %{_includedir}/netpacket
1889 %{_includedir}/netrom
1890 %{_includedir}/netrose
1891 %{_includedir}/nfs
1892 %{_includedir}/protocols
1893 %{_includedir}/rpc
1894 %{_includedir}/rpcsvc
1895 %{_includedir}/scsi
1896 %{_includedir}/sys
1897
1898 %files devel-utils
1899 %defattr(644,root,root,755)
1900 %attr(755,root,root) %{_bindir}/gencat
1901 %attr(755,root,root) %{_bindir}/*prof*
1902 %attr(755,root,root) %{_bindir}/*trace
1903
1904 %files devel-doc
1905 %defattr(644,root,root,755)
1906 %doc documentation/* NOTES PROJECTS
1907 %{_infodir}/libc.info*
1908
1909 %{_mandir}/man1/sprof.1*
1910 %{_mandir}/man3/*
1911 %lang(cs) %{_mandir}/cs/man3/*
1912 %lang(de) %{_mandir}/de/man3/*
1913 %lang(es) %{_mandir}/es/man3/*
1914 %lang(fr) %{_mandir}/fr/man3/*
1915 %lang(hu) %{_mandir}/hu/man3/*
1916 %lang(it) %{_mandir}/it/man3/*
1917 %lang(ja) %{_mandir}/ja/man3/*
1918 %lang(ko) %{_mandir}/ko/man3/*
1919 %lang(nl) %{_mandir}/nl/man3/*
1920 %lang(pl) %{_mandir}/pl/man3/*
1921 %lang(pt) %{_mandir}/pt/man3/*
1922 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1923 %lang(ru) %{_mandir}/ru/man3/*
1924 %lang(tr) %{_mandir}/tr/man3/*
1925 %lang(uk) %{_mandir}/uk/man3/*
1926 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1927
1928 %files -n nscd
1929 %defattr(644,root,root,755)
1930 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1931 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1932 %attr(754,root,root) /etc/rc.d/init.d/nscd
1933 %attr(755,root,root) %{_sbindir}/nscd*
1934 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1935 %attr(640,root,root) %ghost /var/log/nscd
1936 %dir /var/run/nscd
1937 %dir /var/lib/nscd
1938 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1939 %attr(600,root,root) %ghost /var/lib/nscd/group
1940 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1941 %{_mandir}/man5/nscd.conf.5*
1942 %{_mandir}/man8/nscd.8*
1943 %{_mandir}/man8/nscd_nischeck.8*
1944 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1945 %lang(es) %{_mandir}/es/man8/nscd.8*
1946 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1947 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1948 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1949 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1950 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1951 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1952 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1953 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1954 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1955
1956 %files -n localedb-src
1957 %defattr(644,root,root,755)
1958 %attr(755,root,root) %{_bindir}/localedef
1959 %attr(755,root,root) %{_bindir}/localedb-gen
1960 %{_datadir}/i18n
1961 %{_mandir}/man1/localedef.1*
1962 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1963
1964 %if %{with localedb}
1965 %files localedb-all
1966 %defattr(644,root,root,755)
1967 %{_libdir}/locale/locale-archive
1968 %endif
1969
1970 %files -n iconv
1971 %defattr(644,root,root,755)
1972 %attr(755,root,root) %{_sbindir}/iconvconfig
1973 %dir %{_libdir}/gconv
1974 %{_libdir}/gconv/gconv-modules
1975 %attr(755,root,root) %{_libdir}/gconv/*.so
1976
1977 %files static
1978 %defattr(644,root,root,755)
1979 %{_libdir}/libanl.a
1980 %{_libdir}/libBrokenLocale.a
1981 %{_libdir}/libc.a
1982 %{_libdir}/libcrypt.a
1983 %{_libdir}/libdl.a
1984 %{_libdir}/libm.a
1985 %{_libdir}/libmcheck.a
1986 %{_libdir}/libnsl.a
1987 %{_libdir}/libpthread.a
1988 %{_libdir}/libresolv.a
1989 %{_libdir}/librt.a
1990 %{_libdir}/libutil.a
1991
1992 %files profile
1993 %defattr(644,root,root,755)
1994 %{_libdir}/lib*_p.a
1995
1996 %files pic
1997 %defattr(644,root,root,755)
1998 %{_libdir}/lib*_pic.a
1999 %{_libdir}/lib*.map
2000 %{_libdir}/soinit.o
2001 %{_libdir}/sofini.o
This page took 0.202134 seconds and 4 git commands to generate.