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 URL: http://www.gnu.org/software/libc/
29 Obsoletes: %{name}-profile
30 Obsoletes: %{name}-debug
32 BuildRoot: /tmp/%{name}-%{version}-root
35 Contains the standard libraries that are used by multiple programs on the
36 system. In order to save disk space and memory, as well as to ease upgrades,
37 common system code is kept in one place and shared between programs. This
38 package contains the most important sets of shared libraries, the standard C
39 library and the standard math library. Without these, a Linux system will
40 not function. It also contains national language (locale) support and
44 Enthält die Standard-Libraries, die von verschiedenen Programmen im System
45 benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen und zur
46 Vereinfachung von Upgrades ist der gemeinsame Systemcode an einer einzigen
47 Stelle gespeichert und wird von den Programmen gemeinsam genutzt. Dieses
48 Paket enthält die wichtigsten Sets der shared Libraries, die
49 Standard-C-Library und die Standard-Math-Library, ohne die das Linux-System
50 nicht funktioniert. Ferner enthält es den Support für die verschiedenen
51 Sprachgregionen (locale) und die Zeitzonen-Datenbank.
54 Contient les bibliothèques standards utilisées par de nombreux programmes
55 du système. Afin d'économiser l'espace disque et mémoire, et de faciliter
56 les mises à jour, le code commun au système est mis à un endroit et partagé
57 entre les programmes. Ce paquetage contient les bibliothèques partagées les
58 plus importantes, la bibliothèque standard du C et la bibliothèque
59 mathématique standard. Sans celles-ci, un système Linux ne peut fonctionner.
60 Il contient aussi la gestion des langues nationales (locales) et les bases
61 de données des zones horaires.
64 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne programy
65 w Twoim systemie. U¿ywanie przez programy bibliotek z tego pakietu oszczêdza
66 miejsce na dysku i pamiêæ. Wiekszo¶æ kodu systemowego jest usytuowane w
67 jednym miejscu i dzielone miêdzy wieloma programami. Pakiet ten zawiera
68 bardzo wa¿ny zbiór bibliotek standardowych wspó³dzielonych (dynamicznych)
69 bibliotek C i matematycznych. Bez glibc system Linux nie jest w stanie
70 funkcjonowaæ. Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla
71 wielu jêzyków (locale) oraz definicje stref czasowych.
74 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir. Disk
75 alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme iþlemlerini
76 kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde tutulup programlar
77 arasýnda paylaþtýrýlýr. Bu paket en önemli ortak kitaplýklarý, standart
78 C kitaplýðýný ve standart matematik kitaplýðýný içerir. Bu kitaplýklar olmadan
79 Linux sistemi çalýþmayacaktýr. Yerel dil desteði ve zaman dilimi veri tabaný
80 da bu pakette yer alýr.
83 Summary: Additional libraries required to compile
84 Summary(de): Weitere Libraries zum Kompilieren
85 Summary(fr): Librairies supplémentaires nécessaires à la compilation.
86 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
87 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
88 Group: Development/Libraries
89 Group(pl): Programowanie/Biblioteki
90 Prereq: /usr/sbin/fix-info-dir
91 Requires: %{name} = %{version}
94 To develop programs which use the standard C libraries (which nearly all
95 programs do), the system needs to have these standard header files and object
96 files available for creating the executables.
98 %description -l de devel
99 Bei der Entwicklung von Programmen, die die Standard-C-Libraries verwenden
100 (also fast alle), benötigt das System diese Standard-Header- und Objektdateien
101 zum Erstellen der ausführbaren Programme.
103 %description -l fr devel
104 Pour développer des programmes utilisant les bibliothèques standard du C
105 (ce que presque tous les programmes font), le système doit posséder ces
106 fichiers en-têtes et objets standards pour créer les exécutables.
108 %description -l pl devel
109 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów korzystaj±cych
110 ze standardowej biblioteki C. Znajduj± siê tutaj pliki nag³ówkowe oraz pliki
111 objektowe, niezbêdne do kompilacji programów wykonywalnych i innych bibliotek.
113 %description -l tr devel
114 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
115 geliþtirmek için gereken standart baþlýk dosyalarý ve statik kitaplýklar.
118 Summary: Name Service Caching Daemon
119 Summary(pl): Name Service Caching Daemon
120 Group: Networking/Daemons
121 Group(pl): Sieciowe/Serwery
122 Prereq: /sbin/chkconfig
126 nscd caches name service lookups; it can dramatically improve performance
127 with NIS+, and may help with DNS as well.
129 You cannot use nscd with 2.0 kernels, due to bugs in the kernel-side thread
130 support. nscd happens to hit these bugs particularly hard.
132 %description -n nscd -l pl
133 nscd zapmiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala drastycznie
134 poprawiæ szybko¶æ dzia³ania NIS+.
136 Nie jest mo¿liwe u¿ywanie nscd z j±drami serii 2.0.x z powodu b³adów
137 po stronie j±dra w ods³udze w±tków.
140 Summary: utmp and utmpx synchronizer for libc5 applications.
141 Summary(pl): Synchrnnizuje zapis do plików utmp i utmpx.
144 Prereq: /sbin/chkconfig
147 %description -n utmpd
148 utmpd is a utmp and utmpx synchronizer. Is only needed for libc5 based
149 program with utmp access.
151 %description -n utmpd -l pl
152 utmpd stara siê utrzymaæ tak± sam± zawarto¶æ plików
153 /var/run/utmp i /var/run/utmpx. Potrzebny jest tylko w przypadku korzystania
154 ze starszych programów (bazuj±cych na libc5).
156 %package -n localedb-src
157 Summary: Souce code locale database
158 Summary(pl): Kod ¬ród³owy bazy locale
162 %description -n localedb-src
163 This add-on package contains the data needed to build the locale data files
164 to use the internationalization features of the GNU libc. Glibc package
165 contains standard set of locale binary database and You need this package if
166 want build some non standard locale database.
168 %description -l pl -n localedb-src
169 Pakiet ten kod ¼ród³owy baz locale który jest potrzebny do zbudowania
170 binarnej wersji baz locale potrzebnej do poprawnego wspierania ró¿nych
171 jêzyków przez glibc. Pakiet glibc zawira binarn± wersjê standardowych baz
172 locale i ten pakiet jest potrzebny tylko w sytuacji kiedy potrzeba
173 wygenerowaæ jak±¶ niestandardow± bazê.
176 Summary: Convert encoding of given files from one encoding to another
177 Summary(pl): Program do konwersji plików tekstowych z jednego enkodingu w inny
181 %description -n iconv
182 Convert encoding of given files from one encoding to another.
183 You neet this package if You want to convert some documet from one encoding
184 to another or if Yoo have installed some programs which use Generic
185 Character Set Conversion Interface.
187 %description -l pl -n iconv
188 Program do konwersji plików tekstowych z jednego enkodingu w inny.
189 Potrzebujesz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
190 dokumentów z jednego enkodingu w inny lub je¿eli masz zainstalowane jakie¶
191 programy które korzystaj± Generic Character Set Conversion Interface w glibc
192 czyli zestawu funkcji z tej biblioteki które umo¿liwiaj± kowersje enkodingu
193 danych z poziomu dowolnego programu.
196 Summary: Static libraries
197 Summary(pl): Biblioteki statyczne
198 Group: Development/Libraries
199 Group(pl): Programowanie/Biblioteki
200 Requires: %{name}-devel = %{version}
203 GNU libc static libraries.
205 %description -l pl static
206 Biblioteki statyczne GNU libc.
209 Summary: glibc with profiling support
210 Summary(de): glibc mit Profil-Unterstützung
211 Summary(fr): glibc avec support pour profiling
212 Summary(tr): Ölçüm desteði olan glibc
213 Group: Development/Libraries/Libc
214 Obsoletes: libc-profile
215 Requires: %{name}-devel = %{version}
218 When programs are being profiled used gprof, they must use these libraries
219 instrad of the standard C libraries for gprof to be able to profile them
222 %description -l de profile
223 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
224 Libraries anstelle der üblichen C-Libraries verwendet werden.
226 %description -l tr profile
227 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
228 kitaplýðý kullanmak zorundadýrlar.
241 --enable-add-ons=crypt,linuxthreads \
247 rm -rf $RPM_BUILD_ROOT
248 install -d $RPM_BUILD_ROOT/{etc/{rc.d/init.d,sysconfig,logrotate.d},%{_mandir}/man3,var/{db,log}}
251 install_root=$RPM_BUILD_ROOT \
252 infodir=%{_infodir} \
255 make install-locales -C localedata \
256 install_root=$RPM_BUILD_ROOT
258 make -C linuxthreads/man
259 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
261 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
263 ln -sf ../../../etc/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
264 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
265 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
266 ln -sf ../../usr/lib/libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
268 rm -f $RPM_BUILD_ROOT/etc/localtime
270 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
271 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/utmpd
272 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/nscd
273 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/utmpd
274 install %{SOURCE7} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
275 install nscd/nscd.conf $RPM_BUILD_ROOT/etc
276 install nss/nsswitch.conf $RPM_BUILD_ROOT/etc
278 install nss/db-Makefile $RPM_BUILD_ROOT/var/db/Makefile
279 :> $RPM_BUILD_ROOT/var/log/nscd
281 cat << EOF > $RPM_BUILD_ROOT/usr/bin/create-db
283 /usr/bin/make -sC /var/db/
286 ln -sf create-db $RPM_BUILD_ROOT%{_bindir}/update-db
289 install -d documentation
291 cp linuxthreads/ChangeLog documentation/ChangeLog.threads
292 cp linuxthreads/Changes documentation/Changes.threads
293 cp linuxthreads/README documentation/README.threads
294 cp crypt/README documentation/README.crypt
296 cp ChangeLog ChangeLog.8 documentation
298 gzip -9fn README NEWS FAQ BUGS NOTES PROJECTS \
299 $RPM_BUILD_ROOT{%{_mandir}/man*/*,%{_infodir}/libc*} \
300 documentation/* login/README.utmpd
302 strip $RPM_BUILD_ROOT/{sbin/*,usr/{sbin/*,bin/*}} ||:
303 strip --strip-unneeded $RPM_BUILD_ROOT/lib/lib*.so.* \
304 $RPM_BUILD_ROOT/usr/lib/gconv/*.so
306 %post -p /sbin/ldconfig
307 %postun -p /sbin/ldconfig
310 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
313 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
316 /sbin/chkconfig --add nscd
317 touch /var/log/nscd && (chown root.root /var/log/nscd ; chmod 640 /var/log/nscd)
318 if [ -f /var/lock/subsys/nscd ]; then
319 /etc/rc.d/init.d/nscd restart 1>&2
321 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
325 if [ "$1" = "0" ]; then
326 /sbin/chkconfig --del nscd
327 /etc/rc.d/init.d/nscd stop 1>&2
331 /sbin/chkconfig --add utmpd
332 if [ -f /var/lock/subsys/utmpd ]; then
333 /etc/rc.d/init.d/utmpd restart 1>&2
335 echo "Run \"/etc/rc.d/init.d/utmpd start\" to start utmpd daemon." 1>&2
339 if [ "$1" = "0" ]; then
340 /sbin/chkconfig --del utmpd
341 /etc/rc.d/init.d/utmpd stop 1>&2
345 rm -rf $RPM_BUILD_ROOT
348 %defattr(644,root,root,755)
349 %doc {README,NEWS,FAQ,BUGS}.gz
351 %config(noreplace) %verify(not mtime md5 size) /etc/nsswitch.conf
354 %attr(755,root,root) /sbin/*
355 %attr(755,root,root) %{_bindir}/catchsegv
356 %attr(755,root,root) %{_bindir}/create-db
357 %attr(755,root,root) %{_bindir}/db_archive
358 %attr(755,root,root) %{_bindir}/db_checkpoint
359 %attr(755,root,root) %{_bindir}/db_deadlock
360 %attr(755,root,root) %{_bindir}/db_dump
361 %attr(755,root,root) %{_bindir}/db_dump185
362 %attr(755,root,root) %{_bindir}/db_load
363 %attr(755,root,root) %{_bindir}/db_printlog
364 %attr(755,root,root) %{_bindir}/db_recover
365 %attr(755,root,root) %{_bindir}/db_stat
366 %attr(755,root,root) %{_bindir}/getent
367 %attr(755,root,root) %{_bindir}/glibcbug
368 %attr(755,root,root) %{_bindir}/ldd
369 %attr(755,root,root) %{_bindir}/lddlibc4
370 %attr(755,root,root) %{_bindir}/locale
371 %attr(755,root,root) %{_bindir}/makedb
372 %attr(755,root,root) %{_bindir}/rpcgen
373 %attr(755,root,root) %{_bindir}/tzselect
374 %attr(755,root,root) %{_bindir}/update-db
376 %attr(755,root,root) %{_sbindir}/rpcinfo
377 %attr(755,root,root) %{_sbindir}/zdump
378 %attr(755,root,root) %{_sbindir}/zic
380 %attr(755,root,root) /lib/ld-*
381 %attr(755,root,root) /lib/lib*
386 %config /var/db/Makefile
389 %defattr(644,root,root,755)
390 %doc documentation/* {NOTES,PROJECTS}.gz
391 %attr(755,root,root) %{_bindir}/gencat
392 %attr(755,root,root) %{_bindir}/getconf
393 %attr(755,root,root) %{_bindir}/mtrace
394 %attr(755,root,root) %{_bindir}/sprof
402 %{_includedir}/netash
403 %{_includedir}/netatalk
404 %{_includedir}/netax25
405 %{_includedir}/neteconet
406 %{_includedir}/netinet
407 %{_includedir}/netipx
408 %{_includedir}/netpacket
409 %{_includedir}/netrom
410 %{_includedir}/netrose
412 %{_includedir}/protocols
414 %{_includedir}/rpcsvc
418 %{_infodir}/libc.inf*.gz
420 %attr(755,root,root) %{_libdir}/lib*.so
421 %attr(755,root,root) %{_libdir}/*.o
422 %{_libdir}/libc_nonshared.a
427 %defattr(644,root,root,755)
428 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/nscd
429 %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) /etc/nscd.*
430 %attr(755,root,root) /etc/rc.d/init.d/nscd
431 %attr(755,root,root) %{_sbindir}/nscd
432 %attr(640,root,root) /etc/logrotate.d/nscd
433 %attr(640,root,root) %ghost /var/log/nscd
436 %defattr(644,root,root,755)
437 %doc login/README.utmpd.gz
438 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/utmpd
439 %attr(755,root,root) /etc/rc.d/init.d/utmpd
440 %attr(755,root,root) %{_sbindir}/utmpd
442 %files -n localedb-src
443 %defattr(644,root,root,755)
444 %attr(755,root,root) %{_bindir}/localedef
448 %defattr(644,root,root,755)
449 %attr(755,root,root) %{_bindir}/iconv
450 %dir %{_libdir}/gconv
451 %{_libdir}/gconv/gconv-modules
452 %attr(755,root,root) %{_libdir}/gconv/*.so
455 %defattr(644,root,root,755)
456 %{_libdir}/libBrokenLocale.a
457 %{_libdir}/libbsd-compat.a
460 %{_libdir}/libcrypt.a
467 %{_libdir}/libmcheck.a
470 %{_libdir}/libposix.a
471 %{_libdir}/libpthread.a
472 %{_libdir}/libresolv.a
473 %{_libdir}/librpcsvc.a
478 %defattr(644,root,root,755)