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