Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37728981
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.29
Release: alt3

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>

Source: %name-%version-%release.tar

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

ExclusiveOS: Linux

%ifarch %ix86 x86_64
%define base_arch x86
%endif

%ifarch ppc ppc64
%define base_arch powerpc
%endif

%ifndef base_arch
%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 -q -n %name-%version-%release

%install
make headers_install ARCH=%base_arch \
INSTALL_HDR_PATH=%buildroot%_includedir/linux-default
find %buildroot%_includedir -name "*.install*" -delete

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