# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
-# TODO tzdata
-
name = glibc
version = 2.14
-release = 1
+release = 4
maintainer = Michael Tremer <michael.tremer@ipfire.org>
groups = System/Base
sources = %{thisapp}.tar.xz
build
+ # Optimize glibc for kernel
+ OPTIMIZED_KERNEL = 2.6.32
+
requires
audit-devel
autoconf
automake
gettext
+ kernel-headers>=%{OPTIMIZED_KERNEL}
libcap-devel
libselinux-devel
texinfo
export CFLAGS = %{GLIBC_FLAGS}
export CXXFLAGS = %{GLIBC_FLAGS}
- # Optimize glibc for kernel
- OPTIMIZED_KERNEL = 2.6.32
-
export QUALITY_AGENT_RPATH_ALLOW_ORIGIN=yes
prepare_cmds
# Timezone
cp -v --remove-destination %{BUILDROOT}/usr/share/zoneinfo/GMT \
%{BUILDROOT}/etc/localtime
+ rm -rf %{BUILDROOT}/usr/share/zoneinfo
# Configuration
cp -vf %{DIR_SOURCE}/{ld.so.conf,nsswitch.conf} %{BUILDROOT}/etc
# Move some libs to correct place
mv -v %{BUILDROOT}/lib/lib{memusage,pcprofile}.so %{BUILDROOT}/usr/lib/
end
+
+ keep_libraries
+ /usr/lib/libc_nonshared.a
+ /usr/lib/libpthread_nonshared.a
+ end
end
packages
package glibc-common
# XXX description and summary are missing
+ requires = tzdata
+
files
/usr/bin
/usr/sbin