|
|
|
@ -1,23 +1,22 @@
|
|
|
|
|
#global commit %{nil}
|
|
|
|
|
#global snapshot %{nil}%{commit}
|
|
|
|
|
%global snapshot .20150903gitda388ff
|
|
|
|
|
|
|
|
|
|
Summary: NetworkManager VPN plugin for OpenVPN
|
|
|
|
|
Name: NetworkManager-openvpn
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 1.0.6
|
|
|
|
|
Release: 3%{?snapshot}%{?dist}
|
|
|
|
|
Version: 1.2.0
|
|
|
|
|
Release: 0.1%{?snapshot}%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://www.gnome.org/projects/NetworkManager/
|
|
|
|
|
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: dbus-devel
|
|
|
|
|
BuildRequires: NetworkManager-devel
|
|
|
|
|
BuildRequires: NetworkManager-glib-devel
|
|
|
|
|
BuildRequires: NetworkManager-glib-devel >= 1:1.1.0
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
Requires: gtk3
|
|
|
|
@ -26,6 +25,7 @@ Requires: NetworkManager
|
|
|
|
|
Requires: openvpn
|
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
|
Requires: shared-mime-info
|
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
|
Obsoletes: NetworkManager-openvpn < 1:0.9.8.2-3
|
|
|
|
|
|
|
|
|
|
%global _privatelibs libnm-openvpn-properties[.]so.*
|
|
|
|
@ -40,12 +40,8 @@ the OpenVPN server with NetworkManager.
|
|
|
|
|
Summary: NetworkManager VPN plugin for OpenVPN - GNOME files
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
|
|
|
|
|
Requires: NetworkManager-openvpn = %{epoch}:%{version}-%{release}
|
|
|
|
|
%if 0%{?fedora} > 17
|
|
|
|
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
|
Requires: nm-connection-editor
|
|
|
|
|
%else
|
|
|
|
|
Requires: NetworkManager-gnome
|
|
|
|
|
%endif
|
|
|
|
|
Obsoletes: NetworkManager-openvpn < 1:0.9.8.2-3
|
|
|
|
|
|
|
|
|
|
%description -n NetworkManager-openvpn-gnome
|
|
|
|
@ -61,9 +57,8 @@ if [ ! -f configure ]; then
|
|
|
|
|
fi
|
|
|
|
|
%configure \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
|
--enable-more-warnings=yes \
|
|
|
|
|
--with-gnome
|
|
|
|
|
--with-dist-version=%{version}-%{release}
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -84,20 +79,24 @@ rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%doc COPYING AUTHORS README ChangeLog
|
|
|
|
|
%{_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-auth-dialog
|
|
|
|
|
%{_libexecdir}/nm-openvpn-service-openvpn-helper
|
|
|
|
|
%doc AUTHORS README ChangeLog
|
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
|
|
%files -n NetworkManager-openvpn-gnome
|
|
|
|
|
%doc COPYING AUTHORS README ChangeLog
|
|
|
|
|
%{_libdir}/NetworkManager/lib*.so*
|
|
|
|
|
%dir %{_datadir}/gnome-vpn-properties/openvpn
|
|
|
|
|
%{_datadir}/gnome-vpn-properties/openvpn/nm-openvpn-dialog.ui
|
|
|
|
|
%{_sysconfdir}/NetworkManager/VPN/nm-openvpn-service.name
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
- Create an user for unprivileged runs
|
|
|
|
|
|
|
|
|
|