diff --git a/flashrom-1.3.0.tar.bz2.sig b/flashrom-1.3.0.tar.bz2.sig deleted file mode 100644 index cd17ac9..0000000 --- a/flashrom-1.3.0.tar.bz2.sig +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iF0EABECAB0WIQRubvmgukeABuJ3bkzAN7tBMTTREQUCY+MPrwAKCRDAN7tBMTTR -EZX5AJ41n1UF6YaAnao6OWYfrE6nRyaL/gCeJxIgEKVf+YAROc6oe2C+jNu+6L8= -=kICs ------END PGP SIGNATURE----- diff --git a/flashrom-1.4.0.tar.bz2.sig b/flashrom-1.4.0.tar.bz2.sig new file mode 100644 index 0000000..fb07281 --- /dev/null +++ b/flashrom-1.4.0.tar.bz2.sig @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iF0EABECAB0WIQRubvmgukeABuJ3bkzAN7tBMTTREQUCZqHnpQAKCRDAN7tBMTTR +Ed0FAJ9D19CJNvsn06YN74bjDWs0qp0cbACdH5h2rIkPbKqTDYw66rFJZdC6hLE= +=fTo7 +-----END PGP SIGNATURE----- diff --git a/flashrom-1.4.0.tar.xz b/flashrom-1.4.0.tar.xz new file mode 100644 index 0000000..2561ba1 --- /dev/null +++ b/flashrom-1.4.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad7ee1b49239c6fb4f8f55e36706fcd731435db1a4bd2fab3d80f1f72508ccee +size 1041176 diff --git a/flashrom-v1.3.0.tar.bz2 b/flashrom-v1.3.0.tar.bz2 deleted file mode 100644 index 39d2120..0000000 --- a/flashrom-v1.3.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a053234453ccd012e79f3443bdcc61625cf97b7fd7cb4cdd8bfbffbe8b149623 -size 489782 diff --git a/flashrom.changes b/flashrom.changes index 13afe20..90f5a2e 100644 --- a/flashrom.changes +++ b/flashrom.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Jul 27 23:57:36 UTC 2024 - Joshua Smith + +- Add doc and bash-completion subpackages +- Update to 1.4.0: + - Full changelog: https://www.flashrom.org/release_notes/v_1_4.html + ------------------------------------------------------------------- Fri Sep 22 19:54:18 UTC 2023 - Adam Mizerski diff --git a/flashrom.spec b/flashrom.spec index 4077380..996af51 100644 --- a/flashrom.spec +++ b/flashrom.spec @@ -1,7 +1,7 @@ # # spec file for package flashrom # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,24 +17,26 @@ Name: flashrom -Version: 1.3.0 +Version: 1.4.0 Release: 0 Summary: A universal flash programming utility License: GPL-2.0-only Group: Development/Tools/Other URL: https://flashrom.org/Flashrom -Source0: https://download.flashrom.org/releases/%{name}-v%{version}.tar.bz2 -Source1: https://download.flashrom.org/releases/%{name}-v%{version}.tar.bz2.asc#/%{name}-%{version}.tar.bz2.sig +Source0: https://download.flashrom.org/releases/%{name}-%{version}.tar.xz +Source1: https://download.flashrom.org/releases/%{name}-%{version}.tar.xz.asc#/%{name}-%{version}.tar.bz2.sig # Got the key from David Hendricks Source2: %{name}.keyring BuildRequires: meson >= 0.53.0 BuildRequires: pkgconfig +BuildRequires: python3-Sphinx BuildRequires: pkgconfig(cmocka) BuildRequires: pkgconfig(libftdi1) BuildRequires: pkgconfig(libjaylink) BuildRequires: pkgconfig(libpci) BuildRequires: pkgconfig(libusb) BuildRequires: pkgconfig(zlib) +Recommends: %{name}-doc = %{version} ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 riscv64 %description @@ -48,6 +50,24 @@ It supports a wide range of DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32, and TSOP40 chips, which use various protocols such as LPC, FWH, parallel flash, or SPI. +%package doc +Summary: Documentation for %{name} +BuildArch: noarch + +%description doc +Documentation files and examples for %{name}. + +%package bash-completion +Summary: Bash Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Requires: bash-completion +Enhances: (%{name} and bash-completion) +BuildArch: noarch + +%description bash-completion +Bash command-line completion support for %{name}. + %package -n libflashrom1 Summary: A universal flash programming utility Group: Development/Tools/Other @@ -60,7 +80,7 @@ cards (NICs), SATA controller cards, and other external devices which can program flash chips. %prep -%autosetup -p1 -n %{name}-v%{version} +%autosetup -p1 %package devel Summary: A universal flash programming utility @@ -84,16 +104,23 @@ This package contains the headers needed to compile against libflashrom. %install %meson_install rm %{buildroot}%{_libdir}/libflashrom.a +rm %{buildroot}%{_datadir}/doc/%{name}/html/.buildinfo %post -n libflashrom1 -p /sbin/ldconfig %postun -n libflashrom1 -p /sbin/ldconfig %files %license COPYING -%doc README +%doc README.rst %{_sbindir}/flashrom %{_mandir}/man8/flashrom.8%{ext_man} +%files doc +%{_datadir}/doc/%{name} + +%files bash-completion +%{_datadir}/bash-completion + %files -n libflashrom1 %{_libdir}/libflashrom.so.1 %{_libdir}/libflashrom.so.1.0.0 diff --git a/ready b/ready deleted file mode 100644 index 473a0f4..0000000