|
|
|
@ -1,8 +1,15 @@
|
|
|
|
|
%if 0%{?fedora} < 28 && 0%{?rhel} < 8
|
|
|
|
|
%bcond_without libnm_glib
|
|
|
|
|
%else
|
|
|
|
|
# Disable the legacy version by default
|
|
|
|
|
%bcond_with libnm_glib
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Summary: NetworkManager VPN plugin for PPTP
|
|
|
|
|
Name: NetworkManager-pptp
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 1.2.4
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://www.gnome.org/projects/NetworkManager/
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
@ -26,9 +33,7 @@ Requires: NetworkManager >= 1:1.2.0
|
|
|
|
|
Requires: pptp
|
|
|
|
|
Requires: ppp
|
|
|
|
|
|
|
|
|
|
%global _privatelibs libnm-pptp-properties[.]so.*
|
|
|
|
|
%global __provides_exclude ^(%{_privatelibs})$
|
|
|
|
|
%global __requires_exclude ^(%{_privatelibs})$
|
|
|
|
|
%global __provides_exclude ^libnm-.*\\.so
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package contains software for integrating VPN capabilities with
|
|
|
|
@ -51,6 +56,9 @@ the PPTP server with NetworkManager (GNOME files).
|
|
|
|
|
%build
|
|
|
|
|
%configure \
|
|
|
|
|
--disable-static \
|
|
|
|
|
%if %without libnm_glib
|
|
|
|
|
--without-libnm-glib \
|
|
|
|
|
%endif
|
|
|
|
|
--enable-more-warnings=yes \
|
|
|
|
|
--with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} \
|
|
|
|
|
--with-dist-version=%{version}-%{release}
|
|
|
|
@ -78,14 +86,21 @@ rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/*.la
|
|
|
|
|
|
|
|
|
|
%files -n NetworkManager-pptp-gnome
|
|
|
|
|
%{_libexecdir}/nm-pptp-auth-dialog
|
|
|
|
|
%{_libdir}/NetworkManager/libnm-*-properties.so
|
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-pptp-editor.so
|
|
|
|
|
%dir %{_datadir}/gnome-vpn-properties/pptp
|
|
|
|
|
%{_datadir}/gnome-vpn-properties/pptp/nm-pptp-dialog.ui
|
|
|
|
|
%{_sysconfdir}/NetworkManager/VPN/nm-pptp-service.name
|
|
|
|
|
%{_datadir}/appdata/network-manager-pptp.metainfo.xml
|
|
|
|
|
|
|
|
|
|
%if %with libnm_glib
|
|
|
|
|
%{_libdir}/NetworkManager/libnm-*-properties.so
|
|
|
|
|
%{_sysconfdir}/NetworkManager/VPN/nm-pptp-service.name
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Nov 30 2017 Lubomir Rintel <lkundrak@v3.sk> - 1:1.2.4-5
|
|
|
|
|
- Drop libnm-glib for Fedora 28
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|