Name:           tesla_dashcam
Version:        0.1.21b2
Release:        1%{?dist}
Summary:        Python tool for merging tesla video feeds

License:        Apache
URL:            https://github.com/ehendrix23/tesla_dashcam
Source0:        https://github.com/ehendrix23/tesla_dashcam/archive/v%version}/%{name}-%{version}.tar.gz


BuildArch:      noarch
BuildRequires:  python3-devel, python3-setuptools, python3-pip
BuildRequires:  python3-dateutil, python3-tzlocal, python3-requests, python3-psutil, python3-staticmap

Requires:       ffmpeg, liberation-sans-fonts

%description
Python program that provides an easy method to merge saved Tesla Dashcam footage into a single video.



%prep
%autosetup

%build
CFLAGS="%{optflags}" %{__python3} setup.py build


%install
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}


%check
%{__python3} setup.py test


%files
%license LICENSE
%doc README.rst AUTHORS
%{python3_sitelib}/*
%{_bindir}/tesla_dashcam

%changelog
* Mon Aug 26 2024 Dennis Gilmore <dennis@ausil.us> - 0.1.21b2
- initial packaging