[7712] | 1 | %define nm_version 0.9.8.2 |
---|
[4650] | 2 | %define dbus_version 1.4.14 |
---|
[4616] | 3 | %define gtk3_version 3.0.0 |
---|
[3791] | 4 | %define openconnect_version 3.02 |
---|
[521] | 5 | |
---|
| 6 | %define svn_snapshot %{nil} |
---|
| 7 | |
---|
| 8 | Summary: NetworkManager VPN integration for openconnect |
---|
| 9 | Summary(ja): NetworkManager の openconnect 用 VPN 統合 |
---|
| 10 | Name: NetworkManager-openconnect |
---|
[7712] | 11 | Version: 0.9.8.2 |
---|
[521] | 12 | Release: 1%{svn_snapshot}%{?_dist_release} |
---|
| 13 | License: GPLv2+ |
---|
| 14 | Group: System Environment/Base |
---|
| 15 | URL: http://www.gnome.org/projects/NetworkManager/ |
---|
| 16 | # Created from the git mirror of GNOME SVN: |
---|
| 17 | # git-clone git://git.infradead.org/network-manager-openconnect.git |
---|
| 18 | # cd network-manager-openconnect |
---|
| 19 | # git-archive --format=tar --prefix=NetworkManager-openconnect-0.7.0/ b94964eb \ |
---|
| 20 | # | gzip -9 > NetworkManager-openconnect-0.7.0.svn14.tar.gz |
---|
[4650] | 21 | Source: %{name}-%{version}%{svn_snapshot}.tar.xz |
---|
[3791] | 22 | |
---|
[521] | 23 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 24 | |
---|
[3791] | 25 | BuildRequires: autoconf |
---|
[4616] | 26 | BuildRequires: gtk3-devel >= %{gtk3_version} |
---|
[521] | 27 | BuildRequires: dbus-devel >= %{dbus_version} |
---|
| 28 | BuildRequires: NetworkManager-devel >= %{nm_version} |
---|
| 29 | BuildRequires: NetworkManager-glib-devel >= %{nm_version} |
---|
| 30 | BuildRequires: GConf2-devel |
---|
[2422] | 31 | BuildRequires: libgnome-keyring-devel |
---|
[521] | 32 | BuildRequires: libglade2-devel |
---|
| 33 | BuildRequires: intltool gettext |
---|
| 34 | BuildRequires: gnome-common |
---|
| 35 | BuildRequires: autoconf automake libtool |
---|
[3791] | 36 | BuildRequires: openconnect-devel >= %{openconnect_version} |
---|
[521] | 37 | |
---|
| 38 | Requires: NetworkManager >= %{nm_version} |
---|
| 39 | Requires: openconnect >= %{openconnect_version} |
---|
| 40 | |
---|
| 41 | Requires(post): /sbin/ldconfig |
---|
| 42 | Requires(postun): /sbin/ldconfig |
---|
| 43 | Requires(pre): %{_sbindir}/useradd |
---|
| 44 | Requires(pre): %{_sbindir}/groupadd |
---|
| 45 | |
---|
[984] | 46 | Vendor: Project Vine |
---|
| 47 | Distribution: Vine Linux |
---|
| 48 | Packager: daisuke |
---|
[521] | 49 | |
---|
[984] | 50 | |
---|
[521] | 51 | %description |
---|
| 52 | This package contains software for integrating the openconnect VPN software |
---|
| 53 | with NetworkManager and the GNOME desktop |
---|
| 54 | |
---|
| 55 | %prep |
---|
| 56 | %setup -q |
---|
| 57 | |
---|
| 58 | %build |
---|
[3791] | 59 | autoreconf -if |
---|
[521] | 60 | %configure --enable-more-warnings=yes |
---|
| 61 | make %{?_smp_mflags} |
---|
| 62 | |
---|
| 63 | %install |
---|
| 64 | rm -rf $RPM_BUILD_ROOT |
---|
| 65 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 66 | |
---|
| 67 | rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la |
---|
| 68 | rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.a |
---|
| 69 | |
---|
| 70 | %find_lang %{name} |
---|
| 71 | |
---|
| 72 | %clean |
---|
| 73 | rm -rf $RPM_BUILD_ROOT |
---|
| 74 | |
---|
| 75 | %pre |
---|
| 76 | %{_sbindir}/groupadd -r nm-openconnect &>/dev/null || : |
---|
| 77 | %{_sbindir}/useradd -r -s /sbin/nologin -d / -M \ |
---|
| 78 | -c 'NetworkManager user for OpenConnect' \ |
---|
| 79 | -g nm-openconnect nm-openconnect &>/dev/null || : |
---|
| 80 | |
---|
| 81 | %post |
---|
| 82 | /sbin/ldconfig |
---|
| 83 | /usr/bin/update-desktop-database &> /dev/null || : |
---|
| 84 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 85 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
| 86 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 87 | fi |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %postun |
---|
| 91 | /sbin/ldconfig |
---|
| 92 | /usr/bin/update-desktop-database &> /dev/null || : |
---|
| 93 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 94 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
| 95 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 96 | fi |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | %files -f %{name}.lang |
---|
| 100 | %defattr(-, root, root) |
---|
| 101 | |
---|
| 102 | %doc AUTHORS ChangeLog COPYING |
---|
| 103 | %{_libdir}/NetworkManager/lib*.so* |
---|
| 104 | %{_sysconfdir}/dbus-1/system.d/nm-openconnect-service.conf |
---|
| 105 | %{_sysconfdir}/NetworkManager/VPN/nm-openconnect-service.name |
---|
[3791] | 106 | %{_libexecdir}/nm-openconnect-auth-dialog |
---|
[521] | 107 | %{_libexecdir}/nm-openconnect-service |
---|
| 108 | %{_libexecdir}/nm-openconnect-service-openconnect-helper |
---|
| 109 | %dir %{_datadir}/gnome-vpn-properties/openconnect |
---|
[3791] | 110 | %{_datadir}/gnome-vpn-properties/openconnect/nm-openconnect-dialog.ui |
---|
[521] | 111 | |
---|
| 112 | %changelog |
---|
[7712] | 113 | * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-1 |
---|
| 114 | - new upstream release |
---|
| 115 | |
---|
[6739] | 116 | * Fri Aug 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6.2-1 |
---|
| 117 | - new upstream release |
---|
| 118 | |
---|
[5182] | 119 | * Wed Nov 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2.0-1 |
---|
| 120 | - new upstream release |
---|
| 121 | |
---|
[4650] | 122 | * Tue Aug 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.0-1 |
---|
| 123 | - new upstream release |
---|
| 124 | |
---|
[4616] | 125 | * Thu Aug 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.999-1 |
---|
| 126 | - new upstream release |
---|
| 127 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 128 | |
---|
[3791] | 129 | * Wed May 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1 |
---|
| 130 | - new upstream release |
---|
| 131 | - add BuildRequires: openconnect-devel |
---|
| 132 | |
---|
[2422] | 133 | * Sat Jan 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.2-1 |
---|
| 134 | - new upstream release |
---|
| 135 | - change BuildRequires: libgnome-keyring-devel instead of gnome-keyring-devel |
---|
| 136 | |
---|
[984] | 137 | * Tue May 11 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8-1 |
---|
| 138 | - new upstream release |
---|
| 139 | |
---|
[521] | 140 | * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-1 |
---|
| 141 | - initial build for Vine Linux |
---|
| 142 | |
---|
| 143 | * Wed Apr 1 2009 David Woodhouse <David.Woodhouse@intel.com> 1:0.7.0.99-2 |
---|
| 144 | - Update translations from SVN |
---|
| 145 | - Accept 'lasthost' and 'autoconnect' keys in gconf |
---|
| 146 | |
---|
| 147 | * Thu Mar 5 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.99-1 |
---|
| 148 | - Update to 0.7.1rc3 |
---|
| 149 | |
---|
| 150 | * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0.97-2 |
---|
| 151 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 152 | |
---|
| 153 | * Thu Feb 19 2009 Dan Williams <dcbw@redhat.com> 0.7.0.97-1 |
---|
| 154 | - Update to 0.7.1rc1 |
---|
| 155 | |
---|
| 156 | * Mon Jan 5 2009 David Woodhouse <David.woodhouse@intel.com> 0.7.0-4.svn14 |
---|
| 157 | - Rebuild for updated NetworkManager |
---|
| 158 | - Update translations from GNOME SVN |
---|
| 159 | |
---|
| 160 | * Sun Dec 21 2008 David Woodhouse <David.Woodhouse@intel.com> 0.7.0-3.svn9 |
---|
| 161 | - Update from GNOME SVN (translations, review feedback merged) |
---|
| 162 | |
---|
| 163 | * Wed Dec 17 2008 David Woodhouse <David.Woodhouse@intel.com> 0.7.0-2.svn3 |
---|
| 164 | - Review feedback |
---|
| 165 | |
---|
| 166 | * Tue Dec 16 2008 David Woodhouse <David.Woodhouse@intel.com> 0.7.0-1.svn3 |
---|
| 167 | - Change version numbering to match NetworkManager |
---|