Name: legofy
Version: 1.0.0
Release: %autorelease
Summary: Make images look as if they are made out of 1x1 LEGO blocks
License: MIT
URL: https://github.com/JuanPotato/Legofy
Source0: https://pypi.python.org/packages/source/l/%{name}/%{name}-%{version}.tar.gz
Source1: %{name}.1
Patch1: legofy-format.patch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-click
Requires: python3-pillow
%description
Legofy is a python program that takes a static image or gif and makes
it so that it looks as if it was built out of LEGO.
%prep
%autosetup
%build
%py3_build
%install
%py3_install
install -pDm644 %{SOURCE1} %{buildroot}%{_mandir}/man1/legofy.1
%files
%{python3_sitelib}/*
%{_bindir}/*
%{_mandir}/man1/*
%doc README.md
%license LICENSE
%changelog
%autochangelog