Name: photofilmstrip
Version: 3.7.3
Release: 1%{?dist}
Summary: Creates movies out of your pictures
License: GPLv2
URL: http://www.%{name}.org
Source: https://github.com/PhotoFilmStrip/PFS/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{pname}-%{version}-%{release}-buildroot
Requires: python-pillow
BuildRequires: python3 >= 3.4 gettext
BuildRequires: python3-devel
BuildArch: noarch


%description
PhotoFilmStrip creates movies out of your pictures in just 3 steps. First
select your photos, customize the motion path and render the video. There
are several output possibilities for VCD, SVCD, DVD up to FULL-HD.


%prep
%setup -q


%build
%py3_build


%install
[ '%{buildroot}' != '/' ] && rm -rf %{buildroot}
%py3_install


%files
%defattr(-,root,root)
%{!?_licensedir:%global license %%doc}
%license COPYING
%{_bindir}/%{name}
%{_bindir}/%{name}-cli
%{python3_sitelib}/*.egg-info
%{python3_sitelib}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/pixmaps/%{name}.xpm