NetworkManager-openconnect-vl.spec 5.4 KB

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