update to 0.42.1 [release 0.42.1-1mamba;Thu Dec 31 2020]

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

View File

@ -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 <silvan.calarco@mambasoft.it> 0.42.1-1mamba
- update to 0.42.1
* Sat Aug 10 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.40-2mamba
- install required directory /var/lib/motioneye