13 ####### ftp://sourceware.cygnus.com/pub/glibc/
14 Source0: %{name}-%{version}%{pre}.tar.gz
15 Source1: %{name}-linuxthreads-%{version}%{pre}.tar.gz
16 #######: http://www.ozemail.com.au/~geoffk/glibc-crypt
17 Source2: %{name}-crypt-2.1.pre1.tar.gz
20 Patch0: glibc-info.patch
21 URL: http://www.gnu.org/software/libc/
23 Obsoletes: %{name}-profile
24 Obsoletes: %{name}-debug
26 BuildRoot: /tmp/%{name}-%{version}-root
29 Contains the standard libraries that are used by multiple programs on
30 the system. In order to save disk space and memory, as well as to
31 ease upgrades, common system code is kept in one place and shared between
32 programs. This package contains the most important sets of shared libraries,
33 the standard C library and the standard math library. Without these, a
34 Linux system will not function. It also contains national language (locale)
35 support and timezone databases.
38 Enthält die Standard-Libraries, die von verschiedenen Programmen im System
39 benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen und zur
40 Vereinfachung von Upgrades ist der gemeinsame Systemcode an einer einzigen
41 Stelle gespeichert und wird von den Programmen gemeinsam genutzt. Dieses
42 Paket enthält die wichtigsten Sets der shared Libraries, die
43 Standard-C-Library und die Standard-Math-Library, ohne die das Linux-System
44 nicht funktioniert. Ferner enthält es den Support für die verschiedenen
45 Sprachgregionen (locale) und die Zeitzonen-Datenbank.
48 Contient les bibliothèques standards utilisées par de nombreux programmes
49 du système. Afin d'économiser l'espace disque et mémoire, et de faciliter
50 les mises à jour, le code commun au système est mis à un endroit et partagé
51 entre les programmes. Ce paquetage contient les bibliothèques partagées les
52 plus importantes, la bibliothèque standard du C et la bibliothèque
53 mathématique standard. Sans celles-ci, un système Linux ne peut fonctionner.
54 Il contient aussi la gestion des langues nationales (locales) et les bases
55 de données des zones horaires.
58 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne programy
59 w Twoim systemie. U¿ywanie przez programy bibliotek z tego pakietu oszczêdza
60 miejsce na dysku i pamiêæ. Wiekszo¶æ kodu systemowego jest usytuowane w
61 jednym miejscu i dzielone miêdzy wieloma programami. Pakiet ten zawiera
62 bardzo wa¿ny zbiór bibliotek standardowych wspó³dzielonych (dynamicznych)
63 bibliotek C i matematycznych. Bez glibc system Linux nie jest w stanie
64 funkcjonowaæ. Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla
65 wielu jêzyków (locale) oraz definicje stref czasowych.
68 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir. Disk
69 alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme iþlemlerini
70 kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde tutulup programlar
71 arasýnda paylaþtýrýlýr. Bu paket en önemli ortak kitaplýklarý, standart
72 C kitaplýðýný ve standart matematik kitaplýðýný içerir. Bu kitaplýklar olmadan
73 Linux sistemi çalýþmayacaktýr. Yerel dil desteði ve zaman dilimi veri tabaný
74 da bu pakette yer alýr.
77 Summary: Additional libraries required to compile
78 Summary(de): Weitere Libraries zum Kompilieren
79 Summary(fr): Librairies supplémentaires nécessaires à la compilation.
80 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
81 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
82 Group: Development/Libraries
83 Group(pl): Programowanie/Biblioteki
84 Prereq: /sbin/install-info
85 Requires: %{name} = %{version}
88 To develop programs which use the standard C libraries (which nearly all
89 programs do), the system needs to have these standard header files and object
90 files available for creating the executables.
92 %description -l de devel
93 Bei der Entwicklung von Programmen, die die Standard-C-Libraries verwenden
94 (also fast alle), benötigt das System diese Standard-Header- und Objektdateien
95 zum Erstellen der ausführbaren Programme.
97 %description -l fr devel
98 Pour développer des programmes utilisant les bibliothèques standard du C
99 (ce que presque tous les programmes font), le système doit posséder ces
100 fichiers en-têtes et objets standards pour créer les exécutables.
102 %description -l pl devel
103 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów korzystaj±cych
104 ze standardowej biblioteki C. Znajduj± siê tutaj pliki nag³ówkowe oraz pliki
105 objektowe, niezbêdne do kompilacji programów wykonywalnych i innych bibliotek.
107 %description -l tr devel
108 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
109 geliþtirmek için gereken standart baþlýk dosyalarý ve statik kitaplýklar.
112 Summary: Additional libraries required to compile
113 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
114 Group: Development/Libraries
115 Group(pl): Programowanie/Biblioteki
116 Requires: %{name}-static-base = %{version}
119 Additional libraries required to compile static programs.
121 %description static -l pl
122 Dodatkowe biblioteki wymagane podczas kompilacji programów w wersji statycznej.
123 Potrzebne tylko przy kompilacji niektórych programów.
126 Summary: Static libc.a and libm.a
127 Summary(pl): Statyczne libc.a i libm.a
128 Group: Development/Libraries
129 Group(pl): Programowanie/Biblioteki
130 Requires: %{name}-devel = %{version}
132 %description static-base
133 Base library in static version.
135 %description static-base -l pl
136 Dwie podstawowe (libc.a i libcm.a) biblioteki w wersji statycznej.
137 Potrzebne tylko przy kompilacji niektórych programów.
140 %setup -q -a 1 -a 2 -n %{name}-%{version}%{pre}
145 --enable-add-ons=crypt,linuxthreads \
151 rm -rf $RPM_BUILD_ROOT
152 install -d $RPM_BUILD_ROOT/{etc/rc.d/init.d,%{_mandir}/man3,var/db}
155 install_root=$RPM_BUILD_ROOT \
156 infodir=%{_infodir} \
161 install_root=$RPM_BUILD_ROOT \
162 install-locales -C localedata
164 make -C linuxthreads/man
165 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
167 rm -rf $RPM_BUILD_ROOT/usr/share/zoneinfo/{localtime,posixtime,posixrules}
169 ln -sf ../../../etc/localtime $RPM_BUILD_ROOT/usr/share/zoneinfo/localtime
170 ln -sf localtime $RPM_BUILD_ROOT/usr/share/zoneinfo/posixtime
171 ln -sf localtime $RPM_BUILD_ROOT/usr/share/zoneinfo/posixrules
172 ln -sf ../../usr/lib/libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
174 rm -f $RPM_BUILD_ROOT/etc/localtime
176 install %{SOURCE3} $RPM_BUILD_ROOT/etc/nsswitch.conf
178 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
179 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/utmpd
181 install nscd/nscd.conf $RPM_BUILD_ROOT/etc
182 install nss/nsswitch.conf $RPM_BUILD_ROOT/etc
184 install nss/db-Makefile $RPM_BUILD_ROOT/var/db
186 cat << EOF > $RPM_BUILD_ROOT/usr/bin/create-db
188 /usr/bin/make -f /var/db/db-Makefile
191 ln -sf create-db $RPM_BUILD_ROOT/usr/bin/update-db
194 install -d documentation
196 cp linuxthreads/ChangeLog documentation/ChangeLog.threads
197 cp linuxthreads/Changes documentation/Changes.threads
198 cp linuxthreads/README documentation/README.threads
199 cp login/README.utmpd documentation/
200 cp crypt/README documentation/README.crypt
202 cp ChangeLog ChangeLog.8 documentation
204 strip $RPM_BUILD_ROOT/{sbin/*,usr/{bin/*,sbin/*}} || :
206 gzip -9fn README NEWS FAQ BUGS NOTES PROJECTS \
207 $RPM_BUILD_ROOT{%{_mandir}/man*/*,%{_infodir}/libc*} \
210 ls $RPM_BUILD_ROOT%{_libdir}/lib*.a \
211 |egrep -v '(libc.a|libc.a)' \
212 |sed -e "s#$RPM_BUILD_ROOT%##" >static.libs
214 %post -p /sbin/ldconfig
215 %postun -p /sbin/ldconfig
218 /sbin/install-info %{_infodir}/libc.info.gz /etc/info-dir
221 if [ "$1" = 0 ]; then
222 /sbin/install-info --delete %{_infodir}/libc.info.gz /etc/info-dir
226 rm -rf $RPM_BUILD_ROOT
229 %defattr(644,root,root,755)
230 %doc {README,NEWS,FAQ,BUGS}.gz
232 %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) /etc/nscd.*
233 %config(noreplace) %verify(not mtime md5 size) /etc/nsswitch.conf
236 %attr(750,root,root) /etc/rc.d/init.d/*
238 %attr(755,root,root) /sbin/*
239 %attr(755,root,root) %{_bindir}/*
240 %attr(755,root,root) %{_sbindir}/*
242 %attr(755,root,root) /lib/ld-*
243 %attr(755,root,root) /lib/lib*
245 %dir %{_libdir}/gconv
246 %{_libdir}/gconv/gconv-modules
256 %defattr(644,root,root,755)
257 %doc documentation/* {NOTES,PROJECTS}.gz
265 %{_includedir}/netash
266 %{_includedir}/netatalk
267 %{_includedir}/netax25
268 %{_includedir}/neteconet
269 %{_includedir}/netinet
270 %{_includedir}/netipx
271 %{_includedir}/netpacket
272 %{_includedir}/netrom
273 %{_includedir}/netrose
275 %{_includedir}/protocols
277 %{_includedir}/rpcsvc
281 %{_infodir}/libc.inf*.gz
283 %attr(755,root,root) %{_libdir}/lib*.so
284 %attr(755,root,root) %{_libdir}/*.o
287 %attr(755,root,root) /usr/lib/gconv/*.so
291 %defattr(644,root,root,755)
295 %files static -f static.libs
296 %defattr(644,root,root,755)
299 * Wed May 19 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
300 - macro %{_target_platform},
302 - updated to version pre3,
305 * Sun Mar 14 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
307 - updated glibc-crypt to version-2.1
309 * Sat Mar 06 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
311 - removed striping of shared libraries -- no debug info in this libs,
312 - fixed /etc/rc.d/init.d/* -- Tomek, never again 754 on start scripts...
313 - fixed permission of /var/db directory -- should be 755...
315 * Mon Feb 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
317 - removed man group from man pages,
318 - standarized {un}registering info pages (added libc-info.patch),
319 - changed base source url to ftp://sourceware.cygnus.com/pub/glibc/,
321 - siplifications in %files devel,
322 - Group in devel changed to Development/Libraries,
323 - removed some %doc (INSTALL and outdated ChangeLog),
324 - removed %config and %verify rules fromn /etc/rc.d/init.d/* files,
325 - changed permission to 754 on /etc/rc.d/init.d/*,
326 - added striping shared libraries.
328 * Sun Feb 14 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
330 - updated to stable version,
331 - fixed stripping ELF binaries,
332 - removed obsoletes /usr/include/{asm,linux}
334 * Fri Jan 29 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
336 - updated to latest snapshoot,
337 - added utmpd.init, (don't run this piece of ... by default)
338 - added /var/db, (don't generate a data base by default)
339 - removed unused /usr/libexec/pt_ch*
342 * Sat Nov 07 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
344 - updated to latest snapshoot,
345 - added install-locales,
348 * Tue Oct 13 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
351 - added Obsoletes: glibc-debug, glibc-profile
353 * Thu Aug 06 1998 Wojtek ¦lusarczyk <wojtek@SHADOW.EU.ORG>
356 - translation modified for pl,
357 (follow the suggestions Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>)
359 (rewrote invalid spec file -- follow the PLD policy)
361 * Wed Jul 16 1998 Wojtek ¦lusarczyk <wojtek@SHADOW.EU.ORG>
363 - added nscd.init and config
364 - fixed permision of pt_chown to 4711
366 - moved linux include links from kernel-headers to glibc-devel
368 * Tue Jun 2 1998 Wojtek Slusarczyk <wojtek@SHADOW.EU.ORG>
370 - updated to glibc 2.0.94
372 * Sun May 24 1998 Marcin Korzonek <mkorz@euler.mat.univ.szczecin.pl>
374 - updated for glibc 2.0.93
375 - build prepare for PLD-1.1 Tornado
376 - removed glibc-debug and glibc-profile packages generation (it took too
377 long to compile the full featured version on my home linux box ;)
378 - compilation is now performed in compile directory as advised
380 - start at invalid RH spec file.
385 - spec rewrited by PLD team,
386 we start at GNU libc 2.0.92 one year ago ...
387 - pl translation by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>.