File gitu.spec of Package gitu

Name:           gitu
#               This will be set by osc services, that will run after this.
Version:        0.6.0~0
Release:        0
Summary:        A terminal user interface for Git
License:        MIT
Url:            https://github.com/altsem/gitu
Source0:        %{name}-%{version}.tar.zst
Source1:        vendor.tar.zst
BuildRequires:  cargo-packaging
BuildRequires:  openssl-devel
BuildRequires:  pkgconfig(zlib)
# Needed for the check-section
BuildRequires:  git

%description
A terminal user interface for Git. Inspired by Magit, and launched straight from the terminal.

%prep
%autosetup -p1 -a1

%build
%{cargo_build}

%install
%{cargo_install}
 
%check
%{cargo_test}

%files
%{_bindir}/%{name}

%changelog
openSUSE Build Service is sponsored by