[9828] | 1 | %define nm_version 1.0.8 |
---|
[4650] | 2 | %define dbus_version 1.4.14 |
---|
[4616] | 3 | %define gtk3_version 3.0.0 |
---|
[521] | 4 | %define openvpn_version 2.1 |
---|
| 5 | %define shared_mime_version 0.16-3 |
---|
| 6 | |
---|
| 7 | %define svn_snapshot %{nil} |
---|
| 8 | |
---|
| 9 | Summary: NetworkManager VPN plugin for OpenVPN |
---|
| 10 | Summary(ja): OpenVPN を使った NetworkManager 用 VPN プラグイン |
---|
| 11 | Name: NetworkManager-openvpn |
---|
[9828] | 12 | Version: 1.0.8 |
---|
[9491] | 13 | Release: 1%{?svn_snapshot}%{?_dist_release} |
---|
[521] | 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 SVN, currently trunk is used |
---|
| 19 | # - cd NetworkManager/vpn-daemons/openvpn |
---|
| 20 | # - ./autogen.sh --prefix=/usr --sysconfdir=/etc |
---|
| 21 | # - make distcheck |
---|
| 22 | # - use generated NetworkManager-openvpn-0.7.0.tar.gz |
---|
[4650] | 23 | Source: %{name}-%{version}%{?svn_snapshot}.tar.xz |
---|
[521] | 24 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[4616] | 25 | BuildRequires: gtk3-devel >= %{gtk3_version} |
---|
[521] | 26 | BuildRequires: dbus-devel >= %{dbus_version} |
---|
| 27 | BuildRequires: NetworkManager-devel >= %{nm_version} |
---|
| 28 | BuildRequires: NetworkManager-glib-devel >= %{nm_version} |
---|
[9491] | 29 | BuildRequires: libnm-gtk-devel >= %{nm_version} |
---|
[521] | 30 | BuildRequires: glib2-devel |
---|
| 31 | BuildRequires: libgnomeui-devel |
---|
[6739] | 32 | BuildRequires: gcr-devel |
---|
[521] | 33 | BuildRequires: libglade2-devel |
---|
| 34 | BuildRequires: libpng-devel |
---|
[9491] | 35 | BuildRequires: libsecret-devel |
---|
[521] | 36 | BuildRequires: perl-XML-Parser |
---|
| 37 | BuildRequires: libtool intltool gettext |
---|
| 38 | BuildRequires: perl |
---|
| 39 | BuildRequires: gnome-common |
---|
| 40 | Requires(post): %{_bindir}/update-desktop-database |
---|
| 41 | Requires(postun): %{_bindir}/update-desktop-database |
---|
| 42 | Requires(post): /sbin/ldconfig |
---|
| 43 | Requires(postun): /sbin/ldconfig |
---|
[4616] | 44 | Requires: gtk3 >= %{gtk3_version} |
---|
[521] | 45 | Requires: dbus >= %{dbus_version} |
---|
| 46 | Requires: NetworkManager >= %{nm_version} |
---|
| 47 | Requires: openvpn >= %{openvpn_version} |
---|
| 48 | Requires: shared-mime-info >= %{shared_mime_version} |
---|
[6739] | 49 | Requires: gcr |
---|
[521] | 50 | |
---|
[8073] | 51 | Vendor: Project Vine |
---|
| 52 | Distribution: Vine Linux |
---|
[521] | 53 | |
---|
| 54 | %description |
---|
| 55 | This package contains software for integrating the OpenVPN VPN software |
---|
| 56 | with NetworkManager and the GNOME desktop. |
---|
| 57 | |
---|
| 58 | %description -l ja |
---|
| 59 | 本パッケージに収録されているソフトウェアにより、OpenVPN を |
---|
| 60 | NetworkManager と GNOME デスクトップに統合させることができます。 |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %prep |
---|
| 64 | %setup -q -n %{name}-%{version} |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %build |
---|
| 68 | if [ ! -f configure ]; then |
---|
| 69 | ./autogen.sh |
---|
| 70 | fi |
---|
| 71 | %configure --disable-static --disable-dependency-tracking \ |
---|
| 72 | --enable-more-warnings=yes |
---|
| 73 | make %{?_smp_mflags} |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %install |
---|
| 77 | rm -rf %{buildroot} |
---|
| 78 | make install DESTDIR=%{buildroot} INSTALL="%{__install} -p" |
---|
| 79 | |
---|
| 80 | rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la |
---|
| 81 | |
---|
| 82 | %find_lang %{name} |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | %clean |
---|
| 86 | rm -rf %{buildroot} |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | %post |
---|
| 90 | /sbin/ldconfig |
---|
| 91 | /usr/bin/update-desktop-database > /dev/null |
---|
| 92 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 93 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 94 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 95 | fi |
---|
| 96 | |
---|
| 97 | %postun |
---|
| 98 | /sbin/ldconfig |
---|
| 99 | /usr/bin/update-desktop-database > /dev/null |
---|
| 100 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 101 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 102 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 103 | fi |
---|
| 104 | |
---|
| 105 | %files -f %{name}.lang |
---|
| 106 | %defattr(-, root, root) |
---|
| 107 | |
---|
| 108 | %doc AUTHORS ChangeLog README |
---|
| 109 | %{_libdir}/NetworkManager/lib*.so* |
---|
| 110 | %{_libexecdir}/nm-openvpn-auth-dialog |
---|
| 111 | %{_sysconfdir}/dbus-1/system.d/nm-openvpn-service.conf |
---|
| 112 | %{_sysconfdir}/NetworkManager/VPN/nm-openvpn-service.name |
---|
| 113 | %{_libexecdir}/nm-openvpn-service |
---|
| 114 | %{_libexecdir}/nm-openvpn-service-openvpn-helper |
---|
[3791] | 115 | %{_datadir}/gnome-vpn-properties/openvpn/nm-openvpn-dialog.ui |
---|
[521] | 116 | %dir %{_datadir}/gnome-vpn-properties/openvpn |
---|
| 117 | |
---|
| 118 | |
---|
| 119 | %changelog |
---|
[9828] | 120 | * Wed Nov 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1 |
---|
| 121 | - new upstream release |
---|
| 122 | |
---|
[9491] | 123 | * Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.10.2-1 |
---|
| 124 | - new upstream release |
---|
| 125 | - add BuildRequires: libnm-gtk-devel, libsecret-devel |
---|
| 126 | |
---|
[8073] | 127 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-2 |
---|
| 128 | - rebuild with VineSeed environment |
---|
| 129 | |
---|
[7712] | 130 | * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-1 |
---|
| 131 | - new upstream release |
---|
| 132 | |
---|
[6739] | 133 | * Fri Aug 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6.0-1 |
---|
| 134 | - new upstream release |
---|
| 135 | - change BuildRequires: gcr-devel instead of gnome-keyring-devel |
---|
| 136 | |
---|
[5182] | 137 | * Wed Nov 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2.0-1 |
---|
| 138 | - new upstream release |
---|
| 139 | |
---|
[4650] | 140 | * Tue Aug 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.0-1 |
---|
| 141 | - new upstream release |
---|
| 142 | |
---|
[4616] | 143 | * Thu Aug 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.9997-1 |
---|
| 144 | - new upstream release |
---|
| 145 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 146 | |
---|
[3791] | 147 | * Wed May 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[2422] | 150 | * Sat Jan 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.2-1 |
---|
| 151 | - new upstream release |
---|
| 152 | |
---|
[984] | 153 | * Tue May 11 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8-1 |
---|
| 154 | - new upstream release |
---|
| 155 | |
---|
[521] | 156 | * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-1 |
---|
| 157 | - new upstream release |
---|
| 158 | |
---|
| 159 | * Sat Mar 28 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.7.0.99-1 |
---|
| 160 | - new upstream release in sync with NetworkManager-0.7.0.99 |
---|
| 161 | |
---|
| 162 | * Wed Jan 28 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.7.0-1.svn14 |
---|
| 163 | - updated to new upstream tree, svn snapshot r14 |
---|
| 164 | (svn://svn.gnome.org/svn/network-manager-openvpn) |
---|
| 165 | - rebuilt with updated NetworkManager (0.7.0-1.git20090102) |
---|
| 166 | - add Japanese summary and description |
---|
| 167 | |
---|
| 168 | * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-0.2.svn4027 |
---|
| 169 | - update to new svn snapshot (r4027) |
---|
| 170 | |
---|
| 171 | * Mon Aug 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-0.1.svn3918 |
---|
| 172 | - initial build for Vine Linux |
---|
| 173 | |
---|
| 174 | * Thu Jul 24 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-15.svn3846 |
---|
| 175 | - Rebuild to sync with F9 release number |
---|
| 176 | |
---|
| 177 | * Thu Jul 24 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn3846 |
---|
| 178 | - Fix TLS Authentication direction combo |
---|
| 179 | - Only update settings if the advanced dialog's OK button is pressed |
---|
| 180 | |
---|
| 181 | * Fri Jul 18 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn3832 |
---|
| 182 | - Update for NM netmask -> prefix changes |
---|
| 183 | |
---|
| 184 | * Wed Jul 02 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn3801 |
---|
| 185 | - Update for moving VPN editing into connection manager |
---|
| 186 | - Import OpenVPN configuration files rather than old custom format |
---|
| 187 | |
---|
| 188 | * Mon May 05 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn3632 |
---|
| 189 | - Fix issue with location of the VPN plugin |
---|
| 190 | |
---|
| 191 | * Thu May 01 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn3627 |
---|
| 192 | - Update for compat with new NM bits |
---|
| 193 | |
---|
| 194 | * Wed Apr 23 2008 Christoph Höger <choeger@cs.tu-berlin.de> 1:0.7.0-10.svn3549 |
---|
| 195 | - (Hopefully) Fix generation of nm-openvpn-service.name (#443389) |
---|
| 196 | |
---|
| 197 | * Wed Apr 09 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-9.svn3549 |
---|
| 198 | - Update for compat with new NM bits |
---|
| 199 | |
---|
| 200 | * Mon Mar 03 2008 Tim Niemueller <tim@niemueller.de> 1:0.7.0-9.svn3302 |
---|
| 201 | - Mute %post and %postun scripts |
---|
| 202 | |
---|
| 203 | * Fri Feb 08 2008 Tim Niemueller <tim@niemueller.de> 1:0.7.0-8.svn3302 |
---|
| 204 | - Update to latest SVN snapshot |
---|
| 205 | - Fixes rhbz#429816 (port was not saved correctly) |
---|
| 206 | - Respects DNS search string from OpenVPN server |
---|
| 207 | |
---|
| 208 | * Fri Jan 18 2008 Tim Niemueller <tim@niemueller.de> 1:0.7.0-7.svn3169 |
---|
| 209 | - Use install -p during "make install" to fix #342701 |
---|
| 210 | |
---|
| 211 | * Thu Dec 13 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-6.svn3169 |
---|
| 212 | - Update to latest SVN snapshot |
---|
| 213 | |
---|
| 214 | * Thu Dec 6 2007 Dan Williams <dcbw@redhat.com> 1:0.7.0-5.svn3140 |
---|
| 215 | - Update to latest SVN snapshot to get stuff working |
---|
| 216 | |
---|
| 217 | * Fri Nov 23 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-4.svn3047 |
---|
| 218 | - BuildRequire libtool and glib2-devel since we call autogen.sh now |
---|
| 219 | |
---|
| 220 | * Fri Nov 23 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-3.svn3047 |
---|
| 221 | - Fixed #320941 |
---|
| 222 | - Call autogen, therefore BuildRequire gnome-common |
---|
| 223 | - Use plain 3047 from repo and use a patch, we cannot use trunk at the |
---|
| 224 | moment since it is in flux and incompatible with NM available for F8 |
---|
| 225 | |
---|
| 226 | * Wed Oct 31 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-2.svn3047.fc8 |
---|
| 227 | - BuildRequire gettext |
---|
| 228 | |
---|
| 229 | * Tue Oct 30 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-1.svn3047.fc8 |
---|
| 230 | - Upgrade to trunk, needed to be compatible with NM 0.7.0, rebuild for F-8 |
---|
| 231 | |
---|
| 232 | * Fri Sep 15 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-7 |
---|
| 233 | - Rebuild for FC6 |
---|
| 234 | |
---|
| 235 | * Sat Aug 19 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-5 |
---|
| 236 | - Added perl-XML-Parser as a build requirement, needed for intltool |
---|
| 237 | |
---|
| 238 | * Tue Aug 15 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-4 |
---|
| 239 | - Added instructions how to build the source package |
---|
| 240 | - removed a rm line |
---|
| 241 | |
---|
| 242 | * Wed Aug 09 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-3 |
---|
| 243 | - Added URL |
---|
| 244 | |
---|
| 245 | * Fri Aug 04 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-2 |
---|
| 246 | - Upgrade to current upstream version (0.3.2 on 0.6 branch) |
---|
| 247 | |
---|
| 248 | * Mon Jul 10 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-1 |
---|
| 249 | - Upgraded to 0.3.2 for 0.6 branch |
---|
| 250 | |
---|
| 251 | * Tue Dec 06 2005 Tim Niemueller <tim@niemueller.de> 0.3-1 |
---|
| 252 | - Initial revision based on NetworkManager-vpnc spec |
---|
| 253 | |
---|