openconnect-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. Name: openconnect
  2. Version: 4.06
  3. Release: 1%{?_dist_release}
  4. Summary: Open client for Cisco AnyConnect VPN
  5. Summary(ja): Cisco AnyConnect VPM 用のオープンクライアント
  6. Group: Applications/Internet
  7. License: LGPLv2+
  8. URL: http://git.infradead.org/users/dwmw2/openconnect.git
  9. Source0: ftp://ftp.infradead.org/pub/openconnect/openconnect-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: openssl-devel
  12. BuildRequires: libxml2-devel
  13. BuildRequires: gtk2-devel
  14. BuildRequires: dbus-devel
  15. BuildRequires: libproxy-devel
  16. BuildRequires: p11-kit-devel
  17. BuildRequires: vpnc
  18. Requires: vpnc
  19. %description
  20. This package provides a client for Cisco's "AnyConnect" VPN, which uses
  21. HTTPS and DTLS protocols.
  22. %package devel
  23. Summary: Development package for OpenConnect VPN authentication tools
  24. Group: Applications/Internet
  25. Provides: openconnect-devel-static = %{version}-%{release}
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: pkgconfig
  28. Requires: libproxy-devel
  29. Requires: zlib-devel
  30. Requires: openssl-devel
  31. Requires: libxml2-devel
  32. %description devel
  33. This package provides the core HTTP and authentication support from
  34. the OpenConnect VPN client, to be used by GUI authentication dialogs
  35. for NetworkManager etc.
  36. %prep
  37. %setup -q
  38. %build
  39. %configure --disable-static
  40. make %{?_smp_mflags} openconnect
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. make install DESTDIR=$RPM_BUILD_ROOT
  44. mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
  45. install -m0644 openconnect.8 $RPM_BUILD_ROOT/%{_mandir}/man8
  46. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  47. %find_lang %{name}
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %files -f %{name}.lang
  51. %defattr(-,root,root,-)
  52. %{_sbindir}/%{name}
  53. %{_libdir}/libopenconnect.so.*
  54. %{_docdir}/%{name}
  55. %{_mandir}/man8/*
  56. %doc TODO COPYING.LGPL
  57. %files devel
  58. %defattr(-,root,root,-)
  59. %{_libdir}/libopenconnect.so
  60. /usr/include/openconnect.h
  61. %{_libdir}/pkgconfig/%{name}.pc
  62. %changelog
  63. * Fri Aug 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.06-1
  64. - new upstream release
  65. - add BuildRequires: p11-kit-devel, vpnc
  66. * Wed May 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.02-1
  67. - new upstream release
  68. * Sun Mar 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26-1
  69. - new upstream release
  70. * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10-1
  71. - initial build for Vine Linux
  72. * Wed Apr 1 2009 David Woodhouse <David.Woodhouse@intel.com> - 1.10-1
  73. - Update to 1.10.
  74. * Wed Mar 18 2009 David Woodhouse <David.Woodhouse@intel.com> - 1.00-1
  75. - Update to 1.00.
  76. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99-3
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  78. * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.99-2
  79. - rebuild with new openssl
  80. * Tue Dec 16 2008 David Woodhouse <David.Woodhouse@intel.com> - 0.99-1
  81. - Update to 0.99.
  82. - Fix BuildRequires
  83. * Mon Nov 24 2008 David Woodhouse <David.Woodhouse@intel.com> - 0.98-1
  84. - Update to 0.98.
  85. * Thu Nov 13 2008 David Woodhouse <David.Woodhouse@intel.com> - 0.97-1
  86. - Update to 0.97. Add man page, validate server certs.
  87. * Tue Oct 28 2008 David Woodhouse <David.Woodhouse@intel.com> - 0.96-1
  88. - Update to 0.96. Handle split-includes, MacOS port, more capable SecurID.
  89. * Thu Oct 09 2008 David Woodhouse <David.Woodhouse@intel.com> - 0.95-1
  90. - Update to 0.95. A few bug fixes.
  91. * Thu Oct 09 2008 David Woodhouse <David.Woodhouse@intel.com> - 0.94-3
  92. - Include COPYING.LGPL file
  93. * Mon Oct 07 2008 David Woodhouse <David.Woodhouse@intel.com> - 0.94-2
  94. - Fix auth-dialog crash
  95. * Mon Oct 06 2008 David Woodhouse <David.Woodhouse@intel.com> - 0.94-1
  96. - Take cookie on stdin so it's not visible in ps.
  97. - Support running 'script' and passing traffic to it via a socket
  98. - Fix abort when fetching XML config fails
  99. * Sun Oct 05 2008 David Woodhouse <David.Woodhouse@intel.com> - 0.93-1
  100. - Work around unexpected disconnection (probably OpenSSL bug)
  101. - Handle host list and report errors in NM auth dialog
  102. * Sun Oct 05 2008 David Woodhouse <David.Woodhouse@intel.com> - 0.92-1
  103. - Rename to 'openconnect'
  104. - Include NetworkManager auth helper
  105. * Thu Oct 02 2008 David Woodhouse <David.Woodhouse@intel.com> - 0.91-1
  106. - Update to 0.91
  107. * Thu Oct 02 2008 David Woodhouse <David.Woodhouse@intel.com> - 0.90-1
  108. - First package