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.
113 install -d sunrpc/cpp; ln -s /lib/cpp sunrpc/cpp/cpp
114 CFLAGS="$RPM_OPT_FLAGS -pipe" \
116 --enable-add-ons=crypt,linuxthreads \
123 rm -rf $RPM_BUILD_ROOT
124 install -d $RPM_BUILD_ROOT/{etc/rc.d/init.d,usr/man/man3,var/db}
126 make install_root=$RPM_BUILD_ROOT install
127 make install_root=$RPM_BUILD_ROOT install-locales -C localedata
129 make -C linuxthreads/man
130 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT/usr/man/man3
132 rm -rf $RPM_BUILD_ROOT/usr/share/zoneinfo/{localtime,posixtime,posixrules}
134 ln -sf ../src/linux/include/linux $RPM_BUILD_ROOT/usr/include/linux
135 ln -sf ../src/linux/include/asm $RPM_BUILD_ROOT/usr/include/asm
137 ln -sf ../../../etc/localtime $RPM_BUILD_ROOT/usr/share/zoneinfo/localtime
138 ln -sf localtime $RPM_BUILD_ROOT/usr/share/zoneinfo/posixtime
139 ln -sf localtime $RPM_BUILD_ROOT/usr/share/zoneinfo/posixrules
140 ln -sf ../../usr/lib/libbsd-compat.a $RPM_BUILD_ROOT/usr/lib/libbsd.a
142 rm -f $RPM_BUILD_ROOT/etc/localtime
144 install %{SOURCE3} $RPM_BUILD_ROOT/etc/nsswitch.conf
146 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
147 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/utmpd
149 install nscd/nscd.conf $RPM_BUILD_ROOT/etc
150 install nss/nsswitch.conf $RPM_BUILD_ROOT/etc
152 install nss/db-Makefile $RPM_BUILD_ROOT/var/db
154 cat << EOF > $RPM_BUILD_ROOT/usr/bin/create-db
156 /usr/bin/make -f /var/db/db-Makefile
159 ln -sf create-db $RPM_BUILD_ROOT/usr/bin/update-db
162 install -d documentation
164 cp linuxthreads/ChangeLog documentation/ChangeLog.threads
165 cp linuxthreads/Changes documentation/Changes.threads
166 cp linuxthreads/README documentation/README.threads
167 cp login/README.utmpd documentation/
168 cp crypt/README documentation/README.crypt
170 cp ChangeLog ChangeLog.8 documentation
172 bzip2 -9 documentation/*
174 strip $RPM_BUILD_ROOT/{sbin/*,usr/{bin/*,sbin/*}} || :
175 strip --strip-debug $RPM_BUILD_ROOT/lib/lib*so
177 bzip2 -9 README NEWS FAQ BUGS NOTES PROJECTS
178 gzip -9fn $RPM_BUILD_ROOT/usr/{man/man*/*,info/libc*}
180 %post -p /sbin/ldconfig
181 %postun -p /sbin/ldconfig
184 /sbin/install-info /usr/info/libc.info.gz /etc/info-dir
187 if [ "$1" = 0 ]; then
188 /sbin/install-info --delete /usr/info/libc.info.gz /etc/info-dir
192 rm -rf $RPM_BUILD_ROOT
195 %defattr(644,root,root,755)
196 %doc README.bz2 NEWS.bz2 FAQ.bz2 BUGS.bz2
198 %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) /etc/nscd.*
199 %config(noreplace) %verify(not mtime md5 size) /etc/nsswitch.conf
201 %attr(754,root,root) /etc/rc.d/init.d/*
203 %attr(755,root,root) /sbin/*
204 %attr(755,root,root) /usr/bin/*
205 %attr(755,root,root) /usr/sbin/*
207 %attr(755,root,root) /lib/ld-*
208 %attr(755,root,root) /lib/lib*
211 /usr/lib/gconv/gconv-modules
217 %attr(750,root,root) %dir /var/db
221 %defattr(644,root,root,755)
222 %doc documentation/* NOTES.bz2 PROJECTS.bz2
231 /usr/include/netatalk
233 /usr/include/neteconet
236 /usr/include/netpacket
240 /usr/include/protocols
246 /usr/info/libc.inf*.gz
248 %attr(755,root,root) /usr/lib/lib*.so
252 %attr(755,root,root) /usr/lib/gconv/*.so
256 * Mon Feb 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
258 - removed man group from man pages,
259 - standarized {un}registering info pages (added libc-info.patch),
260 - changed base source url to ftp://sourceware.cygnus.com/pub/glibc/,
262 - siplifications in %files devel,
263 - Group in devel changed to Development/Libraries,
264 - removed some %doc (INSTALL and outdated ChangeLog),
265 - removed %config and %verify rules fromn /etc/rc.d/init.d/* files,
266 - changed permission to 754 on /etc/rc.d/init.d/*,
267 - added striping shared libraries.
269 * Sun Feb 14 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
271 - updated to stable version,
272 - fixed stripping ELF binaries,
273 - removed obsoletes /usr/include/{asm,linux}
275 * Fri Jan 29 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
277 - updated to latest snapshoot,
278 - added utmpd.init, (don't run this piece of ... by default)
279 - added /var/db, (don't generate a data base by default)
280 - removed unused /usr/libexec/pt_ch*
283 * Sat Nov 07 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
285 - updated to latest snapshoot,
286 - added install-locales,
289 * Tue Oct 13 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
292 - added Obsoletes: glibc-debug, glibc-profile
294 * Thu Aug 06 1998 Wojtek ¦lusarczyk <wojtek@SHADOW.EU.ORG>
297 - translation modified for pl,
298 (follow the suggestions Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>)
300 (rewrote invalid spec file -- follow the PLD policy)
302 * Wed Jul 16 1998 Wojtek ¦lusarczyk <wojtek@SHADOW.EU.ORG>
304 - added nscd.init and config
305 - fixed permision of pt_chown to 4711
307 - moved linux include links from kernel-headers to glibc-devel
309 * Tue Jun 2 1998 Wojtek Slusarczyk <wojtek@SHADOW.EU.ORG>
311 - updated to glibc 2.0.94
313 * Sun May 24 1998 Marcin Korzonek <mkorz@euler.mat.univ.szczecin.pl>
315 - updated for glibc 2.0.93
316 - build prepare for PLD-1.1 Tornado
317 - removed glibc-debug and glibc-profile packages generation (it took too
318 long to compile the full featured version on my home linux box ;)
319 - compilation is now performed in compile directory as advised
322 * Tue Mar 31 1998 Cristian Gafton <gafton@redhat.com>
323 - more patches to fix dlopen()/dlclose problems
325 * Tue Mar 24 1998 Cristian Gafton <gafton@redhat.com>
326 - fixed a dlclose() problem.
327 - updated the cvs snapshot
329 * Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com>
330 - need a fairly recent version of texinfo (3.11 or later). Handle this
331 through a Conflicts: header for the glibc-devel package
333 * Sat Mar 14 1998 Cristian Gafton <gafton@redhat.com>
334 - new package versioning for snapshots
336 * Sat Mar 14 1998 Cristian Gafton <gafton@redhat.com>
338 - fixed a localedef bug
339 - reverted some changes in the new localedata ru_RU that caused locale files
340 to be built incorrectly.
342 * Wed Mar 04 1998 Cristian Gafton <gafton@redhat.com>
343 - downgraded kernel headers to 2.1.76. tty changes in more recent kernels
344 require too many programs to be recompiled against the new glibc.
345 - upgraded the dlfix patch for dlopen() to handle large shared objects
346 - updated the fix patch to make the source compile on alpha
347 - the new sources require binutils 2.8.1.0.21 or later to compile on alpha
348 - updated snapshot; lots of patches obsoleted
349 - added a patch to buold & install the localedata files correctly
350 - added yet another patch from H.J.Lu
352 * Sat Feb 28 1998 Cristian Gafton <gafton@redhat.com>
353 - updated the snapshot
354 - upgraded the kernel headers to 2.1.88
355 - replaced the full kernel source with a homebrew
356 linux-include-2.1.88.tar.gz (it was way too hard to maintain glibc from
357 home over my modem...)
359 * Wed Feb 18 1998 Cristian Gafton <gafton@redhat.com>
360 - added a dl-open fix for the RTLD_GLOBAL flag
362 * Sat Feb 07 1998 Cristian Gafton <gafton@redhat.com>
363 - upgraded to 2.0.7pre1
364 - modified spec file to include linuxthreads man pages and documentation
366 * Wed Jan 28 1998 Erik Troan <ewt@redhat.com>
367 - don't believe LD_PRELOAD if the app is setuid root
369 * Tue Jan 27 1998 Cristian Gafton <gafton@redhat.com>
370 - added (what else ?) more patches from Andreas Jaeger, Andreas Schwab,
371 Ulrich Drepper and H J Lu
373 * Fri Jan 16 1998 Cristian Gafton <gafton@redhat.com>
374 - added nss patch to fix a problem of ignoring the NSS_STATUS_TRYAGAIN
375 return value from the modules by getXXbyYY_r and getXXent_r functions
376 - added another patch for the nss_db from Andreas Schwab
378 * Wed Jan 14 1998 Cristian Gafton <gafton@redhat.com>
379 - added a patch to fix the problems with the nss_db lookups from Andreas
381 - added a patch to fix lookup problems with large entries (errno not being
383 - added another two tiny patches from Andreas Jaeger
384 - added a header patch for the net/if.h file which failed to #define
386 - fixed obsoletes header for linuxthreads
387 - added a patch for locale on big endian machines from Andreas Schwab
388 - added a config patch from Andreas Jaeger
390 * Wed Jan 7 1998 Cristian Gafton <gafton@redhat.com>
391 - figured out how to handle newer kernels on alpha - back to 2.1.76
392 - added a patch to address case-sensitve hosts and aliases lookup brokeness
393 - re-added the patch for alpha/net/route.h, which somehow escaped the
395 - added the threads and thread-signal patches from Andreas Jaeger
397 * Mon Dec 29 1997 Cristian Gafton <gafton@redhat.com>
398 - finally 2.0.6 final release is here...
399 - reverted to kernel headers 2.1.60. Although the latest one available
400 should be used (2.1.76 at the moment), the new kernel headers break
401 compilation on alpha (due to the rename of the __NR_sigaction to
402 __NR_old_osf_sigaction). In two days I haven't figured out the correct
403 place to modify this on glibc sources, so...
405 * Thu Dec 25 1997 Cristian Gafton <gafton@redhat.com>
408 * Tue Dec 23 1997 Cristian Gafton <gafton@redhat.com>
410 - added NIS patch fix
412 * Mon Dec 15 1997 Cristian Gafton <gafton@redhat.com>
413 - added security patch
415 * Fri Dec 12 1997 Cristian Gafton <gafton@redhat.com>
416 - updated to 2.0.6pre4
417 - cleaned up the spec file
419 * Sun Nov 09 1997 Erik Troan <ewt@redhat.com>
420 - added setlocale patch from Ulrich
422 * Wed Nov 05 1997 Erik Troan <ewt@redhat.com>
423 - added new glob.c from Ulrich
425 * Wed Oct 29 1997 Erik Troan <ewt@redhat.com>
426 - fixed timezone patch
428 * Tue Oct 28 1997 Erik Troan <ewt@redhat.com>
429 - added patch to fix sense on timezone global
431 * Sat Oct 25 1997 Erik Troan <ewt@redhat.com>
432 - build against included kernel headers
433 - added ld.so patch from ulrich
435 * Fri Oct 24 1997 Erik Troan <ewt@redhat.com>
436 - added documentation files as %doc
437 - improved obsoletes list
439 * Thu Oct 16 1997 Erik Troan <ewt@redhat.com>
440 - added patch to fix nfs inet_ntoa() memory leak
441 - create proper sysdeps/alpha/Implies
442 - create configparms w/ a here doc, not a separate patch file
444 * Thu Oct 09 1997 Erik Troan <ewt@redhat.com>
445 - added patch from Ulrich for rcmd() w/ IP number
447 * Tue Sep 16 1997 Erik Troan <ewt@redhat.com>
448 - added obsolete entries
450 * Mon Sep 15 1997 Erik Troan <ewt@redhat.com>
451 - removed /usr/info/dir
452 - added support for install-info for devel package
454 * Wed Sep 10 1997 Erik Troan <ewt@redhat.com>
457 * Wed Sep 10 1997 Erik Troan <ewt@redhat.com>
458 - added getcwd() fix from Ulrich
459 - changed datadir to default /usr/share instead of /usr/lib
461 * Mon Sep 01 1997 Erik Troan <ewt@redhat.com>
462 - fixed some symlinks (which broke due to the buildroot)
464 * Thu Aug 28 1997 Erik Troan <ewt@redhat.com>
465 - removed extrneous symlinks invocation
466 - removed /etc/localtime from filelist
468 * Wed Aug 27 1997 Erik Troan <ewt@redhat.com>
469 - added patch to tcp.h from Ulrich
471 * Wed Aug 27 1997 Erik Troan <ewt@redhat.com>
473 - removed zic symlink hack
475 * Sat Aug 23 1997 Erik Troan <ewt@redhat.com>
476 - minor hack for alpha (won't be necessary in next release)
477 - switched to use a build root
478 - dynamically builds file lists
480 * Tue Aug 19 1997 Erik Troan <ewt@redhat.com>
481 - 1) Updated to glibc 2.0.5pre5 (version of package is 2.0.4.9)
483 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
484 - 1) Updated to glibc 2.0.4
486 * Thu May 15 1997 Erik Troan <ewt@redhat.com>
487 - 1) Updated to glibc 2.0.3, builds glibc on Intel as well.
489 * Tue Feb 18 1997 Erik Troan <ewt@redhat.com>
490 - 1) added patch for shadow to work w/ :: rather then :-1: entries
491 - 2) incorporated Richard Henderson's string operation fix
492 - 3) added default /etc/nsswitch.conf [2.1.1-1]
494 - spec rewrited by PLD team,
495 we start at GNU libc 2.0.92 one year ago ...
496 - pl translation by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>.