Package syslinux: 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 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 | %define optflags_lto %nil Name: syslinux Version: 4.04 Release: alt19 Serial: 2 Summary: Simple kernel loader which boots from a FAT filesystem License: GPL Group: System/Kernel and hardware Url: http://syslinux.zytor.com/ ExclusiveArch: %ix86 x86_64 Requires: mtools Requires: %name-data = %serial:%version-%release Source0: %name-%version.tar.bz2 Source1: isolinux-config Source2: README.gfxboot # SuSE Patch1: syslinux-4.04-iso9660.diff Patch2: syslinux-4.04-cwd.diff Patch3: syslinux-4.04-noinitrd.diff Patch4: syslinux-4.04-mboot_bootif.diff Patch5: syslinux-4.04-md5pass.diff Patch6: syslinux-4.04-gcc47.diff Patch7: syslinux-4.04-libext2fs.diff Patch8: syslinux-4.04-isohybrid_efi.diff Patch9: syslinux-4.04-isohybrid_efi_optional.diff Patch10: syslinux-4.04-isohybrid_mbr.diff Patch11: syslinux-4.04-localboot.diff Patch12: syslinux-4.04-geometry.diff Patch13: syslinux-4.04-nostrip.diff Patch14: syslinux-4.04-timeout.diff Patch15: syslinux-4.04-cache_fix.diff Patch16: syslinux-4.04-mtime.diff Patch17: syslinux-4.04-miniacc.diff Patch18: syslinux-4.04-align.diff Patch19: syslinux-4.04-reproducible.patch Patch20: syslinux-4.04-python3.diff Patch21: sysmacros.patch Patch22: remove-note-gnu-section.patch Patch23: syslinux-4.04-lzo.diff Patch24: syslinux-4.04-gcc10.diff Patch25: syslinux-4.04-fno-pie.diff #BuildPrereq: nasm perl-base BuildRequires: rpm-build-python3 BuildRequires: nasm perl-Crypt-PasswdMD5 perl-Digest-SHA1 libe2fs-devel #linux-libc-headers BuildRequires: libuuid-devel #set_gcc_version 4.7 %description Syslinux is a simple kernel loader. It normally loads the kernel (and an optional initrd image) from a FAT filesystem. It can also be used as a PXE bootloader during network boots. %package extlinux Group: System/Kernel and hardware Summary: The EXTLINUX bootloader, for booting the local system. Requires: %name = %serial:%version-%release %description extlinux The EXTLINUX bootloader, for booting the local system, as well as all the SYSLINUX/PXELINUX modules in /boot. %package tftpboot Group: System/Kernel and hardware Summary: SYSLINUX modules in /tftpboot, available for network booting Requires: %name = %serial:%version-%release %description tftpboot All the SYSLINUX/PXELINUX modules directly available for network booting in the /tftpboot directory. %package devel Summary: Simple kernel loader which boots from a FAT filesystem, devel path Group: System/Kernel and hardware Requires: %name = %serial:%version %description devel Read main packages description %package data Summary: Simple kernel loader which boots from a FAT filesystem, x86 loader binaries Group: System/Kernel and hardware BuildArch: noarch %description data This package contains a set of syslinux loader binaries for x86-compatible architectures. %prep %setup -q %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p0 %patch7 -p0 %patch8 -p0 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p0 %patch14 -p1 %patch15 -p1 #%patch16 -p1 %patch17 -p0 %patch18 -p0 %patch19 -p1 %patch20 -p0 %patch21 -p1 %patch22 -p1 %patch23 -p0 %patch24 -p0 %patch25 -p2 install -m 0644 %SOURCE2 . sed -i 's,GCC_VERSION,_&,g' gpxe/src/arch/i386/Makefile %build export CFLAGS="%optflags -fno-stack-protector" export CC="gcc" export HOST_CC="$CC" %make_build spotless %make %install %make \ INSTALLDIR=%buildroot \ INSTALLROOT=%buildroot \ BINDIR=%_bindir \ SBINDIR=%_bindir \ DATADIR=%_libexecdir \ INCDIR=%_includedir \ MANDIR=%_mandir \ EXTLINUXDIR=/boot/extlinux \ install-all # TFTPBOOT=/tftpboot \ rm -rf %buildroot/tftpboot rm -rf %buildroot/%_libexecdir/%name/com32 mkdir -p %_sysconfdir #ln -s `relative /boot/extlinux/extlinux.conf %_sysconfdir/extlinux.conf` %buildroot/%_sysconfdir/extlinux.conf for f in ldlinux.sys ldlinux.bss do install -m 0644 core/$f %buildroot/%_libexecdir/%name/ done install -m 0755 %SOURCE1 %buildroot/%_bindir %files %doc NEWS README* doc/* sample/sample.* %_bindir/* %exclude %_bindir/extlinux %_man1dir/*.1.* %files data %dir %_libexecdir/%name/ %_libexecdir/%name/* %files extlinux %_bindir/extlinux /boot/extlinux %changelog * Mon Aug 30 2021 Sergey V Turchin <zerg@altlinux.org> 2:4.04-alt19 - build without LTO * Thu Mar 18 2021 Slava Aseev <ptrnine@altlinux.org> 2:4.04-alt18 - revert "fix asm constraints" patch - add -fno-pie flag (closes: #39805) * Wed Mar 10 2021 Slava Aseev <ptrnine@altlinux.org> 2:4.04-alt17 - sync patches with SuSE (zerg@) - fix asm constraints * Mon Dec 09 2019 Sergey V Turchin <zerg@altlinux.org> 2:4.04-alt16 - build with python3 * Wed Jun 05 2019 Sergey V Turchin <zerg@altlinux.org> 2:4.04-alt15 - sync patches with SuSE - use lastest gcc * Wed Nov 28 2018 Sergey V Turchin <zerg@altlinux.org> 2:4.04-alt14 - sync patches with SuSE - fix to build with new binutils * Fri Aug 24 2018 Paul Wolneykien <manowar@altlinux.org> 2:4.04-alt13 - Build exclusively for x86 providing the result to all platforms in the form of noarch package syslinux-data. * Wed Dec 02 2015 Michael Shigorin <mike@altlinux.org> 2:4.04-alt12 - rebuilt with gcc4.7 (see #31534 again) * Tue Dec 01 2015 Michael Shigorin <mike@altlinux.org> 2:4.04-alt11 - built with gcc4.9 (see #31534) * Mon Nov 30 2015 Sergey V Turchin <zerg@altlinux.org> 2:4.04-alt10 - rebuild * Mon Dec 01 2014 Sergey V Turchin <zerg@altlinux.org> 2:4.04-alt9 - sync patches with SuSE * Fri May 16 2014 Sergey V Turchin <zerg@altlinux.org> 2:4.04-alt8 - sync patches with SuSE * Mon Apr 22 2013 Sergey V Turchin <zerg@altlinux.org> 2:4.04-alt7 - sync patches with SuSE * Mon Feb 04 2013 Sergey V Turchin <zerg@altlinux.org> 2:4.04-alt6 - add patch from SuSE to fix build with gcc-4.7 * Thu Nov 15 2012 Michael Shigorin <mike@altlinux.org> 2:4.04-alt5 - built with gcc 4.6 (gfxboot hangs when built with 4.7) * Thu Nov 15 2012 Michael Shigorin <mike@altlinux.org> 2:4.04-alt4 - backported isohybrid-0.12 from syslinux-4.06 (UEFI/GPT support) + disabled patch3 for that matter * Wed Jul 04 2012 Sergey V Turchin <zerg@altlinux.org> 2:4.04-alt3 - package extlinux separately * Mon May 14 2012 Sergey V Turchin <zerg@altlinux.org> 2:4.04-alt2 - use external ext2_fs.h from libe2fs * Mon Apr 23 2012 Sergey V Turchin <zerg@altlinux.org> 2:4.04-alt1 - new version * Fri Jul 08 2011 Sergey V Turchin <zerg@altlinux.org> 2:3.86-alt6 - package ldlinux.bss (ALT#23543) * Mon Jul 04 2011 Sergey V Turchin <zerg@altlinux.org> 2:3.86-alt5 - fix boot from local disk * Wed Jun 15 2011 Michael Shigorin <mike@altlinux.org> 2:3.86-alt4 - backported/extended vesa-related fix from hdt-0.4.1: hdt-0.3.6 would drop to CLI if UI was gfxboot/vesa (and would erroneously take "automatic=" for "auto") * Wed May 25 2011 Sergey V Turchin <zerg@altlinux.org> 2:3.86-alt3 - new version - don't apply gfxboot-media-type.patch * Tue May 24 2011 Michael Shigorin <mike@altlinux.org> 2:3.82-alt6.1 - added whichsys.c32 (closes: #25663) * Mon May 31 2010 Sergey V Turchin <zerg@altlinux.org> 2:3.82-alt6 - fix detect media type for gfxboot; thanks boyarsh@alt * Fri May 28 2010 Sergey V Turchin <zerg@altlinux.org> 2:3.82-alt5 - revert to 3.82 * Thu May 27 2010 Sergey V Turchin <zerg@altlinux.org> 1:3.86-alt2 - fix detect media type for gfxboot; thanks boyarsh@alt * Thu May 20 2010 Sergey V Turchin <zerg@altlinux.org> 1:3.86-alt1 - see README.gfxboot (ALT#23502) * Fri Aug 14 2009 Sergey V Turchin <zerg@altlinux.org> 1:3.63-alt4 - revert from 3.82 * Wed Apr 29 2009 Sergey V Turchin <zerg@altlinux.org> 3.63-alt3 - package ldlinux.sys (ALT#18588) - update gfx patch (allow leave a20 untouched when hold SHIFT at boot) * Sun Jan 11 2009 Sergey V Turchin <zerg at altlinux dot org> 3.63-alt2 - add mtools to requires * Tue Oct 28 2008 Sergey V Turchin <zerg at altlinux dot org> 3.63-alt1 - new version * Tue Aug 14 2007 Sergey V Turchin <zerg at altlinux dot org> 3.36-alt2 - fix %%license, %%url * Tue Feb 13 2007 Sergey V Turchin <zerg at altlinux dot org> 3.36-alt1 - new version * Wed Jan 31 2007 Sergey V Turchin <zerg at altlinux dot org> 3.35-alt1 - new version * Wed Dec 13 2006 Sergey V Turchin <zerg at altlinux dot org> 3.31-alt1 - new version - update gfx patch from SUSE * Tue May 23 2006 Andriy Stepanov <stanv@altlinux.ru> 3.11-alt1 - new version * Mon Jul 04 2005 Anton D. Kachalov <mouse@altlinux.org> 2.11-alt2 - multilib support * Sun Dec 05 2004 Anton Farygin <rider@altlinux.ru> 2.11-alt1 - new version, updated gfx patch from SUSE * Thu Nov 27 2003 Grigory Milev <week@altlinux.ru> 2.06-alt1 - new version released - added gfx patch from SUSE * Mon Aug 18 2003 Grigory Milev <week@altlinux.ru> 2.05-alt1 - new version released * Fri Nov 29 2002 Grigory Milev <week@altlinux.ru> 2.00-alt1 - new version released * Wed Oct 2 2002 Grigory Milev <week@altlinux.ru> 1.76-alt1 - new version released * Wed Oct 2 2002 Grigory Milev <week@altlinux.ru> 1.52-alt1 - ALT Linux adaptation * Tue Jan 29 2002 Sergey Bolshakov <s.bolshakov@belcaf.com> 1.52-1aw - AW adaptations * Sat Feb 10 2001 Matt Wilson <msw@redhat.com> - 1.52 * Wed Jan 24 2001 Matt Wilson <msw@redhat.com> - 1.51pre7 * Mon Jan 22 2001 Matt Wilson <msw@redhat.com> - 1.51pre5 * Fri Jan 19 2001 Matt Wilson <msw@redhat.com> - 1.51pre3, with e820 detection * Tue Dec 12 2000 Than Ngo <than@redhat.com> - rebuilt with fixed fileutils * Thu Nov 9 2000 Than Ngo <than@redhat.com> - update to 1.49 - update ftp site - clean up specfile - add some useful documents * Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - add %%defattr (release 4) * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild * Thu Jul 06 2000 Trond Eivind Glomsr\xf8d <teg@redhat.com> - use %%{_tmppath} - change application group (Applications/Internet doesn't seem right to me) - added BuildRequires * Tue Apr 04 2000 Erik Troan <ewt@redhat.com> - initial packaging |