NetworkManager-vpnc-vl.spec 11 KB

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