mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit 164217235f)
Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
%global pypi_name nautilus_open_any_terminal
|
||||
|
||||
Name: python-nautilus-open-any-terminal
|
||||
Version: 0.6.1
|
||||
Release: 1%?dist
|
||||
Summary: Context-menu entry for opening other terminal in Nautilus
|
||||
License: GPL-3.0-only
|
||||
URL: https://github.com/Stunkymonkey/nautilus-open-any-terminal
|
||||
Source0: %{pypi_source nautilus_open_any_terminal}
|
||||
Source0: %{pypi_source}
|
||||
Source1: https://raw.githubusercontent.com/Stunkymonkey/nautilus-open-any-terminal/refs/tags/%version/README.md
|
||||
Source2: https://raw.githubusercontent.com/Stunkymonkey/nautilus-open-any-terminal/refs/tags/%version/LICENSE
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
@@ -38,24 +40,38 @@ cp %{S:1} %{S:2} .
|
||||
|
||||
|
||||
%build
|
||||
%if 0%{?fedora} <= 41
|
||||
%py3_build
|
||||
%else
|
||||
%pyproject_wheel
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
%if 0%{?fedora} <= 41
|
||||
%py3_build
|
||||
%else
|
||||
%pyproject_install
|
||||
%pyproject_save_files -l nautilus_open_any_terminal
|
||||
%pyproject_save_files -l %{pypi_name}
|
||||
%endif
|
||||
|
||||
|
||||
#check
|
||||
#pyproject_check_import
|
||||
|
||||
|
||||
%if 0%{?fedora} <= 41
|
||||
%files -n python3-nautilus-open-any-terminal
|
||||
%else
|
||||
%files -n python3-nautilus-open-any-terminal -f %{pyproject_files}
|
||||
%endif
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%_datadir/caja-python/extensions/__pycache__/nautilus_open_any_terminal.cpython-*.pyc
|
||||
%_datadir/caja-python/extensions/__pycache__/%{pypi_name}.cpython-*.pyc
|
||||
%_datadir/caja-python/extensions/nautilus_open_any_terminal.py
|
||||
%_datadir/glib-2.0/schemas/com.github.stunkymonkey.nautilus-open-any-terminal.gschema.xml
|
||||
%_datadir/locale/*/LC_MESSAGES/nautilus-open-any-terminal.mo
|
||||
%_datadir/nautilus-python/extensions/__pycache__/nautilus_open_any_terminal.cpython-*.pyc
|
||||
%_datadir/nautilus-python/extensions/nautilus_open_any_terminal.py
|
||||
%_datadir/nautilus-python/extensions/__pycache__/%{pypi_name}.cpython-*.pyc
|
||||
%_datadir/nautilus-python/extensions/%{pypi_name}.py
|
||||
%if 0%{?fedora} <= 41
|
||||
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user