12 Source0: ftp://sourceware.cygnus.com/pub/glibc/%{name}-%{version}.tar.gz
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-%{version}.tar.gz
17 Source5: utmpd.sysconfig
18 Source6: nscd.sysconfig
19 Patch0: glibc-info.patch
20 Patch1: glibc-paths.patch
21 Patch2: glibc-versions.awk_fix.patch
22 URL: http://www.gnu.org/software/libc/
24 Obsoletes: %{name}-profile
25 Obsoletes: %{name}-debug
27 BuildRoot: /tmp/%{name}-%{version}-root
30 Contains the standard libraries that are used by multiple programs on the
31 system. In order to save disk space and memory, as well as to ease upgrades,
32 common system code is kept in one place and shared between programs. This
33 package contains the most important sets of shared libraries, the standard C
34 library and the standard math library. Without these, a Linux system will
35 not function. It also contains national language (locale) support and
39 Enthält die Standard-Libraries, die von verschiedenen Programmen im System
40 benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen und zur
41 Vereinfachung von Upgrades ist der gemeinsame Systemcode an einer einzigen
42 Stelle gespeichert und wird von den Programmen gemeinsam genutzt. Dieses
43 Paket enthält die wichtigsten Sets der shared Libraries, die
44 Standard-C-Library und die Standard-Math-Library, ohne die das Linux-System
45 nicht funktioniert. Ferner enthält es den Support für die verschiedenen
46 Sprachgregionen (locale) und die Zeitzonen-Datenbank.
49 Contient les bibliothèques standards utilisées par de nombreux programmes
50 du système. Afin d'économiser l'espace disque et mémoire, et de faciliter
51 les mises à jour, le code commun au système est mis à un endroit et partagé
52 entre les programmes. Ce paquetage contient les bibliothèques partagées les
53 plus importantes, la bibliothèque standard du C et la bibliothèque
54 mathématique standard. Sans celles-ci, un système Linux ne peut fonctionner.
55 Il contient aussi la gestion des langues nationales (locales) et les bases
56 de données des zones horaires.
59 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne programy
60 w Twoim systemie. U¿ywanie przez programy bibliotek z tego pakietu oszczêdza
61 miejsce na dysku i pamiêæ. Wiekszo¶æ kodu systemowego jest usytuowane w
62 jednym miejscu i dzielone miêdzy wieloma programami. Pakiet ten zawiera
63 bardzo wa¿ny zbiór bibliotek standardowych wspó³dzielonych (dynamicznych)
64 bibliotek C i matematycznych. Bez glibc system Linux nie jest w stanie
65 funkcjonowaæ. Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla
66 wielu jêzyków (locale) oraz definicje stref czasowych.
69 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir. Disk
70 alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme iþlemlerini
71 kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde tutulup programlar
72 arasýnda paylaþtýrýlýr. Bu paket en önemli ortak kitaplýklarý, standart
73 C kitaplýðýný ve standart matematik kitaplýðýný içerir. Bu kitaplýklar olmadan
74 Linux sistemi çalýþmayacaktýr. Yerel dil desteði ve zaman dilimi veri tabaný
75 da bu pakette yer alýr.
78 Summary: Additional libraries required to compile
79 Summary(de): Weitere Libraries zum Kompilieren
80 Summary(fr): Librairies supplémentaires nécessaires à la compilation.
81 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
82 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
83 Group: Development/Libraries
84 Group(pl): Programowanie/Biblioteki
85 Prereq: /sbin/install-info
86 Requires: %{name} = %{version}
89 To develop programs which use the standard C libraries (which nearly all
90 programs do), the system needs to have these standard header files and object
91 files available for creating the executables.
93 %description -l de devel
94 Bei der Entwicklung von Programmen, die die Standard-C-Libraries verwenden
95 (also fast alle), benötigt das System diese Standard-Header- und Objektdateien
96 zum Erstellen der ausführbaren Programme.
98 %description -l fr devel
99 Pour développer des programmes utilisant les bibliothèques standard du C
100 (ce que presque tous les programmes font), le système doit posséder ces
101 fichiers en-têtes et objets standards pour créer les exécutables.
103 %description -l pl devel
104 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów korzystaj±cych
105 ze standardowej biblioteki C. Znajduj± siê tutaj pliki nag³ówkowe oraz pliki
106 objektowe, niezbêdne do kompilacji programów wykonywalnych i innych bibliotek.
108 %description -l tr devel
109 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
110 geliþtirmek için gereken standart baþlýk dosyalarý ve statik kitaplýklar.
113 Summary: Name Service Caching Daemon
114 Summary(pl): Name Service Caching Daemon
115 Group: Networnikng/Daemons
116 Group: Sieciowe/Serwery
117 Prereq: /sbin/chkconfig
120 nscd caches name service lookups; it can dramatically improve performance
121 with NIS+, and may help with DNS as well.
123 You cannot use nscd with 2.0 kernels, due to bugs in the kernel-side thread
124 support. nscd happens to hit these bugs particularly hard.
126 %description -n nscd -l pl
127 nscd zapmiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala drastycznie
128 poprawiæ szybko¶æ dzia³ania NIS+.
130 Nie jest mo¿liwe u¿ywanie nscd z j±drami serii 2.0.x z powodu b³adów
131 po stronie j±dra w ods³udze w±tków.
134 Summary: utmp and utmpx synchronizer for libc5 applications.
135 Summary(pl): Synchrnnizuje zapis do plików utmp i utmpx.
138 Prereq: /sbin/chkconfig
140 %description -n utmpd
141 utmpd is a utmp and utmpx synchronizer. Is only needed for libc5 based
142 program with utmp access.
144 %description -n utmpd -l pl
145 utmpd stara siê utrzymaæ tak± sam± zawarto¶æ plików
146 /var/run/utmp i /var/run/utmpx. Potrzebny jest tylko w przypadku korzystania
147 ze starszych programów (bazuj±cych na libc5).
150 Summary: Static libraries
151 Summary(pl): Biblioteki statyczne
152 Group: Development/Libraries
153 Group(pl): Programowanie/Biblioteki
154 Requires: %{name}-devel = %{version}
157 GNU libc-2.1 Static libraries
159 %description -l pl static
160 GNU libc-2.1 Static libraries
170 --enable-add-ons=crypt,linuxthreads \
173 --infodir=%{_infodir} \
178 rm -rf $RPM_BUILD_ROOT
179 install -d $RPM_BUILD_ROOT/{etc/{rc.d/init.d,sysconfig},%{_mandir}/man3,var/db}
182 install_root=$RPM_BUILD_ROOT \
183 infodir=%{_infodir} \
186 make install-locales -C localedata \
187 install_root=$RPM_BUILD_ROOT
189 make -C linuxthreads/man
190 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
192 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
194 ln -sf ../../../etc/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
195 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
196 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
197 ln -sf ../../usr/lib/libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
199 rm -f $RPM_BUILD_ROOT/etc/localtime
201 strip $RPM_BUILD_ROOT/{sbin/*,usr/{sbin/*,bin/*}} ||:
202 strip strip--unneeded $RPM_BUILD_ROOT/lib/*.so.*
204 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
205 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/utmpd
206 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/nscd
207 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/utmpd
208 install nscd/nscd.conf $RPM_BUILD_ROOT/etc
209 install nss/nsswitch.conf $RPM_BUILD_ROOT/etc
211 install nss/db-Makefile $RPM_BUILD_ROOT/var/db
213 cat << EOF > $RPM_BUILD_ROOT/usr/bin/create-db
215 /usr/bin/make -f /var/db/db-Makefile
218 ln -sf create-db $RPM_BUILD_ROOT%{_bindir}/update-db
221 install -d documentation
223 cp linuxthreads/ChangeLog documentation/ChangeLog.threads
224 cp linuxthreads/Changes documentation/Changes.threads
225 cp linuxthreads/README documentation/README.threads
226 cp crypt/README documentation/README.crypt
228 cp ChangeLog ChangeLog.8 documentation
230 gzip -9fn README NEWS FAQ BUGS NOTES PROJECTS \
231 $RPM_BUILD_ROOT{%{_mandir}/man*/*,%{_infodir}/libc*} \
232 documentation/* login/README.utmpd
234 %post -p /sbin/ldconfig
235 %postun -p /sbin/ldconfig
238 /sbin/install-info %{_infodir}/libc.info.gz /etc/info-dir
241 if [ "$1" = 0 ]; then
242 /sbin/install-info --delete %{_infodir}/libc.info.gz /etc/info-dir
246 /sbin/chkconfig --add nscd
247 if [ -f /var/lock/subsys/nscd ]; then
248 /etc/rc.d/init.d/nscd restart &>/dev/null
250 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon."
254 if [ "$1" = "0" ]; then
255 /sbin/chkconfig --del nscd
256 /etc/rc.d/init.d/nscd stop &>/dev/null
260 /sbin/chkconfig --add utmpd
262 if [ -f /var/lock/subsys/utmpd ]; then
263 /etc/rc.d/init.d/utmpd restart &>/dev/null
267 if [ "$1" = "0" ]; then
268 /sbin/chkconfig --del utmpd
269 /etc/rc.d/init.d/utmpd stop &>/dev/null
273 rm -rf $RPM_BUILD_ROOT
276 %defattr(644,root,root,755)
277 %doc {README,NEWS,FAQ,BUGS}.gz
279 %config(noreplace) %verify(not mtime md5 size) /etc/nsswitch.conf
282 %attr(755,root,root) /sbin/*
283 %attr(755,root,root) %{_bindir}/*
284 %attr(755,root,root) %{_sbindir}/rpcinfo
285 %attr(755,root,root) %{_sbindir}/zdump
286 %attr(755,root,root) %{_sbindir}/zic
288 %attr(755,root,root) /lib/ld-*
289 %attr(755,root,root) /lib/lib*
291 %dir %{_libdir}/gconv
292 %{_libdir}/gconv/gconv-modules
301 %defattr(644,root,root,755)
302 %doc documentation/* {NOTES,PROJECTS}.gz
310 %{_includedir}/netash
311 %{_includedir}/netatalk
312 %{_includedir}/netax25
313 %{_includedir}/neteconet
314 %{_includedir}/netinet
315 %{_includedir}/netipx
316 %{_includedir}/netpacket
317 %{_includedir}/netrom
318 %{_includedir}/netrose
320 %{_includedir}/protocols
322 %{_includedir}/rpcsvc
326 %{_infodir}/libc.inf*.gz
328 %attr(755,root,root) %{_libdir}/lib*.so
329 %attr(755,root,root) %{_libdir}/*.o
330 %attr(755,root,root) %{_libdir}/gconv/*.so
335 %defattr(644,root,root,755)
336 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/nscd
337 %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) /etc/nscd.*
338 %attr(755,root,root) /etc/rc.d/init.d/nscd
339 %attr(755,root,root) %{_sbindir}/nscd
342 %defattr(644,root,root,755)
343 %doc login/README.utmpd.gz
344 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/utmpd
345 %attr(755,root,root) /etc/rc.d/init.d/utmpd
346 %attr(755,root,root) %{_sbindir}/utmpd
349 %defattr(644,root,root,755)
353 changes from devel and getaddrinfo.patch
355 - added using CVS keywords in %changelog (for automating them).
358 - added stripping /usr/lib/gconv/*.so modules (it saves next ~300KB),
359 - added glibc-versions.awk_fix.patch (fix using sort in
360 scripts/versions.awk),
362 - permission on rc scripts changed to 754,
363 - removed /var/db (it is in filesystem).
365 * Wed Jun 02 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
366 - added static subpackage,
367 - added {utmpd,nscd}.sysconfig,
368 - fixed %doc && {utmpd,nscd}.init,
369 - macro %configure in use ...
371 * Wed May 26 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
374 - added %post & %pre for utmpd subpackage.
375 - macro %{_target_platform},
379 - pl translation by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>. [2.1.1-1]
381 - spec rewrited by PLD team,
382 we start at GNU libc 2.0.92 one year ago ...
383 - pl translation by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>.