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 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
202 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/utmpd
203 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/nscd
204 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/utmpd
205 install nscd/nscd.conf $RPM_BUILD_ROOT/etc
206 install nss/nsswitch.conf $RPM_BUILD_ROOT/etc
208 install nss/db-Makefile $RPM_BUILD_ROOT/var/db
210 cat << EOF > $RPM_BUILD_ROOT/usr/bin/create-db
212 /usr/bin/make -f /var/db/db-Makefile
215 ln -sf create-db $RPM_BUILD_ROOT%{_bindir}/update-db
218 install -d documentation
220 cp linuxthreads/ChangeLog documentation/ChangeLog.threads
221 cp linuxthreads/Changes documentation/Changes.threads
222 cp linuxthreads/README documentation/README.threads
223 cp crypt/README documentation/README.crypt
225 cp ChangeLog ChangeLog.8 documentation
227 gzip -9fn README NEWS FAQ BUGS NOTES PROJECTS \
228 $RPM_BUILD_ROOT{%{_mandir}/man*/*,%{_infodir}/libc*} \
229 documentation/* login/README.utmpd
231 strip $RPM_BUILD_ROOT/{sbin/*,usr/{sbin/*,bin/*}} ||:
232 strip --strip-unneeded $RPM_BUILD_ROOT/lib/lib*.so.* \
233 $RPM_BUILD_ROOT/usr/lib/gconv/*.so
235 %post -p /sbin/ldconfig
236 %postun -p /sbin/ldconfig
239 /sbin/install-info %{_infodir}/libc.info.gz /etc/info-dir
242 if [ "$1" = 0 ]; then
243 /sbin/install-info --delete %{_infodir}/libc.info.gz /etc/info-dir
247 /sbin/chkconfig --add nscd
248 if [ -f /var/lock/subsys/nscd ]; then
249 /etc/rc.d/init.d/nscd restart &>/dev/null
251 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon."
255 if [ "$1" = "0" ]; then
256 /sbin/chkconfig --del nscd
257 /etc/rc.d/init.d/nscd stop
261 /sbin/chkconfig --add utmpd
262 if [ -f /var/lock/subsys/utmpd ]; then
263 /etc/rc.d/init.d/utmpd restart
265 echo "Run \"/etc/rc.d/init.d/utmpd start\" to start utmpd daemon."
269 if [ "$1" = "0" ]; then
270 /sbin/chkconfig --del utmpd
271 /etc/rc.d/init.d/utmpd stop
275 rm -rf $RPM_BUILD_ROOT
278 %defattr(644,root,root,755)
279 %doc {README,NEWS,FAQ,BUGS}.gz
281 %config(noreplace) %verify(not mtime md5 size) /etc/nsswitch.conf
284 %attr(755,root,root) /sbin/*
285 %attr(755,root,root) %{_bindir}/*
286 %attr(755,root,root) %{_sbindir}/rpcinfo
287 %attr(755,root,root) %{_sbindir}/zdump
288 %attr(755,root,root) %{_sbindir}/zic
290 %attr(755,root,root) /lib/ld-*
291 %attr(755,root,root) /lib/lib*
293 %dir %{_libdir}/gconv
294 %{_libdir}/gconv/gconv-modules
303 %defattr(644,root,root,755)
304 %doc documentation/* {NOTES,PROJECTS}.gz
312 %{_includedir}/netash
313 %{_includedir}/netatalk
314 %{_includedir}/netax25
315 %{_includedir}/neteconet
316 %{_includedir}/netinet
317 %{_includedir}/netipx
318 %{_includedir}/netpacket
319 %{_includedir}/netrom
320 %{_includedir}/netrose
322 %{_includedir}/protocols
324 %{_includedir}/rpcsvc
328 %{_infodir}/libc.inf*.gz
330 %attr(755,root,root) %{_libdir}/lib*.so
331 %attr(755,root,root) %{_libdir}/*.o
332 %attr(755,root,root) %{_libdir}/gconv/*.so
337 %defattr(644,root,root,755)
338 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/nscd
339 %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) /etc/nscd.*
340 %attr(755,root,root) /etc/rc.d/init.d/nscd
341 %attr(755,root,root) %{_sbindir}/nscd
344 %defattr(644,root,root,755)
345 %doc login/README.utmpd.gz
346 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/utmpd
347 %attr(755,root,root) /etc/rc.d/init.d/utmpd
348 %attr(755,root,root) %{_sbindir}/utmpd
351 %defattr(644,root,root,755)
355 changes from devel and getaddrinfo.patch
357 Revision 1.54 1999/07/12 23:05:57 kloczek
358 - added using CVS keywords in %changelog (for automating them).
362 - added stripping /usr/lib/gconv/*.so modules (it saves next ~300KB),
363 - added glibc-versions.awk_fix.patch (fix using sort in
364 scripts/versions.awk),
366 - permission on rc scripts changed to 754,
367 - removed /var/db (it is in filesystem).
369 * Wed Jun 02 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
370 - added static subpackage,
371 - added {utmpd,nscd}.sysconfig,
372 - fixed %doc && {utmpd,nscd}.init,
373 - macro %configure in use ...
375 * Wed May 26 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
378 - added %post & %pre for utmpd subpackage.
379 - macro %{_target_platform},
383 - pl translation by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>.
386 - spec rewrited by PLD team,
387 we start at GNU libc 2.0.92 one year ago ...
388 - pl translation by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>.