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
41 the 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.
45 Without these, a Linux system will not function. It also contains
46 national language (locale) support and timezone databases.
49 Enthält die Standard-Libraries, die von verschiedenen Programmen im
50 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
51 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
52 einer einzigen Stelle gespeichert und wird von den Programmen
53 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
54 shared Libraries, die Standard-C-Library und die
55 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
56 Ferner enthält es den Support für die verschiedenen Sprachgregionen
57 (locale) und die Zeitzonen-Datenbank.
60 Contient les bibliothèques standards utilisées par de nombreux
61 programmes du système. Afin d'économiser l'espace disque et mémoire,
62 et de faciliter les mises à jour, le code commun au système est mis à
63 un endroit et partagé entre les programmes. Ce paquetage contient les
64 bibliothèques partagées les plus importantes, la bibliothèque standard
65 du C et la bibliothèque mathématique standard. Sans celles-ci, un
66 système Linux ne peut fonctionner. Il contient aussi la gestion des
67 langues nationales (locales) et les bases de données des zones
71 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
72 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
73 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
74 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
75 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
76 standardowych wspó³dzielonych (dynamicznych) bibliotek C i
77 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
78 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
79 jêzyków (locale) oraz definicje stref czasowych.
82 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
83 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
84 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
85 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
86 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
87 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
88 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
91 Summary: Additional libraries required to compile
92 Summary(de): Weitere Libraries zum Kompilieren
93 Summary(fr): Librairies supplémentaires nécessaires à la compilation.
94 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
95 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
96 Group: Development/Libraries
97 Group(fr): Development/Librairies
98 Group(pl): Programowanie/Biblioteki
99 Requires: %{name} = %{version}
102 To develop programs which use the standard C libraries (which nearly
103 all programs do), the system needs to have these standard header files
104 and object files available for creating the executables.
106 %description -l de devel
107 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
108 verwenden (also fast alle), benötigt das System diese Standard-Header-
109 und Objektdateien zum Erstellen der ausführbaren Programme.
111 %description -l fr devel
112 Pour développer des programmes utilisant les bibliothèques standard du
113 C (ce que presque tous les programmes font), le système doit posséder
114 ces fichiers en-têtes et objets standards pour créer les exécutables.
116 %description -l pl devel
117 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
118 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
119 nag³ówkowe oraz pliki objektowe, niezbêdne do kompilacji programów
120 wykonywalnych i innych bibliotek.
122 %description -l tr devel
123 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
124 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
128 Summary: Name Service Caching Daemon
129 Summary(pl): Name Service Caching Daemon
130 Group: Networking/Daemons
131 Group(pl): Sieciowe/Serwery
132 Prereq: /sbin/chkconfig
133 Requires: rc-scripts >= 0.2.0
136 nscd caches name service lookups; it can dramatically improve
137 performance with NIS+, and may help with DNS as well. You cannot use
138 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
139 nscd happens to hit these bugs particularly hard.
141 %description -n nscd -l pl
142 nscd zapmiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
143 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
144 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³adów po stronie j±dra w
148 Summary: utmp and utmpx synchronizer for libc5 applications.
149 Summary(pl): Synchrnnizuje zapis do plików utmp i utmpx.
152 Prereq: /sbin/chkconfig
153 Requires: rc-scripts >= 0.2.0
155 %description -n utmpd
156 utmpd is a utmp and utmpx synchronizer. Is only needed for libc5 based
157 program with utmp access.
159 %description -n utmpd -l pl
160 utmpd stara siê utrzymaæ tak± sam± zawarto¶æ plików /var/run/utmp i
161 /var/run/utmpx. Potrzebny jest tylko w przypadku korzystania ze
162 starszych programów (bazuj±cych na libc5).
164 %package -n localedb-src
165 Summary: Souce code locale database
166 Summary(pl): Kod ¬ród³owy bazy locale
170 %description -n localedb-src
171 This add-on package contains the data needed to build the locale data
172 files to use the internationalization features of the GNU libc. Glibc
173 package contains standard set of locale binary database and You need
174 this package if want build some non standard locale database.
176 %description -l pl -n localedb-src
177 Pakiet ten kod ¼ród³owy baz locale który jest potrzebny do zbudowania
178 binarnej wersji baz locale potrzebnej do poprawnego wspierania ró¿nych
179 jêzyków przez glibc. Pakiet glibc zawira binarn± wersjê standardowych
180 baz locale i ten pakiet jest potrzebny tylko w sytuacji kiedy potrzeba
181 wygenerowaæ jak±¶ niestandardow± bazê.
184 Summary: Convert encoding of given files from one encoding to another
185 Summary(pl): Program do konwersji plików tekstowych z jednego enkodingu w inny
189 %description -n iconv
190 Convert encoding of given files from one encoding to another. You need
191 this package if You want to convert some documet from one encoding to
192 another or if You have installed some programs which use Generic
193 Character Set Conversion Interface.
195 %description -l pl -n iconv
196 Program do konwersji plików tekstowych z jednego enkodingu w inny.
197 Potrzebujesz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
198 dokumentów z jednego enkodingu w inny lub je¿eli masz zainstalowane
199 jakie¶ programy które korzystaj± z Generic Character Set Conversion
200 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
201 umo¿liwiaj± konwersjê enkodingu danych z poziomu dowolnego programu.
204 Summary: Static libraries
205 Summary(pl): Biblioteki statyczne
206 Group: Development/Libraries
207 Group(fr): Development/Librairies
208 Group(pl): Programowanie/Biblioteki
209 Requires: %{name}-devel = %{version}
212 GNU libc static libraries.
214 %description -l pl static
215 Biblioteki statyczne GNU libc.
218 Summary: glibc with profiling support
219 Summary(de): glibc mit Profil-Unterstützung
220 Summary(fr): glibc avec support pour profiling
221 Summary(tr): Ölçüm desteði olan glibc
222 Group: Development/Libraries/Libc
223 Group(pl): Programowanie/Biblioteki/Libc
224 Obsoletes: libc-profile
225 Requires: %{name}-devel = %{version}
228 When programs are being profiled used gprof, they must use these
229 libraries instead of the standard C libraries for gprof to be able to
230 profile them correctly.
232 %description -l de profile
233 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
234 Libraries anstelle der üblichen C-Libraries verwendet werden.
236 %description -l tr profile
237 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
238 kitaplýðý kullanmak zorundadýrlar.
255 --enable-add-ons=crypt,linuxthreads \
261 rm -rf $RPM_BUILD_ROOT
262 install -d $RPM_BUILD_ROOT/{etc/{rc.d/init.d,sysconfig,logrotate.d},%{_mandir}/man3,var/{db,log}}
265 install_root=$RPM_BUILD_ROOT \
266 infodir=%{_infodir} \
269 make install-locales -C localedata \
270 install_root=$RPM_BUILD_ROOT
272 make -C linuxthreads/man
273 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
275 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
277 ln -sf ../../..%{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
278 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
279 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
280 ln -sf ../..%{_libdir}/libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
282 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
284 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
285 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/utmpd
286 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/nscd
287 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/utmpd
288 install %{SOURCE7} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
289 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
290 install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
292 install nss/db-Makefile $RPM_BUILD_ROOT/var/db/Makefile
293 :> $RPM_BUILD_ROOT/var/log/nscd
295 cat << EOF > $RPM_BUILD_ROOT%{_bindir}/create-db
297 /usr/bin/make -sC /var/db/
300 ln -sf create-db $RPM_BUILD_ROOT%{_bindir}/update-db
303 install -d documentation
305 cp linuxthreads/ChangeLog documentation/ChangeLog.threads
306 cp linuxthreads/Changes documentation/Changes.threads
307 cp linuxthreads/README documentation/README.threads
308 cp crypt/README documentation/README.crypt
310 cp ChangeLog ChangeLog.8 documentation
312 gzip -9nf README NEWS FAQ BUGS NOTES PROJECTS \
313 $RPM_BUILD_ROOT{%{_mandir}/man*/*,%{_infodir}/libc*} \
314 documentation/* login/README.utmpd
316 strip $RPM_BUILD_ROOT/{sbin/*,usr/{sbin/*,bin/*}} ||:
317 strip --strip-unneeded $RPM_BUILD_ROOT/lib/lib*.so.* \
318 $RPM_BUILD_ROOT%{_libdir}/gconv/*.so
320 %post -p /sbin/ldconfig
321 %postun -p /sbin/ldconfig
324 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
327 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
330 /sbin/chkconfig --add nscd
331 touch /var/log/nscd && (chown root.root /var/log/nscd ; chmod 640 /var/log/nscd)
332 if [ -f /var/lock/subsys/nscd ]; then
333 /etc/rc.d/init.d/nscd restart 1>&2
335 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
339 if [ "$1" = "0" ]; then
340 if [ -f /var/lock/subsys/nscd ]; then
341 /etc/rc.d/init.d/nscd stop 1>&2
343 /sbin/chkconfig --del nscd
347 /sbin/chkconfig --add utmpd
348 if [ -f /var/lock/subsys/utmpd ]; then
349 /etc/rc.d/init.d/utmpd restart 1>&2
351 echo "Run \"/etc/rc.d/init.d/utmpd start\" to start utmpd daemon." 1>&2
355 if [ "$1" = "0" ]; then
356 if [ -f /var/lock/subsys/utmpd ]; then
357 /etc/rc.d/init.d/utmpd stop 1>&2
359 /sbin/chkconfig --del utmpd
363 rm -rf $RPM_BUILD_ROOT
366 %defattr(644,root,root,755)
367 %doc {README,NEWS,FAQ,BUGS}.gz
369 %config(noreplace) %verify(not mtime md5 size) %{_sysconfdir}/nsswitch.conf
370 %config %{_sysconfdir}/rpc
372 %attr(755,root,root) /sbin/*
373 %attr(755,root,root) %{_bindir}/catchsegv
374 %attr(755,root,root) %{_bindir}/create-db
375 %attr(755,root,root) %{_bindir}/db_archive
376 %attr(755,root,root) %{_bindir}/db_checkpoint
377 %attr(755,root,root) %{_bindir}/db_deadlock
378 %attr(755,root,root) %{_bindir}/db_dump
379 %attr(755,root,root) %{_bindir}/db_dump185
380 %attr(755,root,root) %{_bindir}/db_load
381 %attr(755,root,root) %{_bindir}/db_printlog
382 %attr(755,root,root) %{_bindir}/db_recover
383 %attr(755,root,root) %{_bindir}/db_stat
384 %attr(755,root,root) %{_bindir}/getent
385 %attr(755,root,root) %{_bindir}/glibcbug
386 %attr(755,root,root) %{_bindir}/ldd
387 %attr(755,root,root) %{_bindir}/lddlibc4
388 %attr(755,root,root) %{_bindir}/locale
389 %attr(755,root,root) %{_bindir}/makedb
390 %attr(755,root,root) %{_bindir}/rpcgen
391 %attr(755,root,root) %{_bindir}/tzselect
392 %attr(755,root,root) %{_bindir}/update-db
394 %attr(755,root,root) %{_sbindir}/rpcinfo
395 %attr(755,root,root) %{_sbindir}/zdump
396 %attr(755,root,root) %{_sbindir}/zic
398 %attr(755,root,root) /lib/ld-*
399 %attr(755,root,root) /lib/lib*
404 %config /var/db/Makefile
407 %defattr(644,root,root,755)
408 %doc documentation/* {NOTES,PROJECTS}.gz
409 %attr(755,root,root) %{_bindir}/gencat
410 %attr(755,root,root) %{_bindir}/getconf
411 %attr(755,root,root) %{_bindir}/mtrace
412 %attr(755,root,root) %{_bindir}/sprof
420 %{_includedir}/netash
421 %{_includedir}/netatalk
422 %{_includedir}/netax25
423 %{_includedir}/neteconet
424 %{_includedir}/netinet
425 %{_includedir}/netipx
426 %{_includedir}/netpacket
427 %{_includedir}/netrom
428 %{_includedir}/netrose
430 %{_includedir}/protocols
432 %{_includedir}/rpcsvc
436 %{_infodir}/libc.inf*.gz
438 %attr(755,root,root) %{_libdir}/lib*.so
439 %attr(755,root,root) %{_libdir}/*.o
440 %{_libdir}/libc_nonshared.a
445 %defattr(644,root,root,755)
446 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/nscd
447 %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) %{_sysconfdir}/nscd.*
448 %attr(754,root,root) /etc/rc.d/init.d/nscd
449 %attr(755,root,root) %{_sbindir}/nscd
450 %attr(640,root,root) /etc/logrotate.d/nscd
451 %attr(640,root,root) %ghost /var/log/nscd
454 %defattr(644,root,root,755)
455 %doc login/README.utmpd.gz
456 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/utmpd
457 %attr(754,root,root) /etc/rc.d/init.d/utmpd
458 %attr(755,root,root) %{_sbindir}/utmpd
460 %files -n localedb-src
461 %defattr(644,root,root,755)
462 %attr(755,root,root) %{_bindir}/localedef
466 %defattr(644,root,root,755)
467 %attr(755,root,root) %{_bindir}/iconv
468 %dir %{_libdir}/gconv
469 %{_libdir}/gconv/gconv-modules
470 %attr(755,root,root) %{_libdir}/gconv/*.so
473 %defattr(644,root,root,755)
474 %{_libdir}/libBrokenLocale.a
475 %{_libdir}/libbsd-compat.a
478 %{_libdir}/libcrypt.a
485 %{_libdir}/libmcheck.a
488 %{_libdir}/libposix.a
489 %{_libdir}/libpthread.a
490 %{_libdir}/libresolv.a
491 %{_libdir}/librpcsvc.a
496 %defattr(644,root,root,755)