2 # - check for security, uses fixed filename in /tmp:
3 # self.sessfile = "/tmp/debugger_vim_saved_session." + str(os.getpid())
5 Summary: DBGp client: a remote debugger interface to the DBGp protocol (XDebug/PHP)
6 Name: vim-plugin-%{plugin}
10 Group: Applications/Editors/Vim
11 Source0: http://www.vim.org/scripts/download_script.php?src_id=7285&/%{plugin}-%{version}.zip
12 # Source0-md5: 23d6f4ee1d7799112e4e684115c6ecfe
13 URL: http://www.vim.org/scripts/script.php?script_id=1929
16 Requires: vim-rt >= 4:7.2.170
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _vimdatadir %{_datadir}/vim
24 DBGp client: a remote debugger interface to DBGp protocol.
26 This script has only been tested with XDebug for PHP debugging. But it
27 may work with other debuggers. If you would like to contribute any
28 patches which would add support for other debuggers, please contact me
29 at sam at box dot net.
31 For a tutorial on how to use this plugin, please visit
32 <http://tech.blog.box.net/2007/06/20/how-to-debug-php-with-vim-and-xdebug-on-linux/>.
34 IMPORTANT: In PLD Linux you need to use vim built with '+python' and
35 '+signs', which would be provided by 'vim-heavy' or 'gvim-heavy'
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_vimdatadir}/plugin
44 cp -p plugin/* $RPM_BUILD_ROOT%{_vimdatadir}/plugin
46 chmod +x $RPM_BUILD_ROOT%{_vimdatadir}/plugin/debugger.py
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %{_vimdatadir}/plugin/debugger.vim
54 %{_vimdatadir}/plugin/debugger.py