## START: Set by rpmautospec ## (rpmautospec version 0.8.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: typobuster Version: 1.0.0 Release: %autorelease Summary: Lightweight editor with text transformations and auto-correction License: MIT URL: https://github.com/nwg-piotr/typobuster Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: desktop-file-utils # for import check BuildRequires: gobject-introspection BuildRequires: gspell BuildRequires: gtk3 BuildRequires: gtksourceview4 BuildRequires: python3-gobject Requires: hicolor-icon-theme Requires: gobject-introspection Requires: gspell Requires: gtk3 Requires: gtksourceview4 Requires: python3-gobject %description Typobuster is a simplified text editor with a wide selection of transformations and automatic correction of common typos. %prep %autosetup -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{name} install -D -m0644 -t %{buildroot}%{_datadir}/applications %{name}.desktop install -D -m0644 -t %{buildroot}%{_datadir}/icons/hicolor/scalable/apps %{name}.svg %check %pyproject_check_import desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files -f %{pyproject_files} %doc README.md %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %changelog ## START: Generated by rpmautospec * Wed Dec 31 2025 John Doe - 1.0.0-1 - Uncommitted changes ## END: Generated by rpmautospec