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: /tmp/%{name}-%{version}-root
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 Prereq: /usr/sbin/fix-info-dir
95 Requires: %{name} = %{version}
98 To develop programs which use the standard C libraries (which nearly all
99 programs do), the system needs to have these standard header files and
100 object files available for creating the executables.
102 %description -l de devel
103 Bei der Entwicklung von Programmen, die die Standard-C-Libraries verwenden
104 (also fast alle), benötigt das System diese Standard-Header- und
105 Objektdateien zum Erstellen der ausführbaren Programme.
107 %description -l fr devel
108 Pour développer des programmes utilisant les bibliothèques standard du C
109 (ce que presque tous les programmes font), le système doit posséder ces
110 fichiers en-têtes et objets standards pour créer les exécutables.
112 %description -l pl devel
113 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów korzystaj±cych
114 ze standardowej biblioteki C. Znajduj± siê tutaj pliki nag³ówkowe oraz
115 pliki objektowe, niezbêdne do kompilacji programów wykonywalnych i innych
118 %description -l tr devel
119 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
120 geliþtirmek için gereken standart baþlýk dosyalarý ve statik kitaplýklar.
123 Summary: Name Service Caching Daemon
124 Summary(pl): Name Service Caching Daemon
125 Group: Networking/Daemons
126 Group(pl): Sieciowe/Serwery
127 Prereq: /sbin/chkconfig
131 nscd caches name service lookups; it can dramatically improve performance
132 with NIS+, and may help with DNS as well. You cannot use nscd with 2.0
133 kernels, due to bugs in the kernel-side thread support. nscd happens to hit
134 these bugs particularly hard.
136 %description -n nscd -l pl
137 nscd zapmiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala drastycznie
138 poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe u¿ywanie nscd z j±drami
139 serii 2.0.x z powodu b³adów po stronie j±dra w ods³udze w±tków.
142 Summary: utmp and utmpx synchronizer for libc5 applications.
143 Summary(pl): Synchrnnizuje zapis do plików utmp i utmpx.
146 Prereq: /sbin/chkconfig
149 %description -n utmpd
150 utmpd is a utmp and utmpx synchronizer. Is only needed for libc5 based
151 program with utmp access.
153 %description -n utmpd -l pl
154 utmpd stara siê utrzymaæ tak± sam± zawarto¶æ plików /var/run/utmp i
155 /var/run/utmpx. Potrzebny jest tylko w przypadku korzystania ze starszych
156 programów (bazuj±cych na libc5).
158 %package -n localedb-src
159 Summary: Souce code locale database
160 Summary(pl): Kod ¬ród³owy bazy locale
164 %description -n localedb-src
165 This add-on package contains the data needed to build the locale data files
166 to use the internationalization features of the GNU libc. Glibc package
167 contains standard set of locale binary database and You need this package
168 if want build some non standard locale database.
170 %description -l pl -n localedb-src
171 Pakiet ten kod ¼ród³owy baz locale który jest potrzebny do zbudowania
172 binarnej wersji baz locale potrzebnej do poprawnego wspierania ró¿nych
173 jêzyków przez glibc. Pakiet glibc zawira binarn± wersjê standardowych baz
174 locale i ten pakiet jest potrzebny tylko w sytuacji kiedy potrzeba
175 wygenerowaæ jak±¶ niestandardow± bazê.
178 Summary: Convert encoding of given files from one encoding to another
179 Summary(pl): Program do konwersji plików tekstowych z jednego enkodingu w inny
183 %description -n iconv
184 Convert encoding of given files from one encoding to another. You neet this
185 package if You want to convert some documet from one encoding to another or
186 if Yoo have installed some programs which use Generic Character Set
187 Conversion Interface.
189 %description -l pl -n iconv
190 Program do konwersji plików tekstowych z jednego enkodingu w inny.
191 Potrzebujesz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
192 dokumentów z jednego enkodingu w inny lub je¿eli masz zainstalowane jakie¶
193 programy które korzystaj± Generic Character Set Conversion Interface w
194 glibc czyli zestawu funkcji z tej biblioteki które umo¿liwiaj± kowersje
195 enkodingu danych z poziomu dowolnego programu.
198 Summary: Static libraries
199 Summary(pl): Biblioteki statyczne
200 Group: Development/Libraries
201 Group(pl): Programowanie/Biblioteki
202 Requires: %{name}-devel = %{version}
205 GNU libc static libraries.
207 %description -l pl static
208 Biblioteki statyczne GNU libc.
211 Summary: glibc with profiling support
212 Summary(de): glibc mit Profil-Unterstützung
213 Summary(fr): glibc avec support pour profiling
214 Summary(tr): Ölçüm desteði olan glibc
215 Group: Development/Libraries/Libc
216 Group(pl): Programowanie/Biblioteki/Libc
217 Obsoletes: libc-profile
218 Requires: %{name}-devel = %{version}
221 When programs are being profiled used gprof, they must use these libraries
222 instrad of the standard C libraries for gprof to be able to profile them
225 %description -l de profile
226 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
227 Libraries anstelle der üblichen C-Libraries verwendet werden.
229 %description -l tr profile
230 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
231 kitaplýðý kullanmak zorundadýrlar.
248 --enable-add-ons=crypt,linuxthreads \
254 rm -rf $RPM_BUILD_ROOT
255 install -d $RPM_BUILD_ROOT/{etc/{rc.d/init.d,sysconfig,logrotate.d},%{_mandir}/man3,var/{db,log}}
258 install_root=$RPM_BUILD_ROOT \
259 infodir=%{_infodir} \
262 make install-locales -C localedata \
263 install_root=$RPM_BUILD_ROOT
265 make -C linuxthreads/man
266 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
268 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
270 ln -sf ../../../etc/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
271 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
272 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
273 ln -sf ../../usr/lib/libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
275 rm -f $RPM_BUILD_ROOT/etc/localtime
277 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
278 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/utmpd
279 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/nscd
280 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/utmpd
281 install %{SOURCE7} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
282 install nscd/nscd.conf $RPM_BUILD_ROOT/etc
283 install nss/nsswitch.conf $RPM_BUILD_ROOT/etc
285 install nss/db-Makefile $RPM_BUILD_ROOT/var/db/Makefile
286 :> $RPM_BUILD_ROOT/var/log/nscd
288 cat << EOF > $RPM_BUILD_ROOT/usr/bin/create-db
290 /usr/bin/make -sC /var/db/
293 ln -sf create-db $RPM_BUILD_ROOT%{_bindir}/update-db
296 install -d documentation
298 cp linuxthreads/ChangeLog documentation/ChangeLog.threads
299 cp linuxthreads/Changes documentation/Changes.threads
300 cp linuxthreads/README documentation/README.threads
301 cp crypt/README documentation/README.crypt
303 cp ChangeLog ChangeLog.8 documentation
305 gzip -9nf README NEWS FAQ BUGS NOTES PROJECTS \
306 $RPM_BUILD_ROOT{%{_mandir}/man*/*,%{_infodir}/libc*} \
307 documentation/* login/README.utmpd
309 strip $RPM_BUILD_ROOT/{sbin/*,usr/{sbin/*,bin/*}} ||:
310 strip --strip-unneeded $RPM_BUILD_ROOT/lib/lib*.so.* \
311 $RPM_BUILD_ROOT/usr/lib/gconv/*.so
313 %post -p /sbin/ldconfig
314 %postun -p /sbin/ldconfig
317 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
320 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
323 /sbin/chkconfig --add nscd
324 touch /var/log/nscd && (chown root.root /var/log/nscd ; chmod 640 /var/log/nscd)
325 if [ -f /var/lock/subsys/nscd ]; then
326 /etc/rc.d/init.d/nscd restart 1>&2
328 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
332 if [ "$1" = "0" ]; then
333 /sbin/chkconfig --del nscd
334 /etc/rc.d/init.d/nscd stop 1>&2
338 /sbin/chkconfig --add utmpd
339 if [ -f /var/lock/subsys/utmpd ]; then
340 /etc/rc.d/init.d/utmpd restart 1>&2
342 echo "Run \"/etc/rc.d/init.d/utmpd start\" to start utmpd daemon." 1>&2
346 if [ "$1" = "0" ]; then
347 /sbin/chkconfig --del utmpd
348 /etc/rc.d/init.d/utmpd stop 1>&2
352 rm -rf $RPM_BUILD_ROOT
355 %defattr(644,root,root,755)
356 %doc {README,NEWS,FAQ,BUGS}.gz
358 %config(noreplace) %verify(not mtime md5 size) /etc/nsswitch.conf
361 %attr(755,root,root) /sbin/*
362 %attr(755,root,root) %{_bindir}/catchsegv
363 %attr(755,root,root) %{_bindir}/create-db
364 %attr(755,root,root) %{_bindir}/db_archive
365 %attr(755,root,root) %{_bindir}/db_checkpoint
366 %attr(755,root,root) %{_bindir}/db_deadlock
367 %attr(755,root,root) %{_bindir}/db_dump
368 %attr(755,root,root) %{_bindir}/db_dump185
369 %attr(755,root,root) %{_bindir}/db_load
370 %attr(755,root,root) %{_bindir}/db_printlog
371 %attr(755,root,root) %{_bindir}/db_recover
372 %attr(755,root,root) %{_bindir}/db_stat
373 %attr(755,root,root) %{_bindir}/getent
374 %attr(755,root,root) %{_bindir}/glibcbug
375 %attr(755,root,root) %{_bindir}/ldd
376 %attr(755,root,root) %{_bindir}/lddlibc4
377 %attr(755,root,root) %{_bindir}/locale
378 %attr(755,root,root) %{_bindir}/makedb
379 %attr(755,root,root) %{_bindir}/rpcgen
380 %attr(755,root,root) %{_bindir}/tzselect
381 %attr(755,root,root) %{_bindir}/update-db
383 %attr(755,root,root) %{_sbindir}/rpcinfo
384 %attr(755,root,root) %{_sbindir}/zdump
385 %attr(755,root,root) %{_sbindir}/zic
387 %attr(755,root,root) /lib/ld-*
388 %attr(755,root,root) /lib/lib*
393 %config /var/db/Makefile
396 %defattr(644,root,root,755)
397 %doc documentation/* {NOTES,PROJECTS}.gz
398 %attr(755,root,root) %{_bindir}/gencat
399 %attr(755,root,root) %{_bindir}/getconf
400 %attr(755,root,root) %{_bindir}/mtrace
401 %attr(755,root,root) %{_bindir}/sprof
409 %{_includedir}/netash
410 %{_includedir}/netatalk
411 %{_includedir}/netax25
412 %{_includedir}/neteconet
413 %{_includedir}/netinet
414 %{_includedir}/netipx
415 %{_includedir}/netpacket
416 %{_includedir}/netrom
417 %{_includedir}/netrose
419 %{_includedir}/protocols
421 %{_includedir}/rpcsvc
425 %{_infodir}/libc.inf*.gz
427 %attr(755,root,root) %{_libdir}/lib*.so
428 %attr(755,root,root) %{_libdir}/*.o
429 %{_libdir}/libc_nonshared.a
434 %defattr(644,root,root,755)
435 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/nscd
436 %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) /etc/nscd.*
437 %attr(754,root,root) /etc/rc.d/init.d/nscd
438 %attr(755,root,root) %{_sbindir}/nscd
439 %attr(640,root,root) /etc/logrotate.d/nscd
440 %attr(640,root,root) %ghost /var/log/nscd
443 %defattr(644,root,root,755)
444 %doc login/README.utmpd.gz
445 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/utmpd
446 %attr(754,root,root) /etc/rc.d/init.d/utmpd
447 %attr(755,root,root) %{_sbindir}/utmpd
449 %files -n localedb-src
450 %defattr(644,root,root,755)
451 %attr(755,root,root) %{_bindir}/localedef
455 %defattr(644,root,root,755)
456 %attr(755,root,root) %{_bindir}/iconv
457 %dir %{_libdir}/gconv
458 %{_libdir}/gconv/gconv-modules
459 %attr(755,root,root) %{_libdir}/gconv/*.so
462 %defattr(644,root,root,755)
463 %{_libdir}/libBrokenLocale.a
464 %{_libdir}/libbsd-compat.a
467 %{_libdir}/libcrypt.a
474 %{_libdir}/libmcheck.a
477 %{_libdir}/libposix.a
478 %{_libdir}/libpthread.a
479 %{_libdir}/libresolv.a
480 %{_libdir}/librpcsvc.a
485 %defattr(644,root,root,755)