Skip to content

Commit

Permalink
feat: Add nautilus-open-any-terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Dec 20, 2023
1 parent 1cf8d3d commit 3685858
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions staging/nautilus-open-any-terminal/nautilus-open-any-terminal.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Name: nautilus-open-any-terminal
Version: {{{ git_dir_version }}}
Release: 1%{?dist}
Summary: Context-menu entry for opening other terminal in nautilus
License: GPLv3
URL: https://github.com/KyleGospo/nautilus-open-any-terminal

VCS: {{{ git_dir_vcs }}}
Source: {{{ git_dir_pack }}}
BuildArch: noarch

BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: gettext

Requires: nautilus-python
Requires: glib2

%description
An extension for nautilus, which adds an context-entry for opening other terminal emulators than gnome-terminal.

%prep
{{{ git_dir_setup_macro }}}

%build
%{python3} setup.py build

%install
%{python3} setup.py install --root="%{buildroot}" --optimize=1

%post
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :

%files
%license LICENSE
%doc README.md
%{python3_sitelib}/nautilus_open_any_terminal*
%{_datadir}/glib-2.0/schemas/com.github.stunkymonkey.%{name}.gschema.xml
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
%{_datadir}/nautilus-python/extensions/open_any_terminal_extension.py

%changelog
{{{ git_dir_changelog }}}

0 comments on commit 3685858

Please sign in to comment.