%define ppp_version 2.4.6 %define majver %(echo %version | cut -d. -f1-2) Name: NetworkManager-pptp Version: 0.9.8.4 Release: 2mamba Summary: NetworkManager plugin for VPN clients using the Point-to-Point Tunneling Protocol Group: Network/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnome.org Source: http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-pptp/%{majver}/NetworkManager-pptp-%{version}.tar.xz Patch0: %{name}-0.8.2-dbus_policy.patch Patch1: NetworkManager-pptp-0.9.6.0-gtk-3.6.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: GConf-devel BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libdbus-devel BuildRequires: libdbus-glib-devel BuildRequires: libexpat-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcrypt-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglade-devel BuildRequires: libGL-devel BuildRequires: libglib-devel BuildRequires: libglitz-devel BuildRequires: libgnome-keyring-devel BuildRequires: libgpg-error-devel BuildRequires: libgtk2-devel BuildRequires: libnm-devel BuildRequires: libnspr-devel BuildRequires: libnss-devel BuildRequires: libpango-devel BuildRequires: libpixman-devel BuildRequires: libpng-devel BuildRequires: libpthread-stubs-devel BuildRequires: libselinux-devel BuildRequires: libstdc++6-devel BuildRequires: libuuid-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libxcb-devel BuildRequires: libxcb-util-devel BuildRequires: libXdmcp-devel BuildRequires: libxml2-devel BuildRequires: libXrender-devel BuildRequires: libz-devel BuildRequires: ORBit2-devel BuildRequires: udev-devel ## AUTOBUILDREQ-END 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 %patch1 -p1 %build %configure \ --with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) %{_sysconfdir}/NetworkManager/VPN/nm-pptp-service.name %{_sysconfdir}/dbus-1/system.d/nm-pptp-service.conf %{_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 %{_libdir}/NetworkManager/libnm-pptp-properties.a %{_libdir}/NetworkManager/libnm-pptp-properties.la %{_libdir}/NetworkManager/libnm-pptp-properties.so %{_libexecdir}/nm-pptp-auth-dialog %{_libexecdir}/nm-pptp-service %{_datadir}/gnome-vpn-properties/pptp/nm-pptp-dialog.ui %doc AUTHORS COPYING #ChangeLog NEWS README TODO %changelog * Sun Feb 23 2014 Silvan Calarco 0.9.8.4-2mamba - rebuilt with ppp 2.4.6 * Sun Sep 15 2013 Automatic Build System 0.9.8.4-1mamba - automatic update by autodist * Sat Jun 08 2013 Automatic Build System 0.9.8.2-1mamba - automatic version update by autodist * Thu Feb 21 2013 Automatic Build System 0.9.8.0-1mamba - automatic version update by autodist * Tue Feb 05 2013 Silvan Calarco 0.9.6.0-2mamba - added patch to fix build against gtk >= 3.6 * Sat Aug 11 2012 Automatic Build System 0.9.6.0-1mamba - automatic version update by autodist * Thu May 03 2012 Silvan Calarco 0.9.4.0-1mamba - update to 0.9.4.0 * Mon Mar 12 2012 Silvan Calarco 0.9.2.0-1mamba - update to 0.9.2.0 * Sat Sep 17 2011 Silvan Calarco 0.9.0-1mamba - update to 0.9.0 * Tue Jul 26 2011 Automatic Build System 0.8.4-1mamba - update to 0.8.4 * Tue Jun 28 2011 Silvan Calarco 0.8.2-3mamba - fix dbus policy: patch was not applied * Fri Jun 17 2011 Silvan Calarco 0.8.2-2mamba - added virtual provide networkmanagervpnplugin - configure dbus policy for at_console user and sysadmin group * Wed Jun 15 2011 Silvan Calarco 0.8.2-1mamba - package created by autospec