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 Name: motioneye
Version: 0.40 Version: 0.42.1
Release: 2mamba Release: 1mamba
Summary: A web frontend for the motion daemon Summary: A web frontend for the motion daemon
Group: Applications/Web Group: Applications/Web
Vendor: openmamba 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 Source: https://github.com/ccrisan/motioneye.git/%{version}/motioneye-%{version}.tar.bz2
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel BuildRequires: libpython3-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: python Requires: python3
Requires: motion Requires: motion
Requires: v4l-utils Requires: v4l-utils
Requires: ffmpeg Requires: ffmpeg
%systemd_requires %systemd_requires
Requires: python-setuptools Requires: python-setuptools-py3
Requires: pycurl Requires: pycurl-py3
Requires: python-Pillow Requires: python-Pillow-py3
Requires: python-Jinja2 Requires: python-Jinja2-py3
Requires: python-tornado < 6 Requires: python-tornado-py3 < 6
Requires: python-six Requires: python-six-py3
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -37,11 +37,11 @@ CFLAGS="%{optflags}" %{__python3} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python3} setup.py install \
-O1 --skip-build \ -O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{python_inc} \ --install-headers=%{python3_inc} \
--install-lib=%{python_sitearch} \ --install-lib=%{python3_sitearch} \
--record=%{name}.filelist --record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist sed -i "s,.*/man/.*,&.gz," %{name}.filelist
@ -70,13 +70,16 @@ install -d -m0755 %{buildroot}%{_localstatedir}/lib/motioneye
%files -f %{name}.filelist %files -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_sysconfdir}/motioneye
%config(noreplace) %{_sysconfdir}/motioneye/motioneye.conf %config(noreplace) %{_sysconfdir}/motioneye/motioneye.conf
%dir %{_sysconfdir}/motioneye
%{_unitdir}/motioneye.service %{_unitdir}/motioneye.service
%dir %{_localstatedir}/lib/motioneye %dir %{_localstatedir}/lib/motioneye
%doc AUTHORS LICENSE %doc AUTHORS LICENSE
%changelog %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 * Sat Aug 10 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.40-2mamba
- install required directory /var/lib/motioneye - install required directory /var/lib/motioneye