## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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: TE2PE Version: 0.1.1 Release: %autorelease Summary: Primitive TE to PE32 converter License: WTFPL URL: https://github.com/LongSoft/TE2PE Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc %description This program tries to convert Terse Executable image used to store PEI modules in different UEFI-compatible firmwares into normal PE32(+) image %prep %autosetup %build $CC $CFLAGS %{name}.c -o %{name} $LDFLAGS %install install -Dpm0755 -t %{buildroot}%{_bindir} %{name} %files %doc README.md %{_bindir}/TE2PE %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 0.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Feb 10 2024 Davide Cavalca - 0.1.1-1 - Initial import; Fixes: RHBZ#2159052 ## END: Generated by rpmautospec