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