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: ftp://sourceware.cygnus.com/pub/glibc/%{name}-crypt-2.0.111.tar.gz
17 Patch0: glibc-info.patch
18 URL: http://www.gnu.org/software/libc/
19 BuildRoot: /tmp/%{name}-%{version}-root
21 Obsoletes: %{name}-profile
22 Obsoletes: %{name}-debug
26 Contains the standard libraries that are used by multiple programs on
27 the system. In order to save disk space and memory, as well as to
28 ease upgrades, common system code is kept in one place and shared between
29 programs. This package contains the most important sets of shared libraries,
30 the standard C library and the standard math library. Without these, a
31 Linux system will not function. It also contains national language (locale)
32 support and timezone databases.
35 Enthält die Standard-Libraries, die von verschiedenen Programmen im System
36 benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen und zur
37 Vereinfachung von Upgrades ist der gemeinsame Systemcode an einer einzigen
38 Stelle gespeichert und wird von den Programmen gemeinsam genutzt. Dieses
39 Paket enthält die wichtigsten Sets der shared Libraries, die
40 Standard-C-Library und die Standard-Math-Library, ohne die das Linux-System
41 nicht funktioniert. Ferner enthält es den Support für die verschiedenen
42 Sprachgregionen (locale) und die Zeitzonen-Datenbank.
45 Contient les bibliothèques standards utilisées par de nombreux programmes
46 du système. Afin d'économiser l'espace disque et mémoire, et de faciliter
47 les mises à jour, le code commun au système est mis à un endroit et partagé
48 entre les programmes. Ce paquetage contient les bibliothèques partagées les
49 plus importantes, la bibliothèque standard du C et la bibliothèque
50 mathématique standard. Sans celles-ci, un système Linux ne peut fonctionner.
51 Il contient aussi la gestion des langues nationales (locales) et les bases
52 de données des zones horaires.
55 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne programy
56 w Twoim systemie. U¿ywanie przez programy bibliotek z tego pakietu oszczêdza
57 miejsce na dysku i pamiêæ. Wiekszo¶æ kodu systemowego jest usytuowane w
58 jednym miejscu i dzielone miêdzy wieloma programami. Pakiet ten zawiera
59 bardzo wa¿ny zbiór bibliotek standardowych wspó³dzielonych (dynamicznych)
60 bibliotek C i matematycznych. Bez glibc system Linux nie jest w stanie
61 funkcjonowaæ. Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla
62 wielu jêzyków (locale) oraz definicje stref czasowych.
65 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir. Disk
66 alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme iþlemlerini
67 kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde tutulup programlar
68 arasýnda paylaþtýrýlýr. Bu paket en önemli ortak kitaplýklarý, standart
69 C kitaplýðýný ve standart matematik kitaplýðýný içerir. Bu kitaplýklar olmadan
70 Linux sistemi çalýþmayacaktýr. Yerel dil desteði ve zaman dilimi veri tabaný
71 da bu pakette yer alýr.
74 Summary: Additional libraries required to compile
75 Summary(de): Weitere Libraries zum Kompilieren
76 Summary(fr): Librairies supplémentaires nécessaires à la compilation.
77 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
78 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
79 Group: Development/Libraries
80 Group(pl): Programowanie/Biblioteki
81 Prereq: /sbin/install-info
82 Requires: %{name} = %{version}
85 To develop programs which use the standard C libraries (which nearly all
86 programs do), the system needs to have these standard header files and object
87 files available for creating the executables.
89 %description -l de devel
90 Bei der Entwicklung von Programmen, die die Standard-C-Libraries verwenden
91 (also fast alle), benötigt das System diese Standard-Header- und Objektdateien
92 zum Erstellen der ausführbaren Programme.
94 %description -l fr devel
95 Pour développer des programmes utilisant les bibliothèques standard du C
96 (ce que presque tous les programmes font), le système doit posséder ces
97 fichiers en-têtes et objets standards pour créer les exécutables.
99 %description -l pl devel
100 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów korzystaj±cych
101 ze standardowej biblioteki C. Znajduj± siê tutaj pliki nag³ówkowe oraz pliki
102 objektowe, niezbêdne do kompilacji programów wykonywalnych i innych bibliotek.
104 %description -l tr devel
105 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
106 geliþtirmek için gereken standart baþlýk dosyalarý ve statik kitaplýklar.
112 install -d sunrpc/cpp; ln -s /lib/cpp sunrpc/cpp/cpp
113 CFLAGS="$RPM_OPT_FLAGS -pipe" \
115 --enable-add-ons=crypt,linuxthreads \
122 rm -rf $RPM_BUILD_ROOT
123 install -d $RPM_BUILD_ROOT/{etc/rc.d/init.d,usr/man/man3,var/db}
125 make install_root=$RPM_BUILD_ROOT install
126 make install_root=$RPM_BUILD_ROOT install-locales -C localedata
128 make -C linuxthreads/man
129 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT/usr/man/man3
131 rm -rf $RPM_BUILD_ROOT/usr/share/zoneinfo/{localtime,posixtime,posixrules}
133 ln -sf ../src/linux/include/linux $RPM_BUILD_ROOT/usr/include/linux
134 ln -sf ../src/linux/include/asm $RPM_BUILD_ROOT/usr/include/asm
136 ln -sf ../../../etc/localtime $RPM_BUILD_ROOT/usr/share/zoneinfo/localtime
137 ln -sf localtime $RPM_BUILD_ROOT/usr/share/zoneinfo/posixtime
138 ln -sf localtime $RPM_BUILD_ROOT/usr/share/zoneinfo/posixrules
139 ln -sf ../../usr/lib/libbsd-compat.a $RPM_BUILD_ROOT/usr/lib/libbsd.a
141 rm -f $RPM_BUILD_ROOT/etc/localtime
143 install %{SOURCE3} $RPM_BUILD_ROOT/etc/nsswitch.conf
145 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
146 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/utmpd
148 install nscd/nscd.conf $RPM_BUILD_ROOT/etc
149 install nss/nsswitch.conf $RPM_BUILD_ROOT/etc
151 install nss/db-Makefile $RPM_BUILD_ROOT/var/db
153 cat << EOF > $RPM_BUILD_ROOT/usr/bin/create-db
155 /usr/bin/make -f /var/db/db-Makefile
158 ln -sf create-db $RPM_BUILD_ROOT/usr/bin/update-db
161 install -d documentation
163 cp linuxthreads/ChangeLog documentation/ChangeLog.threads
164 cp linuxthreads/Changes documentation/Changes.threads
165 cp linuxthreads/README documentation/README.threads
166 cp login/README.utmpd documentation/
167 cp crypt/README documentation/README.crypt
169 cp ChangeLog ChangeLog.8 documentation
171 bzip2 -9 documentation/*
173 strip $RPM_BUILD_ROOT/{sbin/*,usr/{bin/*,sbin/*}} || :
174 strip --strip-debug $RPM_BUILD_ROOT/lib/lib*so
176 bzip2 -9 README NEWS FAQ BUGS NOTES PROJECTS
177 gzip -9fn $RPM_BUILD_ROOT/usr/{man/man*/*,info/libc*}
179 %post -p /sbin/ldconfig
180 %postun -p /sbin/ldconfig
183 /sbin/install-info /usr/info/libc.info.gz /etc/info-dir
186 if [ "$1" = 0 ]; then
187 /sbin/install-info --delete /usr/info/libc.info.gz /etc/info-dir
191 rm -rf $RPM_BUILD_ROOT
194 %defattr(644,root,root,755)
195 %doc README.bz2 NEWS.bz2 FAQ.bz2 BUGS.bz2
197 %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) /etc/nscd.*
198 %config(noreplace) %verify(not mtime md5 size) /etc/nsswitch.conf
200 %attr(754,root,root) /etc/rc.d/init.d/*
202 %attr(755,root,root) /sbin/*
203 %attr(755,root,root) /usr/bin/*
204 %attr(755,root,root) /usr/sbin/*
206 %attr(755,root,root) /lib/ld-*
207 %attr(755,root,root) /lib/lib*
210 /usr/lib/gconv/gconv-modules
216 %attr(750,root,root) %dir /var/db
220 %defattr(644,root,root,755)
221 %doc documentation/* NOTES.bz2 PROJECTS.bz2
230 /usr/include/netatalk
232 /usr/include/neteconet
235 /usr/include/netpacket
239 /usr/include/protocols
245 /usr/info/libc.inf*.gz
247 %attr(755,root,root) /usr/lib/lib*.so
251 %attr(755,root,root) /usr/lib/gconv/*.so
255 * Mon Feb 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
257 - removed man group from man pages,
258 - standarized {un}registering info pages (added libc-info.patch),
259 - changed base source url to ftp://sourceware.cygnus.com/pub/glibc/,
261 - siplifications in %files devel,
262 - Group in devel changed to Development/Libraries,
263 - removed some %doc (INSTALL and outdated ChangeLog),
264 - removed %config and %verify rules fromn /etc/rc.d/init.d/* files,
265 - changed permission to 754 on /etc/rc.d/init.d/*,
266 - added striping shared libraries.
268 * Sun Feb 14 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
270 - updated to stable version,
271 - fixed stripping ELF binaries,
272 - removed obsoletes /usr/include/{asm,linux}
274 * Fri Jan 29 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
276 - updated to latest snapshoot,
277 - added utmpd.init, (don't run this piece of ... by default)
278 - added /var/db, (don't generate a data base by default)
279 - removed unused /usr/libexec/pt_ch*
282 * Sat Nov 07 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
284 - updated to latest snapshoot,
285 - added install-locales,
288 * Tue Oct 13 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
291 - added Obsoletes: glibc-debug, glibc-profile
293 * Thu Aug 06 1998 Wojtek ¦lusarczyk <wojtek@SHADOW.EU.ORG>
296 - translation modified for pl,
297 (follow the suggestions Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>)
299 (rewrote invalid spec file -- follow the PLD policy)
301 * Wed Jul 16 1998 Wojtek ¦lusarczyk <wojtek@SHADOW.EU.ORG>
303 - added nscd.init and config
304 - fixed permision of pt_chown to 4711
306 - moved linux include links from kernel-headers to glibc-devel
308 * Tue Jun 2 1998 Wojtek Slusarczyk <wojtek@SHADOW.EU.ORG>
310 - updated to glibc 2.0.94
312 * Sun May 24 1998 Marcin Korzonek <mkorz@euler.mat.univ.szczecin.pl>
314 - updated for glibc 2.0.93
315 - build prepare for PLD-1.1 Tornado
316 - removed glibc-debug and glibc-profile packages generation (it took too
317 long to compile the full featured version on my home linux box ;)
318 - compilation is now performed in compile directory as advised
321 * Tue Mar 31 1998 Cristian Gafton <gafton@redhat.com>
322 - more patches to fix dlopen()/dlclose problems
324 * Tue Mar 24 1998 Cristian Gafton <gafton@redhat.com>
325 - fixed a dlclose() problem.
326 - updated the cvs snapshot
328 * Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com>
329 - need a fairly recent version of texinfo (3.11 or later). Handle this
330 through a Conflicts: header for the glibc-devel package
332 * Sat Mar 14 1998 Cristian Gafton <gafton@redhat.com>
333 - new package versioning for snapshots
335 * Sat Mar 14 1998 Cristian Gafton <gafton@redhat.com>
337 - fixed a localedef bug
338 - reverted some changes in the new localedata ru_RU that caused locale files
339 to be built incorrectly.
341 * Wed Mar 04 1998 Cristian Gafton <gafton@redhat.com>
342 - downgraded kernel headers to 2.1.76. tty changes in more recent kernels
343 require too many programs to be recompiled against the new glibc.
344 - upgraded the dlfix patch for dlopen() to handle large shared objects
345 - updated the fix patch to make the source compile on alpha
346 - the new sources require binutils 2.8.1.0.21 or later to compile on alpha
347 - updated snapshot; lots of patches obsoleted
348 - added a patch to buold & install the localedata files correctly
349 - added yet another patch from H.J.Lu
351 * Sat Feb 28 1998 Cristian Gafton <gafton@redhat.com>
352 - updated the snapshot
353 - upgraded the kernel headers to 2.1.88
354 - replaced the full kernel source with a homebrew
355 linux-include-2.1.88.tar.gz (it was way too hard to maintain glibc from
356 home over my modem...)
358 * Wed Feb 18 1998 Cristian Gafton <gafton@redhat.com>
359 - added a dl-open fix for the RTLD_GLOBAL flag
361 * Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com>
362 - upgraded to 2.0.7pre1
363 - modified spec file to include linuxthreads man pages and documentation
365 * Wed Jan 28 1998 Erik Troan <ewt@redhat.com>
366 - don't believe LD_PRELOAD if the app is setuid root
368 * Tue Jan 27 1998 Cristian Gafton <gafton@redhat.com>
369 - added (what else ?) more patches from Andreas Jaeger, Andreas Schwab,
370 Ulrich Drepper and H J Lu
372 * Fri Jan 16 1998 Cristian Gafton <gafton@redhat.com>
373 - added nss patch to fix a problem of ignoring the NSS_STATUS_TRYAGAIN
374 return value from the modules by getXXbyYY_r and getXXent_r functions
375 - added another patch for the nss_db from Andreas Schwab
377 * Wed Jan 14 1998 Cristian Gafton <gafton@redhat.com>
378 - added a patch to fix the problems with the nss_db lookups from Andreas
380 - added a patch to fix lookup problems with large entries (errno not being
382 - added another two tiny patches from Andreas Jaeger
383 - added a header patch for the net/if.h file which failed to #define
385 - fixed obsoletes header for linuxthreads
386 - added a patch for locale on big endian machines from Andreas Schwab
387 - added a config patch from Andreas Jaeger
389 * Wed Jan 7 1998 Cristian Gafton <gafton@redhat.com>
390 - figured out how to handle newer kernels on alpha - back to 2.1.76
391 - added a patch to address case-sensitve hosts and aliases lookup brokeness
392 - re-added the patch for alpha/net/route.h, which somehow escaped the
394 - added the threads and thread-signal patches from Andreas Jaeger
396 * Mon Dec 29 1997 Cristian Gafton <gafton@redhat.com>
397 - finally 2.0.6 final release is here...
398 - reverted to kernel headers 2.1.60. Although the latest one available
399 should be used (2.1.76 at the moment), the new kernel headers break
400 compilation on alpha (due to the rename of the __NR_sigaction to
401 __NR_old_osf_sigaction). In two days I haven't figured out the correct
402 place to modify this on glibc sources, so...
404 * Thu Dec 25 1997 Cristian Gafton <gafton@redhat.com>
407 * Tue Dec 23 1997 Cristian Gafton <gafton@redhat.com>
409 - added NIS patch fix
411 * Mon Dec 15 1997 Cristian Gafton <gafton@redhat.com>
412 - added security patch
414 * Fri Dec 12 1997 Cristian Gafton <gafton@redhat.com>
415 - updated to 2.0.6pre4
416 - cleaned up the spec file
418 * Sun Nov 09 1997 Erik Troan <ewt@redhat.com>
419 - added setlocale patch from Ulrich
421 * Wed Nov 05 1997 Erik Troan <ewt@redhat.com>
422 - added new glob.c from Ulrich
424 * Wed Oct 29 1997 Erik Troan <ewt@redhat.com>
425 - fixed timezone patch
427 * Tue Oct 28 1997 Erik Troan <ewt@redhat.com>
428 - added patch to fix sense on timezone global
430 * Sat Oct 25 1997 Erik Troan <ewt@redhat.com>
431 - build against included kernel headers
432 - added ld.so patch from ulrich
434 * Fri Oct 24 1997 Erik Troan <ewt@redhat.com>
435 - added documentation files as %doc
436 - improved obsoletes list
438 * Thu Oct 16 1997 Erik Troan <ewt@redhat.com>
439 - added patch to fix nfs inet_ntoa() memory leak
440 - create proper sysdeps/alpha/Implies
441 - create configparms w/ a here doc, not a separate patch file
443 * Thu Oct 09 1997 Erik Troan <ewt@redhat.com>
444 - added patch from Ulrich for rcmd() w/ IP number
446 * Tue Sep 16 1997 Erik Troan <ewt@redhat.com>
447 - added obsolete entries
449 * Mon Sep 15 1997 Erik Troan <ewt@redhat.com>
450 - removed /usr/info/dir
451 - added support for install-info for devel package
453 * Wed Sep 10 1997 Erik Troan <ewt@redhat.com>
456 * Wed Sep 10 1997 Erik Troan <ewt@redhat.com>
457 - added getcwd() fix from Ulrich
458 - changed datadir to default /usr/share instead of /usr/lib
460 * Mon Sep 01 1997 Erik Troan <ewt@redhat.com>
461 - fixed some symlinks (which broke due to the buildroot)
463 * Thu Aug 28 1997 Erik Troan <ewt@redhat.com>
464 - removed extrneous symlinks invocation
465 - removed /etc/localtime from filelist
467 * Wed Aug 27 1997 Erik Troan <ewt@redhat.com>
468 - added patch to tcp.h from Ulrich
470 * Wed Aug 27 1997 Erik Troan <ewt@redhat.com>
472 - removed zic symlink hack
474 * Sat Aug 23 1997 Erik Troan <ewt@redhat.com>
475 - minor hack for alpha (won't be necessary in next release)
476 - switched to use a build root
477 - dynamically builds file lists
479 * Tue Aug 19 1997 Erik Troan <ewt@redhat.com>
480 - 1) Updated to glibc 2.0.5pre5 (version of package is 2.0.4.9)
482 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
483 - 1) Updated to glibc 2.0.4
485 * Thu May 15 1997 Erik Troan <ewt@redhat.com>
486 - 1) Updated to glibc 2.0.3, builds glibc on Intel as well.
488 * Tue Feb 18 1997 Erik Troan <ewt@redhat.com>
489 - 1) added patch for shadow to work w/ :: rather then :-1: entries
490 - 2) incorporated Richard Henderson's string operation fix
491 - 3) added default /etc/nsswitch.conf [2.1.1-1]
493 - spec rewrited by PLD team,
494 we start at GNU libc 2.0.92 one year ago ...
495 - pl translation by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>.