|
|
@ -1,23 +1,22 @@
|
|
|
|
#global commit %{nil}
|
|
|
|
%global snapshot .20150903gitda388ff
|
|
|
|
#global snapshot %{nil}%{commit}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: NetworkManager VPN plugin for OpenVPN
|
|
|
|
Summary: NetworkManager VPN plugin for OpenVPN
|
|
|
|
Name: NetworkManager-openvpn
|
|
|
|
Name: NetworkManager-openvpn
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Version: 1.0.6
|
|
|
|
Version: 1.2.0
|
|
|
|
Release: 3%{?snapshot}%{?dist}
|
|
|
|
Release: 0.1%{?snapshot}%{?dist}
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://www.gnome.org/projects/NetworkManager/
|
|
|
|
URL: http://www.gnome.org/projects/NetworkManager/
|
|
|
|
Group: System Environment/Base
|
|
|
|
Group: System Environment/Base
|
|
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.0/%{name}-%{version}%{?commit:-%{commit}}.tar.xz
|
|
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openvpn/1.2/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
BuildRequires: dbus-devel
|
|
|
|
|
|
|
|
BuildRequires: NetworkManager-devel
|
|
|
|
BuildRequires: NetworkManager-devel
|
|
|
|
BuildRequires: NetworkManager-glib-devel
|
|
|
|
BuildRequires: NetworkManager-glib-devel >= 1:1.1.0
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: libtool intltool gettext
|
|
|
|
BuildRequires: libtool intltool gettext
|
|
|
|
BuildRequires: libnm-gtk-devel >= 1.0.5
|
|
|
|
BuildRequires: libnm-gtk-devel >= 0.9.9.0
|
|
|
|
|
|
|
|
BuildRequires: libnma-devel >= 1.1.0
|
|
|
|
BuildRequires: libsecret-devel
|
|
|
|
BuildRequires: libsecret-devel
|
|
|
|
|
|
|
|
|
|
|
|
Requires: gtk3
|
|
|
|
Requires: gtk3
|
|
|
@ -26,6 +25,7 @@ Requires: NetworkManager
|
|
|
|
Requires: openvpn
|
|
|
|
Requires: openvpn
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
Requires: shared-mime-info
|
|
|
|
Requires: shared-mime-info
|
|
|
|
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
Obsoletes: NetworkManager-openvpn < 1:0.9.8.2-3
|
|
|
|
Obsoletes: NetworkManager-openvpn < 1:0.9.8.2-3
|
|
|
|
|
|
|
|
|
|
|
|
%global _privatelibs libnm-openvpn-properties[.]so.*
|
|
|
|
%global _privatelibs libnm-openvpn-properties[.]so.*
|
|
|
@ -40,12 +40,8 @@ the OpenVPN server with NetworkManager.
|
|
|
|
Summary: NetworkManager VPN plugin for OpenVPN - GNOME files
|
|
|
|
Summary: NetworkManager VPN plugin for OpenVPN - GNOME files
|
|
|
|
Group: System Environment/Base
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
|
|
|
|
|
|
|
Requires: NetworkManager-openvpn = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%if 0%{?fedora} > 17
|
|
|
|
|
|
|
|
Requires: nm-connection-editor
|
|
|
|
Requires: nm-connection-editor
|
|
|
|
%else
|
|
|
|
|
|
|
|
Requires: NetworkManager-gnome
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Obsoletes: NetworkManager-openvpn < 1:0.9.8.2-3
|
|
|
|
Obsoletes: NetworkManager-openvpn < 1:0.9.8.2-3
|
|
|
|
|
|
|
|
|
|
|
|
%description -n NetworkManager-openvpn-gnome
|
|
|
|
%description -n NetworkManager-openvpn-gnome
|
|
|
@ -61,9 +57,8 @@ if [ ! -f configure ]; then
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--disable-static \
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
|
|
|
|
--enable-more-warnings=yes \
|
|
|
|
--enable-more-warnings=yes \
|
|
|
|
--with-gnome
|
|
|
|
--with-dist-version=%{version}-%{release}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
@ -84,20 +79,24 @@ rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
|
|
|
|
%find_lang %{name}
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc COPYING AUTHORS README ChangeLog
|
|
|
|
|
|
|
|
%{_sysconfdir}/dbus-1/system.d/nm-openvpn-service.conf
|
|
|
|
%{_sysconfdir}/dbus-1/system.d/nm-openvpn-service.conf
|
|
|
|
%{_sysconfdir}/NetworkManager/VPN/nm-openvpn-service.name
|
|
|
|
%{_prefix}/lib/NetworkManager/VPN/nm-openvpn-service.name
|
|
|
|
%{_libexecdir}/nm-openvpn-service
|
|
|
|
%{_libexecdir}/nm-openvpn-service
|
|
|
|
%{_libexecdir}/nm-openvpn-auth-dialog
|
|
|
|
%{_libexecdir}/nm-openvpn-auth-dialog
|
|
|
|
%{_libexecdir}/nm-openvpn-service-openvpn-helper
|
|
|
|
%{_libexecdir}/nm-openvpn-service-openvpn-helper
|
|
|
|
|
|
|
|
%doc AUTHORS README ChangeLog
|
|
|
|
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
|
|
|
|
%files -n NetworkManager-openvpn-gnome
|
|
|
|
%files -n NetworkManager-openvpn-gnome
|
|
|
|
%doc COPYING AUTHORS README ChangeLog
|
|
|
|
|
|
|
|
%{_libdir}/NetworkManager/lib*.so*
|
|
|
|
%{_libdir}/NetworkManager/lib*.so*
|
|
|
|
%dir %{_datadir}/gnome-vpn-properties/openvpn
|
|
|
|
%dir %{_datadir}/gnome-vpn-properties/openvpn
|
|
|
|
%{_datadir}/gnome-vpn-properties/openvpn/nm-openvpn-dialog.ui
|
|
|
|
%{_datadir}/gnome-vpn-properties/openvpn/nm-openvpn-dialog.ui
|
|
|
|
|
|
|
|
%{_sysconfdir}/NetworkManager/VPN/nm-openvpn-service.name
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Aug 31 2015 Lubomir Rintel <lkundrak@v3.sk> - 1:1.2.0-0.1.20160831gitda388ff
|
|
|
|
|
|
|
|
- Update to 1.2 git snapshot with libnm-based properties plugin
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 28 2015 Lubomir Rintel <lkundrak@v3.sk> - 1:1.0.6-3
|
|
|
|
* Fri Aug 28 2015 Lubomir Rintel <lkundrak@v3.sk> - 1:1.0.6-3
|
|
|
|
- Create an user for unprivileged runs
|
|
|
|
- Create an user for unprivileged runs
|
|
|
|
|
|
|
|
|
|
|
|