commit 1dd9d9902f4aa3a50295746908662271bbfa33799b82351abeb64f06ea912f20 Author: Markéta Machová Date: Mon May 9 05:54:14 2022 +0000 Accepting request 975645 from home:bnavigator:branches:graphics required by graphics/rapid-photo-downloader OBS-URL: https://build.opensuse.org/request/show/975645 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-show-in-file-manager?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-show-in-file-manager.changes b/python-show-in-file-manager.changes new file mode 100644 index 0000000..f445f59 --- /dev/null +++ b/python-show-in-file-manager.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun May 8 14:55:54 UTC 2022 - Ben Greiner + +- Initial specfile for version 1.1.4 +- Required by rapid-photo-downloader >= 0.9.27 diff --git a/python-show-in-file-manager.spec b/python-show-in-file-manager.spec new file mode 100644 index 0000000..77dc1d0 --- /dev/null +++ b/python-show-in-file-manager.spec @@ -0,0 +1,79 @@ +# +# spec file for package python-show-in-file-manager +# +# Copyright (c) 2022 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python3-%{**}} +%define skip_python2 1 +Name: python-show-in-file-manager +Version: 1.1.4 +Release: 0 +Summary: Open the system file manager and select files in it +License: MIT +URL: https://github.com/damonlynch/showinfilemanager +Source: https://files.pythonhosted.org/packages/source/s/show-in-file-manager/show-in-file-manager-%{version}.tar.gz +BuildRequires: %{python_module packaging} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pyxdg >= 0.25} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: %{python_module importlib-metadata if %python-base < 3.8} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-packaging +Requires: python-pyxdg >= 0.25 +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch +%if 0%{?python_version_nodots} < 38 +Requires: python-importlib-metadata +%endif +%python_subpackages + +%description +Show in File Manager is a Python package to open the system file manager +and optionally select files in it. The point is not to open the files, but +to select them in the file manager, thereby highlighting the files and allowing +the user to quickly do something with them. + +%prep +%setup -q -n show-in-file-manager-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_clone -a %{buildroot}%{_bindir}/showinfilemanager +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +#%%check +# There are not python tests + +%post +%python_install_alternative showinfilemanager + +%postun +%python_uninstall_alternative showinfilemanager + +%files %{python_files} +%doc CHANGELOG.md README.md +%license LICENSE +%python_alternative %{_bindir}/showinfilemanager +%{python_sitelib}/showinfm +%{python_sitelib}/show_in_file_manager-%{version}*-info + +%changelog diff --git a/show-in-file-manager-1.1.4.tar.gz b/show-in-file-manager-1.1.4.tar.gz new file mode 100644 index 0000000..5987b58 --- /dev/null +++ b/show-in-file-manager-1.1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15d16e4a875b9e217b038d02f029c3800c4a6ad645e3f73c9e107ea26bab3adb +size 34713