File csvlens.spec of Package csvlens

Name:           csvlens
#               This will be set by osc services, that will run after this.
Version:        0.10.1~0
Release:        0
Summary:        Commandline CSV viewer
License:        MIT
Url:            https://github.com/YS-L/csvlens
Source0:        %{name}-%{version}.tar.zst
Source1:        vendor.tar.zst
BuildRequires:  cargo
BuildRequires:  cargo-packaging

%description
`csvlens` is a command line CSV file viewer. It is like `less` but made for CSV.

%prep
%autosetup -p1 -a1

%build
%{cargo_build}

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

%files
%license LICENSE
%{_bindir}/%{name}

%changelog
openSUSE Build Service is sponsored by