From 93829e9c263fb17ac0975ef94f8461cf22cc7a72 Mon Sep 17 00:00:00 2001 From: Sofia Boldyreva Date: Fri, 17 Mar 2023 14:20:41 +0100 Subject: [PATCH] Import elementary-terminal-6.1.0-1.el9 --- .elementary-terminal.metadata | 1 + .gitignore | 1 + SOURCES/00-drop-upstream-tests.patch | 23 ++++ SPECS/elementary-terminal.spec | 196 +++++++++++++++++++++++++++ 4 files changed, 221 insertions(+) create mode 100644 .elementary-terminal.metadata create mode 100644 .gitignore create mode 100644 SOURCES/00-drop-upstream-tests.patch create mode 100644 SPECS/elementary-terminal.spec diff --git a/.elementary-terminal.metadata b/.elementary-terminal.metadata new file mode 100644 index 0000000..daade4a --- /dev/null +++ b/.elementary-terminal.metadata @@ -0,0 +1 @@ +d8d4a8b52fb5cbebe9e7f2b01ca5a65081a3e51d SOURCES/terminal-6.1.0.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..edbf1be --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/terminal-6.1.0.tar.gz diff --git a/SOURCES/00-drop-upstream-tests.patch b/SOURCES/00-drop-upstream-tests.patch new file mode 100644 index 0000000..3b11261 --- /dev/null +++ b/SOURCES/00-drop-upstream-tests.patch @@ -0,0 +1,23 @@ +diff --git a/data/meson.build b/data/meson.build +index 435b841..321d7fb 100644 +--- a/data/meson.build ++++ b/data/meson.build +@@ -32,18 +32,6 @@ i18n.merge_file ( + po_dir: join_paths(meson.source_root (), 'po', 'extra') + ) + +-test ( +- 'Validate desktop file', +- find_program('desktop-file-validate'), +- args: join_paths(meson.current_build_dir (), meson.project_name() + '.desktop') +-) +- +-test ( +- 'Validate open here desktop file', +- find_program('desktop-file-validate'), +- args: join_paths(meson.current_build_dir (), 'open-pantheon-terminal-here.desktop') +-) +- + install_data( + 'pantheon_terminal_process_completion_notifications.fish', + install_dir: join_paths(get_option('datadir'), 'fish', 'vendor_conf.d') diff --git a/SPECS/elementary-terminal.spec b/SPECS/elementary-terminal.spec new file mode 100644 index 0000000..5eeaadc --- /dev/null +++ b/SPECS/elementary-terminal.spec @@ -0,0 +1,196 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.2.6) +%define autorelease(e:s:pb:) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} +## END: Set by rpmautospec + +%global srcname terminal +%global appname io.elementary.terminal + +Name: elementary-terminal +Summary: The terminal of the 21st century +Version: 6.1.0 +Release: %autorelease +License: LGPLv3 + +URL: https://github.com/elementary/%{srcname} +Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz + +# drop upstream tests that only validate .desktop and appdata files +Patch0: 00-drop-upstream-tests.patch + +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: meson +BuildRequires: vala >= 0.40.0 + +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 -Dubuntu-bionic-patched-vte=false +%meson_build + + +%install +%meson_install + +%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 + +%files fish +%{_datadir}/fish/vendor_conf.d/pantheon_terminal_process_completion_notifications.fish + + +%changelog +* Thu Aug 18 2022 Fabio Valentini 6.1.0-1 +- Update to version 6.1.0; Fixes RHBZ#2118014 + +* Tue Jun 07 2022 Fabio Valentini 6.0.2-1 +- Update to version 6.0.2; Fixes RHBZ#2087716 + +* Thu Jan 20 2022 Fedora Release Engineering 6.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Dec 14 2021 Fabio Valentini 6.0.1-1 +- Update to version 6.0.1 + +* Wed Jul 21 2021 Fedora Release Engineering 6.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jul 16 2021 Fabio Valentini 6.0.0-1 +- Update to version 6.0.0 + +* Thu Feb 18 2021 Fabio Valentini - 5.5.2-4.20210218git0d2983f +- Bump to commit 0d2983f. Rebuilt for granite 6 soname bump. + +* Tue Jan 26 2021 Fedora Release Engineering - 5.5.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 5.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Apr 02 2020 Fabio Valentini - 5.5.2-1 +- Update to version 5.5.2. + +* Tue Jan 28 2020 Fedora Release Engineering - 5.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jan 17 2020 Fabio Valentini - 5.5.1-1 +- Update to version 5.5.1. + +* Mon Jan 06 2020 Fabio Valentini - 5.5.0-1 +- Update to version 5.5.0. + +* Sat Nov 16 2019 Fabio Valentini - 5.4.0-1 +- Update to version 5.4.0. + +* Fri Nov 08 2019 Fabio Valentini - 5.3.6-3 +- Drop superfluous dependency on appstream by dropping upstream tests. + +* Wed Jul 24 2019 Fedora Release Engineering - 5.3.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jul 20 2019 Fabio Valentini - 5.3.6-1 +- Update to version 5.3.6. + +* Thu Jun 06 2019 Fabio Valentini - 5.3.5-1 +- Update to versiojn 5.3.5. + +* Tue Apr 16 2019 Adam Williamson - 5.3.4-2 +- Rebuild with Meson fix for #1699099 + +* Sat Mar 30 2019 Fabio Valentini - 5.3.4-1 +- Update to version 5.3.4. + +* Thu Jan 31 2019 Fedora Release Engineering - 5.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Dec 18 2018 Fabio Valentini - 5.3.3-1 +- Update to version 5.3.3. + +* Wed Oct 31 2018 Fabio Valentini - 5.3.2-1 +- Update to version 5.3.2. + +* Fri Oct 19 2018 Fabio Valentini - 5.3.1-1 +- Update to version 5.3.1. + +* Fri Sep 07 2018 Fabio Valentini - 0.5.3-1 +- Update to version 0.5.3. + +* Mon Aug 27 2018 Fabio Valentini - 0.5.2-1 +- Update to version 0.5.2. +- Fix FTBFS issue with vala 0.42. + +* Tue Jul 24 2018 Fabio Valentini - 0.5.1-1 +- Update to version 0.5.1. + +* Thu Jul 12 2018 Fedora Release Engineering - 0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jul 06 2018 Fabio Valentini - 0.5-1 +- Initial package renamed from pantheon-terminal. +