diff options
Diffstat (limited to 'rpm/SPECS/python3-eduvpn-common.spec')
| -rw-r--r-- | rpm/SPECS/python3-eduvpn-common.spec | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/rpm/SPECS/python3-eduvpn-common.spec b/rpm/SPECS/python3-eduvpn-common.spec new file mode 100644 index 0000000..8174864 --- /dev/null +++ b/rpm/SPECS/python3-eduvpn-common.spec @@ -0,0 +1,87 @@ +%global gomodulesmode GO111MODULE=on + +Name: python3-eduvpn-common +Version: 4.0.0 +Release: 1%{?dist} +Summary: Python3 eduvpn-common wrapper + +License: MIT +URL: https://codeberg.org/eduVPN/eduvpn-common +Source0: python3-eduvpn-common-%{version}.tar.xz + +BuildRequires: gcc +BuildRequires: golang +BuildRequires: minisign +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-wheel +BuildRequires: go-rpm-macros + +%description +The python wrapper for the eduVPN common Go shared library + +%prep +%setup -qn python3-eduvpn-common-%{version} + +%build +# build the Go component +export CGO_ENABLED=1 +%gobuild -o lib/libeduvpn_common-%{version}.so "-buildmode=c-shared" ./exports + +# build the Python component +pushd wrappers/python +%py3_build +popd + +%install +install -m 0755 -D -p lib/libeduvpn_common-%{version}.so %{buildroot}%{_libdir}/libeduvpn_common-%{version}.so + +pushd wrappers/python +%py3_install +popd + +%files +%{_libdir}/* +%{python3_sitelib}/eduvpn_common/ +%{python3_sitelib}/eduvpn_common-%{version}* + +%changelog +* Thu Oct 09 2025 Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> - 4.0.0-1 +- update to 4.0.0 + +* Thu Apr 17 2025 jwijenbergh <jeroen.wijenbergh@geant.org> - 3.0.0-1 +- update to 3.0.0 + +* Thu Oct 31 2024 jwijenbergh <jeroen.wijenbergh@geant.org> - 2.1.0-2 +- rebuilt + +* Tue Jul 30 2024 jwijenbergh <jeroen.wijenbergh@geant.org> - 2.1.0-1 +- update to 2.1.0 + +* Tue Jun 25 2024 jwijenbergh <jeroen.wijenbergh@geant.org> - 2.0.2-1 +- update to 2.0.2 + +* Thu Jun 06 2024 Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> - 2.0.1-1 +- update to 2.0.1 + +* Wed Jun 05 2024 Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> - 2.0.0-1 +- update to 2.0.0 + +* Fri May 24 2024 Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> - 1.2.1-1 +- update to 1.2.1 + +* Fri Dec 08 2023 Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> - 1.2.0-1 +- update to 1.2.0 + +* Fri Sep 01 2023 Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> - 1.1.2-1 +- update to 1.1.2 + +* Tue Aug 29 2023 Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> - 1.1.1-1 +- update to 1.1.1 + +* Tue Apr 18 2023 Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> - 1.1.0-1 +- update to 1.1.0 + +* Wed Mar 01 2023 Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> - 1.0.0-1 +- initial package + |
