Name:           libtree-ldd
Version:        3.1.0
Release:        1%{?dist}
Summary:        Like ldd but as a tree


License:        MIT
URL:            https://github.com/haampie/libtree
Source0:        %{url}/archive/v%{version}/libtree-%{version}.tar.gz

BuildRequires:  gcc
BuildRequires:  make

%description
A tool that:
- turns ldd into a tree
- explains why shared libraries are found and why not

%prep
%autosetup -n libtree-%{version}

%build
%set_build_flags
%make_build

%install
%make_install PREFIX="%{_prefix}"

%check
%make_build check

%files
%{_mandir}/man1/libtree.1*
%{_bindir}/libtree
%doc README.md
%license LICENSE

%changelog
* Sat Mar 05 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 3.1.0-1
- Update to 3.1.0

* Fri Jan 14 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 3.0.2-1
- Update to 3.0.2

* Mon Dec 27 2021 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 3.0.1-1
- Initial package