| 1 |
%define nm_version 1:0.7.996-2
|
| 2 |
%define dbus_version 1.1
|
| 3 |
%define gtk2_version 2.10.0
|
| 4 |
%define openvpn_version 2.1
|
| 5 |
%define shared_mime_version 0.16-3
|
| 6 |
|
| 7 |
%define snapshot .git20090923
|
| 8 |
|
| 9 |
Summary: NetworkManager VPN plugin for OpenVPN
|
| 10 |
Name: NetworkManager-openvpn
|
| 11 |
Epoch: 1
|
| 12 |
Version: 0.7.996
|
| 13 |
Release: 4%{snapshot}%{?dist}
|
| 14 |
License: GPLv2+
|
| 15 |
URL: http://www.gnome.org/projects/NetworkManager/
|
| 16 |
Group: System Environment/Base
|
| 17 |
# How to build the source package:
|
| 18 |
# - Check out NetworkManager from Gnome git, currently NETWORKMANAGER_0_7 is used
|
| 19 |
# - ./autogen.sh --prefix=/usr --sysconfdir=/etc
|
| 20 |
# - make distcheck
|
| 21 |
# - use generated NetworkManager-openvpn-0.7.1.tar.bz2
|
| 22 |
Source: %{name}-%{version}%{snapshot}.tar.bz2
|
| 23 |
|
| 24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
| 25 |
BuildRequires: gtk2-devel >= %{gtk2_version}
|
| 26 |
BuildRequires: dbus-devel >= %{dbus_version}
|
| 27 |
BuildRequires: NetworkManager-devel >= %{nm_version}
|
| 28 |
BuildRequires: NetworkManager-glib-devel >= %{nm_version}
|
| 29 |
BuildRequires: glib2-devel
|
| 30 |
BuildRequires: GConf2-devel
|
| 31 |
BuildRequires: gnome-keyring-devel
|
| 32 |
BuildRequires: libglade2-devel
|
| 33 |
BuildRequires: perl-XML-Parser
|
| 34 |
BuildRequires: libtool intltool gettext
|
| 35 |
BuildRequires: perl
|
| 36 |
Requires(post): %{_bindir}/update-desktop-database
|
| 37 |
Requires(postun): %{_bindir}/update-desktop-database
|
| 38 |
Requires(post): /sbin/ldconfig
|
| 39 |
Requires(postun): /sbin/ldconfig
|
| 40 |
Requires: gtk2 >= %{gtk2_version}
|
| 41 |
Requires: dbus >= %{dbus_version}
|
| 42 |
Requires: NetworkManager >= %{nm_version}
|
| 43 |
Requires: openvpn >= %{openvpn_version}
|
| 44 |
Requires: shared-mime-info >= %{shared_mime_version}
|
| 45 |
Requires: GConf2
|
| 46 |
Requires: gnome-keyring
|
| 47 |
|
| 48 |
%description
|
| 49 |
This package contains software for integrating the OpenVPN VPN software
|
| 50 |
with NetworkManager and the GNOME desktop.
|
| 51 |
|
| 52 |
%prep
|
| 53 |
%setup -q -n %{name}-%{version}
|
| 54 |
|
| 55 |
|
| 56 |
%build
|
| 57 |
if [ ! -f configure ]; then
|
| 58 |
./autogen.sh
|
| 59 |
fi
|
| 60 |
%configure --disable-static --disable-dependency-tracking --enable-more-warnings=yes
|
| 61 |
make %{?_smp_mflags}
|
| 62 |
|
| 63 |
%install
|
| 64 |
rm -rf %{buildroot}
|
| 65 |
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
|
| 66 |
|
| 67 |
rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
|
| 68 |
|
| 69 |
%find_lang %{name}
|
| 70 |
|
| 71 |
%clean
|
| 72 |
rm -rf %{buildroot}
|
| 73 |
|
| 74 |
%post
|
| 75 |
/sbin/ldconfig
|
| 76 |
/usr/bin/update-desktop-database > /dev/null
|
| 77 |
touch --no-create %{_datadir}/icons/hicolor
|
| 78 |
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
| 79 |
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
| 80 |
fi
|
| 81 |
|
| 82 |
%postun
|
| 83 |
/sbin/ldconfig
|
| 84 |
/usr/bin/update-desktop-database > /dev/null
|
| 85 |
touch --no-create %{_datadir}/icons/hicolor
|
| 86 |
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
| 87 |
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
| 88 |
fi
|
| 89 |
|
| 90 |
%files -f %{name}.lang
|
| 91 |
%defattr(-, root, root)
|
| 92 |
|
| 93 |
%doc AUTHORS ChangeLog README
|
| 94 |
%{_libdir}/NetworkManager/lib*.so*
|
| 95 |
%{_libexecdir}/nm-openvpn-auth-dialog
|
| 96 |
%{_sysconfdir}/dbus-1/system.d/nm-openvpn-service.conf
|
| 97 |
%{_sysconfdir}/NetworkManager/VPN/nm-openvpn-service.name
|
| 98 |
%{_libexecdir}/nm-openvpn-service
|
| 99 |
%{_libexecdir}/nm-openvpn-service-openvpn-helper
|
| 100 |
%{_datadir}/gnome-vpn-properties/openvpn/nm-openvpn-dialog.glade
|
| 101 |
%{_datadir}/applications/nm-openvpn.desktop
|
| 102 |
%{_datadir}/icons/hicolor/48x48/apps/gnome-mime-application-x-openvpn-settings.png
|
| 103 |
%dir %{_datadir}/gnome-vpn-properties/openvpn
|
| 104 |
|
| 105 |
%changelog
|
| 106 |
* Mon Oct 5 2009 Dan Williams <dcbw@redhat.com> - 1:0.7.996-4.git20090923
|
| 107 |
- Rebuild for updated NetworkManager
|
| 108 |
|
| 109 |
* Wed Sep 23 2009 Dan Williams <dcbw@redhat.com> - 1:0.7.996-3.git20090923
|
| 110 |
- Add GUI option for reneg-sec config option (rh #490971)
|
| 111 |
|
| 112 |
* Mon Sep 21 2009 Dan Williams <dcbw@redhat.com> - 1:0.7.996-2
|
| 113 |
- Rebuild for updated NetworkManager
|
| 114 |
|
| 115 |
* Fri Aug 28 2009 Dan Williams <dcbw@redhat.com> - 1:0.7.996-1
|
| 116 |
- Rebuild for updated NetworkManager
|
| 117 |
|
| 118 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.7.1-2.git20090714
|
| 119 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 120 |
|
| 121 |
* Tue Jul 14 2009 Dan Williams <dcbw@redhat.com> - 1:0.7.1-1.20090714
|
| 122 |
- Fix a misconfiguration with 'subnet' topology
|
| 123 |
- Fix detection of password requests by the OpenVPN management interface
|
| 124 |
|
| 125 |
* Mon Jul 13 2009 Dan Williams <dcbw@redhat.com> - 1:0.7.1-1.20090713
|
| 126 |
- Update to 0.7.1
|
| 127 |
- Translation updates
|
| 128 |
|
| 129 |
* Thu Mar 5 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.99-1
|
| 130 |
- Update to 0.7.1rc3
|
| 131 |
|
| 132 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.7.0.97-2
|
| 133 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 134 |
|
| 135 |
* Thu Feb 19 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.97-1
|
| 136 |
- Update to 0.7.1rc1
|
| 137 |
- Handle HMAC Authentication (--auth)
|
| 138 |
- Handle TAP device subnet masks correctly
|
| 139 |
- Don't segfault if the connection type is invalid
|
| 140 |
|
| 141 |
* Sat Jan 3 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0-18.svn11
|
| 142 |
- Rebuild for updated NetworkManager
|
| 143 |
- Fix some specfile issues (rh #477149)
|
| 144 |
|
| 145 |
* Sat Dec 20 2008 Christoph Höger <choeger@cs.tu-berlin.de> 0.7.0-17.svn4326
|
| 146 |
- removed libpng-devel from BuildRequires, added %{_datadir}/gnome-vpn-properties/openvpn/ (rh #477149)
|
| 147 |
|
| 148 |
* Fri Nov 21 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-16.svn4326
|
| 149 |
- Rebuild for updated NetworkManager
|
| 150 |
|
| 151 |
* Mon Oct 27 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-16.svn4229
|
| 152 |
- Rebuild for updated NetworkManager
|
| 153 |
|
| 154 |
* Sun Oct 12 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-16.svn4175
|
| 155 |
- Rebuild for updated NetworkManager
|
| 156 |
- Allow changing passwords from the connection editor
|
| 157 |
- Honor OpenVPN's 'route-vpn-gateway' option
|
| 158 |
|
| 159 |
* Tue Sep 30 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-16.svn4027
|
| 160 |
- Fix order of Password TLS certificate choosers (rh #464765)
|
| 161 |
- Use %find_lang for locale-specific files (rh #448551)
|
| 162 |
- Fix --script-security issues with OpenVPN 2.1-rc9 and later (rh #460754)
|
| 163 |
|
| 164 |
* Fri Aug 29 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-15.svn4027
|
| 165 |
- Rebuild for updated NetworkManager
|
| 166 |
|
| 167 |
* Mon Aug 11 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-15.svn3930
|
| 168 |
- Rebuild for updated NetworkManager
|
| 169 |
|
| 170 |
* Thu Jul 24 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-15.svn3846
|
| 171 |
- Rebuild to sync with F9 release number
|
| 172 |
|
| 173 |
* Thu Jul 24 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn3846
|
| 174 |
- Fix TLS Authentication direction combo
|
| 175 |
- Only update settings if the advanced dialog's OK button is pressed
|
| 176 |
|
| 177 |
* Fri Jul 18 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn3832
|
| 178 |
- Update for NM netmask -> prefix changes
|
| 179 |
|
| 180 |
* Wed Jul 02 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn3801
|
| 181 |
- Update for moving VPN editing into connection manager
|
| 182 |
- Import OpenVPN configuration files rather than old custom format
|
| 183 |
|
| 184 |
* Mon May 05 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn3632
|
| 185 |
- Fix issue with location of the VPN plugin
|
| 186 |
|
| 187 |
* Thu May 01 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn3627
|
| 188 |
- Update for compat with new NM bits
|
| 189 |
|
| 190 |
* Wed Apr 23 2008 Christoph Höger <choeger@cs.tu-berlin.de> 1:0.7.0-10.svn3549
|
| 191 |
- (Hopefully) Fix generation of nm-openvpn-service.name (#443389)
|
| 192 |
|
| 193 |
* Wed Apr 09 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-9.svn3549
|
| 194 |
- Update for compat with new NM bits
|
| 195 |
|
| 196 |
* Mon Mar 03 2008 Tim Niemueller <tim@niemueller.de> 1:0.7.0-9.svn3302
|
| 197 |
- Mute %post and %postun scripts
|
| 198 |
|
| 199 |
* Fri Feb 08 2008 Tim Niemueller <tim@niemueller.de> 1:0.7.0-8.svn3302
|
| 200 |
- Update to latest SVN snapshot
|
| 201 |
- Fixes rhbz#429816 (port was not saved correctly)
|
| 202 |
- Respects DNS search string from OpenVPN server
|
| 203 |
|
| 204 |
* Fri Jan 18 2008 Tim Niemueller <tim@niemueller.de> 1:0.7.0-7.svn3169
|
| 205 |
- Use install -p during "make install" to fix #342701
|
| 206 |
|
| 207 |
* Thu Dec 13 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-6.svn3169
|
| 208 |
- Update to latest SVN snapshot
|
| 209 |
|
| 210 |
* Thu Dec 6 2007 Dan Williams <dcbw@redhat.com> 1:0.7.0-5.svn3140
|
| 211 |
- Update to latest SVN snapshot to get stuff working
|
| 212 |
|
| 213 |
* Fri Nov 23 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-4.svn3047
|
| 214 |
- BuildRequire libtool and glib2-devel since we call autogen.sh now
|
| 215 |
|
| 216 |
* Fri Nov 23 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-3.svn3047
|
| 217 |
- Fixed #320941
|
| 218 |
- Call autogen, therefore BuildRequire gnome-common
|
| 219 |
- Use plain 3047 from repo and use a patch, we cannot use trunk at the
|
| 220 |
moment since it is in flux and incompatible with NM available for F8
|
| 221 |
|
| 222 |
* Wed Oct 31 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-2.svn3047.fc8
|
| 223 |
- BuildRequire gettext
|
| 224 |
|
| 225 |
* Tue Oct 30 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-1.svn3047.fc8
|
| 226 |
- Upgrade to trunk, needed to be compatible with NM 0.7.0, rebuild for F-8
|
| 227 |
|
| 228 |
* Fri Sep 15 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-7
|
| 229 |
- Rebuild for FC6
|
| 230 |
|
| 231 |
* Sat Aug 19 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-5
|
| 232 |
- Added perl-XML-Parser as a build requirement, needed for intltool
|
| 233 |
|
| 234 |
* Tue Aug 15 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-4
|
| 235 |
- Added instructions how to build the source package
|
| 236 |
- removed a rm line
|
| 237 |
|
| 238 |
* Wed Aug 09 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-3
|
| 239 |
- Added URL
|
| 240 |
|
| 241 |
* Fri Aug 04 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-2
|
| 242 |
- Upgrade to current upstream version (0.3.2 on 0.6 branch)
|
| 243 |
|
| 244 |
* Mon Jul 10 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-1
|
| 245 |
- Upgraded to 0.3.2 for 0.6 branch
|
| 246 |
|
| 247 |
* Tue Dec 06 2005 Tim Niemueller <tim@niemueller.de> 0.3-1
|
| 248 |
- Initial revision based on NetworkManager-vpnc spec
|
| 249 |
|