forked from pool/glibc
This commit is contained in:
parent
afa4a7c1c8
commit
6ee4ab0938
42
glibc.spec
42
glibc.spec
@ -77,7 +77,7 @@ Obsoletes: glibc-64bit
|
|||||||
Obsoletes: glibc-32bit
|
Obsoletes: glibc-32bit
|
||||||
%endif
|
%endif
|
||||||
Version: 2.13
|
Version: 2.13
|
||||||
Release: 5
|
Release: 23
|
||||||
Url: http://www.gnu.org/software/libc/libc.html
|
Url: http://www.gnu.org/software/libc/libc.html
|
||||||
Source: glibc-%{version}-996cf2ef0727.tar.bz2
|
Source: glibc-%{version}-996cf2ef0727.tar.bz2
|
||||||
Source2: http://ftp.gnu.org/gnu/glibc/glibc-ports-2.13.tar.bz2
|
Source2: http://ftp.gnu.org/gnu/glibc/glibc-ports-2.13.tar.bz2
|
||||||
@ -220,7 +220,6 @@ Group: Documentation/Other
|
|||||||
Requires(post): %{install_info_prereq}
|
Requires(post): %{install_info_prereq}
|
||||||
Requires(postun): %{install_info_prereq}
|
Requires(postun): %{install_info_prereq}
|
||||||
|
|
||||||
|
|
||||||
%description info
|
%description info
|
||||||
This package contains the documentation for the GNU C library stored as
|
This package contains the documentation for the GNU C library stored as
|
||||||
info files. Due to a lack of resources, this documentation is not
|
info files. Due to a lack of resources, this documentation is not
|
||||||
@ -231,7 +230,6 @@ License: GPLv2+ ; LGPLv2.1+
|
|||||||
Summary: HTML Documentation for the GNU C Library
|
Summary: HTML Documentation for the GNU C Library
|
||||||
Group: Documentation/HTML
|
Group: Documentation/HTML
|
||||||
|
|
||||||
|
|
||||||
%description html
|
%description html
|
||||||
This package contains the HTML documentation for the GNU C library. Due
|
This package contains the HTML documentation for the GNU C library. Due
|
||||||
to a lack of resources, this documentation is not complete and is
|
to a lack of resources, this documentation is not complete and is
|
||||||
@ -242,7 +240,6 @@ License: LGPLv2.1+
|
|||||||
Summary: Database Sources for 'locale'
|
Summary: Database Sources for 'locale'
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
|
|
||||||
%description i18ndata
|
%description i18ndata
|
||||||
This package contains the data needed to build the locale data files to
|
This package contains the data needed to build the locale data files to
|
||||||
use the internationalization features of the GNU libc. It is normally
|
use the internationalization features of the GNU libc. It is normally
|
||||||
@ -263,7 +260,6 @@ Obsoletes: glibc-locale-64bit
|
|||||||
Obsoletes: glibc-locale-32bit
|
Obsoletes: glibc-locale-32bit
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%description locale
|
%description locale
|
||||||
Locale data for the internationalisation features of the GNU C library.
|
Locale data for the internationalisation features of the GNU C library.
|
||||||
|
|
||||||
@ -277,7 +273,6 @@ Requires(preun): %insserv_prereq
|
|||||||
Requires(post): %insserv_prereq
|
Requires(post): %insserv_prereq
|
||||||
Requires(postun): %insserv_prereq
|
Requires(postun): %insserv_prereq
|
||||||
|
|
||||||
|
|
||||||
%description -n nscd
|
%description -n nscd
|
||||||
Nscd caches name service lookups and can dramatically improve
|
Nscd caches name service lookups and can dramatically improve
|
||||||
performance with NIS, NIS+, and LDAP.
|
performance with NIS, NIS+, and LDAP.
|
||||||
@ -295,7 +290,6 @@ Obsoletes: glibc-profile-64bit
|
|||||||
Obsoletes: glibc-profile-32bit
|
Obsoletes: glibc-profile-32bit
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%description profile
|
%description profile
|
||||||
This package contains special versions of the GNU C library which are
|
This package contains special versions of the GNU C library which are
|
||||||
necessary for profiling and debugging.
|
necessary for profiling and debugging.
|
||||||
@ -316,18 +310,17 @@ Obsoletes: glibc-devel-32bit
|
|||||||
Requires: glibc = %{version}
|
Requires: glibc = %{version}
|
||||||
Requires: linux-kernel-headers
|
Requires: linux-kernel-headers
|
||||||
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
These libraries are needed to develop programs which use the standard C
|
These libraries are needed to develop programs which use the standard C
|
||||||
library.
|
library.
|
||||||
|
|
||||||
%package devel-static
|
%package devel-static
|
||||||
|
|
||||||
|
|
||||||
Summary: C library static libraries for -static linking
|
Summary: C library static libraries for -static linking
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name}-devel = %{version}
|
Requires: %{name}-devel = %{version}
|
||||||
|
|
||||||
|
|
||||||
%description devel-static
|
%description devel-static
|
||||||
The glibc-devel-static package contains the C library static libraries
|
The glibc-devel-static package contains the C library static libraries
|
||||||
for -static linking. You don't need these, unless you link statically,
|
for -static linking. You don't need these, unless you link statically,
|
||||||
@ -339,7 +332,6 @@ Summary: Development utilities from GNU C library
|
|||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Requires: glibc = %{version}
|
Requires: glibc = %{version}
|
||||||
|
|
||||||
|
|
||||||
%description utils
|
%description utils
|
||||||
The glibc-utils package contains mtrace, a memory leak tracer and
|
The glibc-utils package contains mtrace, a memory leak tracer and
|
||||||
xtrace, a function call tracer which can be helpful during program
|
xtrace, a function call tracer which can be helpful during program
|
||||||
@ -349,14 +341,12 @@ If you are unsure if you need this, don't install this package.
|
|||||||
|
|
||||||
%ifarch %ix86
|
%ifarch %ix86
|
||||||
|
|
||||||
|
|
||||||
%package obsolete
|
%package obsolete
|
||||||
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
|
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
|
||||||
Summary: Obsolete Shared Libraries from the GNU C Library
|
Summary: Obsolete Shared Libraries from the GNU C Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: glibc = %{version}
|
Requires: glibc = %{version}
|
||||||
|
|
||||||
|
|
||||||
%description obsolete
|
%description obsolete
|
||||||
This package provides some old libraries from the GNU C Library which
|
This package provides some old libraries from the GNU C Library which
|
||||||
are no longer supported. Additional it provides a compatibility library
|
are no longer supported. Additional it provides a compatibility library
|
||||||
@ -369,7 +359,6 @@ versions of your software.
|
|||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%ifarch %arm armv5tel armv7l
|
%ifarch %arm armv5tel armv7l
|
||||||
# add glibc-ports for arm
|
# add glibc-ports for arm
|
||||||
@ -445,7 +434,6 @@ rm nscd/s-stamp
|
|||||||
%patch63 -p1
|
%patch63 -p1
|
||||||
%patch64 -p1
|
%patch64 -p1
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map->l_init_called' failed!
|
# Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map->l_init_called' failed!
|
||||||
#
|
#
|
||||||
@ -472,7 +460,6 @@ find . -name configure | xargs touch
|
|||||||
###
|
###
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ -x /bin/uname.bin ]; then
|
if [ -x /bin/uname.bin ]; then
|
||||||
/bin/uname.bin -a
|
/bin/uname.bin -a
|
||||||
@ -648,7 +635,6 @@ $BuildCC -static %{optflags} -Os $RPM_SOURCE_DIR/glibc_post_upgrade.c -o glibc_p
|
|||||||
###
|
###
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{run_testsuite}
|
%if %{run_testsuite}
|
||||||
# Increase timeout
|
# Increase timeout
|
||||||
@ -671,7 +657,6 @@ make -C cc-base check-abi || echo check-abi failed
|
|||||||
###
|
###
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# We don't want to strip the .symtab from our libraries in find-debuginfo.sh,
|
# We don't want to strip the .symtab from our libraries in find-debuginfo.sh,
|
||||||
# certainly not from libpthread.so.* because it is used by libthread_db to find
|
# certainly not from libpthread.so.* because it is used by libthread_db to find
|
||||||
@ -838,14 +823,12 @@ mkdir -p %{buildroot}/lib/systemd/system
|
|||||||
install -m 644 %{SOURCE21} %{buildroot}/lib/systemd/system
|
install -m 644 %{SOURCE21} %{buildroot}/lib/systemd/system
|
||||||
install -m 644 %{SOURCE22} %{buildroot}/lib/systemd/system
|
install -m 644 %{SOURCE22} %{buildroot}/lib/systemd/system
|
||||||
|
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
###
|
###
|
||||||
### ...
|
### ...
|
||||||
###
|
###
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
@ -853,13 +836,10 @@ rm -rf %{buildroot}
|
|||||||
# %%set_permissions %%{_libdir}/pt_chown
|
# %%set_permissions %%{_libdir}/pt_chown
|
||||||
# since we cannot do it in our own post section
|
# since we cannot do it in our own post section
|
||||||
|
|
||||||
|
|
||||||
%post -p %{_sbindir}/glibc_post_upgrade
|
%post -p %{_sbindir}/glibc_post_upgrade
|
||||||
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%post locale
|
%post locale
|
||||||
for l in /usr/share/locale/locale.alias %{_libdir}/gconv/gconv-modules; do
|
for l in /usr/share/locale/locale.alias %{_libdir}/gconv/gconv-modules; do
|
||||||
[ -d "$l.d" ] || continue
|
[ -d "$l.d" ] || continue
|
||||||
@ -868,24 +848,19 @@ for l in /usr/share/locale/locale.alias %{_libdir}/gconv/gconv-modules; do
|
|||||||
done
|
done
|
||||||
/usr/sbin/iconvconfig
|
/usr/sbin/iconvconfig
|
||||||
|
|
||||||
|
|
||||||
%post info
|
%post info
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/libc.info.gz
|
%install_info --info-dir=%{_infodir} %{_infodir}/libc.info.gz
|
||||||
|
|
||||||
|
|
||||||
%postun info
|
%postun info
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz
|
||||||
|
|
||||||
|
|
||||||
%preun -n nscd
|
%preun -n nscd
|
||||||
%stop_on_removal nscd
|
%stop_on_removal nscd
|
||||||
|
|
||||||
|
|
||||||
%post -n nscd
|
%post -n nscd
|
||||||
%{insserv_force_if_yast nscd}
|
%{insserv_force_if_yast nscd}
|
||||||
mkdir -p /var/run/nscd
|
mkdir -p /var/run/nscd
|
||||||
|
|
||||||
|
|
||||||
%postun -n nscd
|
%postun -n nscd
|
||||||
%restart_on_update nscd
|
%restart_on_update nscd
|
||||||
%insserv_cleanup
|
%insserv_cleanup
|
||||||
@ -902,7 +877,6 @@ exit 0
|
|||||||
|
|
||||||
# glibc
|
# glibc
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSES
|
%doc LICENSES
|
||||||
@ -1030,7 +1004,6 @@ exit 0
|
|||||||
|
|
||||||
%ifarch %ix86
|
%ifarch %ix86
|
||||||
|
|
||||||
|
|
||||||
%files obsolete
|
%files obsolete
|
||||||
%defattr (755,root,root,755)
|
%defattr (755,root,root,755)
|
||||||
%dir /%{_lib}/obsolete/
|
%dir /%{_lib}/obsolete/
|
||||||
@ -1039,7 +1012,6 @@ exit 0
|
|||||||
/%{_lib}/obsolete/noversion/libNoVersion.so.1
|
/%{_lib}/obsolete/noversion/libNoVersion.so.1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files locale -f libc.lang
|
%files locale -f libc.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/locale/locale.alias
|
%{_datadir}/locale/locale.alias
|
||||||
@ -1048,7 +1020,6 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
%{_libdir}/gconv
|
%{_libdir}/gconv
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.LIB FAQ INSTALL NEWS NOTES README BUGS CONFORMANCE
|
%doc COPYING COPYING.LIB FAQ INSTALL NEWS NOTES README BUGS CONFORMANCE
|
||||||
@ -1075,7 +1046,6 @@ exit 0
|
|||||||
%{_libdir}/libpthread_nonshared.a
|
%{_libdir}/libpthread_nonshared.a
|
||||||
%{_libdir}/librpcsvc.a
|
%{_libdir}/librpcsvc.a
|
||||||
|
|
||||||
|
|
||||||
%files devel-static
|
%files devel-static
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libBrokenLocale.a
|
%{_libdir}/libBrokenLocale.a
|
||||||
@ -1090,24 +1060,20 @@ exit 0
|
|||||||
%{_libdir}/librt.a
|
%{_libdir}/librt.a
|
||||||
%{_libdir}/libutil.a
|
%{_libdir}/libutil.a
|
||||||
|
|
||||||
|
|
||||||
%files info
|
%files info
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc %{_infodir}/libc.info.gz
|
%doc %{_infodir}/libc.info.gz
|
||||||
%doc %{_infodir}/libc.info-?.gz
|
%doc %{_infodir}/libc.info-?.gz
|
||||||
%doc %{_infodir}/libc.info-??.gz
|
%doc %{_infodir}/libc.info-??.gz
|
||||||
|
|
||||||
|
|
||||||
%files html
|
%files html
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc %{_prefix}/share/doc/glibc
|
%doc %{_prefix}/share/doc/glibc
|
||||||
|
|
||||||
|
|
||||||
%files i18ndata
|
%files i18ndata
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_prefix}/share/i18n
|
%{_prefix}/share/i18n
|
||||||
|
|
||||||
|
|
||||||
%files -n nscd
|
%files -n nscd
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config(noreplace) /etc/nscd.conf
|
%config(noreplace) /etc/nscd.conf
|
||||||
@ -1127,7 +1093,6 @@ exit 0
|
|||||||
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/group
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/group
|
||||||
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/hosts
|
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/run/nscd/hosts
|
||||||
|
|
||||||
|
|
||||||
%files profile
|
%files profile
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libc_p.a
|
%{_libdir}/libc_p.a
|
||||||
@ -1143,7 +1108,6 @@ exit 0
|
|||||||
%{_libdir}/libutil_p.a
|
%{_libdir}/libutil_p.a
|
||||||
%{_libdir}/libdl_p.a
|
%{_libdir}/libdl_p.a
|
||||||
|
|
||||||
|
|
||||||
%files utils
|
%files utils
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/%{_lib}/libmemusage.so
|
/%{_lib}/libmemusage.so
|
||||||
@ -1155,6 +1119,4 @@ exit 0
|
|||||||
%{_bindir}/pcprofiledump
|
%{_bindir}/pcprofiledump
|
||||||
%{_bindir}/xtrace
|
%{_bindir}/xtrace
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user