Stanislav Ochotnicky e066fe3
Name:           python-icalendar
80ee9f0
Version:        5.0.12
80ee9f0
Release:        1%{?dist}
Stanislav Ochotnicky e066fe3
Summary:        Parser/generator of iCalendar files following the RFC 2445
Stanislav Ochotnicky e066fe3
d357b67
License:        BSD-2-Clause
Stanislav Ochotnicky 0844128
URL:            http://pypi.python.org/pypi/icalendar
52e637b
Source0:        https://github.com/collective/icalendar/archive/v%{version}/%{version}.tar.gz
Stanislav Ochotnicky e066fe3
Stanislav Ochotnicky e066fe3
BuildArch:      noarch
Stanislav Ochotnicky 7b16657
Stanislav Ochotnicky 7b16657
BuildRequires:  python3-devel
Stanislav Ochotnicky 7b16657
BuildRequires:  python3-setuptools
Stanislav Ochotnicky 7b16657
BuildRequires:  python3-pytz
Stanislav Ochotnicky 7b16657
BuildRequires:  python3-dateutil
916be5a
BuildRequires:  python3-hypothesis
916be5a
BuildRequires:  python3-pytest
Stanislav Ochotnicky 0844128
a09581f
%global _description\
a09581f
iCalendar specification (RFC 2445) defines calendaring format used\
a09581f
by many applications (Zimbra, Thunderbird and others). This\
a09581f
module is a parser/generator of iCalendar files for use with\
a09581f
Python. It follows the RFC 2445 (iCalendar) specification.\
a09581f
The aim is to make a package that is fully compliant with RFC 2445,\
a09581f
well designed, simple to use and well documented.\
a09581f
a09581f
a09581f
%description %_description
a09581f
Stanislav Ochotnicky 7b16657
%package -n python3-icalendar
Stanislav Ochotnicky 7b16657
Summary:        Parser/generator of iCalendar files following the RFC 2445 for Python 3
Stanislav Ochotnicky 7b16657
Requires:       python3-pytz
Stanislav Ochotnicky 7b16657
Requires:       python3-dateutil
Stanislav Ochotnicky 7b16657
Stanislav Ochotnicky 7b16657
%description -n python3-icalendar
598d858
iCalendar specification (RFC 2445) defines calendaring format used\
598d858
by many applications (Zimbra, Thunderbird and others). This\
598d858
module is a parser/generator of iCalendar files for use with\
598d858
Python. It follows the RFC 2445 (iCalendar) specification.\
598d858
The aim is to make a package that is fully compliant with RFC 2445,\
598d858
well designed, simple to use and well documented.\
Stanislav Ochotnicky 7b16657
Stanislav Ochotnicky e066fe3
%prep
Stanislav Ochotnicky 0844128
%setup -q -n icalendar-%{version}%{?veradd}
Stanislav Ochotnicky e066fe3
Stanislav Ochotnicky 7b16657
# we have only 2.7 and 3.3
Stanislav Ochotnicky 7b16657
sed -i 's/py26,//' tox.ini
Stanislav Ochotnicky 7b16657
Stanislav Ochotnicky 7b16657
rm -rf %{py3dir}
Stanislav Ochotnicky 7b16657
cp -a . %{py3dir}
Stanislav Ochotnicky 7b16657
Stanislav Ochotnicky e066fe3
%build
Stanislav Ochotnicky 7b16657
pushd %{py3dir}
Stanislav Ochotnicky 7b16657
%{__python3} setup.py build
Stanislav Ochotnicky 7b16657
popd
Stanislav Ochotnicky e066fe3
Stanislav Ochotnicky e066fe3
%install
Stanislav Ochotnicky 7b16657
pushd %{py3dir}
Stanislav Ochotnicky 7b16657
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
Stanislav Ochotnicky 7b16657
popd
Stanislav Ochotnicky 7b16657
Stanislav Ochotnicky e066fe3
916be5a
%check
916be5a
pushd %{py3dir}
916be5a
%{__python3} -m pytest src/icalendar/tests
916be5a
popd
Stanislav Ochotnicky e066fe3
Stanislav Ochotnicky 7b16657
%files -n python3-icalendar
Stanislav Ochotnicky 7b16657
%doc README.rst CHANGES.rst LICENSE.rst
Stanislav Ochotnicky 7b16657
%{python3_sitelib}/icalendar
Stanislav Ochotnicky 7b16657
%{python3_sitelib}/*.egg-info
7e27b5c
%{_bindir}/icalendar
Stanislav Ochotnicky 7b16657
Stanislav Ochotnicky e066fe3
%changelog
80ee9f0
* Wed Mar 20 2024 Gwyn Ciesla <gwync@protonmail.com> - 5.0.12-1
80ee9f0
- 5.0.12
80ee9f0
c37c468
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.11-3
c37c468
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
c37c468
760e6c1
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.11-2
760e6c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
760e6c1
a9d6159
* Mon Nov 06 2023 Gwyn Ciesla <gwync@protonmail.com> - 5.0.11-1
a9d6159
- 5.0.11
a9d6159
d930a24
* Thu Sep 28 2023 Gwyn Ciesla <gwync@protonmail.com> - 5.0.10-1
d930a24
- 5.0.10
d930a24
175ce41
* Mon Sep 25 2023 Gwyn Ciesla <gwync@protonmail.com> - 5.0.9-1
175ce41
- 5.0.9
175ce41
f2ba327
* Tue Sep 19 2023 Gwyn Ciesla <gwync@protonmail.com> - 5.0.8-1
f2ba327
- 5.0.8
f2ba327
c4d9cd7
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.7-3
c4d9cd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
c4d9cd7
1b88a98
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 5.0.7-2
1b88a98
- Rebuilt for Python 3.12
1b88a98
72f20b3
* Tue May 30 2023 Gwyn Ciesla <gwync@protonmail.com> - 5.0.7-1
72f20b3
- 5.0.7
72f20b3
ec56054
* Fri Apr 14 2023 Gwyn Ciesla <gwync@protonmail.com> - 5.0.5-1
ec56054
- 5.0.5
ec56054
d357b67
* Wed Mar 08 2023 Gwyn Ciesla <gwync@protonmail.com> - 5.0.4-3
d357b67
- migrated to SPDX license
d357b67
ea1fc43
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.4-2
ea1fc43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
ea1fc43
24c735d
* Wed Jan 04 2023 Gwyn Ciesla <gwync@protonmail.com> - 5.0.4-1
24c735d
- 5.0.4
24c735d
6e53223
* Mon Nov 28 2022 Gwyn Ciesla <gwync@protonmail.com> - 5.0.3-1
6e53223
- 5.0.3
6e53223
792debb
* Fri Nov 04 2022 Gwyn Ciesla <gwync@protonmail.com> - 5.0.2-1
792debb
- 5.0.2
792debb
52e637b
* Wed Oct 26 2022 Gwyn Ciesla <gwync@protonmail.com> - 5.0.1-1
52e637b
- 5.0.1
52e637b
2d94733
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.9-5
2d94733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2d94733
797d95d
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.0.9-4
797d95d
- Rebuilt for Python 3.11
797d95d
9bba279
* Wed Jan 26 2022 Gwyn Ciesla <gwync@protonmail.com> - 4.0.9-3
3a5964c
- Patch for Python 3.11
3a5964c
3467064
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.9-2
3467064
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
3467064
4a0d981
* Mon Oct 18 2021 Gwyn Ciesla <gwync@protonmail.com> - 4.0.9-1
4a0d981
- 4.0.9
4a0d981
17a74f3
* Fri Oct 08 2021 Gwyn Ciesla <gwync@protonmail.com> - 4.0.8-1
17a74f3
- 4.0.8
17a74f3
fc74ad8
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.7-4
fc74ad8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
fc74ad8
bdfdad2
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 4.0.7-3
bdfdad2
- Rebuilt for Python 3.10
bdfdad2
d26bdc8
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.7-2
d26bdc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d26bdc8
9c31609
* Tue Sep 08 2020 Gwyn Ciesla <gwync@protonmail.com> - 4.0.7-1
9c31609
- 4.0.7
9c31609
f87cfe6
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.6-3
f87cfe6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f87cfe6
f7b4faf
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 4.0.6-2
f7b4faf
- Rebuilt for Python 3.9
f7b4faf
29454d5
* Thu May 07 2020 Gwyn Ciesla <gwync@protonmail.com> - 4.0.6-1
29454d5
- 4.0.6
29454d5
b55b951
* Sat Mar 21 2020 Gwyn Ciesla <gwync@protonmail.com> - 4.0.5-1
b55b951
- 4.0.5
b55b951
064d040
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.4-2
064d040
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
064d040
8da4688
* Mon Nov 25 2019 Gwyn Ciesla <gwync@protonmail.com> - 4.0.4-1
8da4688
- 4.0.4
8da4688
a69ad4c
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 4.0.3-6
a69ad4c
- Rebuilt for Python 3.8.0rc1 (#1748018)
a69ad4c
a83767a
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 4.0.3-5
a83767a
- Rebuilt for Python 3.8
a83767a
f0c824d
* Tue Aug 13 2019 Gwyn Ciesla <gwync@protonmail.com> - 4.0.3-4
f0c824d
- Drop Python 2.
f0c824d
8723da5
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.3-3
8723da5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8723da5
13ffa36
* Wed Mar 06 2019 Yatin Karel <ykarel@redhat.com> - 4.0.3-2
13ffa36
- Drop unnecessary BR on python-pip
13ffa36
- Enable python3 build on RHEL > 7
13ffa36
- Include icalendar binary in py2 package when py3 disabled
13ffa36
7e27b5c
* Thu Jan 31 2019 Gwyn Ciesla <limburgher@gmail.com> 4.0.3-1
7e27b5c
- 4.0.3
7e27b5c
9145172
* Wed Jul 25 2018 Gwyn Ciesla <limburgher@gmail.com> - 3.11.5-9
9145172
- Fix FTBFS.
9145172
5b18cf8
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.5-8
5b18cf8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5b18cf8
3a6773c
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.11.5-7
3a6773c
- Rebuilt for Python 3.7
3a6773c
916be5a
* Mon May 07 2018 Miro Hrončok <mhroncok@redhat.com> - 3.11.5-6
916be5a
- Drop tox dependency, use pytest directly
916be5a
- Use python2 instead of python
916be5a
2d98194
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.5-5
2d98194
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2d98194
04f57b7
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.11.5-4
04f57b7
- Update Python 2 dependency declarations to new packaging standards
04f57b7
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
04f57b7
a09581f
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.11.5-3
a09581f
- Python 2 binary package renamed to python2-icalendar
a09581f
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
a09581f
b3b65e9
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.5-2
b3b65e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b3b65e9
24fb19f
* Mon Jul 17 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 3.11.5-1
24fb19f
- Upstream 3.11.5 (multiple bugfixes)
24fb19f
4468330
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-3
4468330
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4468330
f356b50
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.11-2
f356b50
- Rebuild for Python 3.6
f356b50
8686b71
* Fri Dec 09 2016 Jon Ciesla <limburgher@gmail.com> - 3.11-1
8686b71
- 3.11
8686b71
d505b05
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.0-5
d505b05
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
d505b05
cf1882e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-4
cf1882e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cf1882e
95d9f77
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.0-3
95d9f77
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
95d9f77
5ef759c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.0-2
5ef759c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5ef759c
165a02f
* Sat Mar 28 2015 Jon Ciesla <limburgher@gmail.com> - 3.9.0-1
165a02f
- Latest upstream, BZ 1206758.
165a02f
ffc2c1c
* Tue Jan 20 2015 Jon Ciesla <limburgher@gmail.com> - 3.8.4-1
ffc2c1c
- Latest upstream.
ffc2c1c
b6d3fcf
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.2-3
b6d3fcf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b6d3fcf
cb4dbe1
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 3.6.2-2
cb4dbe1
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
cb4dbe1
b690f60
* Thu Apr 24 2014 Jon Ciesla <limburgher@gmail.com> - 3.6.2-1
b690f60
- Latest upstream.
b690f60
Stanislav Ochotnicky 7b16657
* Tue Jan 07 2014 Stanislav Ochotnicky <sochotnicky@rdhat.com> - 3.6.1-1
Stanislav Ochotnicky 7b16657
- Update to latest upstream
Stanislav Ochotnicky 7b16657
- Add python3 subpackage
Stanislav Ochotnicky 7b16657
1b93132
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-3
1b93132
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1b93132
Stanislav Ochotnicky a9cf7d5
* Thu May 30 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.4-2
Stanislav Ochotnicky a9cf7d5
- Install LICENSE file as well
Stanislav Ochotnicky a9cf7d5
Stanislav Ochotnicky 6c6596a
* Thu May 30 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.4-1
Stanislav Ochotnicky 6c6596a
- Update to latest upstream version (#824323)
Stanislav Ochotnicky 6c6596a
b9779b4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-0.3.b2
b9779b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b9779b4
3e67bf7
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-0.2.b2
3e67bf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3e67bf7
Stanislav Ochotnicky 0844128
* Wed May 30 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.1-0.1.b2
Stanislav Ochotnicky 0844128
- Update to 3.0b2
Stanislav Ochotnicky 0844128
- Change license to BSD (see https://github.com/collective/icalendar/issues/2)
Stanislav Ochotnicky 0844128
469c4e6
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-5
469c4e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
469c4e6
a55cc1d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-4
a55cc1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a55cc1d
Stanislav Ochotnicky e066fe3
* Thu Aug  5 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1-3
Stanislav Ochotnicky e066fe3
- Install examples
Stanislav Ochotnicky e066fe3
- Fix tests for Python 2.7 and run them
Stanislav Ochotnicky e066fe3
- Add GPLv2 for parser.py to licenses
Stanislav Ochotnicky e066fe3
Stanislav Ochotnicky e066fe3
* Wed Aug  4 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1-2
Stanislav Ochotnicky e066fe3
- State correct licenses
Stanislav Ochotnicky e066fe3
Stanislav Ochotnicky e066fe3
* Tue Aug  3 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1-1
Stanislav Ochotnicky e066fe3
- Initial package version