2024-10-16 12:13:21 +02:00
|
|
|
Name: flashrom
|
2024-12-10 20:09:09 +01:00
|
|
|
Version: 1.5.0
|
2024-10-16 12:13:21 +02:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A utility for detecting, reading, writing, verifying and erasing flash chips
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/flashrom/flashrom
|
|
|
|
Source: https://github.com/flashrom/flashrom.git/v%{version}/flashrom-%{version}.tar.bz2
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libftdi1-devel
|
2024-12-10 20:09:09 +01:00
|
|
|
BuildRequires: libopenssl-devel
|
2024-10-16 12:13:21 +02:00
|
|
|
BuildRequires: libpci-devel
|
|
|
|
BuildRequires: libusb-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: meson
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
flashrom is a utility for detecting, reading, writing, verifying and erasing flash chips. It is often used to flash BIOS/EFI/coreboot/firmware 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.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-12-10 20:09:09 +01:00
|
|
|
%meson \
|
|
|
|
%ifarch %{ix86}
|
|
|
|
-Dtests=disabled
|
|
|
|
%endif
|
|
|
|
|
2024-10-16 12:13:21 +02:00
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sbindir}/flashrom
|
|
|
|
%{_datadir}/bash-completion/completions/flashrom.bash
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libflashrom.so.*
|
|
|
|
%{_mandir}/man8/flashrom.8*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/libflashrom.h
|
|
|
|
%{_libdir}/libflashrom.a
|
|
|
|
%{_libdir}/libflashrom.so
|
|
|
|
%{_libdir}/pkgconfig/flashrom.pc
|
|
|
|
%dir %{_docdir}/flashrom
|
|
|
|
%dir %{_docdir}/flashrom/html
|
|
|
|
%{_docdir}/flashrom/html/.buildinfo
|
|
|
|
%{_docdir}/flashrom/html/*
|
|
|
|
%doc README.rst
|
|
|
|
|
|
|
|
%changelog
|
2024-12-10 20:09:09 +01:00
|
|
|
* Thu Dec 05 2024 Automatic Build System <autodist@openmamba.org> 1.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-10-16 12:13:21 +02:00
|
|
|
* Wed Oct 16 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- package created using the webbuild interface
|