## START: Set by rpmautospec ## (rpmautospec version 0.7.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 %global commit 7c0562c49e8f33d089f78a76a0f46d8f8a04a9b7 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global date 20201019 Name: tiosmod Version: 0.2.7^%{date}g%{shortcommit} Release: %autorelease Summary: Generic patcher for Texas Instruments calculators # Building blocks are GPLv2, OS patching logic is WTFPL License: GPL-2.0-only AND WTFPL URL: https://github.com/debrouxl/tiosmod Source0: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz BuildRequires: gcc Suggests: rabbitsign %description tiosmod is a computer-based unlocking and optimizing program aimed at official TI-68k calculators OS. %prep %autosetup -n %{name}-%{commit} %build $CC $CFLAGS -c -o amspatch.o amspatch.c $CC $CFLAGS -o tiosmod amspatch.o $LDFLAGS %install install -Dpm0755 -t %{buildroot}%{_bindir} tiosmod %files %license COPYING_GPLv2 COPYING_WTFPLv2 %doc README.txt %{_bindir}/tiosmod %changelog ## START: Generated by rpmautospec * Sat Jul 20 2024 Fedora Release Engineering - 0.2.7^20201019g7c0562c-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 0.2.7^20201019g7c0562c-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Aug 25 2023 Davide Cavalca - 0.2.7^20201019g7c0562c-1 - Initial import; Fixes: RHBZ#2107910 ## END: Generated by rpmautospec