Files
packages/anda/desktops/elementary/elementary-terminal/elementary-terminal.spec
T
Raboneko f26ec95101 fix: elementary-terminal (#1551) (#1562)
Signed-off-by: madomado <madonuko@outlook.com>
(cherry picked from commit 22059805b4)

Co-authored-by: madomado <madonuko@outlook.com>
2024-07-19 02:29:06 +08:00

99 lines
2.5 KiB
RPMSpec

%global srcname terminal
%global appname io.elementary.terminal
Name: elementary-terminal
Summary: The terminal of the 21st century
Version: 6.2.0
Release: 1%?dist
License: LGPL-3.0
URL: https://github.com/elementary/%{srcname}
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: gettext xorg-x11-server-Xvfb
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala >= 0.40.0
BuildRequires: fdupes
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(glib-2.0) >= 2.39
BuildRequires: pkgconfig(granite) >= 6.1.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.10
BuildRequires: pkgconfig(libhandy-1) >= 0.83.0
BuildRequires: pkgconfig(libpcre2-8)
BuildRequires: pkgconfig(vte-2.91) >= 0.59
Requires: hicolor-icon-theme
%description
A super lightweight, beautiful, and simple terminal. It's designed to be
setup with sane defaults and little to no configuration. It's just a
terminal, nothing more, nothing less.
%package fish
Summary: The terminal of the 21st century (fish support)
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: fish
Supplements: (%{name} and fish)
%description fish
A super lightweight, beautiful, and simple terminal. It's designed to be
setup with sane defaults and little to no configuration. It's just a
terminal, nothing more, nothing less.
This package contains the files needed to support "process completed"
notifications when using the fish shell.
%prep
%autosetup -n %{srcname}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%fdupes %buildroot%_datadir/locale/
%find_lang %{appname}
%check
desktop-file-validate \
%{buildroot}/%{_datadir}/applications/%{appname}.desktop
desktop-file-validate \
%{buildroot}/%{_datadir}/applications/open-pantheon-terminal-here.desktop
appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
%files -f %{appname}.lang
%doc README.md
%license COPYING
%{_bindir}/%{appname}
%{_datadir}/applications/open-pantheon-terminal-here.desktop
%{_datadir}/applications/%{appname}.desktop
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
%{_datadir}/%{appname}/
%{_datadir}/metainfo/%{appname}.appdata.xml
%{_mandir}/man1/%{appname}.1.gz
%files fish
%doc README.md
%license COPYING
%{_datadir}/fish/vendor_conf.d/pantheon_terminal_process_completion_notifications.fish