Summary(tr): GNU libc
Name: glibc
Version: 2.2.4
-Release: 4
+Release: 9
License: LGPL
Group: Libraries
Group(de): Libraries
+Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
+Group(pt_BR): Bibliotecas
+Group(ru): âÉÂÌÉÏÔÅËÉ
+Group(uk): â¦Â̦ÏÔÅËÉ
Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.gz
Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.gz
Source2: nscd.init
Prereq: basesystem
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Conflicts: kernel < %{min_kernel}
+Conflicts: man-pages < 1.43
+Conflicts: ld.so < 1.9.9-9
%description
Contains the standard libraries that are used by multiple programs on
Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
Group: Development/Libraries
Group(de): Entwicklung/Libraries
+Group(es): Desarrollo/Bibliotecas
Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
+Group(pt_BR): Desenvolvimento/Bibliotecas
+Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
Requires: %{name} = %{version}
%description devel
Prereq: /sbin/chkconfig
Prereq: rc-scripts >= 0.2.0
Requires: %{name} = %{version}
+Requires(post): fileutils
%description -n nscd
nscd caches name service lookups; it can dramatically improve
%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³êdów po stronie j±dra
-w ods³udze w±tków.
+u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
+ods³udze w±tków.
%package -n localedb-src
Summary: Souce code locale database
Summary(pl): Biblioteki statyczne
Group: Development/Libraries
Group(de): Entwicklung/Libraries
+Group(es): Desarrollo/Bibliotecas
Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
+Group(pt_BR): Desenvolvimento/Bibliotecas
+Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
Requires: %{name}-devel = %{version}
%description static
Summary(pl): Stary modu³ NYS NSS glibc
Group: Base
Group(de): Gründsätzlich
+Group(es): Base
Group(pl): Podstawowe
+Group(pt_BR): Base
Requires: %{name} = %{version}
%description -n nss_compat
Summary(pl): Modu³ BIND NSS glibc
Group: Base
Group(de): Gründsätzlich
+Group(es): Base
Group(pl): Podstawowe
+Group(pt_BR): Base
Requires: %{name} = %{version}
%description -n nss_dns
Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
Group: Base
Group(de): Gründsätzlich
+Group(es): Base
Group(pl): Podstawowe
+Group(pt_BR): Base
Requires: %{name} = %{version}
%description -n nss_files
Summary(pl): Modu³ hesiod NSS glibc
Group: Base
Group(de): Gründsätzlich
+Group(es): Base
Group(pl): Podstawowe
+Group(pt_BR): Base
Requires: %{name} = %{version}
%description -n nss_hesiod
Summary(pl): Modu³ NIS(YP) NSS glibc
Group: Base
Group(de): Gründsätzlich
+Group(es): Base
Group(pl): Podstawowe
+Group(pt_BR): Base
Requires: %{name} = %{version}
%description -n nss_nis
Summary(pl): Modu³ NIS+ NSS
Group: Base
Group(de): Gründsätzlich
+Group(es): Base
Group(pl): Podstawowe
+Group(pt_BR): Base
Requires: %{name} = %{version}
%description -n nss_nisplus
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,logrotate.d},%{_mandir}/man{3,8},/var/log}
+install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
env LANGUAGE=C LC_ALL=C \
%{__make} install \
install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
-tar xzvf %{SOURCE5} -C $RPM_BUILD_ROOT%{_mandir}/
-tar xzvf %{SOURCE6} -C $RPM_BUILD_ROOT%{_mandir}/
-touch $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.{cache,conf}
+bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
+bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
+> $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
+> $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
+rm -f %{_mandir}/hu/man7/man.7
:> $RPM_BUILD_ROOT/var/log/nscd
%post -n nscd
/sbin/chkconfig --add nscd
-touch /var/log/nscd && (chown root.root /var/log/nscd ; chmod 640 /var/log/nscd)
+touch /var/log/nscd && (chmod 000 /var/log/nscd; chown root.root /var/log/nscd; chmod 640 /var/log/nscd)
if [ -f /var/lock/subsys/nscd ]; then
/etc/rc.d/init.d/nscd restart 1>&2
else
%attr(755,root,root) %{_bindir}/glibcbug
%attr(755,root,root) %{_bindir}/iconv
%attr(755,root,root) %{_bindir}/ldd
-%ifnarch alpha
+%ifnarch alpha sparc sparc64 ppc
%attr(755,root,root) %{_bindir}/lddlibc4
%endif
%attr(755,root,root) %{_bindir}/locale
%dir %{_libdir}/locale
-%{_mandir}/man[578]/*
+%{_mandir}/man1/[^ls]*
+%{_mandir}/man1/locale.1*
+%{_mandir}/man1/ldd.1*
+%{_mandir}/man5/???[^d]*
+%{_mandir}/man7/*
+%{_mandir}/man8/[^n]*
%lang(cs) %{_mandir}/cs/man[578]/*
%lang(de) %{_mandir}/de/man[578]/*
%lang(es) %{_mandir}/es/man[578]/*
+%lang(fi) %{_mandir}/fi/man1/ldd.1*
+%lang(fr) %{_mandir}/fr/man1/ldd.1*
%lang(fr) %{_mandir}/fr/man[578]/*
+%lang(hu) %{_mandir}/hu/man1/ldd.1*
%lang(hu) %{_mandir}/hu/man[578]/*
%lang(it) %{_mandir}/it/man[578]/*
-%lang(ja) %{_mandir}/ja/man[578]/*
+%lang(ja) %{_mandir}/ja/man1/[^ls]*
+%lang(ja) %{_mandir}/ja/man1/ldd.1*
+%lang(ja) %{_mandir}/ja/man5/???[^d]*
+%lang(ja) %{_mandir}/ja/man7/*
+%lang(ja) %{_mandir}/ja/man8/[^n]*
%lang(ko) %{_mandir}/ko/man[578]/*
-# %lang(nl) %{_mandir}/pl/man[578]/*
+# %lang(nl) %{_mandir}/nl/man[578]/*
+%lang(pl) %{_mandir}/pl/man1/ldd.1*
%lang(pl) %{_mandir}/pl/man[578]/*
-%lang(pt) %{_mandir}/pt/man[578]/*
-%lang(pt_BR) %{_mandir}/pt_BR/man[578]/*
+%lang(pt) %{_mandir}/pt/man5/???[^d]*
+%lang(pt) %{_mandir}/pt/man7/*
+%lang(pt) %{_mandir}/pt/man8/[^n]*
+%lang(pt_BR) %{_mandir}/pt_BR/man5/???[^d]*
+%lang(pt_BR) %{_mandir}/pt_BR/man7/*
+%lang(pt_BR) %{_mandir}/pt_BR/man8/[^n]*
%lang(ru) %{_mandir}/ru/man[578]/*
#%files -n nss_dns
%attr(755,root,root) %{_libdir}/*crt*.o
%{_libdir}/libc_nonshared.a
+%{_mandir}/man1/sprof*
%{_mandir}/man3/*
%lang(cs) %{_mandir}/cs/man3/*
%lang(de) %{_mandir}/de/man3/*
%files -n nscd
%defattr(644,root,root,755)
-%attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/nscd
-%attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) %{_sysconfdir}/nscd.*
+%attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
+%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
%attr(754,root,root) /etc/rc.d/init.d/nscd
%attr(755,root,root) %{_sbindir}/nscd*
%attr(640,root,root) /etc/logrotate.d/nscd
%attr(640,root,root) %ghost /var/log/nscd
+%{_mandir}/man5/nscd.conf*
+%{_mandir}/man8/nscd*
+%lang(ja) %{_mandir}/ja/man5/nscd.conf*
+%lang(ja) %{_mandir}/ja/man8/nscd*
+%lang(pt) %{_mandir}/pt/man5/nscd.conf*
+%lang(pt) %{_mandir}/pt/man8/nscd*
+%lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
+%lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
%files -n localedb-src
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/localedef
%{_datadir}/i18n
+%{_mandir}/man1/localedef*
%files -n iconv
%defattr(644,root,root,755)