## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %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 %global commit 3b99f4a43f612b9ee74bbf24ca9890606295313f %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global commitdate 20201011 Name: genext2fs Version: 1.4.2^%{commitdate}.g%{shortcommit} Release: %autorelease Summary: ext2 filesystem generator License: GPL-2.0-only URL: https://github.com/bestouff/genext2fs/ Source0: %{url}/archive/%{commit}/%{name}-%{version}.tar.gz # clarifications for the licensing # https://github.com/bestouff/genext2fs/pull/39 # incorrect FSF address # https://github.com/bestouff/genext2fs/pull/38 BuildRequires: autoconf automake BuildRequires: gcc BuildRequires: make %description genext2fs generates an ext2 filesystem as a normal (non-root) user. It does not require you to mount the image file to copy files on it, nor does it require that you become the superuser to make device nodes. %prep %autosetup -n %{name}-%{commit} -p1 autoreconf -fi %build %configure %make_build %install %make_install %check make check %files %license COPYING %doc AUTHORS NEWS README.md %{_bindir}/%{name} %{_mandir}/man8/%{name}.8* %changelog ## START: Generated by rpmautospec * Fri Jul 04 2025 Yanko Kaneti - 1.4.2^20201011.g3b99f4a-1 - Initial import (#2374290) ## END: Generated by rpmautospec