Select Git revision
test_sample.lc
sha512toc.spec.template 596 B
Name: sha512toc
Version: __SHA512TOC_VERSION__
Release: 1
Summary: A simple utility to create a TOC of a directory
License: GPLv3
Source0: http://control.lth.se/sha512toc.tar
#BuildRequires: libattr-devel
%description
A simple utility to create a TOC of a directory
%prep
%setup -q -n %{name}
%build
make sha512TOC_VERSION=__sha512TOC_VERSION__
file sha512toc
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}/usr/bin/
cp sha512toc ${RPM_BUILD_ROOT}/usr/bin/
%files
%defattr(-,root,root,-)
%attr(04755,root,root) /usr/bin/sha512toc