Summary: Command line interface to the freedesktop.org trashcan Name: trash-cli Version: 0.24.5.26 Release: 1%{?dist} License: GPL-2.0-or-later URL : https://github.com/andreafrancia/trash-cli # The %%{pypi_source trash-cli} did not work for some reason, therefore the manual url from pypi Source0: https://files.pythonhosted.org/packages/f7/6c/d51b36377c35e4f9e69af4d8b61a920f26251483cdc0165f5513da7aefeb/trash_cli-0.24.5.26.tar.gz # TODO: Switch source to Github becaues the one from pypi is lacking tests and SHOULD therefore be replaced by a tar from Github # Reference: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_source_files_from_pypi # Once that is done a %check section should be added to run at least one basic test (or more if feasible) BuildArch: noarch BuildRequires: python3-setuptools BuildRequires: python3-devel %description trash-cli provides a command line trash usable with GNOME, KDE, Xfce or any freedesktop.org compatible trash implementation. The command line interface is compatible with rm and you can use trash-put as an alias to rm. %prep # changed from %%{name} to trash_cli because pypi seems to convert dash to underscore here %autosetup -n trash_cli-%{version} %build %py3_build %install %py3_install %files %doc README.rst %{_bindir}/trash* %{python3_sitelib}/trashcli/ %{python3_sitelib}/trash_cli-*-py*.egg-info %{_mandir}/man1/trash* %changelog * Thu Nov 07 2024 David Auer - 0.24.5.26-1 - New version - Fix Source0 and name in prep * Fri Jul 26 2024 Miroslav Suchý - 0.22.10.20-8 - convert license to SPDX * Sat Jul 20 2024 Fedora Release Engineering - 0.22.10.20-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.22.10.20-6 - Rebuilt for Python 3.13 * Sat Jan 27 2024 Fedora Release Engineering - 0.22.10.20-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 0.22.10.20-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.22.10.20-3 - Rebuilt for Python 3.12 * Sat Jan 21 2023 Fedora Release Engineering - 0.22.10.20-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Dec 02 2022 Ben Kircher - 0.22.10.20-1 - Update to 0.22.10.20 * Mon Aug 22 2022 Ben Kircher - 0.22.8.21-1 - Update to 0.22.8.21 * Sun Jul 24 2022 Ben Kircher - 0.22.4.16-4 - Remove unneeded dependency on python3-unipath * Sat Jul 23 2022 Fedora Release Engineering - 0.22.4.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.22.4.16-2 - Rebuilt for Python 3.11 * Sun Apr 17 2022 Ben Kircher - 0.22.4.16-1 - Update to 0.22.4.16 * Sat Jan 22 2022 Fedora Release Engineering - 0.21.10.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Dec 21 2021 Ben Kircher - 0.21.10.24-1 - Update to 0.21.10.24 * Sun Aug 1 2021 Benjamin Kircher - 0.21.7.24-1 - Update to 0.21.7.24 * Fri Jul 23 2021 Fedora Release Engineering - 0.21.6.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 23 2021 David Auer - 0.21.6.10.1-1 - Update to 0.21.6.10.1 - Fix manpage globbing * Fri Jun 04 2021 Python Maint - 0.21.4.18-2 - Rebuilt for Python 3.10 * Sat Apr 24 2021 Benjamin Kircher - 0.21.4.18-1 - Update to new upstream release * Wed Jan 27 2021 Fedora Release Engineering - 0.20.11.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Nov 10 2020 Benjamin Kircher - 0.20.11.7-1 - Update to new upstream release * Wed Jul 29 2020 Fedora Release Engineering - 0.17.1.14-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.17.1.14-11 - Rebuilt for Python 3.9 * Fri Jan 31 2020 Fedora Release Engineering - 0.17.1.14-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.17.1.14-9 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.17.1.14-8 - Rebuilt for Python 3.8 * Sat Jul 27 2019 Fedora Release Engineering - 0.17.1.14-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 0.17.1.14-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.17.1.14-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.17.1.14-4 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.17.1.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.17.1.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri May 5 2017 Jan Beran 0.17.1.14-1 - Latest Python 3 upstream version * Sat Feb 11 2017 Fedora Release Engineering - 0.16.12.29-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Dec 30 2016 Ankur Sinha - 0.16.12.29-1 - Update to latest upstream release * Fri Dec 30 2016 Ankur Sinha - 0.16.12.28-1 - Update to latest upstream version * Tue Dec 27 2016 Ankur Sinha - 0.16.12.26-1 - Update to latest upstream version * Tue Jul 19 2016 Fedora Release Engineering - 0.12.9.14-11git798b71d - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Mon Feb 15 2016 Ankur Sinha 0.12.9.14-10git798b71d - Update to latest git commit - Add patches that are pending merge to fix #1291236 * Fri Feb 05 2016 Fedora Release Engineering - 0.12.9.14-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 0.12.9.14-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 30 2014 Toshio Kuratomi - 0.12.9.14-7 - Replace python-setuptools-devel BR with python-setuptools * Sun Jun 08 2014 Fedora Release Engineering - 0.12.9.14-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.12.9.14-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jun 18 2013 Rahul Sundaram - 0.12.9.14-4 - drop use of pyver macro * Tue Jun 18 2013 Rahul Sundaram - 0.12.9.14-3 - fix URL. resolves rhbz#975373 - drop redundant clean, defattr and macro defs * Fri Feb 15 2013 Fedora Release Engineering - 0.12.9.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Oct 26 2012 Ankur Sinha 0.12.9.14-1 - Update to latest upstream release * Sun Jul 22 2012 Fedora Release Engineering - 0.12.4.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Apr 25 2012 Ankur Sinha 0.12.4.24-1 - Update to new release - update source url * Fri Jan 06 2012 Ankur Sinha - 0.11.3-0.5.r315 - spec bump for gcc 4.7 rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.11.3-0.4.r315 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Feb 07 2011 Ankur Sinha - 0.11.3-0.3.r315 - Updated patch * Sun Feb 06 2011 Ankur Sinha - 0.11.3-0.2.r315 - Add requires to python-setuptools - Patch to correct trash-empty * Tue Jan 04 2011 Ankur Sinha - 0.11.3-0.1.r315 - update to latest up stream release - http://pypi.python.org/pypi/trash-cli/ - rename restore-trash to trash-restore : refer comment * Thu Jul 22 2010 David Malcolm - 0.11.2-3 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Thu Feb 18 2010 Rahul Sundaram - 0.11.2-2 - Update as per review * Fri Oct 23 2009 Rahul Sundaram - 0.11.2-1 - new upstream release - cleaned up spec * Mon Jun 29 2009 Rahul Sundaram - 0.11.1.2-1 - Updated spec for review * Sat Mar 14 2009 Terje Rosten - 0.11.0-1.r199 - initial build