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