Skip to content

rpm build #244

@amsuharev

Description

@amsuharev

I've made a spec file to build f3 rpm, perhaps you'd be interested to add it:
Name: f3
Version: 9.0
Release: 1%{?dist}
Summary: F3 - Fight Flash Fraud

License: GPL-3.0-or-later
URL: https://github.com/AltraMayor/f3
Source0: f3-%{version}.tar.gz

BuildRequires: gcc
BuildRequires: parted-devel

%description
f3 is a simple tool that tests flash cards capacity and performance to
see if they live up to claimed specifications. It fills the device with
pseudorandom data and then checks if it returns the same on reading.

%prep
%setup

%build
make all extra

%install
rm -rf $RPM_BUILD_ROOT%
make install install-extra PREFIX=$RPM_BUILD_ROOT%{_prefix}
mkdir -p %{buildroot}%{_docdir}/f3
cp -H doc/*.rst %{buildroot}%{_docdir}/f3/

%files
%{_bindir}/f3*
%{_mandir}/man1/f3*
%doc %{_docdir}/f3

%changelog

  • Sun Aug 24 2025 Andrey Suharev
  • rebuild as rpm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions