2024-01-05 17:50:47 +01:00
|
|
|
%define ppp_version 2.4.7
|
2024-01-05 17:50:47 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: NetworkManager-pptp
|
2024-01-05 17:50:47 +01:00
|
|
|
Version: 1.2.8
|
2024-01-05 17:50:47 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 17:50:47 +01:00
|
|
|
Summary: NetworkManager plugin for VPN clients using the Point-to-Point Tunneling Protocol
|
|
|
|
Group: Network/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.gnome.org
|
|
|
|
Source: http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-pptp/%{majver}/NetworkManager-pptp-%{version}.tar.xz
|
2024-01-05 17:50:47 +01:00
|
|
|
Patch0: %{name}-1.2.8-dbus_policy.patch
|
2024-01-05 17:50:47 +01:00
|
|
|
Patch1: NetworkManager-pptp-0.9.6.0-gtk-3.6.patch
|
2024-01-05 17:50:47 +01:00
|
|
|
Patch2: NetworkManager-pptp-1.2.8-libnm-1.22.2.patch
|
2024-01-05 17:50:47 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libatk-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libblkid-devel
|
|
|
|
BuildRequires: libbzip2-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libcairo-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libffi-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libfreetype-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libgcr-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgpg-error-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libgraphite2-devel
|
|
|
|
BuildRequires: libgtk-devel
|
|
|
|
BuildRequires: libgudev-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: libmount-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libnm-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libnm-gtk-devel
|
|
|
|
BuildRequires: libp11-kit-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libpango-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libpcre-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libpng-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libsecret-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libselinux-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libsepol-devel
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: libnm-devel >= 1.22.2
|
|
|
|
BuildRequires: libnm-gtk-devel >= 1.8.24-2mamba
|
2024-01-05 17:50:47 +01:00
|
|
|
BuildRequires: ppp = %{ppp_version}
|
|
|
|
Requires: ppp >= %{ppp_version}
|
|
|
|
Provides: networkmanagervpnplugin
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
NetworkManager plugin for VPN clients using the Point-to-Point Tunneling Protocol.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
2024-01-05 17:50:47 +01:00
|
|
|
#%patch1 -p1
|
2024-01-05 17:50:47 +01:00
|
|
|
%patch2 -p1
|
|
|
|
|
|
|
|
autoreconf -f -i
|
2024-01-05 17:50:47 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version}
|
|
|
|
|
2024-01-05 17:50:47 +01:00
|
|
|
%make CFLAGS="-Wno-deprecated-declarations"
|
2024-01-05 17:50:47 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 17:50:47 +01:00
|
|
|
#%{_sysconfdir}/NetworkManager/VPN/nm-pptp-service.name
|
2024-01-05 17:50:47 +01:00
|
|
|
%{_sysconfdir}/dbus-1/system.d/nm-pptp-service.conf
|
2024-01-05 17:50:47 +01:00
|
|
|
%{_prefix}/lib/NetworkManager/VPN/nm-pptp-service.name
|
2024-01-05 17:50:47 +01:00
|
|
|
%{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.a
|
|
|
|
%{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.la
|
|
|
|
%{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.so
|
2024-01-05 17:50:47 +01:00
|
|
|
#%{_libdir}/NetworkManager/libnm-pptp-properties.a
|
|
|
|
#%{_libdir}/NetworkManager/libnm-pptp-properties.la
|
|
|
|
#%{_libdir}/NetworkManager/libnm-pptp-properties.so
|
2024-01-05 17:50:47 +01:00
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-pptp-editor.a
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-pptp-editor.la
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-pptp-editor.so
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-pptp.a
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-pptp.la
|
|
|
|
%{_libdir}/NetworkManager/libnm-vpn-plugin-pptp.so
|
2024-01-05 17:50:47 +01:00
|
|
|
%{_libexecdir}/nm-pptp-auth-dialog
|
|
|
|
%{_libexecdir}/nm-pptp-service
|
2024-01-05 17:50:47 +01:00
|
|
|
%{_datadir}/appdata/network-manager-pptp.metainfo.xml
|
2024-01-05 17:50:47 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#ChangeLog NEWS README TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:50:47 +01:00
|
|
|
* Fri Jan 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-1mamba
|
|
|
|
- update to 1.2.8
|
|
|
|
|
2024-01-05 17:50:47 +01:00
|
|
|
* Thu May 10 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.6-1mamba
|
|
|
|
- update to 1.2.6
|
|
|
|
|
2024-01-05 17:50:47 +01:00
|
|
|
* Thu Sep 15 2016 Automatic Build System <autodist@mambasoft.it> 1.0.8-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 17:50:47 +01:00
|
|
|
* Wed Jan 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- update to 1.0.0
|
|
|
|
|
2024-01-05 17:50:47 +01:00
|
|
|
* Thu Oct 16 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.10.0-1mamba
|
|
|
|
- update to 0.9.10.0
|
|
|
|
|
2024-01-05 17:50:47 +01:00
|
|
|
* Thu Aug 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.8.4-3mamba
|
|
|
|
- rebuilt with ppp 2.4.7
|
|
|
|
|
2024-01-05 17:50:47 +01:00
|
|
|
* Sun Feb 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.8.4-2mamba
|
|
|
|
- rebuilt with ppp 2.4.6
|
|
|
|
|
|
|
|
* Sun Sep 15 2013 Automatic Build System <autodist@mambasoft.it> 0.9.8.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jun 08 2013 Automatic Build System <autodist@mambasoft.it> 0.9.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 21 2013 Automatic Build System <autodist@mambasoft.it> 0.9.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Feb 05 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6.0-2mamba
|
|
|
|
- added patch to fix build against gtk >= 3.6
|
|
|
|
|
|
|
|
* Sat Aug 11 2012 Automatic Build System <autodist@mambasoft.it> 0.9.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu May 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.4.0-1mamba
|
|
|
|
- update to 0.9.4.0
|
|
|
|
|
|
|
|
* Mon Mar 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2.0-1mamba
|
|
|
|
- update to 0.9.2.0
|
|
|
|
|
|
|
|
* Sat Sep 17 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
|
|
|
|
- update to 0.9.0
|
|
|
|
|
|
|
|
* Tue Jul 26 2011 Automatic Build System <autodist@mambasoft.it> 0.8.4-1mamba
|
|
|
|
- update to 0.8.4
|
|
|
|
|
|
|
|
* Tue Jun 28 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.2-3mamba
|
|
|
|
- fix dbus policy: patch was not applied
|
|
|
|
|
|
|
|
* Fri Jun 17 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.2-2mamba
|
|
|
|
- added virtual provide networkmanagervpnplugin
|
|
|
|
- configure dbus policy for at_console user and sysadmin group
|
|
|
|
|
|
|
|
* Wed Jun 15 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.2-1mamba
|
|
|
|
- package created by autospec
|