Help with trying to setup a copr

Hey guys, I’m trying to set up a Copr for this GitHub - Stunkymonkey/nautilus-open-any-terminal and I’m not really sure what I’m doing wrong. I’m kind of stumbling through the process as I go.

Here are the build logs: Log Detective

And my spec can be found here: GitHub - corngoblin/nautilus-open-any-terminal-rpm: is an extension for nautilus, which adds an context-entry for opening other terminal emulators than gnome-terminal.

Can someone with a bit more knowledge maybe point out things I’m doing wrong here? I’d love to do more copr repos in the future if I can manage to figure it all out…

Am I at least close? Lol

Thank you for your time.

Edit: Forgot to add the link to the copr… monkeygold/nautilus-open-any-terminal Copr

Edit Edit: Do I actually need to fork that git repo and put the spec file in that…?

Note that the default terminal with f41 is no longer nautilus but is now ptyxis. I wonder if your effort with nautilus is actually an exercise in futility for the future.

This extension just adds a context menu to nautilus that allows you to open any terminal you want in the directory. It’s what the “tilix-nautilus” package does, but with any terminal.

Here you go:

%global forgeurl https://github.com/Stunkymonkey/nautilus-open-any-terminal
%global version 0.6.0
%global commit 21034de459ac602067e5b8c9933fc156893b4b64
%global date 20250125
%global source_date_epoch_from_changelog 0
%forgemeta

Name: nautilus-open-any-terminal
Version: %{forgeversion}
Release: %{autorelease}
Summary: Open any terminal emulator from Nautilus
License: GPL-3.0-only
URL: https://github.com/Stunkymonkey/nautilus-open-any-terminal
Source: %{forgesource}
BuildArch: noarch
BuildRequires: make
BuildRequires: gettext
Requires: nautilus-python

%description
This is an extension for Nautilus.
It allows to open any terminal emulator from the context menu.

%prep
%forgesetup

%build
%make_build

%install
export DESTDIR="%{buildroot}"
make install-nautilus

%files
%license LICENSE
%doc README.md
%{_datadir}/glib-2.0/schemas/*
%{_datadir}/locale/*/LC_MESSAGES/*
%{_datadir}/nautilus-python/extensions/*

References:

Oh snap, it worked. I think I was close.

i think if I just added “export DESTDIR=”%{buildroot}" under %install it would have worked.

That’s what it was mostly complaining about.

Thank you!

1 Like