Name: porcupine Version: 0.1.0 Release: 22%{?dist} Summary: Web browser to copy URL to clipboard License: GPLv3 URL: https://github.com/micahflee/porcupine Source0: https://github.com/micahflee/%{name}/archive/v%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-qt5 BuildRequires: desktop-file-utils Requires: python3-qt5 %description Setting porcupine as a default browser will help you to click on any URL and get it copied into your clipboard. %prep %autosetup # Fix FTBFS with setuptools >= 61.0.0 # Upstream issue: https://github.com/micahflee/porcupine/issues/15 sed -i "21i packages=[]," setup.py %build %{__python3} setup.py build %install %{__python3} setup.py install --skip-build --root %{buildroot} desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ share/porcupine.desktop %files %doc README.md %license LICENSE.md %{_bindir}/%{name} %{_datadir}/pixmaps/* %{_datadir}/applications/* %{python3_sitelib}/%{name}* %changelog * Fri Jun 07 2024 Python Maint - 0.1.0-22 - Rebuilt for Python 3.13 * Thu Jan 25 2024 Fedora Release Engineering - 0.1.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.1.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.1.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 16 2023 Python Maint - 0.1.0-18 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.1.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.1.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 22 2022 Charalampos Stratakis - 0.1.0-15 - Fix FTBFS with setuptools >= 61.0.0 Resolves: rhbz#2097114 * Mon Jun 13 2022 Python Maint - 0.1.0-14 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.1.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.1.0-11 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.1.0-8 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 19 2019 Miro Hrončok - 0.1.0-6 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.1.0-2 - Rebuilt for Python 3.7 * Mon Apr 16 2018 Kushal Das - 0.1.0-1 - Initial package