Package flashrom: 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 | Name: flashrom Version: 1.2 Release: alt2.E2K.2 Summary: Universal flash programming utility License: %gpl2plus Group: System/Kernel and hardware Url: http://flashrom.org/Flashrom # Homepage: http://www.flashrom.org # https://review.coreboot.org/flashrom.git Source0: %name-%version.tar Source1: flashboot.sh Patch2000: 0001-e2k-support.patch BuildRequires(pre): rpm-build-licenses BuildRequires: libpci-devel zlib-devel libusb-compat-devel libusb-devel %ifnarch %e2k BuildRequires: libftdi1-devel %endif %description flashrom is a tool for identifying, reading, writing, verifying and erasing flash chips. It's often used to flash BIOS/EFI/coreboot/firmware/optionROM images in-system using a supported mainboard, but it also supports flashing of network cards (NICs), SATA controller cards, and other external devices which can program flash chips. It supports a wide range of DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32/40/48, and BGA chips, which use various protocols such as LPC, FWH, parallel flash, or SPI. The tool can be used to flash BIOS/firmware images for example -- be it proprietary BIOS images or coreboot (previously known as LinuxBIOS) images. It can also be used to read the current existing BIOS/firmware from a flash chip. %prep %setup %ifarch %e2k %patch2000 -p1 %endif %build %define _optlevel s %add_optflags -Werror -Wno-error=deprecated-declarations %make_build \ CFLAGS="%optflags" \ PREFIX=%_prefix \ %ifarch %e2k CONFIG_DEDIPROG=yes \ %endif # %install install -dm755 %buildroot%_sbindir %make_install PREFIX=%buildroot%_prefix install %ifarch %e2k install -pm755 %SOURCE1 %buildroot%_sbindir/flashboot.sh mkdir -p %buildroot%_sysconfdir/modprobe.d echo "options spidev bufsiz=64" > %buildroot%_sysconfdir/modprobe.d/spidev.conf %endif %files %doc README %_sbindir/* %_man8dir/* %ifarch %e2k %config(noreplace) %_sysconfdir/modprobe.d/spidev.conf %endif %changelog * Thu May 18 2023 Michael Shigorin <mike@altlinux.org> 1.2-alt2.E2K.2 - E2K: updated flashboot.sh from 1.2-vd7u10 (cf. mcst#8028) * Mon Aug 16 2021 Michael Shigorin <mike@altlinux.org> 1.2-alt2.E2K.1 - E2K: + applied MCST patch + built without FTDI support + built with dediprog support + added spidev config - BR: libusb-devel * Tue Jul 13 2021 Evgeny Sinelnikov <sin@altlinux.org> 1.2-alt2 - Fix building on aarch64 (Closes: 40470) * Tue Jun 16 2020 Evgeny Sinelnikov <sin@altlinux.org> 1.2-alt1 - The first and hopefully not the last release of 2020 - Support MT25QU256 for Baikal-M firmware * Tue Jul 30 2019 Anton Farygin <rider@altlinux.ru> 1.1-alt1 - 1.0 -> 1.1 * Fri May 11 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1.0-alt1 - Updated to upstream version 1.0. * Tue Aug 08 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 0.9.9-alt2 - Updated build dependencies. * Thu Mar 17 2016 Michael Shigorin <mike@altlinux.org> 0.9.9-alt1 - new version (watch file uupdate) * Mon Mar 02 2015 Michael Shigorin <mike@altlinux.org> 0.9.8-alt1 - new version (watch file uupdate) * Sat Aug 17 2013 Michael Shigorin <mike@altlinux.org> 0.9.7-alt1 - new version (watch file uupdate) - added FTDI support * Thu Aug 23 2012 Michael Shigorin <mike@altlinux.org> 0.9.6.1-alt1 - new version (watch file uupdate) * Sun Apr 22 2012 Michael Shigorin <mike@altlinux.org> 0.9.5.2-alt1 - 0.9.5.2 * Fri Mar 02 2012 Michael Shigorin <mike@altlinux.org> 0.9.5.1-alt1 - 0.9.5.1 * Sat Oct 15 2011 Igor Vlasenko <viy@altlinux.ru> 0.9.4-alt1 - new version (uupdate from watch file) * Sat Jan 24 2009 Led <led@altlinux.ru> 0.0-alt0.1 - initial build |