python-radicale/python-radicale.spec

98 lines
3.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-radicale
Version: 3.1.8
Release: 2mamba
Summary: CalDAV and CardDAV Server
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/Radicale/
Source: https://pypi.debian.net/Radicale/Radicale-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(defusedxml)
BuildRequires: python3.11dist(passlib)
BuildRequires: python3.11dist(python-dateutil)
BuildRequires: python3.11dist(setuptools)
BuildRequires: python3.11dist(vobject)
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
%description
%{summary}.
%if 0%{?with_pyver}
%define py_requires_append \
Obsoletes: python-radicale < 3.1.8-2mamba
%pyver_package
%endif
%prep
%setup -q -n Radicale-%{version}
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/Radicale-%{version}-py*.egg-info
%{python_sitearch}/Radicale-%{version}-py*.egg-info/*
%doc COPYING.md
%changelog
* Sun Oct 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.8-2mamba
- rebuilt with python3 == 3.11
* Tue Aug 09 2022 Automatic Build System <autodist@mambasoft.it> 3.1.8-1mamba
- automatic version update by autodist
* Thu Apr 21 2022 Automatic Build System <autodist@mambasoft.it> 3.1.7-1mamba
- automatic version update by autodist
* Tue Apr 19 2022 Automatic Build System <autodist@mambasoft.it> 3.1.6-1mamba
- automatic version update by autodist
* Wed Feb 09 2022 Automatic Build System <autodist@mambasoft.it> 3.1.5-1mamba
- automatic version update by autodist
* Wed Feb 02 2022 Automatic Build System <autodist@mambasoft.it> 3.1.4-1mamba
- automatic version update by autodist
* Thu Jan 27 2022 Automatic Build System <autodist@mambasoft.it> 3.1.3-1mamba
- automatic version update by autodist
* Sun Jan 23 2022 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
- automatic version update by autodist
* Wed Jan 19 2022 Automatic Build System <autodist@mambasoft.it> 3.1.1-1mamba
- automatic version update by autodist
* Sun Dec 26 2021 Automatic Build System <autodist@mambasoft.it> 3.1.0-1mamba
- automatic version update by autodist
* Mon Feb 22 2021 Automatic Build System <autodist@mambasoft.it> 3.0.6-1mamba
- automatic version update by autodist
* Wed Apr 22 2020 Automatic Build System <autodist@mambasoft.it> 2.1.9-1mamba
- automatic update by autodist
* Thu Oct 26 2017 Automatic Build System <autodist@mambasoft.it> 2.1.8-1mamba
- automatic update by autodist
* Sat Sep 17 2016 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
- automatic update by autodist
* Thu Dec 03 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
- package created using the webbuild interface