Summary: GNU libc Summary(de): GNU libc Summary(fr): GNU libc Summary(pl): GNU libc Summary(tr): GNU libc name: glibc Version: 2.1.1 Release: 1 Copyright: LGPL Group: Libraries Group(pl): Biblioteki Source0: ftp://sourceware.cygnus.com/pub/glibc/%{name}-%{version}.tar.gz Source1: ftp://sourceware.cygnus.com/pub/glibc/%{name}-linuxthreads-%{version}.tar.gz Source2: http://www.ozemail.com.au/~geoffk/glibc-crypt/%{name}-crypt-2.1.tar.gz Source3: utmpd.init Source4: nscd.init Patch0: glibc-info.patch URL: http://www.gnu.org/software/libc/ Provides: ld.so.2 Obsoletes: %{name}-profile Obsoletes: %{name}-debug Autoreq: false BuildRoot: /tmp/%{name}-%{version}-root %description Contains the standard libraries that are used by multiple programs on the system. In order to save disk space and memory, as well as to ease upgrades, common system code is kept in one place and shared between programs. This package contains the most important sets of shared libraries, the standard C library and the standard math library. Without these, a Linux system will not function. It also contains national language (locale) support and timezone databases. %description -l de Enthält die Standard-Libraries, die von verschiedenen Programmen im System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an einer einzigen Stelle gespeichert und wird von den Programmen gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der shared Libraries, die Standard-C-Library und die Standard-Math-Library, ohne die das Linux-System nicht funktioniert. Ferner enthält es den Support für die verschiedenen Sprachgregionen (locale) und die Zeitzonen-Datenbank. %description -l fr Contient les bibliothèques standards utilisées par de nombreux programmes du système. Afin d'économiser l'espace disque et mémoire, et de faciliter les mises à jour, le code commun au système est mis à un endroit et partagé entre les programmes. Ce paquetage contient les bibliothèques partagées les plus importantes, la bibliothèque standard du C et la bibliothèque mathématique standard. Sans celles-ci, un système Linux ne peut fonctionner. Il contient aussi la gestion des langues nationales (locales) et les bases de données des zones horaires. %description -l pl W pakiecie znajduj± siê podstawowe biblioteki, używane przez różne programy w Twoim systemie. Używanie przez programy bibliotek z tego pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek standardowych współdzielonych (dynamicznych) bibliotek C i matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ. Znajduj± siê tutaj również definicje różnych informacji dla wielu jêzyków (locale) oraz definicje stref czasowych. %description -l tr Bu paket, birçok programęn kullandęđę standart kitaplęklarę içerir. Disk alanę ve bellek kullanęmęnę azaltmak ve aynę zamanda güncelleme ițlemlerini kolaylațtęrmak için ortak sistem kodlarę tek bir yerde tutulup programlar arasęnda paylațtęręlęr. Bu paket en önemli ortak kitaplęklarę, standart C kitaplęđęnę ve standart matematik kitaplęđęnę içerir. Bu kitaplęklar olmadan Linux sistemi çalęțmayacaktęr. Yerel dil desteđi ve zaman dilimi veri tabanę da bu pakette yer alęr. %package devel Summary: Additional libraries required to compile Summary(de): Weitere Libraries zum Kompilieren Summary(fr): Librairies supplémentaires nécessaires à la compilation. Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji Summary(tr): Gelițtirme için gerekli diđer kitaplęklar Group: Development/Libraries Group(pl): Programowanie/Biblioteki Prereq: /sbin/install-info Requires: %{name} = %{version} %description devel To develop programs which use the standard C libraries (which nearly all programs do), the system needs to have these standard header files and object files available for creating the executables. %description -l de devel Bei der Entwicklung von Programmen, die die Standard-C-Libraries verwenden (also fast alle), benötigt das System diese Standard-Header- und Objektdateien zum Erstellen der ausführbaren Programme. %description -l fr devel Pour développer des programmes utilisant les bibliothèques standard du C (ce que presque tous les programmes font), le système doit posséder ces fichiers en-têtes et objets standards pour créer les exécutables. %description -l pl devel Pakiet ten jest niezbêdny przy tworzeniu własnych programów korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki nagłówkowe oraz pliki objektowe, niezbêdne do kompilacji programów wykonywalnych i innych bibliotek. %description -l tr devel C kitaplęđęnę kullanan (ki hemen hemen hepsi kullanęyor) programlar gelițtirmek için gereken standart bațlęk dosyalarę ve statik kitaplęklar. %package static Summary: Additional libraries required to compile Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji Group: Development/Libraries Group(pl): Programowanie/Biblioteki Requires: %{name}-static-base = %{version} %description static Additional libraries required to compile static programs. %description static -l pl Dodatkowe biblioteki wymagane podczas kompilacji programów w wersji statycznej. Potrzebne tylko przy kompilacji niektórych programów. %package static-base Summary: Static libc.a and libm.a Summary(pl): Statyczne libc.a i libm.a Group: Development/Libraries Group(pl): Programowanie/Biblioteki Requires: %{name}-devel = %{version} %description static-base Base library in static version. %description static-base -l pl Dwie podstawowe (libc.a i libcm.a) biblioteki w wersji statycznej. Potrzebne tylko przy kompilacji niektórych programów. %package -n nscd Summary: Name Service Caching Daemon Summary(pl): - Group: Networnikng/Daemons Group: Sieciowe/Serwery Prereq: /sbin/chkconfig Conflicts: kernel < 2.2.0 %description -n nscd nscd caches name service lookups; it can dramatically improve performance with NIS+, and may help with DNS as well. You cannot use nscd with 2.0 kernels, due to bugs in the kernel-side thread support. nscd happens to hit these bugs particularly hard. %description -n nscd -l pl nscd zapmiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala drastycznie poprawiæ szybko¶æ działania NIS+. Nie jest możliwe używanie nscd z j±drami serii 2.0.x z powodu bładów po stronie j±dra w odsłudze w±tków. %package -n utmpd Summary: utmp and utmpx synchronizer for libc5 applications. Summary(pl): Synchrnonizuje pliki utmp i utmpx. Group: Daemons Group(pl): Serwery Prereq: /sbin/chkconfig %description -n utmpd utmpd is a utmp and utmpx synchronizer. Is only needed for libc5 based program with utmp access. %description -n utmpd -l pl utmpd stara siê utrzymaæ tak± sam± zawarto¶æ plików /var/run/utmp i /var/run/utmpx. Potrzebny jest tylko w przypadku korzystania ze starszych programów (bazuj±cych na libc5). %prep %setup -q -a 1 -a 2 %patch0 -p1 %build %configure \ --enable-add-ons=crypt,linuxthreads \ --disable-profile \ --disable-omitfp make %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/{etc/rc.d/init.d,%{_mandir}/man3,var/db} make install \ install_root=$RPM_BUILD_ROOT \ infodir=%{_infodir} \ mandir=%{_mandir} make install-locales -C localedata \ install_root=$RPM_BUILD_ROOT make -C linuxthreads/man install linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3 rm -rf $RPM_BUILD_ROOT/usr/share/zoneinfo/{localtime,posixtime,posixrules} ln -sf ../../../etc/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules ln -sf ../../usr/lib/libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a rm -f $RPM_BUILD_ROOT/etc/localtime install %{SOURCE3} $RPM_BUILD_ROOT/etc/nsswitch.conf install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/utmpd install nscd/nscd.conf $RPM_BUILD_ROOT/etc install nss/nsswitch.conf $RPM_BUILD_ROOT/etc install nss/db-Makefile $RPM_BUILD_ROOT/var/db cat << EOF > $RPM_BUILD_ROOT/usr/bin/create-db #!/bin/sh /usr/bin/make -f /var/db/db-Makefile EOF ln -sf create-db $RPM_BUILD_ROOT%{_bindir}/update-db rm -rf documentation install -d documentation cp linuxthreads/ChangeLog documentation/ChangeLog.threads cp linuxthreads/Changes documentation/Changes.threads cp linuxthreads/README documentation/README.threads cp login/README.utmpd documentation/ cp crypt/README documentation/README.crypt cp ChangeLog ChangeLog.8 documentation gzip -9fn README NEWS FAQ BUGS NOTES PROJECTS \ $RPM_BUILD_ROOT{%{_mandir}/man*/*,%{_infodir}/libc*} \ documentation/* ls $RPM_BUILD_ROOT%{_libdir}/lib*.a \ |egrep -v '(libc.a|libc.a|libc_nonshared.a)' \ |sed -e "s#$RPM_BUILD_ROOT##g" >static.libs %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel /sbin/install-info %{_infodir}/libc.info.gz /etc/info-dir %preun devel if [ "$1" = 0 ]; then /sbin/install-info --delete %{_infodir}/libc.info.gz /etc/info-dir fi %post -n nscd /sbin/chkconfig --add nscd if test -r /var/run/nscd.pid; then /etc/rc.d/init.d/nscd stop >&2 /etc/rc.d/init.d/nscd start >&2 else echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." fi %preun -n nscd if [ "$1" = "0" ]; then /sbin/chkconfig --del nscd /etc/rc.d/init.d/nscd stop >&2 fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README.gz NEWS.gz FAQ.gz BUGS.gz %config(noreplace) %verify(not mtime md5 size) /etc/nsswitch.conf %config /etc/rpc %attr(755,root,root) /sbin/* %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_sbindir}/rpcinfo %attr(755,root,root) %{_sbindir}/zdump %attr(755,root,root) %{_sbindir}/zic %attr(755,root,root) /lib/ld-* %attr(755,root,root) /lib/lib* %dir %{_libdir}/gconv %{_libdir}/gconv/gconv-modules %{_datadir}/i18n %{_datadir}/locale %{_datadir}/zoneinfo %dir /var/db %config /var/db/db-* %files devel %defattr(644,root,root,755) %doc documentation/* NOTES.gz PROJECTS.gz %{_includedir}/*.h %{_includedir}/arpa %{_includedir}/bits %{_includedir}/db1 %{_includedir}/gnu %{_includedir}/net %{_includedir}/netash %{_includedir}/netatalk %{_includedir}/netax25 %{_includedir}/neteconet %{_includedir}/netinet %{_includedir}/netipx %{_includedir}/netpacket %{_includedir}/netrom %{_includedir}/netrose %{_includedir}/nfs %{_includedir}/protocols %{_includedir}/rpc %{_includedir}/rpcsvc %{_includedir}/scsi %{_includedir}/sys %{_infodir}/libc.inf*.gz %attr(755,root,root) %{_libdir}/lib*.so %attr(755,root,root) %{_libdir}/*.o %{_libdir}/lib*.a %attr(755,root,root) /usr/lib/gconv/*.so %{_mandir}/man3/* %files static-base %defattr(644,root,root,755) %{_libdir}/libc.a %{_libdir}/libm.a %{_libdir}/libc_nonshared.a %files static -f static.libs %defattr(644,root,root,755) %files -n nscd %defattr(644,root,root,755) %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) /etc/nscd.* %attr(754,root,root) /etc/rc.d/init.d/nscd %attr(755,root,root) %{_sbindir}/nscd %files -n utmpd %defattr(644,root,root,755) %attr(754,root,root) /etc/rc.d/init.d/utmpd %attr(755,root,root) %{_sbindir}/utmpd %changelog - added %post & %pre for utmpd subpackage. - macro %{_target_platform}, - fixed %build, - minor changes. - pl translation by Wojtek Šlusarczyk . [2.1.1-1] - based on RH spec, - spec rewrited by PLD team, we start at GNU libc 2.0.92 one year ago ... - pl translation by Wojtek Šlusarczyk .