Пакет glibc-kernheaders: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | Name: glibc-kernheaders Version: 2.6.17 Release: alt6 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@packages.altlinux.org> ExclusiveOS: Linux ExclusiveArch: %ix86 x86_64 Provides: kernel-headers = %version-%release # No need to waste time on this. AutoReqProv: no %ifarch %ix86 %define base_arch i386 %else %define base_arch %_target_cpu %endif Source0: kernheaders-%version.tar Source1: autoconf.h Source2: version.h Source3: sanitize.sh Patch1: kernheaders-2.6.9-alt-MAX_NESTED_LINKS.patch Patch2: kernheaders-2.6.17-alt-linux-types.patch Patch3: kernheaders-2.6.17-alt-linux-ustat.patch Patch4: kernheaders-2.6.17-alt-linux-cciss_ioctl.patch Patch5: kernheaders-2.6.17-alt-linux-joystick.patch Patch6: kernheaders-2.6.17-alt-asm-i386-system.patch Patch7: kernheaders-2.6.17-alt-linux-futex.patch Patch11: kernheaders-suse.patch %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 -qc %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 cd include %patch11 -p0 install -pm644 %_sourcedir/{autoconf.h,version.h} linux/ find -type f -not -name compiler\*.h -print0 | xargs -r0 %_sourcedir/sanitize.sh %build ln -s asm-%base_arch include/asm %install mkdir -p %buildroot%_includedir/linux-default/include cp -a include/{asm,asm-generic,asm-%base_arch,linux} \ %buildroot%_includedir/linux-default/include/ 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 %files %_includedir/linux-default %changelog * Thu Apr 12 2007 Dmitry V. Levin <ldv@altlinux.org> 2.6.17-alt6 - Updated linux/futex.h (Kirill A. Shutemov): + Backported FUTEX_* constants. + Fixed linux/futex.h compilation. * Thu Jan 25 2007 Dmitry V. Levin <ldv@altlinux.org> 2.6.17-alt5 - Disabled sanitization of compiler*.h. * Thu Jan 25 2007 Dmitry V. Levin <ldv@altlinux.org> 2.6.17-alt4 - Sanitize headers (#10634). * Sun Oct 08 2006 Dmitry V. Levin <ldv@altlinux.org> 2.6.17-alt3 - linux/joystick.h: Include <linux/types.h> instead of <asm/types.h>. - asm-i386/system.h: Replace u(8|16|32) types with __u(8|16|32). * Fri Oct 06 2006 Dmitry V. Levin <ldv@altlinux.org> 2.6.17-alt2 - Removed improper kernheaders-2.6.9-alt-byteorder.patch, see https://bugzilla.altlinux.org/show_bug.cgi?id=5409#c5 for details. - linux/types.h: + Include <sys/types.h>; + Hide "struct ustat" definition from userspace. - linux/cciss_ioctl.h: Include <linux/compiler.h>. * Mon Oct 02 2006 Dmitry V. Levin <ldv@altlinux.org> 2.6.17-alt1 - Updated to linux-2.6.17. - Applied patch from SuSE to make headers more ready for userspace. - Backported byteorder and MAX_NESTED_LINKS fixes from std26 headers. * Tue Oct 04 2005 Dmitry V. Levin <ldv@altlinux.org> 2.4.29-alt2 - Fixed linux/if_fddi.h (see #8122). * Tue Aug 09 2005 Anton D. Kachalov <mouse@altlinux.org> 2.4.29-alt1 - Updated headers to 2.4.29. - Updated asm/unistd.h to linux-2.6.12. - Added headers for x86_64 architecture. - Added URL. * Tue May 10 2005 Dmitry V. Levin <ldv@altlinux.org> 2.4.25-alt2 - Updated asm/termbits.h to linux-2.6.11. - Updated asm/unistd.h to linux-2.6.11. - Updated linux/prctl.h to linux-2.6.11. * Sat Apr 10 2004 Dmitry V. Levin <ldv@altlinux.org> 2.4.25-alt1 - Updated to linux-2.4.25. - Updated linux/prctl.h to linux-2.6.5. - Updated asm/unistd.h to linux-2.6.5. * Fri Jun 20 2003 Dmitry V. Levin <ldv@altlinux.org> 2.4.21-alt1 - Updated to linux-2.4.21. * Mon Jun 09 2003 Dmitry V. Levin <ldv@altlinux.org> 2.4-alt4 - Relocated to proper place, %_includedir/linux-default/include/. * Tue Jun 03 2003 Dmitry V. Levin <ldv@altlinux.org> 2.4-alt3 - Tarball and specfile cleanup. * Wed May 28 2003 Peter Novodvorsky <nidd@altlinux.com> 2.4-alt2 - Removed all requires. * Tue May 27 2003 Peter Novodvorsky <nidd@altlinux.com> 2.4-alt1 - Rebuilt with ALTLinux adaptations for new kernel policy. * Sun Apr 13 2003 Ajran van de Ven <arjanv@redhat.com> 2.4-8.13 - remove more kernel private files * Fri Apr 11 2003 Jakub Jelinek <jakub@redhat.com> 2.4-8.12 - update <linux/prctl.h> header - remove i386 <asm/io.h>, replace it with a warning and <sys/io.h> include (Arjan van de Ven) * Mon Feb 10 2003 Jakub Jelinek <jakub@redhat.com> 2.4-8.11 - update syscall numbers for all arches from 2.5.64 headers * Fri Feb 7 2003 Bill Nottingham <notting@redhat.com> 2.4-8.10 - update more wireless headers * Wed Feb 5 2003 Bill Nottingham <notting@redhat.com> 2.4-8.9 - update wireless headers * Thu Jan 30 2003 Jakub Jelinek <jakub@redhat.com> 2.4-8.7 - make /usr/include/asm during build if it doesn't exist * Thu Jan 30 2003 Jakub Jelinek <jakub@redhat.com> 2.4-8.6 - remove unpackaged file * Thu Jan 30 2003 Bill Nottingham <notting@redhat.com> - update netfilter headers * Thu Jan 30 2003 Jakub Jelinek <jakub@redhat.com> 2.4-8.5 - don't include <linux/types.h> etc. in <asm-s390*/ptrace.h> * Thu Jan 16 2003 Jakub Jelinek <jakub@redhat.com> 2.4-8.4 - updated s390 headers, added s390x headers - HTB in <linux/pkt_sched.h> - no -debuginfo subpackage * Thu Dec 12 2002 Jakub Jelinek <jakub@redhat.com> 2.4-8.3 - update version.h from kernel-2.4.20-0.pp.6 * Tue Nov 26 2002 Jakub Jelinek <jakub@redhat.com> 2.4-8.2 - update unistd.h from kernel-2.4.19-0.pp.19 * Thu Oct 10 2002 Jakub Jelinek <jakub@redhat.com> - generate stubs automatically - remove /usr/include/scsi from file list * Thu Oct 10 2002 Arjan van de Ven <arjanv@redhat.com - added support for mixed 32/64 headers * Tue Mar 21 2002 Arjan van de Ven <arjanv@redhat.com - update ethtool and other network ioctls * Tue Feb 10 2002 Arjan van de Ven <arjanv@redhat.com - removed autoconf.h content * Sun Feb 10 2002 Arjan van de Ven <arjanv@redhat.com - fix missing include that broke quota.h * Mon Jan 07 2002 Arjan van de Ven <arjanv@redhat.com - fix rhconfig.h include file to not care about /boot/kernel.h * Wed Jan 02 2002 Florian La Roche <Florian.LaRoche@redhat.de> - fix #warning in <asm-i386/rwlock.h> and <asm-i386/spinlock.h> * Thu Dec 6 2001 Arjan van de Ven <arjanv@redhat.com> - fix misplaced #endif * Tue Dec 4 2001 Arjan van de Ven <arjanv@redhat.com> - fix version.h to not include /boot/kernel.h * Wed Oct 31 2001 Arjan van de Ven <arjanv@redhat.com> - Initial packaging |