]> git.pld-linux.org Git - SPECS.git/blob - python3-icalendar.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / python3-icalendar.spec
1 %define         module          icalendar
2 Summary:        iCalendar parser/generator
3 Name:           python3-%{module}
4 Version:        5.0.7
5 Release:        1
6 License:        BSD
7 Group:          Development/Languages/Python
8 #Source0Download: https://pypi.org/simple/icalendar/
9 Source0:        https://files.pythonhosted.org/packages/source/i/icalendar/%{module}-%{version}.tar.gz
10 # Source0-md5:  338c8791e989554273705e3004843b0d
11 URL:            https://icalendar.readthedocs.io/
12 BuildRequires:  python3 >= 1:3.7
13 BuildRequires:  python3-modules >= 1:3.7
14 BuildRequires:  python3-setuptools
15 BuildRequires:  rpm-pythonprov
16 BuildRequires:  rpmbuild(macros) >= 1.714
17 Requires:       python3-modules >= 1:3.7
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 The icalendar package is a RFC 5545 compatible parser/generator for
23 iCalendar files.
24
25 %prep
26 %setup -q -n %{module}-%{version}
27
28 %build
29 %py3_build
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 %py3_install
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %doc {CHANGES,CONTRIBUTING,LICENSE,README}.rst
42 %attr(755,root,root) %{_bindir}/icalendar
43 %{py3_sitescriptdir}/%{module}
44 %{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
This page took 1.613501 seconds and 3 git commands to generate.