## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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: proxmark3 Version: 4.17768 Release: %autorelease Summary: The Swiss Army Knife of RFID Research - RRG/Iceman repo License: GPLv3+ URL: https://github.com/RfidResearchGroup/proxmark3 Source0: https://github.com/RfidResearchGroup/proxmark3/archive/refs/tags/v%{version}.tar.gz BuildRequires: make, gcc, g++, readline-devel, arm-none-eabi-gcc, arm-none-eabi-newlib, bzip2-devel, libatomic, openssl-devel, python3-devel, jansson-devel, bluez-libs-devel, qt5-qtbase-devel, lz4-devel Requires: bzip2-libs, readline, python3, bluez, qt5-qtbase ExcludeArch: ppc64le s390x %description The Swiss Army Knife of RFID Research - RRG/Iceman repo %define __strip /bin/true %prep %autosetup echo "PLATFORM=PM3GENERIC" > Makefile.platform %build export CFLAGS="%{optflags}" make %{?_smp_mflags} V=1 clean make %{?_smp_mflags} V=1 SKIPLUASYSTEM=1 PLATFORM=PM3GENERIC rm -rf %{buildroot}/doc/datasheets/ rm -rf %{buildroot}/doc/original_proxmark3/ %install chmod -x ./client/luascripts/examples/example_cmdline.lua chmod -x ./client/cmdscripts/rdv4_init_extflash.cmd chmod -x ./client/pyscripts/xorcheck.py chmod -x ./client/cmdscripts/example.cmd make %{?_smp_mflags} V=1 install PREFIX=%{buildroot}/usr UDEV_PREFIX=%{buildroot}/etc/udev/rules.d/ chmod -x %{buildroot}/usr/share/proxmark3/firmware/fullimage.elf chmod -x %{buildroot}/usr/share/proxmark3/firmware/bootrom.elf rm -rf %{buildroot}%{_datadir}/doc/proxmark3 %files %{_sysconfdir}/udev/rules.d/77-pm3-usb-device-blacklist.rules %{_bindir}/pm3 %{_bindir}/pm3-flash %{_bindir}/pm3-flash-all %{_bindir}/pm3-flash-bootrom %{_bindir}/pm3-flash-fullimage %{_bindir}/proxmark3 %{_datadir}/proxmark3 %license LICENSE.txt %doc doc/ AUTHORS.md CHANGELOG.md COMPILING.txt CONTRIBUTING.md README.md %changelog * Wed Jan 03 2024 Didier FABERT - 4.17768 - Bumping package to v4.17768 * Tue Nov 7 2023 Marlin Soose - 4.17511 - Bumping package to v4.17511 * Tue Nov 7 2023 Marlin Soose - 4.17140 - Bumping package to v4.17140, add lz4-devel build dep * Tue Jun 27 2023 Marlin Soose - 4.16717-6 - Bumping package to v4.16717 * Tue Jun 13 2023 Python Maint - 4.16191-5 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 4.15864-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Nov 14 2022 Marlin Soose - 4.15864 - Bumping package to v4.15864 * Fri Jul 22 2022 Fedora Release Engineering - 4.14831-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 4.14831-2 - Rebuilt for Python 3.11 * Tue Apr 19 2022 Marlin Soose - 4.14831 - Initial version of the package