From 0b5e7be03cd3c4d236a44eee093c84a33e1ebdce Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:15:02 +0100 Subject: [PATCH] update to 0.42.1 [release 0.42.1-1mamba;Thu Dec 31 2020] --- motioneye.spec | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/motioneye.spec b/motioneye.spec index e7781de..3672e0e 100644 --- a/motioneye.spec +++ b/motioneye.spec @@ -1,6 +1,6 @@ Name: motioneye -Version: 0.40 -Release: 2mamba +Version: 0.42.1 +Release: 1mamba Summary: A web frontend for the motion daemon Group: Applications/Web Vendor: openmamba @@ -11,19 +11,19 @@ URL: https://github.com/ccrisan/motioneye.git Source: https://github.com/ccrisan/motioneye.git/%{version}/motioneye-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -Requires: python +Requires: python3 Requires: motion Requires: v4l-utils Requires: ffmpeg %systemd_requires -Requires: python-setuptools -Requires: pycurl -Requires: python-Pillow -Requires: python-Jinja2 -Requires: python-tornado < 6 -Requires: python-six +Requires: python-setuptools-py3 +Requires: pycurl-py3 +Requires: python-Pillow-py3 +Requires: python-Jinja2-py3 +Requires: python-tornado-py3 < 6 +Requires: python-six-py3 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -37,11 +37,11 @@ CFLAGS="%{optflags}" %{__python3} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ +%{__python3} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ - --install-headers=%{python_inc} \ - --install-lib=%{python_sitearch} \ + --install-headers=%{python3_inc} \ + --install-lib=%{python3_sitearch} \ --record=%{name}.filelist sed -i "s,.*/man/.*,&.gz," %{name}.filelist @@ -70,13 +70,16 @@ install -d -m0755 %{buildroot}%{_localstatedir}/lib/motioneye %files -f %{name}.filelist %defattr(-,root,root) -%dir %{_sysconfdir}/motioneye %config(noreplace) %{_sysconfdir}/motioneye/motioneye.conf +%dir %{_sysconfdir}/motioneye %{_unitdir}/motioneye.service %dir %{_localstatedir}/lib/motioneye %doc AUTHORS LICENSE %changelog +* 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