[packages/python3-icalendar] new

atler atler at pld-linux.org
Thu Jun 22 02:52:35 CEST 2023


commit 3956052a6b4194a5d112572a90a48901a3ab28ea
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jun 22 00:57:57 2023 +0200

    new

 python3-icalendar.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
---
diff --git a/python3-icalendar.spec b/python3-icalendar.spec
new file mode 100644
index 0000000..47b3f41
--- /dev/null
+++ b/python3-icalendar.spec
@@ -0,0 +1,45 @@
+%define		module		icalendar
+Summary:	iCalendar parser/generator
+Name:		python3-%{module}
+Version:	5.0.7
+Release:	1
+License:	BSD
+Group:		Development/Languages/Python
+#Source0Download: https://pypi.org/simple/icalendar/
+Source0:	https://files.pythonhosted.org/packages/source/i/icalendar/%{module}-%{version}.tar.gz
+# Source0-md5:	338c8791e989554273705e3004843b0d
+URL:		https://icalendar.readthedocs.io/
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+BuildRequires:	python3 >= 1:3.7
+BuildRequires:	python3-modules >= 1:3.7
+BuildRequires:	python3-setuptools
+Requires:	python3-modules >= 1:3.7
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The icalendar package is a RFC 5545 compatible parser/generator for
+iCalendar files.
+
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc {CHANGES,CONTRIBUTING,LICENSE,README}.rst
+%attr(755,root,root) %{_bindir}/icalendar
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-icalendar.git/commitdiff/3956052a6b4194a5d112572a90a48901a3ab28ea



More information about the pld-cvs-commit mailing list