%global vimfiles_root %{_datadir}/vim/vimfiles Name: vim-nerdtree Version: 4.2.0 Release: 2%{?dist} Summary: A tree explorer plugin that owns your momma License: WTFPL URL: http://www.vim.org/scripts/script.php?script_id=1658 Source0: https://github.com/scrooloose/nerdtree/tarball/%{version} Requires: vim-common BuildArch: noarch %description The NERD tree allows you to explore your filesystem and to open files and directories. It presents the filesystem to you in the form of a tree which you manipulate with the keyboard and/or mouse. It also allows you to perform simple filesystem operations. %prep %setup -q -n scrooloose-nerdtree-205367a %build %install mkdir -p %{buildroot}%{vimfiles_root} cp -ar {doc,nerdtree_plugin,plugin,syntax} %{buildroot}%{vimfiles_root} %files %doc README.markdown %doc %{vimfiles_root}/doc/* %{vimfiles_root}/nerdtree_plugin/ %{vimfiles_root}/plugin/* %{vimfiles_root}/syntax/* %changelog * Wed Jan 25 2012 Bohuslav Kabrda - 4.2.0-2 - Fixed issues from the review request (RHBZ #784021). * Tue Jan 24 2012 Bohuslav Kabrda - 4.2.0-1 - Initial package.