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