Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:test
python3-send2trash
python3-send2trash.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python3-send2trash.spec of Package python3-send2trash
# # spec file for package python3-send2trash # # Copyright (c) 2015 SUSE LINUX Products 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/ Name: python3-send2trash Version: 1.3.0 Release: 0 License: BSD-3-Clause Summary: Send file to trash natively under Mac OS X, Windows and Linux Url: http://github.com/hsoft/send2trash Group: Development/Languages/Python Source: https://pypi.python.org/packages/source/S/Send2Trash/Send2Trash-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Send2Trash -- Send files to trash on all platforms Send2Trash is a small package that sends files to the Trash (or Recycle Bin) *natively* and on *all platforms*. On OS X, it uses native ``FSMoveObjectToTrashSync`` Cocoa calls, on Windows, it uses native (and ugly) ``SHFileOperation`` win32 calls. On other platforms, if `PyGObject`_ and `GIO`_ are available, it will use this. Otherwise, it will fallback to its own implementation of the `trash specifications from freedesktop.org`_. %prep %setup -q -n Send2Trash-%{version} %build python3 setup.py build %install python3 setup.py install \ --skip-build \ --prefix=%{_prefix} \ --root=%{buildroot} %files %defattr(-,root,root,-) %doc CHANGES.rst README.rst %{python3_sitelib}/send2trash %{python3_sitelib}/Send2Trash-%{version}-py%{py3_ver}.egg-info
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