-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add nautilus-open-any-terminal
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
staging/nautilus-open-any-terminal/nautilus-open-any-terminal.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}} |