From 2a928a874bbcf91a6fd136e12c39d4e16de0b496 Mon Sep 17 00:00:00 2001 From: Tim Niemueller Date: Sat, 19 Aug 2006 10:46:12 +0000 Subject: [PATCH] auto-import NetworkManager-openvpn-0.3.2-4 on branch devel from NetworkManager-openvpn-0.3.2-4.src.rpm --- .cvsignore | 1 + NetworkManager-openvpn.spec | 115 ++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 117 insertions(+) create mode 100644 NetworkManager-openvpn.spec diff --git a/.cvsignore b/.cvsignore index e69de29..4505fcc 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +NetworkManager-openvpn-0.3.2.tar.gz diff --git a/NetworkManager-openvpn.spec b/NetworkManager-openvpn.spec new file mode 100644 index 0000000..53d9096 --- /dev/null +++ b/NetworkManager-openvpn.spec @@ -0,0 +1,115 @@ +%define nm_version 0.6.4 +%define dbus_version 0.61 +%define gtk2_version 2.6.0 +%define openvpn_version 2.1 +%define shared_mime_version 0.17-1 + +Summary: NetworkManager VPN integration for OpenVPN +Name: NetworkManager-openvpn +Version: 0.3.2 +Release: 4 +License: GPL +URL: http://www.gnome.org/projects/NetworkManager/ +Group: System Environment/Base +# How to build the source package: +# - Check out NetworkManager from Gnome CVS, use the right tag, +# e.g. NETWORKMANAGER_0_6_4_RELEASE +# - cd NetworkManager/vpn-daemons/openvpn +# - ./augogen.sh --prefix=/usr --sysconfdir=/etc +# - make distclean +# - cd .. +# - mv openvpn NetworkManager-openvpn-%{version} +# - tar cvfz NetworkManager-openvpn-%{version}.tar.gz NetworkManager-openvpn-%{version} +Source: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildRequires: gtk2-devel >= %{gtk2_version} +BuildRequires: dbus-devel >= %{dbus_version} +BuildRequires: NetworkManager-devel >= %{nm_version} +BuildRequires: GConf2-devel +BuildRequires: libgnomeui-devel +BuildRequires: gnome-keyring-devel +BuildRequires: libglade2-devel +BuildRequires: libpng-devel +Requires(post): %{_bindir}/update-desktop-database +Requires(postun): %{_bindir}/update-desktop-database +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +Requires: gtk2 >= %{gtk2_version} +Requires: dbus >= %{dbus_version} +Requires: NetworkManager >= %{nm_version} +Requires: openvpn >= %{openvpn_version} +Requires: shared-mime-info >= %{shared_mime_version} +Requires: GConf2 +Requires: gnome-keyring + +%description +This package contains software for integrating the OpenVPN VPN software +with NetworkManager and the GNOME desktop. + +Note: Due to a problem with the openvpn package you have to use SELinux in +permissive mode to use the NetworkManager OpenVPN plugin at the moment. + +%prep +%setup -q + +%build +if [ ! -f configure ]; then + ./autogen.sh +fi +%configure --disable-static --disable-dependency-tracking +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + +rm -f %{buildroot}%{_libdir}/lib*.la + +%clean +rm -rf %{buildroot} + +%post +/sbin/ldconfig +/usr/bin/update-desktop-database > /dev/null +if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor +fi + +%postun +/sbin/ldconfig +/usr/bin/update-desktop-database > /dev/null +if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor +fi + +%files +%defattr(-, root, root) + +%doc COPYING AUTHORS ChangeLog README +%{_libdir}/lib*.so* +%{_libexecdir}/nm-openvpn-auth-dialog +%config %{_sysconfdir}/dbus-1/system.d/nm-openvpn-service.conf +%config %{_sysconfdir}/NetworkManager/VPN/nm-openvpn-service.name +%{_bindir}/nm-openvpn-service +%{_bindir}/nm-openvpn-service-openvpn-helper +%{_datadir}/gnome-vpn-properties/openvpn/nm-openvpn-dialog.glade +%{_datadir}/applications/nm-openvpn.desktop +%{_datadir}/icons/hicolor/48x48/apps/gnome-mime-application-x-openvpn-settings.png + +%changelog +* Tue Aug 15 2006 Tim Niemueller 0.3.2-4 +- Added instructions how to build the source package +- removed a rm line + +* Wed Aug 09 2006 Tim Niemueller 0.3.2-3 +- Added URL + +* Fri Aug 04 2006 Tim Niemueller 0.3.2-2 +- Upgrade to current upstream version (0.3.2 on 0.6 branch) + +* Mon Jul 10 2006 Tim Niemueller 0.3.2-1 +- Upgraded to 0.3.2 for 0.6 branch + +* Tue Dec 06 2005 Tim Niemueller 0.3-1 +- Initial revision based on NetworkManager-vpnc spec + diff --git a/sources b/sources index e69de29..741a6a4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9a35d23c554dd215deee39a2e58e8e08 NetworkManager-openvpn-0.3.2.tar.gz