From 2f88a0e1b7f50577afd12cdd059375455f361ac8 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 25 Oct 2024 18:33:29 +0300 Subject: [PATCH] import ptyxis-46.6-1.el10 --- .gitignore | 1 + .ptyxis.metadata | 1 + SPECS/ptyxis.spec | 106 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+) create mode 100644 .gitignore create mode 100644 .ptyxis.metadata create mode 100644 SPECS/ptyxis.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aeae5a8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ptyxis-46.6.tar.xz diff --git a/.ptyxis.metadata b/.ptyxis.metadata new file mode 100644 index 0000000..3084a6b --- /dev/null +++ b/.ptyxis.metadata @@ -0,0 +1 @@ +780a3b6559ef991aa819468aea167e2713d1b444 SOURCES/ptyxis-46.6.tar.xz diff --git a/SPECS/ptyxis.spec b/SPECS/ptyxis.spec new file mode 100644 index 0000000..4b314a4 --- /dev/null +++ b/SPECS/ptyxis.spec @@ -0,0 +1,106 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autochangelog +## END: Set by rpmautospec + +%global glib2_version 2.78 +%global gtk4_version 4.12 +%global vte291_version 0.76.3 +%global json_glib_version 1.4.0 +%global libadwaita_version 1.5.0 +%global libportal_gtk4_version 0.7.1 + +%global tarball_version %%(echo %{version} | tr '~' '.') + +Name: ptyxis +Version: 46.6 +Release: 1%{?dist} +Summary: A container oriented terminal for GNOME + +# Code is GPL-3.0-or-later and the Appdata is CC0-1.0 +License: GPL-3.0-or-later AND CC0-1.0 +URL: https://gitlab.gnome.org/chergert/ptyxis +Source0: https://download.gnome.org/sources/%{name}/46/%{name}-%{tarball_version}.tar.xz + +BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(gtk4) >= %{gtk4_version} +BuildRequires: pkgconfig(vte-2.91-gtk4) >= %{vte291_version} +BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version} +BuildRequires: pkgconfig(libportal-gtk4) >= %{libportal_gtk4_version} +BuildRequires: pkgconfig(json-glib-1.0) >= %{json_glib_version} +BuildRequires: desktop-file-utils +BuildRequires: gcc +BuildRequires: itstool +BuildRequires: meson +BuildRequires: /usr/bin/appstream-util + +Requires: glib2%{?_isa} >= %{glib2_version} +Requires: gtk4%{?_isa} >= %{gtk4_version} +Requires: vte291-gtk4%{?_isa} >= %{vte291_version} +Requires: json-glib%{?_isa} >= %{json_glib_version} +Requires: libadwaita%{?_isa} >= %{libadwaita_version} +Requires: hicolor-icon-theme + +Obsoletes: gnome-terminal + +%description +Ptyxis is a container oriented terminal that provides transparent support for +container systems like Podman, Distrobox, and Toolbx. It also has robust +support for user profiles. + + +%prep +%autosetup -p1 -n %{name}-%{tarball_version} + + +%build +%meson -Dgeneric=terminal +%meson_build + + +%install +%meson_install + +%find_lang %{name} --with-gnome + + +%check +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.gnome.Ptyxis.metainfo.xml +desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Ptyxis.desktop + + +%files -f %{name}.lang +%doc README.md NEWS +%license COPYING +%{_bindir}/ptyxis +%{_libexecdir}/ptyxis-agent +%{_metainfodir}/org.gnome.Ptyxis.metainfo.xml +%{_datadir}/applications/org.gnome.Ptyxis.desktop +%dir %{_datadir}/dbus-1 +%dir %{_datadir}/dbus-1/services +%{_datadir}/dbus-1/services/org.gnome.Ptyxis.service +%{_datadir}/glib-2.0/schemas/org.gnome.Ptyxis.gschema.xml +%{_datadir}/icons/hicolor/*/*/*.svg +%{_mandir}/man1/ptyxis.1* + + +%changelog +## START: Generated by rpmautospec +* Mon Aug 12 2024 Christian Hergert - 46.6-1 +- Ptyxis Obsoletes gnome-terminal + +* Tue Jul 09 2024 Christian Hergert - 46.5-1 +- Bump to Ptyxis 46.5 + +* Wed Jul 03 2024 Christian Hergert - 46.4-1 +- Update to Ptyxis 46.4 + +* Wed Jun 26 2024 Tomas Pelka - 46.1-3 +- Add gating.yaml via API + +* Mon Jun 24 2024 Troy Dawson - 46.1-2 +- Bump release for June 2024 mass rebuild + +* Mon Jun 24 2024 Tomas Popela - 46.1-1 +- Initial RHEL import +## END: Generated by rpmautospec