zellij/zellij.spec

85 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# 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/
#
- Bump version to 0.31.0: * feat: Log errors causing "empty message received from client" (https://github.com/zellij-org/zellij/pull/1459) * chore(dependencies): update `crossbeam` `0.8.0` -> `0.8.1` (https://github.com/zellij-org/zellij/pull/1463) * add(option): `default-layout` setting for changing the default layout upon start, example: `default_layout: compact` (https://github.com/zellij-org/zellij/pull/1467) * fix: many typos (https://github.com/zellij-org/zellij/pull/1481) * add: checksum for release binary (https://github.com/zellij-org/zellij/pull/1482) * fix: update cli tooltips (https://github.com/zellij-org/zellij/pull/1488) * refactor: deduplicate code in `screen.rs` (https://github.com/zellij-org/zellij/pull/1453) * chore(dependencies): update `clap`: `3.1.18` -> `3.2.2` (https://github.com/zellij-org/zellij/pull/1496) * fix: send `WriteChars:` once per action (https://github.com/zellij-org/zellij/pull/1516) * feat: allow swapping tabs, in a fullscreen pane (https://github.com/zellij-org/zellij/pull/1515) * feat: add action of undo renmae (https://github.com/zellij-org/zellij/pull/1513) * fix(docs): fix macport installation instructions (https://github.com/zellij-org/zellij/pull/1529) * feat: allow hex colors for themes (https://github.com/zellij-org/zellij/pull/1536) * fix: client hang when server is killed / shutdown delay (https://github.com/zellij-org/zellij/pull/1535) * fix: properly handle in-place editor in full-screen (https://github.com/zellij-org/zellij/pull/1544) - add README.suse-maint.md OBS-URL: https://build.opensuse.org/package/show/utilities/zellij?expand=0&rev=3
2022-07-29 14:53:01 +02:00
%bcond_with test
Name: zellij
Version: 0.31.4
Release: 0
- Bump version to 0.31.0: * feat: Log errors causing "empty message received from client" (https://github.com/zellij-org/zellij/pull/1459) * chore(dependencies): update `crossbeam` `0.8.0` -> `0.8.1` (https://github.com/zellij-org/zellij/pull/1463) * add(option): `default-layout` setting for changing the default layout upon start, example: `default_layout: compact` (https://github.com/zellij-org/zellij/pull/1467) * fix: many typos (https://github.com/zellij-org/zellij/pull/1481) * add: checksum for release binary (https://github.com/zellij-org/zellij/pull/1482) * fix: update cli tooltips (https://github.com/zellij-org/zellij/pull/1488) * refactor: deduplicate code in `screen.rs` (https://github.com/zellij-org/zellij/pull/1453) * chore(dependencies): update `clap`: `3.1.18` -> `3.2.2` (https://github.com/zellij-org/zellij/pull/1496) * fix: send `WriteChars:` once per action (https://github.com/zellij-org/zellij/pull/1516) * feat: allow swapping tabs, in a fullscreen pane (https://github.com/zellij-org/zellij/pull/1515) * feat: add action of undo renmae (https://github.com/zellij-org/zellij/pull/1513) * fix(docs): fix macport installation instructions (https://github.com/zellij-org/zellij/pull/1529) * feat: allow hex colors for themes (https://github.com/zellij-org/zellij/pull/1536) * fix: client hang when server is killed / shutdown delay (https://github.com/zellij-org/zellij/pull/1535) * fix: properly handle in-place editor in full-screen (https://github.com/zellij-org/zellij/pull/1544) - add README.suse-maint.md OBS-URL: https://build.opensuse.org/package/show/utilities/zellij?expand=0&rev=3
2022-07-29 14:53:01 +02:00
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
- Bump version to 0.31.0: * feat: Log errors causing "empty message received from client" (https://github.com/zellij-org/zellij/pull/1459) * chore(dependencies): update `crossbeam` `0.8.0` -> `0.8.1` (https://github.com/zellij-org/zellij/pull/1463) * add(option): `default-layout` setting for changing the default layout upon start, example: `default_layout: compact` (https://github.com/zellij-org/zellij/pull/1467) * fix: many typos (https://github.com/zellij-org/zellij/pull/1481) * add: checksum for release binary (https://github.com/zellij-org/zellij/pull/1482) * fix: update cli tooltips (https://github.com/zellij-org/zellij/pull/1488) * refactor: deduplicate code in `screen.rs` (https://github.com/zellij-org/zellij/pull/1453) * chore(dependencies): update `clap`: `3.1.18` -> `3.2.2` (https://github.com/zellij-org/zellij/pull/1496) * fix: send `WriteChars:` once per action (https://github.com/zellij-org/zellij/pull/1516) * feat: allow swapping tabs, in a fullscreen pane (https://github.com/zellij-org/zellij/pull/1515) * feat: add action of undo renmae (https://github.com/zellij-org/zellij/pull/1513) * fix(docs): fix macport installation instructions (https://github.com/zellij-org/zellij/pull/1529) * feat: allow hex colors for themes (https://github.com/zellij-org/zellij/pull/1536) * fix: client hang when server is killed / shutdown delay (https://github.com/zellij-org/zellij/pull/1535) * fix: properly handle in-place editor in full-screen (https://github.com/zellij-org/zellij/pull/1544) - add README.suse-maint.md OBS-URL: https://build.opensuse.org/package/show/utilities/zellij?expand=0&rev=3
2022-07-29 14:53:01 +02:00
Source3: README.suse-maint.md
BuildRequires: cargo-packaging
BuildRequires: rust+cargo >= 1.62
ExclusiveArch: %{rust_tier1_arches}
%if %{with test}
BuildRequires: pkgconfig(openssl)
%endif
%description
- Bump version to 0.31.0: * feat: Log errors causing "empty message received from client" (https://github.com/zellij-org/zellij/pull/1459) * chore(dependencies): update `crossbeam` `0.8.0` -> `0.8.1` (https://github.com/zellij-org/zellij/pull/1463) * add(option): `default-layout` setting for changing the default layout upon start, example: `default_layout: compact` (https://github.com/zellij-org/zellij/pull/1467) * fix: many typos (https://github.com/zellij-org/zellij/pull/1481) * add: checksum for release binary (https://github.com/zellij-org/zellij/pull/1482) * fix: update cli tooltips (https://github.com/zellij-org/zellij/pull/1488) * refactor: deduplicate code in `screen.rs` (https://github.com/zellij-org/zellij/pull/1453) * chore(dependencies): update `clap`: `3.1.18` -> `3.2.2` (https://github.com/zellij-org/zellij/pull/1496) * fix: send `WriteChars:` once per action (https://github.com/zellij-org/zellij/pull/1516) * feat: allow swapping tabs, in a fullscreen pane (https://github.com/zellij-org/zellij/pull/1515) * feat: add action of undo renmae (https://github.com/zellij-org/zellij/pull/1513) * fix(docs): fix macport installation instructions (https://github.com/zellij-org/zellij/pull/1529) * feat: allow hex colors for themes (https://github.com/zellij-org/zellij/pull/1536) * fix: client hang when server is killed / shutdown delay (https://github.com/zellij-org/zellij/pull/1535) * fix: properly handle in-place editor in full-screen (https://github.com/zellij-org/zellij/pull/1544) - add README.suse-maint.md OBS-URL: https://build.opensuse.org/package/show/utilities/zellij?expand=0&rev=3
2022-07-29 14:53:01 +02:00
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.
- Bump version to 0.31.0: * feat: Log errors causing "empty message received from client" (https://github.com/zellij-org/zellij/pull/1459) * chore(dependencies): update `crossbeam` `0.8.0` -> `0.8.1` (https://github.com/zellij-org/zellij/pull/1463) * add(option): `default-layout` setting for changing the default layout upon start, example: `default_layout: compact` (https://github.com/zellij-org/zellij/pull/1467) * fix: many typos (https://github.com/zellij-org/zellij/pull/1481) * add: checksum for release binary (https://github.com/zellij-org/zellij/pull/1482) * fix: update cli tooltips (https://github.com/zellij-org/zellij/pull/1488) * refactor: deduplicate code in `screen.rs` (https://github.com/zellij-org/zellij/pull/1453) * chore(dependencies): update `clap`: `3.1.18` -> `3.2.2` (https://github.com/zellij-org/zellij/pull/1496) * fix: send `WriteChars:` once per action (https://github.com/zellij-org/zellij/pull/1516) * feat: allow swapping tabs, in a fullscreen pane (https://github.com/zellij-org/zellij/pull/1515) * feat: add action of undo renmae (https://github.com/zellij-org/zellij/pull/1513) * fix(docs): fix macport installation instructions (https://github.com/zellij-org/zellij/pull/1529) * feat: allow hex colors for themes (https://github.com/zellij-org/zellij/pull/1536) * fix: client hang when server is killed / shutdown delay (https://github.com/zellij-org/zellij/pull/1535) * fix: properly handle in-place editor in full-screen (https://github.com/zellij-org/zellij/pull/1544) - add README.suse-maint.md OBS-URL: https://build.opensuse.org/package/show/utilities/zellij?expand=0&rev=3
2022-07-29 14:53:01 +02:00
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 -p .cargo
cp %{SOURCE2} .cargo/config
# Remove prebuilt binaries
rm assets/plugins/*
%build
# First rebuilt plugins we just deleted
# Note: RUSTFLAGS break linking with WASM-files, so we don't use the cargo_build-macro here
pushd default-plugins/status-bar
cargo --offline build --release --target=wasm32-wasi
popd
pushd default-plugins/tab-bar
cargo --offline build --release --target=wasm32-wasi
popd
pushd default-plugins/strider
cargo --offline build --release --target=wasm32-wasi
popd
# Move the results to the place they are expected
mv target/wasm32-wasi/release/*.wasm assets/plugins/
# Build zellij proper
%{cargo_build} --all-features
%install
%{cargo_install} --all-features
%if %{with test}
%check
%{cargo_test} --all-features
%endif
%files
%{_bindir}/zellij
%license LICENSE.md
%doc README.md
%changelog