1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Applications/Editors
11 url = http://www.vim.org
12 license = PublicDomain/Charityware
13 summary = Very feature- and powerful editor.
16 Vim is a highly configurable text editor built to enable efficient
17 text editing. It is an improved version of the vi editor
18 distributed with most UNIX systems.
21 source_dl = ftp://ftp.vim.org/pub/vim/unix/
22 sources = %{thisapp}.tar.bz2
26 DIR_APP = %{DIR_SRC}/%{name}73
35 configure_options += \
36 --with-features=huge \
37 --enable-pythoninterp \
43 --with-modified-by="<bugzilla@ipfire.org>" \
44 --with-compiled-by="<bugzilla@ipfire.org>"
47 echo '#define SYS_VIMRC_FILE "%{sysconfdir}/vimrc"' >> src/feature.h
51 ln -sfv vim %{BUILDROOT}%{bindir}/vi
53 # Install configuration
54 mkdir -pv %{BUILDROOT}%{sysconfdir}
55 cp -vf %{DIR_SOURCE}/vimrc %{BUILDROOT}%{sysconfdir}/vimrc
57 # Remove script for c-shell
58 rm -rf %{BUILDROOT}%{datadir}/vim/vim73/tools/vim132
71 package %{name}-debuginfo