Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37736133
en ru br
Репозитории ALT
S:6.5-alt1
5.1: 2.6.29-alt3
4.1: 2.6.24-alt4
4.0: 2.6.17-alt6
3.0: 2.4.25-alt2
www.altlinux.org/Changes

Группа :: Разработка/Ядро
Пакет: glibc-kernheaders

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: glibc-kernheaders
Version: 2.6.24
Release: alt4

Summary: Linux kernel C header files for use by glibc and other userspace software
License: GPL
Group: Development/Kernel
Url: ftp://ftp.kernel.org/pub/linux/kernel/v2.6
Packager: Linux Kernel Development Team <kernel at packages.altlinux.org>

Patch: %name-%version-%release.patch

Provides: kernel-headers = %version-%release
Provides: linux-libc-headers = %version-%release
Obsoletes: linux-libc-headers

BuildRequires: kernel-build-tools >= 0.8, kernel-source-%version

ExclusiveOS: Linux

%ifarch %ix86 x86_64
%define base_arch x86
%else
%define base_arch %_target_cpu
%endif

%description
This package includes the C header files that specify the interface
between the Linux kernel and userspace libraries and programs.  The header
files define structures and constants that are needed for building most
standard programs and are also needed for rebuilding the glibc package.

%prep
%setup -qcT
rm -rf kernel-source-%version
tar -xjf %kernel_src/kernel-source-%version.tar.bz2
%setup -qDT -n %name-%version/kernel-source-%version
%patch -p1

%install
make headers_install ARCH=%base_arch \
INSTALL_HDR_PATH=%buildroot%_includedir/linux-default

d="$PWD"
pushd %buildroot%_includedir/linux-default/include
for f in {asm,linux}/*.h; do
printf '#include <%%s>\n' "$f" |
%__cc %optflags -xc -c -I"$PWD" -o/dev/null - ||
echo "$f"
done >"$d/fail.log"
popd

%pre
if [ -L %_includedir/linux-default/include/asm ]; then
rm -f %_includedir/linux-default/include/asm
fi

%files
%_includedir/linux-default
%doc fail.log

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin