Package extlinux: 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 | Summary: The EXTLINUX bootloader, for booting the local system. Name: extlinux Version: 6.04.pre1 Release: alt1.5e426532 License: GPL-2.0-or-later Group: System/Base Url: http://www.syslinux.org/wiki/index.php/The_Syslinux_Project Packager: Alexey Gladkov <legion@altlinux.ru> Source0: %name-%version.tar Source1: configs.tar Source2: extlinux.sysconfig Source3: extlinux-config Source4: extlinux.filetrigger Patch0: strip-gnu-property.patch BuildRequires: libe2fs-devel libuuid-devel nasm Requires: libshell util-linux Conflicts: syslinux-extlinux Obsoletes: syslinux4-extlinux Provides: syslinux4-extlinux = %version-%release ExclusiveArch: %{ix86} x86_64 %global _unpackaged_files_terminate_build 1 %add_verify_elf_skiplist /boot/extlinux/* %add_findreq_skiplist /boot/extlinux/* %description The EXTLINUX bootloader, for booting the local system, as well as all the SYSLINUX/PXELINUX modules in /boot. %package doc Summary: Extlinux documentation. Group: Documentation %description doc Extlinux documentation. %prep %setup -q %patch0 -p1 %build rm -rf mk/devel.mk sed -i \ -e 's,\(strip tidy clean dist install installer netinstall\):$,\1 extbootinstall:,' \ Makefile make bios %install make bios extbootinstall \ INSTALLROOT="%buildroot" \ EXTLINUXDIR=/boot/extlinux mkdir -p -- %buildroot/%_sysconfdir/sysconfig \ %buildroot/%_rpmlibdir \ %buildroot/%_man1dir \ %buildroot/sbin cp -a bios/mbr/*mbr.bin %buildroot/boot/extlinux/ install -m755 bios/extlinux/extlinux %buildroot/sbin/ install -m644 man/extlinux.1 %buildroot/%_man1dir/ install -m644 %SOURCE2 %buildroot/%_sysconfdir/sysconfig/extlinux install -m755 %SOURCE3 %buildroot/sbin/ install -m755 %SOURCE4 %buildroot/%_rpmlibdir/ tar -C %buildroot/boot/extlinux -xf %SOURCE1 cd %buildroot/boot ln -s . boot cd %buildroot/%_sysconfdir ln -s ../boot/extlinux/extlinux.conf . ln -s ../boot/extlinux/extlinux.conf.d . %pre [ ! -L /sbin/extlinux-config ] || rm -f -- /sbin/extlinux-config %files %dir /boot/extlinux/extlinux.conf.d %config(noreplace) /boot/extlinux/extlinux.conf %config(noreplace) /boot/extlinux/extlinux.conf.d/.*.conf %config(noreplace) /boot/extlinux/extlinux.conf.d/*.conf %config(noreplace) %_sysconfdir/sysconfig/extlinux %_sysconfdir/extlinux.conf %_sysconfdir/extlinux.conf.d /boot/boot /boot/extlinux/memdisk /boot/extlinux/*.bin /boot/extlinux/*.c32 /sbin/extlinux /sbin/extlinux-config %_rpmlibdir/* %_man1dir/extlinux.1* %files doc %doc COPYING NEWS doc/* %doc sample %changelog * Sat Dec 22 2018 Alexey Gladkov <legion@altlinux.ru> 6.04.pre1-alt1.5e426532 - New snapshot (syslinux-6.04-pre1-41-g5e426532). * Mon May 07 2018 Alexey Gladkov <legion@altlinux.ru> 6.03-alt2 - Remove parted from specfile. * Tue Dec 26 2017 Alexey Gladkov <legion@altlinux.ru> 6.03-alt1 - New release (6.03). * Wed Sep 12 2012 Alexey Gladkov <legion@altlinux.ru> 4.05-alt3 - Remove obsolete %%postinstall script. - Filetrigger only updates the configuration. * Wed Sep 05 2012 Alexey Gladkov <legion@altlinux.ru> 4.05-alt2 - Add conflict with syslinux-extlinux. * Thu May 24 2012 Alexey Gladkov <legion@altlinux.ru> 4.05-alt1 - New release (4.05). - There is only a bootloader. - extlinux-config: Add gpt support. * Fri Dec 24 2010 Alexey Gladkov <legion@altlinux.ru> 4.03-alt6 - extlinux-config: Fix root device detection. * Thu Nov 25 2010 Alexey Gladkov <legion@altlinux.ru> 4.03-alt5 - New release (4.03). * Fri Oct 01 2010 Alexey Gladkov <legion@altlinux.ru> 4.03-alt4 - extlinux-config: Add --root option. * Fri Sep 24 2010 Alexey Gladkov <legion@altlinux.ru> 4.03-alt3 - Package docs in a seperate package (ALT#24151). - Add symlink to /boot (ALT#24150). - Move extlinux-config to /sbin (ALT#24149). * Wed Sep 22 2010 Alexey Gladkov <legion@altlinux.ru> 4.03-alt2 - Fix extlinux-config. - Add mbr.bin to extlinux. * Thu Sep 09 2010 Alexey Gladkov <legion@altlinux.ru> 4.03-alt1 - Initial build. |