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