]> git.pld-linux.org Git - packages/glibc.git/blob - glibc.spec
- bump release to 16 for allow upgrade from RH 6.2 version.
[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:        16
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:        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 -p1
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}
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 %ifarch alpha
468 ln -sf libdb.so.2.1 $RPM_BUILD_ROOT/lib/libdb.so.2
469 %endif
470
471 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
472
473 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
474 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/utmpd
475 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/nscd
476 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/utmpd
477 install %{SOURCE7} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
478 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
479 install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
480
481 install -s ldconfig-980708/ldconfig $RPM_BUILD_ROOT/sbin/ldconfig
482
483 install %{SOURCE11} $RPM_BUILD_ROOT%{_mandir}/man8
484 touch   $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.{cache,conf}
485
486 install nss/db-Makefile $RPM_BUILD_ROOT/var/db/Makefile
487 :> $RPM_BUILD_ROOT/var/log/nscd
488
489 cat << EOF > $RPM_BUILD_ROOT%{_bindir}/create-db
490 #!/bin/sh
491 /usr/bin/make -sC /var/db/
492 EOF
493
494 ln -sf create-db $RPM_BUILD_ROOT%{_bindir}/update-db
495
496 rm -rf documentation
497 install -d documentation
498
499 cp linuxthreads/ChangeLog  documentation/ChangeLog.threads
500 cp linuxthreads/Changes documentation/Changes.threads
501 cp linuxthreads/README documentation/README.threads
502 cp crypt/README documentation/README.crypt
503 cp ldconfig-980708/README ldconfig-980708/README.ldconfig
504
505 cp ChangeLog ChangeLog.8 documentation
506
507 gzip -9nf README NEWS FAQ BUGS NOTES PROJECTS \
508         $RPM_BUILD_ROOT{%{_mandir}/man*/*,%{_infodir}/libc*} \
509         documentation/* login/README.utmpd ldconfig-980708/README.ldconfig
510
511 strip $RPM_BUILD_ROOT/{sbin/*,usr/{sbin/*,bin/*}} ||:
512 strip --strip-unneeded $RPM_BUILD_ROOT/lib/lib*.so.* \
513         $RPM_BUILD_ROOT%{_libdir}/gconv/*.so
514
515 # Collect locale files and mark them with %%lang()
516 rm -f glibc.lang
517 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* ; do
518         if [ -d $i ]; then
519                 lang=`echo $i | sed -e 's/.*locale\///' -e 's/^\(..\).*/\1/'`
520                 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
521                 echo "%lang($lang) $dir" >>glibc.lang
522         fi
523 done
524
525 %post   -p /sbin/ldconfig
526 %postun -p /sbin/ldconfig
527
528 %post devel
529 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
530
531 %postun devel
532 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
533
534 %post -n nscd
535 /sbin/chkconfig --add nscd
536 touch /var/log/nscd && (chown root.root /var/log/nscd ; chmod 640 /var/log/nscd)
537 if [ -f /var/lock/subsys/nscd ]; then
538         /etc/rc.d/init.d/nscd restart 1>&2
539 else
540         echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
541 fi
542
543 %preun -n nscd
544 if [ "$1" = "0" ]; then
545         if [ -f /var/lock/subsys/nscd ]; then
546                 /etc/rc.d/init.d/nscd stop 1>&2
547         fi
548         /sbin/chkconfig --del nscd
549 fi
550
551 %post -n utmpd
552 /sbin/chkconfig --add utmpd
553 if [ -f /var/lock/subsys/utmpd ]; then
554         /etc/rc.d/init.d/utmpd restart 1>&2
555 else
556         echo "Run \"/etc/rc.d/init.d/utmpd start\" to start utmpd daemon." 1>&2
557 fi
558
559 %preun -n utmpd
560 if [ "$1" = "0" ]; then
561         if [ -f /var/lock/subsys/utmpd ]; then
562                 /etc/rc.d/init.d/utmpd stop 1>&2
563         fi
564         /sbin/chkconfig --del utmpd
565 fi
566
567 %post db1  -p /sbin/ldconfig
568 %postun db1 -p /sbin/ldconfig
569
570 %post db2  -p /sbin/ldconfig
571 %postun db2 -p /sbin/ldconfig
572
573 %clean
574 rm -rf $RPM_BUILD_ROOT
575
576 %files -f glibc.lang
577 %defattr(644,root,root,755)
578 %doc {README,NEWS,FAQ,BUGS,ldconfig-980708/README.ldconfig}.gz
579
580 %config(noreplace) %verify(not mtime md5 size) %{_sysconfdir}/nsswitch.conf
581 %config %{_sysconfdir}/rpc
582
583 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ld.so.conf
584 %ghost %{_sysconfdir}/ld.so.cache
585
586 %attr(755,root,root) /sbin/*
587 %attr(755,root,root) %{_bindir}/catchsegv
588 %attr(755,root,root) %{_bindir}/create-db
589 %attr(755,root,root) %{_bindir}/getent
590 %attr(755,root,root) %{_bindir}/glibcbug
591 %attr(755,root,root) %{_bindir}/ldd
592 %ifnarch alpha
593 %attr(755,root,root) %{_bindir}/lddlibc4
594 %endif
595 %attr(755,root,root) %{_bindir}/locale
596 %attr(755,root,root) %{_bindir}/makedb
597 %attr(755,root,root) %{_bindir}/rpcgen
598 %attr(755,root,root) %{_bindir}/tzselect
599 %attr(755,root,root) %{_bindir}/update-db
600
601 %attr(755,root,root) %{_sbindir}/rpcinfo
602 %attr(755,root,root) %{_sbindir}/zdump
603 %attr(755,root,root) %{_sbindir}/zic
604
605 %attr(755,root,root) /lib/ld-*
606 %attr(755,root,root) /lib/libdl*
607 %attr(755,root,root) /lib/libnsl*
608 %attr(755,root,root) /lib/lib[BScmprtu]*
609
610 %{_mandir}/man8/*
611
612 %dir %{_datadir}/locale
613 %{_datadir}/locale/locale.alias
614 %{_datadir}/zoneinfo
615
616 #%files -n nss_db
617 %defattr(644,root,root,755)
618 %attr(755,root,root) /lib/libnss_db*.so*
619 %config /var/db/Makefile
620
621 #%files -n nss_dns
622 %defattr(644,root,root,755)
623 %attr(755,root,root) /lib/libnss_dns*.so*
624
625 #%files -n nss_files
626 %defattr(644,root,root,755)
627 %attr(755,root,root) /lib/libnss_files*.so*
628
629 %files -n nss_compat
630 %defattr(644,root,root,755)
631 %attr(755,root,root) /lib/libnss_compat*.so*
632
633 %files -n nss_hesiod
634 %defattr(644,root,root,755)
635 %attr(755,root,root) /lib/libnss_hesiod*.so*
636
637 %files -n nss_nis
638 %defattr(644,root,root,755)
639 %attr(755,root,root) /lib/libnss_nis.so.*
640 %attr(755,root,root) /lib/libnss_nis-*.so
641
642 %files -n nss_nisplus
643 %defattr(644,root,root,755)
644 %attr(755,root,root) /lib/libnss_nisplus*.so*
645
646 %files devel
647 %defattr(644,root,root,755)
648 %doc documentation/* {NOTES,PROJECTS}.gz
649 %attr(755,root,root) %{_bindir}/gencat
650 %attr(755,root,root) %{_bindir}/getconf
651 %attr(755,root,root) %{_bindir}/mtrace
652 %attr(755,root,root) %{_bindir}/sprof
653
654 %{_includedir}/*.h
655 %{_includedir}/arpa
656 %{_includedir}/bits
657 %{_includedir}/gnu
658 %{_includedir}/net
659 %{_includedir}/netash
660 %{_includedir}/netatalk
661 %{_includedir}/netax25
662 %{_includedir}/neteconet
663 %{_includedir}/netinet
664 %{_includedir}/netipx
665 %{_includedir}/netpacket
666 %{_includedir}/netrom
667 %{_includedir}/netrose
668 %{_includedir}/nfs
669 %{_includedir}/protocols
670 %{_includedir}/rpc
671 %{_includedir}/rpcsvc
672 %{_includedir}/scsi
673 %{_includedir}/sys
674
675 %{_infodir}/libc.inf*.gz
676
677 %attr(755,root,root) %{_libdir}/lib[A-Z]*.so
678 %attr(755,root,root) %{_libdir}/libc*.so
679 %attr(755,root,root) %{_libdir}/libdl*.so
680 %attr(755,root,root) %{_libdir}/libm*.so
681 %attr(755,root,root) %{_libdir}/libns*.so
682 %attr(755,root,root) %{_libdir}/lib[p-z]*.so
683 %attr(755,root,root) %{_libdir}/*.o
684 %{_libdir}/libc_nonshared.a
685
686 %{_mandir}/man3/*
687
688 %files -n nscd
689 %defattr(644,root,root,755)
690 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/nscd
691 %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) %{_sysconfdir}/nscd.*
692 %attr(754,root,root) /etc/rc.d/init.d/nscd
693 %attr(755,root,root) %{_sbindir}/nscd
694 %attr(640,root,root) /etc/logrotate.d/nscd
695 %attr(640,root,root) %ghost /var/log/nscd
696
697 %files -n utmpd
698 %defattr(644,root,root,755)
699 %doc login/README.utmpd.gz
700 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/utmpd
701 %attr(754,root,root) /etc/rc.d/init.d/utmpd
702 %attr(755,root,root) %{_sbindir}/utmpd
703
704 %files -n localedb-src
705 %defattr(644,root,root,755)
706 %attr(755,root,root) %{_bindir}/localedef
707 %{_datadir}/i18n
708
709 %files -n iconv
710 %defattr(644,root,root,755)
711 %attr(755,root,root) %{_bindir}/iconv
712 %dir %{_libdir}/gconv
713 %{_libdir}/gconv/gconv-modules
714 %attr(755,root,root) %{_libdir}/gconv/*.so
715
716 %files static
717 %defattr(644,root,root,755)
718 %{_libdir}/libBrokenLocale.a
719 %{_libdir}/libbsd-compat.a
720 %{_libdir}/libbsd.a
721 %{_libdir}/libc.a
722 %{_libdir}/libcrypt.a
723 %{_libdir}/libdl.a
724 %{_libdir}/libg.a
725 %{_libdir}/libieee.a
726 %{_libdir}/libm.a
727 %{_libdir}/libmcheck.a
728 %{_libdir}/libnsl.a
729 %{_libdir}/libposix.a
730 %{_libdir}/libpthread.a
731 %{_libdir}/libresolv.a
732 %{_libdir}/librpcsvc.a
733 %{_libdir}/librt.a
734 %{_libdir}/libutil.a
735
736 %files profile
737 %defattr(644,root,root,755)
738 %{_libdir}/libBrokenLocale_p.a
739 %{_libdir}/libc_p.a
740 %{_libdir}/libcrypt_p.a
741 %{_libdir}/libdl_p.a
742 %{_libdir}/libm_p.a
743 %{_libdir}/libnsl_p.a
744 %{_libdir}/libpthread_p.a
745 %{_libdir}/libresolv_p.a
746 %{_libdir}/librpcsvc_p.a
747 %{_libdir}/librt_p.a
748 %{_libdir}/libutil_p.a
749
750 %files pic
751 %defattr(644,root,root,755)
752 %{_libdir}/lib*_pic.a
753 %{_libdir}/lib*.map
754 %{_libdir}/soinit.o
755 %{_libdir}/sofini.o
756
757 %files db1
758 %defattr(644,root,root,755)
759 %attr(755,root,root) /lib/libdb1*
760 %attr(755,root,root) /lib/libdb.so.2
761 %ifarch alpha
762 %attr(755,root,root) /lib/libdb.so.2.1
763 %endif
764
765 %files db1-devel
766 %defattr(644,root,root,755)
767 %attr(755,root,root) %{_bindir}/db_dump185
768 %attr(755,root,root) %{_libdir}/libdb1.so
769 %{_includedir}/db1
770
771 %files db1-static
772 %defattr(644,root,root,755)
773 %{_libdir}/libdb1.a
774
775 %files db2
776 %defattr(644,root,root,755)
777 %attr(755,root,root) /lib/libdb-*
778 %attr(755,root,root) /lib/libdb.so.3
779 %attr(755,root,root) /lib/libdb2.so.3
780
781 %files db2-devel
782 %defattr(644,root,root,755)
783 %attr(755,root,root) %{_bindir}/db_archive
784 %attr(755,root,root) %{_bindir}/db_checkpoint
785 %attr(755,root,root) %{_bindir}/db_deadlock
786 %attr(755,root,root) %{_bindir}/db_dump
787 %attr(755,root,root) %{_bindir}/db_load
788 %attr(755,root,root) %{_bindir}/db_printlog
789 %attr(755,root,root) %{_bindir}/db_recover
790 %attr(755,root,root) %{_bindir}/db_stat
791 %attr(755,root,root) %{_libdir}/libdb.so
792 %attr(755,root,root) %{_libdir}/libdb2.so
793 %attr(755,root,root) %{_libdir}/libndbm.so
794 %{_includedir}/db*.h
795
796 %files db2-static
797 %defattr(644,root,root,755)
798 %{_libdir}/libdb.a
799 %{_libdir}/libdb2.a
800 %{_libdir}/libndbm.a
This page took 0.097015 seconds and 4 git commands to generate.