diff --git a/motioneye.spec b/motioneye.spec index cb33e60..e7781de 100644 --- a/motioneye.spec +++ b/motioneye.spec @@ -1,6 +1,6 @@ Name: motioneye Version: 0.40 -Release: 1mamba +Release: 2mamba Summary: A web frontend for the motion daemon Group: Applications/Web Vendor: openmamba @@ -23,6 +23,7 @@ Requires: pycurl Requires: python-Pillow Requires: python-Jinja2 Requires: python-tornado < 6 +Requires: python-six BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -50,6 +51,7 @@ 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}" @@ -68,10 +70,15 @@ install -D -m0644 extra/motioneye.conf.sample %{buildroot}%{_sysconfdir}/motione %files -f %{name}.filelist %defattr(-,root,root) +%dir %{_sysconfdir}/motioneye %config(noreplace) %{_sysconfdir}/motioneye/motioneye.conf %{_unitdir}/motioneye.service +%dir %{_localstatedir}/lib/motioneye %doc AUTHORS LICENSE %changelog +* 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