File deco.spec of Package deco

Name:     deco
Version:  1.6.4
Release:  2.1
Summary:  A universal file extractor with consistent interface and behavior
License:  GPL-3.0-only
Group:    Productivity/Archiving/Compression
URL:      https://github.com/peha/deco
Source:   %{name}-%{version}.tar.gz
Suggests: deco-archive

%description
deco is a Un*x program, written in C, that is able to extract various file
formats using small 'extractor wrapper' scripts.

For the support different archive types you may install 'deco-archive' package,
and/or write own extractor scripts in $HOME/.deco directory.

%prep
%setup -q

%build
%__make \
  CC="%__cc" \
  CFLAGS="%{optflags}" \
  PREFIX="%{_prefix}"

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

%clean
%__rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%license LICENSE
%doc NEWS README.md API.md
%{_bindir}/deco

%changelog
openSUSE Build Service is sponsored by