install required directory /var/lib/motioneye [release 0.40-2mamba;Sat Aug 10 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 07:15:02 +01:00
parent 6092bdcfda
commit 4b4a1f894a

View File

@ -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 <silvan.calarco@mambasoft.it> 0.40-2mamba
- install required directory /var/lib/motioneye
* Sat Aug 10 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.40-1mamba
- package created using the webbuild interface