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
18 Source5: utmpd.sysconfig
19 Source6: nscd.sysconfig
20 Source7: nscd.logrotate
21 Patch0: glibc-info.patch
22 Patch1: glibc-versions.awk_fix.patch
23 Patch2: glibc-pld.patch
24 Patch3: glibc-crypt-blowfish.patch
25 Patch4: glibc-string2-pointer-arith.patch
26 Patch5: glibc-db2-alpha-mutex.patch
27 Patch6: glibc-linuxthreads-lock.patch
28 Patch7: glibc-pthread_create-manpage.patch
29 Patch8: glibc-sparc-linux-chown.patch
30 Patch9: glibc-ctype.patch
31 URL: http://www.gnu.org/software/libc/
34 Obsoletes: %{name}-profile
35 Obsoletes: %{name}-debug
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 Contains the standard libraries that are used by multiple programs on the
41 system. In order to save disk space and memory, as well as to ease
42 upgrades, common system code is kept in one place and shared between
43 programs. This package contains the most important sets of shared
44 libraries, the standard C library and the standard math library. Without
45 these, a Linux system will not function. It also contains national language
46 (locale) support and timezone databases.
49 Enthält die Standard-Libraries, die von verschiedenen Programmen im System
50 benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen und zur
51 Vereinfachung von Upgrades ist der gemeinsame Systemcode an einer einzigen
52 Stelle gespeichert und wird von den Programmen gemeinsam genutzt. Dieses
53 Paket enthält die wichtigsten Sets der shared Libraries, die
54 Standard-C-Library und die Standard-Math-Library, ohne die das Linux-System
55 nicht funktioniert. Ferner enthält es den Support für die verschiedenen
56 Sprachgregionen (locale) und die Zeitzonen-Datenbank.
59 Contient les bibliothèques standards utilisées par de nombreux programmes
60 du système. Afin d'économiser l'espace disque et mémoire, et de faciliter
61 les mises à jour, le code commun au système est mis à un endroit et partagé
62 entre les programmes. Ce paquetage contient les bibliothèques partagées les
63 plus importantes, la bibliothèque standard du C et la bibliothèque
64 mathématique standard. Sans celles-ci, un système Linux ne peut
65 fonctionner. Il contient aussi la gestion des langues nationales (locales)
66 et les bases de données des zones horaires.
69 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne programy
70 w Twoim systemie. U¿ywanie przez programy bibliotek z tego pakietu
71 oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu systemowego jest
72 usytuowane w jednym miejscu i dzielone miêdzy wieloma programami. Pakiet
73 ten zawiera bardzo wa¿ny zbiór bibliotek standardowych wspó³dzielonych
74 (dynamicznych) bibliotek C i matematycznych. Bez glibc system Linux nie
75 jest w stanie funkcjonowaæ. Znajduj± siê tutaj równie¿ definicje ró¿nych
76 informacji dla wielu jêzyków (locale) oraz definicje stref czasowych.
79 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir. Disk
80 alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme iþlemlerini
81 kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde tutulup programlar
82 arasýnda paylaþtýrýlýr. Bu paket en önemli ortak kitaplýklarý, standart C
83 kitaplýðýný ve standart matematik kitaplýðýný içerir. Bu kitaplýklar
84 olmadan Linux sistemi çalýþmayacaktýr. Yerel dil desteði ve zaman dilimi
85 veri tabaný da bu pakette yer alýr.
88 Summary: Additional libraries required to compile
89 Summary(de): Weitere Libraries zum Kompilieren
90 Summary(fr): Librairies supplémentaires nécessaires à la compilation.
91 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
92 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
93 Group: Development/Libraries
94 Group(fr): Development/Librairies
95 Group(pl): Programowanie/Biblioteki
96 Requires: %{name} = %{version}
99 To develop programs which use the standard C libraries (which nearly all
100 programs do), the system needs to have these standard header files and
101 object files available for creating the executables.
103 %description -l de devel
104 Bei der Entwicklung von Programmen, die die Standard-C-Libraries verwenden
105 (also fast alle), benötigt das System diese Standard-Header- und
106 Objektdateien zum Erstellen der ausführbaren Programme.
108 %description -l fr devel
109 Pour développer des programmes utilisant les bibliothèques standard du C
110 (ce que presque tous les programmes font), le système doit posséder ces
111 fichiers en-têtes et objets standards pour créer les exécutables.
113 %description -l pl devel
114 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów korzystaj±cych
115 ze standardowej biblioteki C. Znajduj± siê tutaj pliki nag³ówkowe oraz
116 pliki objektowe, niezbêdne do kompilacji programów wykonywalnych i innych
119 %description -l tr devel
120 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
121 geliþtirmek için gereken standart baþlýk dosyalarý ve statik kitaplýklar.
124 Summary: Name Service Caching Daemon
125 Summary(pl): Name Service Caching Daemon
126 Group: Networking/Daemons
127 Group(pl): Sieciowe/Serwery
128 Prereq: /sbin/chkconfig
129 Requires: rc-scripts >= 0.2.0
132 nscd caches name service lookups; it can dramatically improve performance
133 with NIS+, and may help with DNS as well. You cannot use nscd with 2.0
134 kernels, due to bugs in the kernel-side thread support. nscd happens to hit
135 these bugs particularly hard.
137 %description -n nscd -l pl
138 nscd zapmiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala drastycznie
139 poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe u¿ywanie nscd z j±drami
140 serii 2.0.x z powodu b³adów po stronie j±dra w ods³udze w±tków.
143 Summary: utmp and utmpx synchronizer for libc5 applications.
144 Summary(pl): Synchrnnizuje zapis do plików utmp i utmpx.
147 Prereq: /sbin/chkconfig
148 Requires: rc-scripts >= 0.2.0
150 %description -n utmpd
151 utmpd is a utmp and utmpx synchronizer. Is only needed for libc5 based
152 program with utmp access.
154 %description -n utmpd -l pl
155 utmpd stara siê utrzymaæ tak± sam± zawarto¶æ plików /var/run/utmp i
156 /var/run/utmpx. Potrzebny jest tylko w przypadku korzystania ze starszych
157 programów (bazuj±cych na libc5).
159 %package -n localedb-src
160 Summary: Souce code locale database
161 Summary(pl): Kod ¬ród³owy bazy locale
165 %description -n localedb-src
166 This add-on package contains the data needed to build the locale data files
167 to use the internationalization features of the GNU libc. Glibc package
168 contains standard set of locale binary database and You need this package
169 if want build some non standard locale database.
171 %description -l pl -n localedb-src
172 Pakiet ten kod ¼ród³owy baz locale który jest potrzebny do zbudowania
173 binarnej wersji baz locale potrzebnej do poprawnego wspierania ró¿nych
174 jêzyków przez glibc. Pakiet glibc zawira binarn± wersjê standardowych baz
175 locale i ten pakiet jest potrzebny tylko w sytuacji kiedy potrzeba
176 wygenerowaæ jak±¶ niestandardow± bazê.
179 Summary: Convert encoding of given files from one encoding to another
180 Summary(pl): Program do konwersji plików tekstowych z jednego enkodingu w inny
184 %description -n iconv
185 Convert encoding of given files from one encoding to another. You need this
186 package if You want to convert some documet from one encoding to another or
187 if You have installed some programs which use Generic Character Set
188 Conversion Interface.
190 %description -l pl -n iconv
191 Program do konwersji plików tekstowych z jednego enkodingu w inny.
192 Potrzebujesz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
193 dokumentów z jednego enkodingu w inny lub je¿eli masz zainstalowane jakie¶
194 programy które korzystaj± z Generic Character Set Conversion Interface w
195 glibc, czyli z zestawu funkcji z tej biblioteki, które umo¿liwiaj±
196 konwersjê enkodingu danych z poziomu dowolnego programu.
199 Summary: Static libraries
200 Summary(pl): Biblioteki statyczne
201 Group: Development/Libraries
202 Group(fr): Development/Librairies
203 Group(pl): Programowanie/Biblioteki
204 Requires: %{name}-devel = %{version}
207 GNU libc static libraries.
209 %description -l pl static
210 Biblioteki statyczne GNU libc.
213 Summary: glibc with profiling support
214 Summary(de): glibc mit Profil-Unterstützung
215 Summary(fr): glibc avec support pour profiling
216 Summary(tr): Ölçüm desteði olan glibc
217 Group: Development/Libraries/Libc
218 Group(pl): Programowanie/Biblioteki/Libc
219 Obsoletes: libc-profile
220 Requires: %{name}-devel = %{version}
223 When programs are being profiled used gprof, they must use these libraries
224 instead of the standard C libraries for gprof to be able to profile them
227 %description -l de profile
228 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
229 Libraries anstelle der üblichen C-Libraries verwendet werden.
231 %description -l tr profile
232 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
233 kitaplýðý kullanmak zorundadýrlar.
250 --enable-add-ons=crypt,linuxthreads \
256 rm -rf $RPM_BUILD_ROOT
257 install -d $RPM_BUILD_ROOT/{etc/{rc.d/init.d,sysconfig,logrotate.d},%{_mandir}/man3,var/{db,log}}
260 install_root=$RPM_BUILD_ROOT \
261 infodir=%{_infodir} \
264 make install-locales -C localedata \
265 install_root=$RPM_BUILD_ROOT
267 make -C linuxthreads/man
268 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
270 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
272 ln -sf ../../..%{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
273 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
274 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
275 ln -sf ../..%{_libdir}/libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
277 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
279 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
280 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/utmpd
281 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/nscd
282 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/utmpd
283 install %{SOURCE7} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
284 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
285 install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
287 install nss/db-Makefile $RPM_BUILD_ROOT/var/db/Makefile
288 :> $RPM_BUILD_ROOT/var/log/nscd
290 cat << EOF > $RPM_BUILD_ROOT%{_bindir}/create-db
292 /usr/bin/make -sC /var/db/
295 ln -sf create-db $RPM_BUILD_ROOT%{_bindir}/update-db
298 install -d documentation
300 cp linuxthreads/ChangeLog documentation/ChangeLog.threads
301 cp linuxthreads/Changes documentation/Changes.threads
302 cp linuxthreads/README documentation/README.threads
303 cp crypt/README documentation/README.crypt
305 cp ChangeLog ChangeLog.8 documentation
307 gzip -9nf README NEWS FAQ BUGS NOTES PROJECTS \
308 $RPM_BUILD_ROOT{%{_mandir}/man*/*,%{_infodir}/libc*} \
309 documentation/* login/README.utmpd
311 strip $RPM_BUILD_ROOT/{sbin/*,usr/{sbin/*,bin/*}} ||:
312 strip --strip-unneeded $RPM_BUILD_ROOT/lib/lib*.so.* \
313 $RPM_BUILD_ROOT%{_libdir}/gconv/*.so
315 %post -p /sbin/ldconfig
316 %postun -p /sbin/ldconfig
319 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
322 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
325 /sbin/chkconfig --add nscd
326 touch /var/log/nscd && (chown root.root /var/log/nscd ; chmod 640 /var/log/nscd)
327 if [ -f /var/lock/subsys/nscd ]; then
328 /etc/rc.d/init.d/nscd restart 1>&2
330 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
334 if [ "$1" = "0" ]; then
335 if [ -f /var/lock/subsys/nscd ]; then
336 /etc/rc.d/init.d/nscd stop 1>&2
338 /sbin/chkconfig --del nscd
342 /sbin/chkconfig --add utmpd
343 if [ -f /var/lock/subsys/utmpd ]; then
344 /etc/rc.d/init.d/utmpd restart 1>&2
346 echo "Run \"/etc/rc.d/init.d/utmpd start\" to start utmpd daemon." 1>&2
350 if [ "$1" = "0" ]; then
351 if [ -f /var/lock/subsys/utmpd ]; then
352 /etc/rc.d/init.d/utmpd stop 1>&2
354 /sbin/chkconfig --del utmpd
358 rm -rf $RPM_BUILD_ROOT
361 %defattr(644,root,root,755)
362 %doc {README,NEWS,FAQ,BUGS}.gz
364 %config(noreplace) %verify(not mtime md5 size) %{_sysconfdir}/nsswitch.conf
365 %config %{_sysconfdir}/rpc
367 %attr(755,root,root) /sbin/*
368 %attr(755,root,root) %{_bindir}/catchsegv
369 %attr(755,root,root) %{_bindir}/create-db
370 %attr(755,root,root) %{_bindir}/db_archive
371 %attr(755,root,root) %{_bindir}/db_checkpoint
372 %attr(755,root,root) %{_bindir}/db_deadlock
373 %attr(755,root,root) %{_bindir}/db_dump
374 %attr(755,root,root) %{_bindir}/db_dump185
375 %attr(755,root,root) %{_bindir}/db_load
376 %attr(755,root,root) %{_bindir}/db_printlog
377 %attr(755,root,root) %{_bindir}/db_recover
378 %attr(755,root,root) %{_bindir}/db_stat
379 %attr(755,root,root) %{_bindir}/getent
380 %attr(755,root,root) %{_bindir}/glibcbug
381 %attr(755,root,root) %{_bindir}/ldd
382 %attr(755,root,root) %{_bindir}/lddlibc4
383 %attr(755,root,root) %{_bindir}/locale
384 %attr(755,root,root) %{_bindir}/makedb
385 %attr(755,root,root) %{_bindir}/rpcgen
386 %attr(755,root,root) %{_bindir}/tzselect
387 %attr(755,root,root) %{_bindir}/update-db
389 %attr(755,root,root) %{_sbindir}/rpcinfo
390 %attr(755,root,root) %{_sbindir}/zdump
391 %attr(755,root,root) %{_sbindir}/zic
393 %attr(755,root,root) /lib/ld-*
394 %attr(755,root,root) /lib/lib*
399 %config /var/db/Makefile
402 %defattr(644,root,root,755)
403 %doc documentation/* {NOTES,PROJECTS}.gz
404 %attr(755,root,root) %{_bindir}/gencat
405 %attr(755,root,root) %{_bindir}/getconf
406 %attr(755,root,root) %{_bindir}/mtrace
407 %attr(755,root,root) %{_bindir}/sprof
415 %{_includedir}/netash
416 %{_includedir}/netatalk
417 %{_includedir}/netax25
418 %{_includedir}/neteconet
419 %{_includedir}/netinet
420 %{_includedir}/netipx
421 %{_includedir}/netpacket
422 %{_includedir}/netrom
423 %{_includedir}/netrose
425 %{_includedir}/protocols
427 %{_includedir}/rpcsvc
431 %{_infodir}/libc.inf*.gz
433 %attr(755,root,root) %{_libdir}/lib*.so
434 %attr(755,root,root) %{_libdir}/*.o
435 %{_libdir}/libc_nonshared.a
440 %defattr(644,root,root,755)
441 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/nscd
442 %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) %{_sysconfdir}/nscd.*
443 %attr(754,root,root) /etc/rc.d/init.d/nscd
444 %attr(755,root,root) %{_sbindir}/nscd
445 %attr(640,root,root) /etc/logrotate.d/nscd
446 %attr(640,root,root) %ghost /var/log/nscd
449 %defattr(644,root,root,755)
450 %doc login/README.utmpd.gz
451 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/utmpd
452 %attr(754,root,root) /etc/rc.d/init.d/utmpd
453 %attr(755,root,root) %{_sbindir}/utmpd
455 %files -n localedb-src
456 %defattr(644,root,root,755)
457 %attr(755,root,root) %{_bindir}/localedef
461 %defattr(644,root,root,755)
462 %attr(755,root,root) %{_bindir}/iconv
463 %dir %{_libdir}/gconv
464 %{_libdir}/gconv/gconv-modules
465 %attr(755,root,root) %{_libdir}/gconv/*.so
468 %defattr(644,root,root,755)
469 %{_libdir}/libBrokenLocale.a
470 %{_libdir}/libbsd-compat.a
473 %{_libdir}/libcrypt.a
480 %{_libdir}/libmcheck.a
483 %{_libdir}/libposix.a
484 %{_libdir}/libpthread.a
485 %{_libdir}/libresolv.a
486 %{_libdir}/librpcsvc.a
491 %defattr(644,root,root,755)