|
|
|
@ -1,48 +1,57 @@
|
|
|
|
|
%define nm_version 1:0.9.2
|
|
|
|
|
%define dbus_version 1.1
|
|
|
|
|
%define gtk2_version 3.0.1
|
|
|
|
|
%define openvpn_version 2.1
|
|
|
|
|
%define shared_mime_version 0.16-3
|
|
|
|
|
|
|
|
|
|
%define snapshot %{nil}
|
|
|
|
|
%define realversion 0.9.6.0
|
|
|
|
|
|
|
|
|
|
Summary: NetworkManager VPN plugin for OpenVPN
|
|
|
|
|
Name: NetworkManager-openvpn
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 0.9.6.0
|
|
|
|
|
Release: 2%{snapshot}%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://www.gnome.org/projects/NetworkManager/
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
Source: %{name}-%{realversion}%{snapshot}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: gtk3-devel >= %{gtk2_version}
|
|
|
|
|
BuildRequires: dbus-devel >= %{dbus_version}
|
|
|
|
|
BuildRequires: NetworkManager-devel >= %{nm_version}
|
|
|
|
|
BuildRequires: NetworkManager-glib-devel >= %{nm_version}
|
|
|
|
|
%global snapshot %{nil}
|
|
|
|
|
|
|
|
|
|
Summary: NetworkManager VPN plugin for OpenVPN
|
|
|
|
|
Name: NetworkManager-openvpn
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 0.9.8.2
|
|
|
|
|
Release: 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}/0.9/%{name}-%{version}%{snapshot}.tar.bz2
|
|
|
|
|
|
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
|
BuildRequires: dbus-devel
|
|
|
|
|
BuildRequires: NetworkManager-devel
|
|
|
|
|
BuildRequires: NetworkManager-glib-devel
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
%if 0%{?fedora} > 16
|
|
|
|
|
BuildRequires: libgnome-keyring-devel
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: gnome-keyring-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: libtool intltool gettext
|
|
|
|
|
Requires(post): %{_bindir}/update-desktop-database
|
|
|
|
|
Requires(postun): %{_bindir}/update-desktop-database
|
|
|
|
|
Requires: gtk3 >= %{gtk2_version}
|
|
|
|
|
Requires: dbus >= %{dbus_version}
|
|
|
|
|
Requires: NetworkManager >= %{nm_version}
|
|
|
|
|
Requires: openvpn >= %{openvpn_version}
|
|
|
|
|
Requires: shared-mime-info >= %{shared_mime_version}
|
|
|
|
|
BuildRequires: libgnome-keyring-devel
|
|
|
|
|
|
|
|
|
|
Requires: gtk3
|
|
|
|
|
Requires: dbus
|
|
|
|
|
Requires: NetworkManager
|
|
|
|
|
Requires: openvpn
|
|
|
|
|
Requires: shared-mime-info
|
|
|
|
|
Requires: gnome-keyring
|
|
|
|
|
Obsoletes: NetworkManager-openvpn < 0.9.8.2-1
|
|
|
|
|
|
|
|
|
|
%global _privatelibs libnm-openvpn-properties[.]so.*
|
|
|
|
|
%global __provides_exclude ^(%{_privatelibs})$
|
|
|
|
|
%global __requires_exclude ^(%{_privatelibs})$
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package contains software for integrating the OpenVPN VPN software
|
|
|
|
|
with NetworkManager and the GNOME desktop.
|
|
|
|
|
This package contains software for integrating VPN capabilities with
|
|
|
|
|
the OpenVPN server with NetworkManager.
|
|
|
|
|
|
|
|
|
|
%package -n NetworkManager-openvpn-gnome
|
|
|
|
|
Summary: NetworkManager VPN plugin for OpenVPN - GNOME files
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
|
|
|
|
|
Requires: NetworkManager-openvpn = %{epoch}:%{version}-%{release}
|
|
|
|
|
%if 0%{?fedora} > 17
|
|
|
|
|
Requires: nm-connection-editor
|
|
|
|
|
%else
|
|
|
|
|
Requires: NetworkManager-gnome
|
|
|
|
|
%endif
|
|
|
|
|
Obsoletes: NetworkManager-openvpn < 0.9.8.2-1
|
|
|
|
|
|
|
|
|
|
%description -n NetworkManager-openvpn-gnome
|
|
|
|
|
This package contains software for integrating VPN capabilities with
|
|
|
|
|
the OpenVPN server with NetworkManager (GNOME files).
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{realversion}
|
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
if [ ! -f configure ]; then
|
|
|
|
@ -51,6 +60,9 @@ fi
|
|
|
|
|
%configure --disable-static --disable-dependency-tracking --enable-more-warnings=yes --with-gtkver=3
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
|
|
|
|
|
|
|
|
|
@ -58,34 +70,27 @@ rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
/usr/bin/update-desktop-database > /dev/null
|
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
|
|
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
/usr/bin/update-desktop-database > /dev/null
|
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
|
|
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
|
|
|
|
|
%doc AUTHORS ChangeLog README
|
|
|
|
|
%{_libdir}/NetworkManager/lib*.so*
|
|
|
|
|
%{_libexecdir}/nm-openvpn-auth-dialog
|
|
|
|
|
%doc COPYING AUTHORS README ChangeLog
|
|
|
|
|
%{_sysconfdir}/dbus-1/system.d/nm-openvpn-service.conf
|
|
|
|
|
%{_sysconfdir}/NetworkManager/VPN/nm-openvpn-service.name
|
|
|
|
|
%{_libexecdir}/nm-openvpn-service
|
|
|
|
|
%{_libexecdir}/nm-openvpn-auth-dialog
|
|
|
|
|
%{_libexecdir}/nm-openvpn-service-openvpn-helper
|
|
|
|
|
%{_datadir}/gnome-vpn-properties/openvpn/nm-openvpn-dialog.ui
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jul 16 2013 Jiří Klimeš <jklimes@redhat.com> - 1:0.9.8.2-1
|
|
|
|
|
- Update to 0.9.8.2 release
|
|
|
|
|
|
|
|
|
|
* Sat Apr 06 2013 Dan Fruehauf <malkodan@gmail.com> - 1:0.9.8.0-1
|
|
|
|
|
- Refactored spec file
|
|
|
|
|
|
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.6.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|