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