commit e8a3fbc2c8e18f5b623c42940dd67bb5ea7757b7912e45a179012f96cf9f49f0 Author: Richard Rahl Date: Thu Jun 6 08:50:42 2024 +0000 Accepting request 1178969 from X11:COSMIC:Next OBS-URL: https://build.opensuse.org/request/show/1178969 OBS-URL: https://build.opensuse.org/package/show/X11:COSMIC:Apps/cosmic-term?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..b376149 --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + https://github.com/pop-os/cosmic-term.git + git + master + 0.1.0+git%cd.%h + yes + + + *.tar + zstd + + + cosmic-term + false + + + diff --git a/cosmic-term-0.1.0+git20240604.1d4412e.tar.zst b/cosmic-term-0.1.0+git20240604.1d4412e.tar.zst new file mode 100644 index 0000000..ff0faf0 --- /dev/null +++ b/cosmic-term-0.1.0+git20240604.1d4412e.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:027e8118b34039f7ae792884fc3b41c7802ce26cd2a0b1dab1840b03021c79e8 +size 464335 diff --git a/cosmic-term.changes b/cosmic-term.changes new file mode 100644 index 0000000..bb25198 --- /dev/null +++ b/cosmic-term.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Mar 14 03:59:22 UTC 2024 - Richard Rahl + +- initial packaging diff --git a/cosmic-term.spec b/cosmic-term.spec new file mode 100644 index 0000000..73243c3 --- /dev/null +++ b/cosmic-term.spec @@ -0,0 +1,62 @@ +# +# spec file for package cosmic-term +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define appname com.system76.CosmicTerm +Name: cosmic-term +Version: 0.1.0+git20240604.1d4412e +Release: 0 +Summary: COSMIC terminal emulator +License: GPL-3.0-only +URL: https://github.com/pop-os/cosmic-term +Source0: %{name}-%{version}.tar.zst +Source1: vendor.tar.zst +BuildRequires: cargo-packaging +BuildRequires: git-core +BuildRequires: hicolor-icon-theme +BuildRequires: just +BuildRequires: pkgconfig +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(xkbcommon) + +%description +COSMIC terminal emulator, built using alacritty_terminal that is provided by the +alacritty project. cosmic-term provides bidirectional rendering and ligatures +with a custom renderer based on cosmic-text. + +%prep +%autosetup -a1 + +%build +just build-release + +%install +just rootdir=%{buildroot} prefix=%{_prefix} install +%suse_update_desktop_file %{appname} + +%check +%{cargo_test} + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_datadir}/applications/%{appname}.desktop +%{_iconsdir}/hicolor/*/apps/%{appname}.svg +%{_datadir}/metainfo/%{appname}.metainfo.xml + +%changelog diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..b7738ca --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4dbb85d9f98e7d8dc2a358b974c7818f8b3c74f6fd167860aec7d6dd91e04f9f +size 81547225