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