Summary: Linux kernel headers for use with C libraries Summary(pl): Nagłówki jądra Linuksa do użytku z bibliotekami C Name: linux-libc-headers Version: 2.6.8.0 Release: 1 Epoch: 7 License: GPL Group: Development Source0: http://ep09.pld-linux.org/~mmazur/linux-libc-headers/%{name}-%{version}.tar.bz2 # Source0-md5: b876a1819ca0179cd2b690ef0b034c66 Patch0: %{name}-esfq.patch Patch1: %{name}-wrr.patch Patch2: %{name}-netfilter.patch BuildRequires: rpmbuild(macros) >= 1.153 AutoReqProv: no Requires(pre): fileutils Provides: alsa-driver-devel Provides: i2c-devel = 2.8.2 Provides: glibc-kernel-headers = %{epoch}:%{version}-%{release} Obsoletes: alsa-driver-devel Obsoletes: glibc-kernheaders Obsoletes: glibc-kernel-headers Conflicts: lm_sensors-devel < 2.8.2-2 ExclusiveOS: Linux BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define no_install_post_strip 1 %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. %description -l pl Ten pakiet zawiera pliki nagłówkowe C, które definiują interfejs między jądrem Linuksa a bibliotekami i programami działającymi w przestrzeni użytkownika. Pliki nagłówkowe definiują struktury i stałe potrzebne do zbudowania większości standardowych programów, są także potrzebne do przebudowania pakietu glibc. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %ifarch sparc sparcv6 sparc64 cd include rm -f asm mkdir asm for h in `( ls asm-sparc; ls asm-sparc64 ) | grep '\.h$' | sort -u`; do name=`echo $h | tr a-z. A-Z_` # common header cat > asm/$h << EOF /* All asm/ files are generated and point to the corresponding * file in asm-sparc or asm-sparc64. To regenerate, run "generate-asm" */ #ifndef __SPARCSTUB__${name}__ #define __SPARCSTUB__${name}__ EOF # common for sparc and sparc64 if [ -f asm-sparc/$h -a -f asm-sparc64/$h ]; then cat >> asm/$h < #else #include #endif EOF # sparc only elif [ -f asm-sparc/$h ]; then cat >> asm/$h < #endif EOF # sparc64 only else cat >> asm/$h < #endif EOF fi # common footer cat >> asm/$h <