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/
25 Obsoletes: %{name}-profile
26 Obsoletes: %{name}-debug
28 BuildRoot: /tmp/%{name}-%{version}-root
31 Contains the standard libraries that are used by multiple programs on the
32 system. In order to save disk space and memory, as well as to ease upgrades,
33 common system code is kept in one place and shared between programs. This
34 package contains the most important sets of shared libraries, the standard C
35 library and the standard math library. Without these, a Linux system will
36 not function. It also contains national language (locale) support and
40 Enthält die Standard-Libraries, die von verschiedenen Programmen im System
41 benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen und zur
42 Vereinfachung von Upgrades ist der gemeinsame Systemcode an einer einzigen
43 Stelle gespeichert und wird von den Programmen gemeinsam genutzt. Dieses
44 Paket enthält die wichtigsten Sets der shared Libraries, die
45 Standard-C-Library und die Standard-Math-Library, ohne die das Linux-System
46 nicht funktioniert. Ferner enthält es den Support für die verschiedenen
47 Sprachgregionen (locale) und die Zeitzonen-Datenbank.
50 Contient les bibliothèques standards utilisées par de nombreux programmes
51 du système. Afin d'économiser l'espace disque et mémoire, et de faciliter
52 les mises à jour, le code commun au système est mis à un endroit et partagé
53 entre les programmes. Ce paquetage contient les bibliothèques partagées les
54 plus importantes, la bibliothèque standard du C et la bibliothèque
55 mathématique standard. Sans celles-ci, un système Linux ne peut fonctionner.
56 Il contient aussi la gestion des langues nationales (locales) et les bases
57 de données des zones horaires.
60 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne programy
61 w Twoim systemie. U¿ywanie przez programy bibliotek z tego pakietu oszczêdza
62 miejsce na dysku i pamiêæ. Wiekszo¶æ kodu systemowego jest usytuowane w
63 jednym miejscu i dzielone miêdzy wieloma programami. Pakiet ten zawiera
64 bardzo wa¿ny zbiór bibliotek standardowych wspó³dzielonych (dynamicznych)
65 bibliotek C i matematycznych. Bez glibc system Linux nie jest w stanie
66 funkcjonowaæ. Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla
67 wielu jêzyków (locale) oraz definicje stref czasowych.
70 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir. Disk
71 alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme iþlemlerini
72 kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde tutulup programlar
73 arasýnda paylaþtýrýlýr. Bu paket en önemli ortak kitaplýklarý, standart
74 C kitaplýðýný ve standart matematik kitaplýðýný içerir. Bu kitaplýklar olmadan
75 Linux sistemi çalýþmayacaktýr. Yerel dil desteði ve zaman dilimi veri tabaný
76 da bu pakette yer alýr.
79 Summary: Additional libraries required to compile
80 Summary(de): Weitere Libraries zum Kompilieren
81 Summary(fr): Librairies supplémentaires nécessaires à la compilation.
82 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
83 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
84 Group: Development/Libraries
85 Group(pl): Programowanie/Biblioteki
86 Prereq: /sbin/install-info
87 Requires: %{name} = %{version}
90 To develop programs which use the standard C libraries (which nearly all
91 programs do), the system needs to have these standard header files and object
92 files available for creating the executables.
94 %description -l de devel
95 Bei der Entwicklung von Programmen, die die Standard-C-Libraries verwenden
96 (also fast alle), benötigt das System diese Standard-Header- und Objektdateien
97 zum Erstellen der ausführbaren Programme.
99 %description -l fr devel
100 Pour développer des programmes utilisant les bibliothèques standard du C
101 (ce que presque tous les programmes font), le système doit posséder ces
102 fichiers en-têtes et objets standards pour créer les exécutables.
104 %description -l pl devel
105 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów korzystaj±cych
106 ze standardowej biblioteki C. Znajduj± siê tutaj pliki nag³ówkowe oraz pliki
107 objektowe, niezbêdne do kompilacji programów wykonywalnych i innych bibliotek.
109 %description -l tr devel
110 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
111 geliþtirmek için gereken standart baþlýk dosyalarý ve statik kitaplýklar.
114 Summary: Name Service Caching Daemon
115 Summary(pl): Name Service Caching Daemon
116 Group: Networnikng/Daemons
117 Group: Sieciowe/Serwery
118 Prereq: /sbin/chkconfig
121 nscd caches name service lookups; it can dramatically improve performance
122 with NIS+, and may help with DNS as well.
124 You cannot use nscd with 2.0 kernels, due to bugs in the kernel-side thread
125 support. nscd happens to hit these bugs particularly hard.
127 %description -n nscd -l pl
128 nscd zapmiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala drastycznie
129 poprawiæ szybko¶æ dzia³ania NIS+.
131 Nie jest mo¿liwe u¿ywanie nscd z j±drami serii 2.0.x z powodu b³adów
132 po stronie j±dra w ods³udze w±tków.
135 Summary: utmp and utmpx synchronizer for libc5 applications.
136 Summary(pl): Synchrnnizuje zapis do plików utmp i utmpx.
139 Prereq: /sbin/chkconfig
141 %description -n utmpd
142 utmpd is a utmp and utmpx synchronizer. Is only needed for libc5 based
143 program with utmp access.
145 %description -n utmpd -l pl
146 utmpd stara siê utrzymaæ tak± sam± zawarto¶æ plików
147 /var/run/utmp i /var/run/utmpx. Potrzebny jest tylko w przypadku korzystania
148 ze starszych programów (bazuj±cych na libc5).
151 Summary: Static libraries
152 Summary(pl): Biblioteki statyczne
153 Group: Development/Libraries
154 Group(pl): Programowanie/Biblioteki
155 Requires: %{name}-devel = %{version}
158 GNU libc-2.1 Static libraries
160 %description -l pl static
161 GNU libc-2.1 Static libraries
171 --enable-add-ons=crypt,linuxthreads \
174 --infodir=%{_infodir} \
179 rm -rf $RPM_BUILD_ROOT
180 install -d $RPM_BUILD_ROOT/{etc/{rc.d/init.d,sysconfig},%{_mandir}/man3,var/db}
183 install_root=$RPM_BUILD_ROOT \
184 infodir=%{_infodir} \
187 make install-locales -C localedata \
188 install_root=$RPM_BUILD_ROOT
190 make -C linuxthreads/man
191 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
193 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules}
195 ln -sf ../../../etc/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
196 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
197 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
198 ln -sf ../../usr/lib/libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
200 rm -f $RPM_BUILD_ROOT/etc/localtime
202 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
203 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/utmpd
204 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/nscd
205 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/utmpd
206 install nscd/nscd.conf $RPM_BUILD_ROOT/etc
207 install nss/nsswitch.conf $RPM_BUILD_ROOT/etc
209 install nss/db-Makefile $RPM_BUILD_ROOT/var/db
211 cat << EOF > $RPM_BUILD_ROOT/usr/bin/create-db
213 /usr/bin/make -f /var/db/db-Makefile
216 ln -sf create-db $RPM_BUILD_ROOT%{_bindir}/update-db
219 install -d documentation
221 cp linuxthreads/ChangeLog documentation/ChangeLog.threads
222 cp linuxthreads/Changes documentation/Changes.threads
223 cp linuxthreads/README documentation/README.threads
224 cp crypt/README documentation/README.crypt
226 cp ChangeLog ChangeLog.8 documentation
228 gzip -9fn README NEWS FAQ BUGS NOTES PROJECTS \
229 $RPM_BUILD_ROOT{%{_mandir}/man*/*,%{_infodir}/libc*} \
230 documentation/* login/README.utmpd
232 strip $RPM_BUILD_ROOT/{sbin/*,usr/{sbin/*,bin/*}} ||:
233 strip --strip-unneeded $RPM_BUILD_ROOT/lib/lib*.so.* \
234 $RPM_BUILD_ROOT/usr/lib/gconv/*.so
236 %post -p /sbin/ldconfig
237 %postun -p /sbin/ldconfig
240 /sbin/install-info %{_infodir}/libc.info.gz /etc/info-dir
243 if [ "$1" = 0 ]; then
244 /sbin/install-info --delete %{_infodir}/libc.info.gz /etc/info-dir
248 /sbin/chkconfig --add nscd
249 if [ -f /var/lock/subsys/nscd ]; then
250 /etc/rc.d/init.d/nscd restart &>/dev/null
252 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon."
256 if [ "$1" = "0" ]; then
257 /sbin/chkconfig --del nscd
258 /etc/rc.d/init.d/nscd stop
262 /sbin/chkconfig --add utmpd
263 if [ -f /var/lock/subsys/utmpd ]; then
264 /etc/rc.d/init.d/utmpd restart
266 echo "Run \"/etc/rc.d/init.d/utmpd start\" to start utmpd daemon."
270 if [ "$1" = "0" ]; then
271 /sbin/chkconfig --del utmpd
272 /etc/rc.d/init.d/utmpd stop
276 rm -rf $RPM_BUILD_ROOT
279 %defattr(644,root,root,755)
280 %doc {README,NEWS,FAQ,BUGS}.gz
282 %config(noreplace) %verify(not mtime md5 size) /etc/nsswitch.conf
285 %attr(755,root,root) /sbin/*
286 %attr(755,root,root) %{_bindir}/*
287 %attr(755,root,root) %{_sbindir}/rpcinfo
288 %attr(755,root,root) %{_sbindir}/zdump
289 %attr(755,root,root) %{_sbindir}/zic
291 %attr(755,root,root) /lib/ld-*
292 %attr(755,root,root) /lib/lib*
294 %dir %{_libdir}/gconv
295 %{_libdir}/gconv/gconv-modules
304 %defattr(644,root,root,755)
305 %doc documentation/* {NOTES,PROJECTS}.gz
313 %{_includedir}/netash
314 %{_includedir}/netatalk
315 %{_includedir}/netax25
316 %{_includedir}/neteconet
317 %{_includedir}/netinet
318 %{_includedir}/netipx
319 %{_includedir}/netpacket
320 %{_includedir}/netrom
321 %{_includedir}/netrose
323 %{_includedir}/protocols
325 %{_includedir}/rpcsvc
329 %{_infodir}/libc.inf*.gz
331 %attr(755,root,root) %{_libdir}/lib*.so
332 %attr(755,root,root) %{_libdir}/*.o
333 %attr(755,root,root) %{_libdir}/gconv/*.so
338 %defattr(644,root,root,755)
339 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/nscd
340 %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) /etc/nscd.*
341 %attr(755,root,root) /etc/rc.d/init.d/nscd
342 %attr(755,root,root) %{_sbindir}/nscd
345 %defattr(644,root,root,755)
346 %doc login/README.utmpd.gz
347 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/utmpd
348 %attr(755,root,root) /etc/rc.d/init.d/utmpd
349 %attr(755,root,root) %{_sbindir}/utmpd
352 %defattr(644,root,root,755)