## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: rauc Version: 1.15.2 Release: %autorelease Summary: Safe and secure software updates for embedded Linux License: LGPL-2.1-or-later AND CC0-1.0 URL: https://rauc.io/ Source0: https://github.com/rauc/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz # Debian: grub_editenv # Fedora: grub2_editenv # Upstream: Work has not yet begun Patch0: rauc_patch0_grub_editenv_debian_compat_fix.patch # 1 test does not work due to network access # Upstream: Work has not yet begun Patch1: rauc_patch1_disable_http_test.patch # Fix openssl 4.0 issue with asn1 string access # Upstream: https://github.com/rauc/rauc/issues/1913 Patch2: rauc_patch2_fix_asn1_compile_error.patch # Exclude architectures that does not have grub2-tools-minimal package ExcludeArch: s390 s390x i686 # Tool requirements BuildRequires: meson BuildRequires: gcc BuildRequires: dbus-devel BuildRequires: glib2-devel BuildRequires: json-glib-devel BuildRequires: libcurl-devel BuildRequires: libfdisk-devel BuildRequires: libnl3-devel BuildRequires: openssl-devel BuildRequires: systemd-devel # Make sure /usr/share/dbus-1/interfaces and /usr/share/dbus-1 are owned. Requires: dbus-common # Weak dependency on documentation Recommends: rauc-doc # Test requirements BuildRequires: dbus-daemon BuildRequires: e2fsprogs BuildRequires: fakeroot BuildRequires: grub2-tools-minimal BuildRequires: openssl BuildRequires: python3-dasbus BuildRequires: python3-pyasn1 BuildRequires: python3-pyasn1-modules BuildRequires: python3-pytest BuildRequires: python3-requests BuildRequires: squashfs-tools %package doc Summary: RAUC documentation # rauc-doc does not contain any binaries BuildArch: noarch # Documentation requirements BuildRequires: make BuildRequires: texinfo BuildRequires: thorvg BuildRequires: python3dist(docutils) BuildRequires: python3dist(sphinx) BuildRequires: python3-sphinx_rtd_theme %description doc Documentation for RAUC. %description RAUC is a lightweight update client that runs on your Embedded Linux device and reliably controls the procedure of updating your device with a new firmware revision. RAUC is also the tool on your host system that lets you create, inspect and modify update artifacts for your device. Service is not installed as that is only needed on device. %prep %autosetup -v -N # Debian vs. Fedora grub2 packaging difference %patch -P 0 -b .orig # rauc:pytest-http fails with Connection refused on 127.0.0.1 %patch -P 1 -b .orig # OpenSSL 4.0 compile fix %patch -P 2 -b .orig # Debian vs. Fedora grub2 packaging difference cd test/bin ln -sf grub-editenv grub2-editenv %build %meson \ -Dfuzzing=false \ -Dhtmldocs=false \ -Dmanpages=true \ -Dservice=false \ -Dstreaming=false \ -Dnetwork=false \ -Dpkcs11_engine=false %meson_build # docbook for yelp or khelpcenter pushd docs # Yelp SVG image workaround # https://gitlab.gnome.org/GNOME/yelp/-/issues/92 pushd images # >=F43: tvg-svg2png # <=F42: tvg_svg2png tvg-svg2png . || tvg_svg2png . popd sed -i "s/\.svg/\.png/g" *.rst tvg-svg2png RAUC_Logo_outline.svg || tvg_svg2png RAUC_Logo_outline.svg sed -i "s/html_logo = 'RAUC_Logo_outline.svg'/html_logo = 'RAUC_Logo_outline.png'/g" conf.py sphinx-build . texinfo -b texinfo pushd texinfo makeinfo --docbook %{name}.texi popd popd %install %meson_install # docbook for yelp or khelpcenter mkdir -p %{buildroot}%{_datadir}/help/en/%{name} install -m644 docs/texinfo/%{name}.xml %{buildroot}%{_datadir}/help/en/%{name} cp -p -r docs/texinfo/%{name}-figures %{buildroot}%{_datadir}/help/en/%{name} %check %meson_test %files %{_bindir}/rauc %{_datadir}/dbus-1/interfaces/de.pengutronix.rauc.Installer.xml %license COPYING LICENSES/CC0-1.0.txt %doc README.rst CHANGES %{_mandir}/man1/rauc.1.* # docbook for yelp or khelpcenter %files doc %license COPYING %dir %{_datadir}/help/en %doc %lang(en) %{_datadir}/help/en/%{name} %changelog ## START: Generated by rpmautospec * Sun Apr 26 2026 Bruno Thomsen - 1.15.2-3 - Use rpmautospec for release and changelog * Tue Apr 14 2026 Bruno Thomsen - 1.15.2-2 - fix compiling against OpenSSL 4.0 * Sun Mar 29 2026 Bruno Thomsen - 1.15.2-1 - version bumped from 1.15.1 to 1.15.2 * Sun Feb 01 2026 Bruno Thomsen - 1.15.1-1 - version bumped from 1.14 to 1.15.1 * Sat Jan 17 2026 Fedora Release Engineering - 1.14-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Wed Jul 23 2025 Bruno Thomsen - 1.14-13 - README.md: update with package description text * Wed Jul 23 2025 Bruno Thomsen - 1.14-12 - Initial import (fedora#2356980). ## END: Generated by rpmautospec