SHA256
1
0
forked from pool/tiny
Files
tiny/tiny.spec
Soc Virnyl Estela bb34107992 - Update to version 0.12.0+git2:
* Update tokio, serde, fix a new lint (1.76.0) and a warning in test
- Remove cargo_config to adopt new vendored tarball scheme.

OBS-URL: https://build.opensuse.org/package/show/utilities/tiny?expand=0&rev=27
2024-03-26 10:51:23 +00:00

54 lines
1.7 KiB
RPMSpec

#
# spec file for package tiny
#
# 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/
#
Name: tiny
Version: 0.12.0+git2
Release: 0
Summary: Terminal IRC client written in Rust
License: (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR MIT OR BSD-2-Clause) AND (MIT OR Unlicense) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND MIT
URL: https://github.com/osa1/tiny
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
BuildRequires: zstd
Requires: pkgconfig(dbus-1)
Requires: pkgconfig(openssl)
%description
A terminal IRC client written in Rust.
%prep
%autosetup -a1
%build
%{cargo_build} --features desktop-notifications
%install
install -D -d -m 0755 %{buildroot}%{_bindir}
install -m 0755 %{_builddir}/%{name}-%{version}/target/release/tiny %{buildroot}%{_bindir}/tiny
%check
%{cargo_test}
%files
%license LICENSE
%doc README.md CHANGELOG.md
%{_bindir}/tiny
%changelog