Repository navigation
Expand file tree
/
Copy pathpython-caldav.spec
More file actions
67 lines (44 loc) · 1.98 KB
/
Copy pathpython-caldav.spec
File metadata and controls
67 lines (44 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
%{?!python3_pkgversion:%global python3_pkgversion 3}
%global srcname caldav
Name: python-caldav
Version: 3.7.0
Release: 1%{?dist}
Summary: CalDAV client library for Python
License: GPL-3.0-or-later OR Apache-2.0
URL: https://github.com/%{name}/%{srcname}
Source0: https://github.com/%{name}/%{srcname}/archive/refs/tags/v%{version}.tar.gz
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-hatchling
BuildRequires: python%{python3_pkgversion}-hatch-vcs
%{?python_enable_dependency_generator}
%description
CalDAV is a Python client library implementing the CalDAV protocol (RFC 4791).
It allows users to create and manage calendars, as well as create, modify and
delete events. The library provides event searching capabilities based on date
ranges. It also supports asynchronous operations through the `caldav.aio`
module. CalDAV simplifies interaction with CalDAV-compatible calendar servers
from Python applications.
%package -n python%{python3_pkgversion}-%{srcname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python%{python3_pkgversion}-%{srcname}
CalDAV is a Python client library implementing the CalDAV protocol (RFC 4791).
It allows users to create and manage calendars, as well as create, modify and
delete events. The library provides event searching capabilities based on date
ranges. It also supports asynchronous operations through the `caldav.aio`
module. CalDAV simplifies interaction with CalDAV-compatible calendar servers
from Python applications.
%prep
%autosetup -p1 -n %{srcname}-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{srcname}
%files -n python%{python3_pkgversion}-%{srcname}
%license COPYING.GPL COPYING.APACHE
%doc AI-POLICY.md CHANGELOG.md CODE_OF_CONDUCT CONTACT.md CONTRIBUTING.md README.md SECURITY.md
%{pyproject_files}
%changelog
%autochangelog