Name: fireflex Version: 2.0.0 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: Fireflex allows you to choose the web browser you want when you want to open a URL. License: GPL-3.0-or-later URL: https://gitlab.com/ines.wallon/fireflex Source0: https://gitlab.com/ines.wallon/fireflex/-/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildSystem: pyproject BuildRequires: desktop-file-utils BuildRequires: pyproject-rpm-macros BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-tkinter Requires: python3-tkinter # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'fireflex' generated automatically by pyp2spec.} %description %_description %prep set -ex %autosetup -p1 -n %{name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -L "FireFlex*" mkdir -p %{buildroot}%{_datadir}/applications/ install -m 664 data/fireflex.desktop %{buildroot}%{_datadir}/applications/fireflex.desktop %check desktop-file-validate %{buildroot}%{_datadir}/applications/fireflex.desktop %files -n fireflex -f %{pyproject_files} %{_bindir}/fireflex %{_datadir}/applications/fireflex.desktop %changelog %autochangelog