12 ####### ftp://sourceware.cygnus.com/pub/glibc/
13 Source0: %{name}-%{version}.tar.gz
14 Source1: %{name}-linuxthreads-%{version}.tar.gz
15 #######: http://www.ozemail.com.au/~geoffk/glibc-crypt
16 Source2: %{name}-crypt-%{version}.tar.gz
19 Patch0: glibc-info.patch
20 URL: http://www.gnu.org/software/libc/
22 Obsoletes: %{name}-profile
23 Obsoletes: %{name}-debug
25 BuildRoot: /tmp/%{name}-%{version}-root
28 Contains the standard libraries that are used by multiple programs on
29 the system. In order to save disk space and memory, as well as to
30 ease upgrades, common system code is kept in one place and shared between
31 programs. This package contains the most important sets of shared libraries,
32 the standard C library and the standard math library. Without these, a
33 Linux system will not function. It also contains national language (locale)
34 support and timezone databases.
37 Enthält die Standard-Libraries, die von verschiedenen Programmen im System
38 benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen und zur
39 Vereinfachung von Upgrades ist der gemeinsame Systemcode an einer einzigen
40 Stelle gespeichert und wird von den Programmen gemeinsam genutzt. Dieses
41 Paket enthält die wichtigsten Sets der shared Libraries, die
42 Standard-C-Library und die Standard-Math-Library, ohne die das Linux-System
43 nicht funktioniert. Ferner enthält es den Support für die verschiedenen
44 Sprachgregionen (locale) und die Zeitzonen-Datenbank.
47 Contient les bibliothèques standards utilisées par de nombreux programmes
48 du système. Afin d'économiser l'espace disque et mémoire, et de faciliter
49 les mises à jour, le code commun au système est mis à un endroit et partagé
50 entre les programmes. Ce paquetage contient les bibliothèques partagées les
51 plus importantes, la bibliothèque standard du C et la bibliothèque
52 mathématique standard. Sans celles-ci, un système Linux ne peut fonctionner.
53 Il contient aussi la gestion des langues nationales (locales) et les bases
54 de données des zones horaires.
57 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne programy
58 w Twoim systemie. U¿ywanie przez programy bibliotek z tego pakietu oszczêdza
59 miejsce na dysku i pamiêæ. Wiekszo¶æ kodu systemowego jest usytuowane w
60 jednym miejscu i dzielone miêdzy wieloma programami. Pakiet ten zawiera
61 bardzo wa¿ny zbiór bibliotek standardowych wspó³dzielonych (dynamicznych)
62 bibliotek C i matematycznych. Bez glibc system Linux nie jest w stanie
63 funkcjonowaæ. Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla
64 wielu jêzyków (locale) oraz definicje stref czasowych.
67 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir. Disk
68 alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme iþlemlerini
69 kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde tutulup programlar
70 arasýnda paylaþtýrýlýr. Bu paket en önemli ortak kitaplýklarý, standart
71 C kitaplýðýný ve standart matematik kitaplýðýný içerir. Bu kitaplýklar olmadan
72 Linux sistemi çalýþmayacaktýr. Yerel dil desteði ve zaman dilimi veri tabaný
73 da bu pakette yer alýr.
76 Summary: Additional libraries required to compile
77 Summary(de): Weitere Libraries zum Kompilieren
78 Summary(fr): Librairies supplémentaires nécessaires à la compilation.
79 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
80 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
81 Group: Development/Libraries
82 Group(pl): Programowanie/Biblioteki
83 Prereq: /sbin/install-info
84 Requires: %{name} = %{version}
87 To develop programs which use the standard C libraries (which nearly all
88 programs do), the system needs to have these standard header files and object
89 files available for creating the executables.
91 %description -l de devel
92 Bei der Entwicklung von Programmen, die die Standard-C-Libraries verwenden
93 (also fast alle), benötigt das System diese Standard-Header- und Objektdateien
94 zum Erstellen der ausführbaren Programme.
96 %description -l fr devel
97 Pour développer des programmes utilisant les bibliothèques standard du C
98 (ce que presque tous les programmes font), le système doit posséder ces
99 fichiers en-têtes et objets standards pour créer les exécutables.
101 %description -l pl devel
102 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów korzystaj±cych
103 ze standardowej biblioteki C. Znajduj± siê tutaj pliki nag³ówkowe oraz pliki
104 objektowe, niezbêdne do kompilacji programów wykonywalnych i innych bibliotek.
106 %description -l tr devel
107 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
108 geliþtirmek için gereken standart baþlýk dosyalarý ve statik kitaplýklar.
115 install -d sunrpc/cpp; ln -s /lib/cpp sunrpc/cpp/cpp
116 CFLAGS="$RPM_OPT_FLAGS -pipe" \
118 --enable-add-ons=crypt,linuxthreads \
125 rm -rf $RPM_BUILD_ROOT
126 install -d $RPM_BUILD_ROOT/{etc/rc.d/init.d,usr/man/man3,var/db}
128 make install_root=$RPM_BUILD_ROOT install
129 make install_root=$RPM_BUILD_ROOT install-locales -C localedata
131 make -C linuxthreads/man
132 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT/usr/man/man3
134 rm -rf $RPM_BUILD_ROOT/usr/share/zoneinfo/{localtime,posixtime,posixrules}
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/*}} || :
175 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,NEWS,FAQ,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
201 %attr(750,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
221 %defattr(644,root,root,755)
222 %doc documentation/* {NOTES,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 * Sun Mar 14 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
258 - updated glibc-crypt to version-2.1
260 * Sat Mar 06 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
262 - removed striping of shared libraries -- no debug info in this libs,
263 - fixed /etc/rc.d/init.d/* -- Tomek, never again 754 on start scripts...
264 - fixed permission of /var/db directory -- should be 755...
266 * Mon Feb 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
268 - removed man group from man pages,
269 - standarized {un}registering info pages (added libc-info.patch),
270 - changed base source url to ftp://sourceware.cygnus.com/pub/glibc/,
272 - siplifications in %files devel,
273 - Group in devel changed to Development/Libraries,
274 - removed some %doc (INSTALL and outdated ChangeLog),
275 - removed %config and %verify rules fromn /etc/rc.d/init.d/* files,
276 - changed permission to 754 on /etc/rc.d/init.d/*,
277 - added striping shared libraries.
279 * Sun Feb 14 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
281 - updated to stable version,
282 - fixed stripping ELF binaries,
283 - removed obsoletes /usr/include/{asm,linux}
285 * Fri Jan 29 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
287 - updated to latest snapshoot,
288 - added utmpd.init, (don't run this piece of ... by default)
289 - added /var/db, (don't generate a data base by default)
290 - removed unused /usr/libexec/pt_ch*
293 * Sat Nov 07 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
295 - updated to latest snapshoot,
296 - added install-locales,
299 * Tue Oct 13 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
302 - added Obsoletes: glibc-debug, glibc-profile
304 * Thu Aug 06 1998 Wojtek ¦lusarczyk <wojtek@SHADOW.EU.ORG>
307 - translation modified for pl,
308 (follow the suggestions Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>)
310 (rewrote spec file -- follow the PLD policy)
312 * Wed Jul 16 1998 Wojtek ¦lusarczyk <wojtek@SHADOW.EU.ORG>
314 - added nscd.init and config
315 - fixed permision of pt_chown to 4711
317 - moved linux include links from kernel-headers to glibc-devel
319 * Tue Jun 2 1998 Wojtek ¦lusarczyk <wojtek@SHADOW.EU.ORG>
321 - updated to glibc 2.0.94
323 * Sun May 24 1998 Marcin Korzonek <mkorz@euler.mat.univ.szczecin.pl>
325 - updated for glibc 2.0.93
326 - build prepare for PLD-1.1 Tornado
327 - removed glibc-debug and glibc-profile packages generation (it took too
328 long to compile the full featured version on my home linux box ;)
329 - compilation is now performed in compile directory as advised
331 - start at invalid RH spec file.
336 - spec rewrited by PLD team,
337 we start at GNU libc 2.0.92 one year ago ...
338 - pl translation by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>.