Name: motioneye Version: 0.42.1 Release: 2mamba Summary: A web frontend for the motion daemon Group: Applications/Web Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/ccrisan/motioneye.git ## GITSOURCE https://github.com/ccrisan/motioneye.git 0.40 Source: https://github.com/ccrisan/motioneye.git/%{version}/motioneye-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN #(python3.7dist(tornado): unidentified build requirement #python3.7dist(pillow): unidentified build requirement #python3.7dist(pycurl): unidentified build requirement BuildRequires: libpython3-devel BuildRequires: python-Jinja2-py3 BuildRequires: python-setuptools-py3 ## AUTOBUILDREQ-END Requires: motion Requires: v4l-utils Requires: ffmpeg %systemd_requires %description A web frontend for the motion daemon. %prep %setup -q %build CFLAGS="%{optflags}" %{__python3} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python3} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{python3_inc} \ --install-lib=%{python3_sitearch} \ --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist sed -i "/handlers.cpython/d" %{name}.filelist sed -i "/server.cpython/d" %{name}.filelist install -D -m0644 extra/motioneye.systemd-unit %{buildroot}%{_unitdir}/motioneye.service install -D -m0644 extra/motioneye.conf.sample %{buildroot}%{_sysconfdir}/motioneye/motioneye.conf install -d -m0755 %{buildroot}%{_localstatedir}/lib/motioneye %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post %systemd_post %{name} : %preun %systemd_preun %{name} : %postun %systemd_postun_with_restart %{name} : %files -f %{name}.filelist %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/motioneye/motioneye.conf %dir %{_sysconfdir}/motioneye %{_unitdir}/motioneye.service %dir %{_localstatedir}/lib/motioneye %dir %{python3_sitearch}/motioneye-%{version}-py*.egg-info %{python3_sitearch}/motioneye-%{version}-py*.egg-info/* %doc AUTHORS LICENSE %changelog * Sat Apr 03 2021 Silvan Calarco 0.42.1-2mamba - rebuilt with distdeps * Thu Dec 31 2020 Silvan Calarco 0.42.1-1mamba - update to 0.42.1 * Sat Aug 10 2019 Silvan Calarco 0.40-2mamba - install required directory /var/lib/motioneye * Sat Aug 10 2019 Silvan Calarco 0.40-1mamba - package created using the webbuild interface