NetworkManager-vpnc-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. %define nm_version 0.8
  2. %define dbus_version 1.1
  3. %define gtk2_version 2.10.0
  4. %define vpnc_version 0.4
  5. %define shared_mime_version 0.16-3
  6. %define svn_snapshot %{nil}
  7. Summary: NetworkManager VPN plugin for vpnc
  8. Summary(ja): NetworkManager の vpnc 用 VPN プラグイン
  9. Name: NetworkManager-vpnc
  10. Version: 0.8
  11. Release: 1%{?_dist_release}
  12. License: GPLv2+
  13. Group: System Environment/Base
  14. URL: http://www.gnome.org/projects/NetworkManager/
  15. Source: %{name}-%{version}%{svn_snapshot}.tar.bz2
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  17. BuildRequires: gtk2-devel >= %{gtk2_version}
  18. BuildRequires: dbus-devel >= %{dbus_version}
  19. BuildRequires: NetworkManager-devel >= %{nm_version}
  20. BuildRequires: NetworkManager-glib-devel >= %{nm_version}
  21. BuildRequires: GConf2-devel
  22. BuildRequires: gnome-keyring-devel
  23. BuildRequires: libglade2-devel
  24. BuildRequires: intltool gettext
  25. Requires: NetworkManager
  26. Requires: vpnc
  27. Requires: shared-mime-info
  28. Requires: gnome-keyring
  29. Requires(post): /sbin/ldconfig
  30. Requires(postun): /sbin/ldconfig
  31. Vendor: Project Vine
  32. Distribution: Vine Linux
  33. Packager: daisuke
  34. %description
  35. This package contains software for integrating the vpnc VPN software
  36. with NetworkManager and the GNOME desktop
  37. %prep
  38. %setup -q
  39. %build
  40. %configure --enable-more-warnings=yes
  41. make %{?_smp_mflags}
  42. %install
  43. make install DESTDIR=$RPM_BUILD_ROOT
  44. rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
  45. rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.a
  46. %find_lang %{name}
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %post
  50. /sbin/ldconfig
  51. /usr/bin/update-desktop-database &> /dev/null || :
  52. touch --no-create %{_datadir}/icons/hicolor
  53. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  54. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  55. fi
  56. %postun
  57. /sbin/ldconfig
  58. /usr/bin/update-desktop-database &> /dev/null || :
  59. touch --no-create %{_datadir}/icons/hicolor
  60. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  61. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  62. fi
  63. %files -f %{name}.lang
  64. %defattr(-, root, root)
  65. %doc AUTHORS ChangeLog
  66. %{_libdir}/NetworkManager/lib*.so*
  67. %{_libexecdir}/nm-vpnc-auth-dialog
  68. %{_sysconfdir}/dbus-1/system.d/nm-vpnc-service.conf
  69. %{_sysconfdir}/NetworkManager/VPN/nm-vpnc-service.name
  70. %{_libexecdir}/nm-vpnc-service
  71. %{_libexecdir}/nm-vpnc-service-vpnc-helper
  72. %{_datadir}/gnome-vpn-properties/vpnc/nm-vpnc-dialog.glade
  73. #%{_datadir}/applications/nm-vpnc.desktop
  74. #%{_datadir}/icons/hicolor/48x48/apps/gnome-mime-application-x-cisco-vpn-settings.png
  75. %dir %{_datadir}/gnome-vpn-properties/vpnc
  76. %changelog
  77. * Tue May 11 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8-1
  78. - new upstream release
  79. * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-1
  80. - initial build for Vine Linux
  81. * Thu Mar 5 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.99-1
  82. - Update to 0.7.1rc3
  83. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.7.0.97-2
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  85. * Thu Feb 19 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.97-1
  86. - Update to 0.7.1rc1
  87. - Handle import/export of "EnableNat", "DHGroup", "SaveUserPassword", and "EnableLocalLAN"
  88. * Sat Jan 3 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0-1
  89. - Rebuild for updated NetworkManager
  90. - Better handling of passwords that shouldn't be saved
  91. - Fix some specfile issues (rh #477151)
  92. * Fri Nov 21 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-0.11.svn4326
  93. - Rebuild for updated NetworkManager
  94. * Tue Nov 18 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-0.11.svn4296
  95. - Rebuild for updated NetworkManager
  96. * Mon Nov 17 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-0.11.svn4293
  97. - Ensure errors are shown when connection fails (rh #331141)
  98. - Fix failures to ask for passwords on connect (rh #429287)
  99. - Fix routing when concentrator specifies routes (rh #449283)
  100. - Pull in upstream support for tokens and not saving passwords
  101. * Mon Oct 27 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-0.11.svn4229
  102. - Rebuild for updated NetworkManager
  103. * Tue Oct 14 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn4175
  104. - Fix password issue with configurations that don't save the user password
  105. in the keyring (rh #466864)
  106. * Sun Oct 12 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn4175
  107. - Rebuild for updated NetworkManager
  108. - Allow changing passwords from the connection editor
  109. * Fri Aug 29 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn4024
  110. - Fix regression where username radio buttons were mistakenly shown in the
  111. auth dialog
  112. - Fix regression where the auth dialog would segfault when cancel was clicked
  113. * Wed Aug 27 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn4022
  114. - Rebuild for updated NetworkManager
  115. * Mon Aug 11 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn3928
  116. - Rebuild for updated NetworkManager
  117. * Thu Jul 24 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn3846
  118. - Rebuild for updated NetworkManager
  119. * Fri Jul 18 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn3832
  120. - Update for NM netmask -> prefix changes
  121. * Wed Jul 02 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn3801
  122. - Update for moving VPN editing into connection manager
  123. - Add option to disable Dead Peer Detection
  124. - Add option to select NAT Traversal mode
  125. * Thu May 01 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-7.7.svn3627
  126. - Update for compat with new NM bits
  127. * Wed Apr 09 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-6.7.svn3549
  128. - Update for compat with new NM bits
  129. * Tue Mar 25 2008 Dan Williams <dcbw@redhat.com> - 1:0.7.0-0.6.7.svn3502
  130. - Send suggested MTU to NetworkManager
  131. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:0.7.0-0.7.7.svn3204
  132. - Autorebuild for GCC 4.3
  133. * Fri Jan 4 2008 Dan Williams <dcbw@redhat.com> - 1:0.7.0-0.6.7.svn3204
  134. - Support new vpnc 0.4 Cisco UDP Encapsulation option
  135. - Fix another crash in the properties applet
  136. - Remove upstreamed pcfimport patch
  137. * Mon Nov 26 2007 Dan Williams <dcbw@redhat.com> - 1:0.7.0-0.6.3.svn3109
  138. - Rebuild for updated NetworkManager
  139. * Tue Nov 13 2007 Dan Williams <dcbw@redhat.com> - 1:0.7.0-0.6.2.svn3083
  140. - Rebuild for updated NetworkManager
  141. * Sat Oct 27 2007 Dan Williams <dcbw@redhat.com> - 1:0.7.0-0.4.svn3030
  142. - Fix a crash when editing VPN properties a second time
  143. * Tue Oct 23 2007 Dan Williams <dcbw@redhat.com> - 1:0.7.0-0.3.svn3014
  144. - Rebuild
  145. * Wed Oct 17 2007 Bill Nottingham <notting@redhat.com> - 1:0.7.0-0.3.svn2970
  146. - rebuild (#336261)
  147. * Wed Oct 10 2007 Dan Williams <dcbw@redhat.com> - 1:0.7.0-0.2.svn2970
  148. - Fix default username
  149. * Thu Sep 28 2007 Dan Williams <dcbw@redhat.com> - 1:0.7.0-0.1.svn2914
  150. - Fix .name file on 64-bit systems
  151. * Fri Sep 28 2007 Jesse Keating <jkeating@redhat.com> - 1:0.7.0-0.2.svn2910
  152. - BuildRequire NetworkManager-glib-devel
  153. * Thu Sep 27 2007 Dan Williams <dcbw@redhat.com> - 1:0.7.0-0.1.svn2910
  154. - New snapshot; ported to NM 0.7 API
  155. * Fri Aug 17 2007 Denis Leroy <denis@poolshark.org> - 1:0.6.4-4
  156. - Updated License tag
  157. - Added patch to make properties multilib friendly (#243535)
  158. * Thu Mar 22 2007 Denis Leroy <denis@poolshark.org> - 1:0.6.4-3
  159. - Added patch to improve configuration GUI, add NAT traversal and single DES options
  160. * Sun Feb 18 2007 Denis Leroy <denis@poolshark.org> - 1:0.6.4-2
  161. - Readded NAT-keepalive support patch from SVN branch
  162. * Wed Feb 14 2007 Denis Leroy <denis@poolshark.org> - 1:0.6.4-1
  163. - Downgrading to 1:0.6.4 to keep par with core NM version
  164. * Mon Dec 4 2006 Dan Williams <dcbw@redhat.com> - 0.7.0-0.cvs20061204
  165. - Allow "NAT-Keepalive packet interval" config option
  166. * Sat Oct 21 2006 Denis Leroy <denis@poolshark.org> - 0.7.0-0.cvs20060929.3
  167. - Added patch to support saving group password only
  168. * Thu Oct 5 2006 Denis Leroy <denis@poolshark.org> - 0.7.0-0.cvs20060929.2
  169. - Leave .so link alone, needed by nm
  170. * Fri Sep 29 2006 Denis Leroy <denis@poolshark.org> - 0.7.0-0.cvs20060929.1
  171. - Update to CVS snapshot 060929
  172. - Some rpmlint cleanups
  173. * Fri Sep 29 2006 Denis Leroy <denis@poolshark.org> - 0.7.0-0.cvs20060529.4
  174. - Added XML::Parser BR
  175. * Fri Sep 29 2006 Denis Leroy <denis@poolshark.org> - 0.7.0-0.cvs20060529.3
  176. - Added gettext BR
  177. * Wed Sep 27 2006 Warren Togami <wtogami@redhat.com> - 0.7.0-0.cvs20060529.2
  178. - rebuild for FC6
  179. * Thu Jul 20 2006 Warren Togami <wtogami@redhat.com> - 0.7.0-0.cvs20060529.1
  180. - rebuild for new dbus
  181. * Mon May 29 2006 Dan Williams <dcbw@redhat.com> - 0.7.0-0.cvs20060529
  182. - Gnome.org #336913: HIG tweaks for vpn properties pages
  183. * Sun May 21 2006 Dan Williams <dcbw@redhat.com> 0.7.0-0.cvs20060521
  184. - Update to CVS snapshot
  185. - Honor user-specified rekeying intervals
  186. * Mon May 15 2006 Dan Williams <dcbw@redhat.com> 0.6.2-1
  187. - New release for NM 0.6.2 compat
  188. * Fri Apr 21 2006 Dan Williams <dcbw@redhat.com> 0.6.0-3
  189. - Add dist tag to RPM release
  190. * Wed Apr 12 2006 Christopher Aillon <caillon@redhat.com> 0.6.0-2
  191. - Rekey every 2 hours
  192. * Tue Mar 14 2006 Dan Williams <dcbw@redhat.com> - 0.6.0-1
  193. - Update to CVS snapshot of 0.6 for NM compatibility
  194. * Fri Jan 27 2006 Dan Williams <dcbw@redhat.com> - 0.5.0-1
  195. - CVS snapshot for compatibility new NetworkManager
  196. * Tue Dec 6 2005 Jeremy Katz <katzj@redhat.com> - 0.3-3
  197. - rebuild for new dbus
  198. * Mon Oct 17 2005 Dan Williams <dcbw@redhat.com> 0.3-2
  199. - Rebuild to test new Extras buildsystem
  200. * Thu Aug 18 2005 David Zeuthen <davidz@redhat.com> 0.3-1
  201. - New upstream release
  202. - Bump some versions for deps
  203. * Fri Jul 1 2005 David Zeuthen <davidz@redhat.com> 0.2-2
  204. - Add missing changelog entry for last commit
  205. - Temporarily BuildReq libpng-devel as it is not pulled in by gtk2-devel
  206. (should be fixed in Core shortly)
  207. - Pull in latest D-BUS (which features automatic reloading of policy files)
  208. so users do not have to restart the messagebus after installing this package
  209. * Thu Jun 30 2005 David Zeuthen <davidz@redhat.com> 0.2-1
  210. - New upsteam version
  211. - Add the new gnome-mime-application-x-cisco-vpn-settings.png icon and call
  212. gtk-update-icon-cache as appropriate
  213. * Fri Jun 17 2005 David Zeuthen <davidz@redhat.com> 0.1-2.cvs20050617
  214. - Add Prereq: /usr/bin/update-desktop-database
  215. - Nuke .la and .a files
  216. - Use find_lang macro to handle locale files properly
  217. - Add Requires for suitable version of shared-mime-info since our desktop
  218. file depends on the application/x-cisco-vpn-settings MIME-type
  219. * Fri Jun 17 2005 David Zeuthen <davidz@redhat.com> 0.1-1.cvs20050617
  220. - Latest CVS snapshot
  221. * Thu Jun 16 2005 David Zeuthen <davidz@redhat.com> 0.1-1
  222. - Initial build