Name: openvpn-python-plugin Version: 2.0.7 Release: 1%{?dist} Summary: OpenVPN Python plugin License: GPLv2+ URL: https://github.com/ufven/%{name} Source0: https://github.com/ufven/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Requires: openvpn Requires: python%{python3_pkgversion} >= 3.6 BuildRequires: gcc BuildRequires: openssl-devel BuildRequires: openvpn-devel BuildRequires: python%{python3_pkgversion}-devel >= 3.6 %description An OpenVPN plugin that allows for handling events in Python. %prep %setup -q %build %configure %make_build %install %make_install # As per the Fedora Packaging Guidelines, don't include *.la files. Even # though `disable-static` is used, libtool still produces them. %{__rm} %{buildroot}%{_libdir}/openvpn/plugins/openvpn-python-plugin.la %files %doc LICENSE %doc README.md %{python3_sitelib}/openvpn_plugin.py %{python3_sitelib}/__pycache__/* %{_libdir}/openvpn/plugins/openvpn-python-plugin.so %{_defaultdocdir}/%{name}/example_plugin.py %changelog * Mon Feb 23 2026 Daniel Uvehag - 2.0.7-1 - Version bump * Fri Dec 01 2023 Daniel Uvehag - 2.0.6-1 - Implement support for providing client certificate to events * Fri Dec 01 2023 Daniel Uvehag - 2.0.5-1 - Resolve use-after-free for client context * Tue Nov 28 2023 Daniel Uvehag - 2.0.4-1 - Add additional events to the Python library * Tue Oct 31 2023 Daniel Uvehag - 2.0.3-2 - Remove *.la files * Mon Sep 06 2021 Daniel Uvehag - 2.0.3-1 - Remove deprecated function call for Python 3.9+ * Mon Sep 06 2021 Daniel Uvehag - 2.0.2-2 - Add missing build dependency openssl-devel * Wed Jun 03 2020 Daniel Uvehag - 2.0.2-1 - Add support for Python 3.8+ - Bump lowest supported version to Python 3.6 * Wed May 27 2020 Daniel Uvehag - 2.0.1-2 - Add missing gcc build dependency * Wed Feb 05 2020 Daniel Uvehag - 2.0.1-1 - Add missing functions to example plugin * Wed Feb 05 2020 Daniel Uvehag - 2.0.0-1 - Rewritten to use functions instead of a handler class * Fri Aug 02 2019 Daniel Uvehag - 1.0.2-1 - Fixes C89 incompatibilities * Mon Jul 29 2019 Daniel Uvehag - 1.0.1-1 - Update to version 1.0.1 * Mon Jul 29 2019 Daniel Uvehag - 1.0.0-1 - Initial package