|
|
@ -4,27 +4,20 @@
|
|
|
|
%bcond_with libnm_glib
|
|
|
|
%bcond_with libnm_glib
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%global real_version 1.2.8
|
|
|
|
|
|
|
|
%global rpm_version 1.2.8
|
|
|
|
|
|
|
|
%global release_version 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[1-9][0-9]*\\)\\.[1-9][0-9]*$/\\1/p')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: NetworkManager VPN plugin for PPTP
|
|
|
|
Summary: NetworkManager VPN plugin for PPTP
|
|
|
|
Name: NetworkManager-pptp
|
|
|
|
Name: NetworkManager-pptp
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Version: %{rpm_version}
|
|
|
|
Version: 1.2.8
|
|
|
|
Release: %{release_version}%{?dist}.3
|
|
|
|
Release: 5%{?dist}
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
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/%{real_version_major}/%{name}-%{real_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 %(sed -n 's/^#define\\s*VERSION\\s*"\\([^\\s]*\\)"$/\\1/p' %{_includedir}/pppd/patchlevel.h 2>/dev/null | grep . || echo bad)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
@ -38,10 +31,10 @@ BuildRequires: NetworkManager-glib-devel >= 1:1.2.0
|
|
|
|
BuildRequires: libnm-gtk-devel >= 0.9
|
|
|
|
BuildRequires: libnm-gtk-devel >= 0.9
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Requires: dbus
|
|
|
|
Requires: dbus-common
|
|
|
|
Requires: NetworkManager >= 1:1.2.0
|
|
|
|
Requires: NetworkManager >= 1:1.2.0
|
|
|
|
Requires: pptp
|
|
|
|
Requires: pptp
|
|
|
|
Requires: ppp
|
|
|
|
Requires: ppp = %{ppp_version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global __provides_exclude ^libnm-.*\\.so
|
|
|
|
%global __provides_exclude ^libnm-.*\\.so
|
|
|
@ -63,7 +56,7 @@ the PPTP server with NetworkManager (GNOME files).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n "%{name}-%{real_version}"
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -88,12 +81,14 @@ 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}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-pptp.so
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-pptp.so
|
|
|
|
%{_sysconfdir}/dbus-1/system.d/nm-pptp-service.conf
|
|
|
|
%{_datadir}/dbus-1/system.d/nm-pptp-service.conf
|
|
|
|
%{_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
|
|
|
@ -112,6 +107,24 @@ rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/*.la
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.8-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 15 2021 Lubomir Rintel <lkundrak@v3.sk> - 1:1.2.8-3
|
|
|
|
|
|
|
|
- Move dbus service file into /usr/share/dbus-1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.8-2.2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.8-2.1
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 25 2020 Thomas Haller <thaller@redhat.com> - 1:1.2.8-2
|
|
|
|
|
|
|
|
* Rebuild for ppp 2.4.8
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.8-1.3
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.8-1.3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|