|
|
@ -1,34 +1,33 @@
|
|
|
|
%if 0%{?fedora} < 28 && 0%{?rhel} < 8
|
|
|
|
%if 0%{?fedora} < 36 && 0%{?rhel} < 10
|
|
|
|
%bcond_without libnm_glib
|
|
|
|
%bcond_with gtk4
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%bcond_with libnm_glib
|
|
|
|
%bcond_without gtk4
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Summary: NetworkManager VPN plugin for PPTP
|
|
|
|
Summary: NetworkManager VPN plugin for PPTP
|
|
|
|
Name: NetworkManager-pptp
|
|
|
|
Name: NetworkManager-pptp
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Version: 1.2.8
|
|
|
|
Version: 1.2.12
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 7%{?dist}
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://www.gnome.org/projects/NetworkManager/
|
|
|
|
URL: http://www.gnome.org/projects/NetworkManager/
|
|
|
|
|
|
|
|
|
|
|
|
Source0: https://download.gnome.org/sources/NetworkManager-pptp/1.2/%{name}-%{version}.tar.xz
|
|
|
|
Source0: https://download.gnome.org/sources/NetworkManager-pptp/1.2/%{name}-%{version}.tar.xz
|
|
|
|
#Patch1: 0001-example.patch
|
|
|
|
#Patch1: 0001-example.patch
|
|
|
|
|
|
|
|
|
|
|
|
%global ppp_version %(sed -n 's/^#define\\s*VERSION\\s*"\\([^\\s]*\\)"$/\\1/p' %{_includedir}/pppd/patchlevel.h 2>/dev/null | grep . || echo bad)
|
|
|
|
%global ppp_version %(pkg-config --modversion pppd 2>/dev/null || echo bad)
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
BuildRequires: NetworkManager-libnm-devel >= 1:1.2.0
|
|
|
|
BuildRequires: NetworkManager-libnm-devel >= 1:1.2.0
|
|
|
|
BuildRequires: libnma-devel >= 1.2.0
|
|
|
|
BuildRequires: libnma-devel >= 1.2.0
|
|
|
|
BuildRequires: ppp-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
|
|
|
BuildRequires: ppp-devel >= 2.5.0
|
|
|
|
BuildRequires: libtool intltool gettext
|
|
|
|
BuildRequires: libtool intltool gettext
|
|
|
|
BuildRequires: libsecret-devel
|
|
|
|
BuildRequires: libsecret-devel
|
|
|
|
%if %with libnm_glib
|
|
|
|
%if %with gtk4
|
|
|
|
BuildRequires: NetworkManager-devel
|
|
|
|
BuildRequires: libnma-gtk4-devel
|
|
|
|
BuildRequires: NetworkManager-glib-devel >= 1:1.2.0
|
|
|
|
|
|
|
|
BuildRequires: libnm-gtk-devel >= 0.9
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Requires: dbus-common
|
|
|
|
Requires: dbus-common
|
|
|
@ -62,8 +61,8 @@ the PPTP server with NetworkManager (GNOME files).
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--disable-static \
|
|
|
|
%if %without libnm_glib
|
|
|
|
%if %with gtk4
|
|
|
|
--without-libnm-glib \
|
|
|
|
--with-gtk4 \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
--enable-more-warnings=yes \
|
|
|
|
--enable-more-warnings=yes \
|
|
|
|
--with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} \
|
|
|
|
--with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} \
|
|
|
@ -81,8 +80,6 @@ make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
|
|
|
|
rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
|
|
|
|
rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
|
|
|
|
rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/*.la
|
|
|
|
rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/*.la
|
|
|
|
|
|
|
|
|
|
|
|
mv %{buildroot}%{_sysconfdir}/dbus-1 %{buildroot}%{_datadir}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -92,21 +89,53 @@ mv %{buildroot}%{_sysconfdir}/dbus-1 %{buildroot}%{_datadir}/
|
|
|
|
%{_prefix}/lib/NetworkManager/VPN/nm-pptp-service.name
|
|
|
|
%{_prefix}/lib/NetworkManager/VPN/nm-pptp-service.name
|
|
|
|
%{_libexecdir}/nm-pptp-service
|
|
|
|
%{_libexecdir}/nm-pptp-service
|
|
|
|
%{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.so
|
|
|
|
%{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.so
|
|
|
|
%doc AUTHORS README ChangeLog NEWS
|
|
|
|
%doc AUTHORS README NEWS
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
|
|
|
|
%files -n NetworkManager-pptp-gnome
|
|
|
|
%files -n NetworkManager-pptp-gnome
|
|
|
|
%{_libexecdir}/nm-pptp-auth-dialog
|
|
|
|
%{_libexecdir}/nm-pptp-auth-dialog
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-pptp-editor.so
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-pptp-editor.so
|
|
|
|
%{_datadir}/appdata/network-manager-pptp.metainfo.xml
|
|
|
|
%{_metainfodir}/network-manager-pptp.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
%if %with libnm_glib
|
|
|
|
%if %with gtk4
|
|
|
|
%{_libdir}/NetworkManager/libnm-*-properties.so
|
|
|
|
%{_libdir}/NetworkManager/libnm-gtk4-vpn-plugin-pptp-editor.so
|
|
|
|
%{_sysconfdir}/NetworkManager/VPN/nm-pptp-service.name
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Dec 24 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.2.12-7
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.12-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.12-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.12-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Nov 03 2023 Íñigo Huguet <ihuguet@redhat.com> - 1.2.12-4
|
|
|
|
|
|
|
|
- Migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.12-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 18 2023 Adam Williamson <awilliam@redhat.com> - 1.2.12-2
|
|
|
|
|
|
|
|
- Rebuild for new ppp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 09 2023 Lubomir Rintel <lkundrak@v3.sk> - 1.2.12-1
|
|
|
|
|
|
|
|
- Update to 1.2.12 release
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.10-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.10-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 11 2022 Lubomir Rintel <lkundrak@v3.sk> - 1.2.10-1
|
|
|
|
|
|
|
|
- Update to 1.2.10 release
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.8-5
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.8-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|