## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global glib2_version 2.78 %global gtk4_version 4.12 %global vte291_version 0.77 %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: 47.rc Release: %autorelease Summary: A container oriented terminal for GNOME License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND LGPL-2.0-or-later AND CC0-1.0 URL: https://gitlab.gnome.org/chergert/ptyxis Source0: https://download.gnome.org/sources/%{name}/47/%{name}-%{tarball_version}.tar.xz Source1: org.gnome.Ptyxis.fedora.gschema.override 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: hicolor-icon-theme # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} %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 install -p %{SOURCE1} %{buildroot}%{_datadir}/glib-2.0/schemas %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}/glib-2.0/schemas/org.gnome.Ptyxis.fedora.gschema.override %{_datadir}/icons/hicolor/*/*/*.svg %{_datadir}/man/man1/ptyxis.1.gz %changelog ## START: Generated by rpmautospec * Tue Sep 17 2024 Yaakov Selkowitz - 47.rc-2 - Exclude i686 * Thu Sep 12 2024 nmontero - 47.rc-1 - Update to 47.rc * Mon Aug 12 2024 Michael Catanzaro - 47.beta-2 - Add Fedora gschema override * Fri Aug 09 2024 nmontero - 47.beta-1 - Update to 47.beta * Fri Jul 19 2024 Fedora Release Engineering - 47.alpha-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 17 2024 nmontero - 47.alpha-2 - Add patch to fix build failure * Wed Jul 10 2024 Nieves Montero - 47.alpha-1 - New package. Update 47.alpha ## END: Generated by rpmautospec