1
0
forked from pool/broot
broot/broot.spec
Michael Vetter 839499b795 Accepting request 974535 from home:MSirringhaus:broot
H! @MSirringhaus ! I just found this project today and wanted to package it. What do you think about pushing your version to Factory?

OBS-URL: https://build.opensuse.org/request/show/974535
OBS-URL: https://build.opensuse.org/package/show/utilities/broot?expand=0&rev=1
2022-05-08 09:25:35 +00:00

54 lines
1.4 KiB
RPMSpec

#
# spec file for package broot
#
# Copyright (c) 2020 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: broot
Version: 1.11.1
Release: 0
Summary: A better way to navigate directories
License: MIT
URL: https://dystroy.org/broot/
Source0: https://github.com/Canop/broot/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.xz
Source2: %{name}.changes
BuildRequires: rust-packaging
%description
A better way to navigate directories.
Tree-like commandline directory navigator written in Rust.
%prep
%setup -qa 1
%define cargo_registry $(pwd)/vendor
%cargo_prep
%build
%cargo_build
%check
%cargo_test
%install
%cargo_install
rm -rf %{buildroot}/%{_builddir}/%{name}-%{version}/vendor/
%files
%license LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/broot
%changelog