## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 Name: fdroidserver Version: 2.4.0 Release: %autorelease Summary: F-Droid Server Tools License: AGPL-3.0-or-later URL: https://f-droid.org Source: %{pypi_source fdroidserver} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: fdroidserver is a suite of tools to publish and work with collections of Android apps (APK files) and other kinds of packages. It is used to maintain the f-droid.org application repository. These same tools can be used to create additional or alternative repositories for publishing, or to assist in creating, testing and submitting metadata to the f-droid.org repository, also known as fdroiddata. In the beginning, fdroidserver was the complete server-side setup that ran f-droid.org. Since then, the website and other parts have been split out into their own projects. The name for this suite of tooling has stayed fdroidserver even though it no longer contains any proper server component.} %description %_description %package -n python3-fdroidserver Summary: %{summary} %description -n python3-fdroidserver %_description %prep %autosetup -n fdroidserver-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l fdroidserver %check %pyproject_check_import %files -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Tue Apr 22 2025 John Doe - 2.4.0-1 - Uncommitted changes ## END: Generated by rpmautospec