Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37734500
en ru br
ALT Linux repositórios
S:6.5-alt1
5.0: 2.6.27-alt3
4.1: 2.6.24-alt4
4.0: 2.6.17-alt6
3.0: 2.4.25-alt2

Group :: Desenvolvimento/Kernel
RPM: glibc-kernheaders

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009