12 Source0: ftp://sourceware.cygnus.com/pub/glibc/%{name}-%{version}.tar.bz2
13 Source1: ftp://sourceware.cygnus.com/pub/glibc/%{name}-linuxthreads-%{version}.tar.bz2
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-paths.patch
22 Patch2: glibc-versions.awk_fix.patch
23 Patch3: glibc-pld.patch
24 Patch4: glibc-getaddrinfo.patch
25 Patch5: glibc-crypt-blowfish.patch
26 Patch6: glibc-string2-pointer-arith.patch
27 Patch7: glibc-db2-alpha-mutex.patch
28 Patch8: glibc-linuxthreads-lock.patch
29 Patch9: glibc-pthread_create-manpage.patch
30 Patch10: glibc-sparc-linux-ldd.patch
31 Patch11: glibc-sparc-linux-chown.patch
32 Patch12: glibc-nls.patch
33 URL: http://www.gnu.org/software/libc/
36 Obsoletes: %{name}-profile
37 Obsoletes: %{name}-debug
39 BuildRoot: /tmp/%{name}-%{version}-root
42 Contains the standard libraries that are used by multiple programs on the
43 system. In order to save disk space and memory, as well as to ease upgrades,
44 common system code is kept in one place and shared between programs. This
45 package contains the most important sets of shared libraries, the standard C
46 library and the standard math library. Without these, a Linux system will
47 not function. It also contains national language (locale) support and
51 Enthält die Standard-Libraries, die von verschiedenen Programmen im System
52 benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen und zur
53 Vereinfachung von Upgrades ist der gemeinsame Systemcode an einer einzigen
54 Stelle gespeichert und wird von den Programmen gemeinsam genutzt. Dieses
55 Paket enthält die wichtigsten Sets der shared Libraries, die
56 Standard-C-Library und die Standard-Math-Library, ohne die das Linux-System
57 nicht funktioniert. Ferner enthält es den Support für die verschiedenen
58 Sprachgregionen (locale) und die Zeitzonen-Datenbank.
61 Contient les bibliothèques standards utilisées par de nombreux programmes
62 du système. Afin d'économiser l'espace disque et mémoire, et de faciliter
63 les mises à jour, le code commun au système est mis à un endroit et partagé
64 entre les programmes. Ce paquetage contient les bibliothèques partagées les
65 plus importantes, la bibliothèque standard du C et la bibliothèque
66 mathématique standard. Sans celles-ci, un système Linux ne peut fonctionner.
67 Il contient aussi la gestion des langues nationales (locales) et les bases
68 de données des zones horaires.
71 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne programy
72 w Twoim systemie. U¿ywanie przez programy bibliotek z tego pakietu oszczêdza
73 miejsce na dysku i pamiêæ. Wiekszo¶æ kodu systemowego jest usytuowane w
74 jednym miejscu i dzielone miêdzy wieloma programami. Pakiet ten zawiera
75 bardzo wa¿ny zbiór bibliotek standardowych wspó³dzielonych (dynamicznych)
76 bibliotek C i matematycznych. Bez glibc system Linux nie jest w stanie
77 funkcjonowaæ. Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla
78 wielu jêzyków (locale) oraz definicje stref czasowych.
81 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir. Disk
82 alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme iþlemlerini
83 kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde tutulup programlar
84 arasýnda paylaþtýrýlýr. Bu paket en önemli ortak kitaplýklarý, standart
85 C kitaplýðýný ve standart matematik kitaplýðýný içerir. Bu kitaplýklar olmadan
86 Linux sistemi çalýþmayacaktýr. Yerel dil desteði ve zaman dilimi veri tabaný
87 da bu pakette yer alýr.
90 Summary: Additional libraries required to compile
91 Summary(de): Weitere Libraries zum Kompilieren
92 Summary(fr): Librairies supplémentaires nécessaires à la compilation.
93 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
94 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
95 Group: Development/Libraries
96 Group(pl): Programowanie/Biblioteki
97 Prereq: /usr/sbin/fix-info-dir
98 Requires: %{name} = %{version}
101 To develop programs which use the standard C libraries (which nearly all
102 programs do), the system needs to have these standard header files and object
103 files available for creating the executables.
105 %description -l de devel
106 Bei der Entwicklung von Programmen, die die Standard-C-Libraries verwenden
107 (also fast alle), benötigt das System diese Standard-Header- und Objektdateien
108 zum Erstellen der ausführbaren Programme.
110 %description -l fr devel
111 Pour développer des programmes utilisant les bibliothèques standard du C
112 (ce que presque tous les programmes font), le système doit posséder ces
113 fichiers en-têtes et objets standards pour créer les exécutables.
115 %description -l pl devel
116 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów korzystaj±cych
117 ze standardowej biblioteki C. Znajduj± siê tutaj pliki nag³ówkowe oraz pliki
118 objektowe, niezbêdne do kompilacji programów wykonywalnych i innych bibliotek.
120 %description -l tr devel
121 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
122 geliþtirmek için gereken standart baþlýk dosyalarý ve statik kitaplýklar.
125 Summary: Name Service Caching Daemon
126 Summary(pl): Name Service Caching Daemon
127 Group: Networking/Daemons
128 Group(pl): Sieciowe/Serwery
129 Prereq: /sbin/chkconfig
133 nscd caches name service lookups; it can dramatically improve performance
134 with NIS+, and may help with DNS as well.
136 You cannot use nscd with 2.0 kernels, due to bugs in the kernel-side thread
137 support. nscd happens to hit these bugs particularly hard.
139 %description -n nscd -l pl
140 nscd zapmiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala drastycznie
141 poprawiæ szybko¶æ dzia³ania NIS+.
143 Nie jest mo¿liwe u¿ywanie nscd z j±drami serii 2.0.x z powodu b³adów
144 po stronie j±dra w ods³udze w±tków.
147 Summary: utmp and utmpx synchronizer for libc5 applications.
148 Summary(pl): Synchrnnizuje zapis do plików utmp i utmpx.
151 Prereq: /sbin/chkconfig
154 %description -n utmpd
155 utmpd is a utmp and utmpx synchronizer. Is only needed for libc5 based
156 program with utmp access.
158 %description -n utmpd -l pl
159 utmpd stara siê utrzymaæ tak± sam± zawarto¶æ plików
160 /var/run/utmp i /var/run/utmpx. Potrzebny jest tylko w przypadku korzystania
161 ze starszych programów (bazuj±cych na libc5).
163 %package -n localedb-src
164 Summary: Souce code locale database
165 Summary(pl): Kod ¬ród³owy bazy locale
169 %description -n localedb-src
170 This add-on package contains the data needed to build the locale data files
171 to use the internationalization features of the GNU libc. Glibc package
172 contains standard set of locale binary database and You need this package if
173 want build some non standard locale database.
175 %description -l pl -n localedb-src
176 Pakiet ten kod ¼ród³owy baz locale który jest potrzebny do zbudowania
177 binarnej wersji baz locale potrzebnej do poprawnego wspierania ró¿nych
178 jêzyków przez glibc. Pakiet glibc zawira binarn± wersjê standardowych baz
179 locale i ten pakiet jest potrzebny tylko w sytuacji kiedy potrzeba
180 wygenerowaæ jak±¶ niestandardow± bazê.
183 Summary: Convert encoding of given files from one encoding to another
184 Summary(pl): Program do konwersji plików tekstowych z jednego enkodingu w inny
188 %description -n iconv
189 Convert encoding of given files from one encoding to another.
190 You neet this package if You want to convert some documet from one encoding
191 to another or if Yoo have installed some programs which use Generic
192 Character Set Conversion Interface.
194 %description -l pl -n iconv
195 Program do konwersji plików tekstowych z jednego enkodingu w inny.
196 Potrzebujesz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
197 dokumentów z jednego enkodingu w inny lub je¿eli masz zainstalowane jakie¶
198 programy które korzystaj± Generic Character Set Conversion Interface w glibc
199 czyli zestawu funkcji z tej biblioteki które umo¿liwiaj± kowersje enkodingu
200 danych z poziomu dowolnego programu.
203 Summary: Static libraries
204 Summary(pl): Biblioteki statyczne
205 Group: Development/Libraries
206 Group(pl): Programowanie/Biblioteki
207 Requires: %{name}-devel = %{version}
210 GNU libc static libraries.
212 %description -l pl static
213 Biblioteki statyczne GNU libc.
216 Summary: glibc with profiling support
217 Summary(de): glibc mit Profil-Unterstützung
218 Summary(fr): glibc avec support pour profiling
219 Summary(tr): Ölçüm desteði olan glibc
220 Group: Development/Libraries/Libc
221 Obsoletes: libc-profile
222 Requires: %{name}-devel = %{version}
225 When programs are being profiled used gprof, they must use these libraries
226 instrad of the standard C libraries for gprof to be able to profile them
229 %description -l de profile
230 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
231 Libraries anstelle der üblichen C-Libraries verwendet werden.
233 %description -l tr profile
234 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
235 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 ../../../etc/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 ../../usr/lib/libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
282 rm -f $RPM_BUILD_ROOT/etc/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/etc
290 install nss/nsswitch.conf $RPM_BUILD_ROOT/etc
292 install nss/db-Makefile $RPM_BUILD_ROOT/var/db/Makefile
293 :> $RPM_BUILD_ROOT/var/log/nscd
295 cat << EOF > $RPM_BUILD_ROOT/usr/bin/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 -9fn 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/usr/lib/gconv/*.so
320 %post -p /sbin/ldconfig
321 %postun -p /sbin/ldconfig
324 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
327 /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 /sbin/chkconfig --del nscd
341 /etc/rc.d/init.d/nscd stop 1>&2
345 /sbin/chkconfig --add utmpd
346 if [ -f /var/lock/subsys/utmpd ]; then
347 /etc/rc.d/init.d/utmpd restart 1>&2
349 echo "Run \"/etc/rc.d/init.d/utmpd start\" to start utmpd daemon." 1>&2
353 if [ "$1" = "0" ]; then
354 /sbin/chkconfig --del utmpd
355 /etc/rc.d/init.d/utmpd stop 1>&2
359 rm -rf $RPM_BUILD_ROOT
362 %defattr(644,root,root,755)
363 %doc {README,NEWS,FAQ,BUGS}.gz
365 %config(noreplace) %verify(not mtime md5 size) /etc/nsswitch.conf
368 %attr(755,root,root) /sbin/*
369 %attr(755,root,root) %{_bindir}/catchsegv
370 %attr(755,root,root) %{_bindir}/create-db
371 %attr(755,root,root) %{_bindir}/db_archive
372 %attr(755,root,root) %{_bindir}/db_checkpoint
373 %attr(755,root,root) %{_bindir}/db_deadlock
374 %attr(755,root,root) %{_bindir}/db_dump
375 %attr(755,root,root) %{_bindir}/db_dump185
376 %attr(755,root,root) %{_bindir}/db_load
377 %attr(755,root,root) %{_bindir}/db_printlog
378 %attr(755,root,root) %{_bindir}/db_recover
379 %attr(755,root,root) %{_bindir}/db_stat
380 %attr(755,root,root) %{_bindir}/getent
381 %attr(755,root,root) %{_bindir}/glibcbug
382 %attr(755,root,root) %{_bindir}/ldd
383 %attr(755,root,root) %{_bindir}/lddlibc4
384 %attr(755,root,root) %{_bindir}/locale
385 %attr(755,root,root) %{_bindir}/makedb
386 %attr(755,root,root) %{_bindir}/rpcgen
387 %attr(755,root,root) %{_bindir}/tzselect
388 %attr(755,root,root) %{_bindir}/update-db
390 %attr(755,root,root) %{_sbindir}/rpcinfo
391 %attr(755,root,root) %{_sbindir}/zdump
392 %attr(755,root,root) %{_sbindir}/zic
394 %attr(755,root,root) /lib/ld-*
395 %attr(755,root,root) /lib/lib*
400 %config /var/db/Makefile
403 %defattr(644,root,root,755)
404 %doc documentation/* {NOTES,PROJECTS}.gz
405 %attr(755,root,root) %{_bindir}/gencat
406 %attr(755,root,root) %{_bindir}/getconf
407 %attr(755,root,root) %{_bindir}/mtrace
408 %attr(755,root,root) %{_bindir}/sprof
416 %{_includedir}/netash
417 %{_includedir}/netatalk
418 %{_includedir}/netax25
419 %{_includedir}/neteconet
420 %{_includedir}/netinet
421 %{_includedir}/netipx
422 %{_includedir}/netpacket
423 %{_includedir}/netrom
424 %{_includedir}/netrose
426 %{_includedir}/protocols
428 %{_includedir}/rpcsvc
432 %{_infodir}/libc.inf*.gz
434 %attr(755,root,root) %{_libdir}/lib*.so
435 %attr(755,root,root) %{_libdir}/*.o
436 %{_libdir}/libc_nonshared.a
441 %defattr(644,root,root,755)
442 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/nscd
443 %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) /etc/nscd.*
444 %attr(755,root,root) /etc/rc.d/init.d/nscd
445 %attr(755,root,root) %{_sbindir}/nscd
446 %attr(640,root,root) /etc/logrotate.d/nscd
447 %attr(640,root,root) %ghost /var/log/nscd
450 %defattr(644,root,root,755)
451 %doc login/README.utmpd.gz
452 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/utmpd
453 %attr(755,root,root) /etc/rc.d/init.d/utmpd
454 %attr(755,root,root) %{_sbindir}/utmpd
456 %files -n localedb-src
457 %defattr(644,root,root,755)
458 %attr(755,root,root) %{_bindir}/localedef
462 %defattr(644,root,root,755)
463 %attr(755,root,root) %{_bindir}/iconv
464 %dir %{_libdir}/gconv
465 %{_libdir}/gconv/gconv-modules
466 %attr(755,root,root) %{_libdir}/gconv/*.so
469 %defattr(644,root,root,755)
470 %{_libdir}/libBrokenLocale.a
471 %{_libdir}/libbsd-compat.a
474 %{_libdir}/libcrypt.a
481 %{_libdir}/libmcheck.a
484 %{_libdir}/libposix.a
485 %{_libdir}/libpthread.a
486 %{_libdir}/libresolv.a
487 %{_libdir}/librpcsvc.a
492 %defattr(644,root,root,755)