]> git.pld-linux.org Git - packages/glibc.git/blobdiff - glibc.spec
This commit was manufactured by cvs2git to create branch 'GLIBC_2_2_5'.
[packages/glibc.git] / glibc.spec
index 9c7de6af99ff0dabdcf04257e357ed52b136bd0a..7977e42e3d590873843b7690923318d3231a3761 100644 (file)
@@ -1,12 +1,18 @@
-%define                min_kernel      2.2.0
+#
+# You can define min_kernel macro by "rpm --define 'min_kernel version'"
+# default is 2.2.0 (no changes up to 2.3.25)
+
+%{!?min_kernel:%define         min_kernel      2.2.0}
+
 Summary:       GNU libc
 Summary(de):   GNU libc
 Summary(fr):   GNU libc
 Summary(pl):   GNU libc
 Summary(tr):   GNU libc
 Name:          glibc
-Version:       2.2.4
-Release:       5
+Version:       2.2.5
+Release:       1
+Epoch:         6
 License:       LGPL
 Group:         Libraries
 Group(de):     Libraries
@@ -16,8 +22,8 @@ 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
+Source0:       ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
+Source1:       ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
 Source2:       nscd.init
 Source3:       nscd.sysconfig
 Source4:       nscd.logrotate
@@ -34,13 +40,13 @@ Patch7:             %{name}-sparc-linux-chown.patch
 Patch8:                %{name}-ldconfig-bklinks.patch
 Patch9:                %{name}-paths.patch
 Patch10:       %{name}-vaargs.patch
-Patch11:       %{name}-malloc.patch
+Patch11:       %{name}-getaddrinfo-workaround.patch
 URL:           http://www.gnu.org/software/libc/
 BuildRequires: gd-devel >= 2.0.1
 BuildRequires: gettext-devel >= 0.10.36
 BuildRequires: libpng-devel
 BuildRequires: perl
-BuildRequires: rpm-build >= 4.0-11
+BuildRequires: rpm-build >= 4.0.2-46
 BuildRequires: texinfo
 Provides:      ld.so.2
 Provides:      ldconfig
@@ -52,6 +58,10 @@ Autoreq:     false
 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
+
+%define                debugcflags     -O1 -g
 
 %description
 Contains the standard libraries that are used by multiple programs on
@@ -148,13 +158,13 @@ kitapl
 
 %package -n nscd
 Summary:       Name Service Caching Daemon
-Summary(pl):   Name Service Caching Daemon
 Group:         Networking/Daemons
 Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 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
@@ -169,7 +179,7 @@ u
 ods³udze w±tków.
 
 %package -n localedb-src
-Summary:       Souce code locale database
+Summary:       locale database source code
 Summary(pl):   Kod ¼ród³owy bazy locale
 Group:         Daemons
 Group(de):     Server
@@ -179,15 +189,16 @@ Requires: %{name} = %{version}
 %description -n localedb-src
 This add-on package contains the data needed to build the locale data
 files to use the internationalization features of the GNU libc. glibc
-package contains standard set of locale binary database and You need
-this package if want build some non standard locale database.
+package contains standard set of locale binary database so you need
+this package only when you want to build some non-standard locale
+database.
 
 %description -n localedb-src -l pl
-Pakiet ten kod ¼ród³owy baz locale który jest potrzebny do zbudowania
-binarnej wersji baz locale potrzebnej do poprawnego wspierania ró¿nych
-jêzyków przez glibc. Pakiet glibc zawira binarn± wersjê standardowych
-baz locale i ten pakiet jest potrzebny tylko w sytuacji kiedy potrzeba
-wygenerowaæ jak±¶ niestandardow± bazê.
+Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
+lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
+libc. glibc zawiera standardowy zestaw binarnych baz lokalizacyjnych,
+w zwi±zku z czym ten pakiet jest potrzebny tylko w sytuacji budowania
+jakiej¶ niestandardowej bazy.
 
 %package -n iconv
 Summary:       Convert encoding of given files from one encoding to another
@@ -199,8 +210,8 @@ Requires:   %{name} = %{version}
 
 %description -n iconv
 Convert encoding of given files from one encoding to another. You need
-this package if You want to convert some documet from one encoding to
-another or if You have installed some programs which use Generic
+this package if you want to convert some documet from one encoding to
+another or if you have installed some programs which use Generic
 Character Set Conversion Interface.
 
 %description -n iconv -l pl
@@ -405,6 +416,8 @@ Zabawka.
 %patch10 -p1
 %patch11 -p1
 
+chmod +x scripts/cpp
+
 %build
 LDFLAGS=" " ; export LDFLAGS
 %configure2_13 \
@@ -417,7 +430,7 @@ LDFLAGS=" " ; export LDFLAGS
 
 %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 \
@@ -460,7 +473,9 @@ install nss/nsswitch.conf   $RPM_BUILD_ROOT%{_sysconfdir}
 
 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
-touch  $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.{cache,conf}
+> $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
 
@@ -506,7 +521,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
@@ -536,7 +551,7 @@ fi
 %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
@@ -558,19 +573,36 @@ fi
 
 %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
@@ -619,6 +651,7 @@ fi
 %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/*
@@ -636,17 +669,26 @@ fi
 
 %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)
This page took 0.315344 seconds and 4 git commands to generate.