fdb4317983
I want to maintain zellij in utilities. OBS-URL: https://build.opensuse.org/request/show/990675 OBS-URL: https://build.opensuse.org/package/show/utilities/zellij?expand=0&rev=1
65 lines
1.8 KiB
RPMSpec
65 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package zellij
|
|
#
|
|
# Copyright (c) 2022 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/
|
|
#
|
|
|
|
%bcond_with test
|
|
Name: zellij
|
|
Version: 0.30.0
|
|
Release: 0
|
|
Summary: Terminal workspace with batteries included
|
|
License: MIT
|
|
URL: https://github.com/zellij-org/zellij
|
|
Source0: https://github.com/zellij-org/zellij/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
Source1: vendor.tar.gz
|
|
Source2: cargo_config
|
|
BuildRequires: cargo-packaging
|
|
ExclusiveArch: %{rust_tier1_arches}
|
|
%if %{with test}
|
|
BuildRequires: pkgconfig(openssl)
|
|
%endif
|
|
|
|
%description
|
|
Zellij is a workspace aimed at developers, ops-oriented people and anyone who loves the terminal.
|
|
At its core, it is a terminal multiplexer (similar to tmux and screen), but this is merely its
|
|
infrastructure layer.
|
|
|
|
Zellij includes a layout system, and a plugin system allowing one to create plugins in any
|
|
language that compiles to WebAssembly.
|
|
|
|
%prep
|
|
%autosetup -a1
|
|
mkdir .cargo
|
|
cp %{SOURCE2} .cargo/config
|
|
|
|
%build
|
|
%{cargo_build}
|
|
|
|
%install
|
|
%{cargo_install}
|
|
|
|
%if %{with test}
|
|
%check
|
|
%{cargo_test}
|
|
%endif
|
|
|
|
%files
|
|
%{_bindir}/zellij
|
|
%license LICENSE.md
|
|
|
|
%doc README.md
|
|
|
|
%changelog
|