Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:our-obo-ros
trash-cli
trash-cli.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File trash-cli.spec of Package trash-cli
# # spec file for package trash-cli # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: trash-cli Version: 0.24.4.17 Release: 0 License: GPL-2.0 Summary: Command line interface to FreeDesktop.org Trash Url: https://github.com/andreafrancia/trash-cli Group: Development/Languages/Python Source: %{version}.tar.gz BuildRequires: %{python_module setuptools} # BuildRequires: python310-setuptools # BuildRequires: python38-devel # BuildRequires: python-rpm-macros BuildArch: noarch %description trash-cli - Command Line Interface to FreeDesktop.org Trash. ============================================================ trash-cli trashes files recording the original path, deletion date, and permissions. It uses the same trashcan used by KDE, GNOME, and XFCE, but you can invoke it from the command line (and scripts). It provides these commands:: trash-put trash files and directories. trash-empty empty the trashcan(s). trash-list list trashed files. trash-restore restore a trashed file. trash-rm remove individual files from the trashcan. %prep %setup -q -n trash-cli-%{version} %build python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) %doc README.rst %{_bindir}/trash %{_bindir}/trash-put %{_bindir}/trash-list %{_bindir}/trash-restore %{_bindir}/trash-empty %{_bindir}/trash-rm %{python_sitelib}/* %dir %doc %{_mandir}/man1 %doc %{_mandir}/man1/trash-put.1.gz %doc %{_mandir}/man1/trash-list.1.gz %doc %{_mandir}/man1/trash-restore.1.gz %doc %{_mandir}/man1/trash-empty.1.gz %doc %{_mandir}/man1/trash-rm.1.gz %doc %{_mandir}/man1/trash.1.gz %changelog * Wed May 22 2024 our-obo-ros - Updated source to 0.24.4.17 * Sun Dec 31 2023 our-obo-ros - Updated source to 0.23.11.10 * Thu Oct 19 2023 our-obo-ros - Updated source to 0.23.9.23 * Sun Jun 25 2023 our-obo-ros - Updated source to 0.23.2.13.2 * Sat Jun 18 2022 our-obo-ros - Changed to python310-setuptools from 38-setuptools - Updated source to 0.22.4.16 * Fri Jan 07 2022 our-obo-ros - Changed build to Python3 * Thu Jan 06 2022 our-obo-ros - Updated source to 0.21.10.24 * Tue Dec 05 2017 cornfeedhobo - Move to main project * Tue Dec 05 2017 cornfeedhobo - Initial RPM release
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor