1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 version = %{major_ver}.%{minor_ver}.%{patchlevel}
13 groups = Applications/Editors
14 url = http://www.vim.org
15 license = PublicDomain/Charityware
16 summary = Very feature- and powerful editor.
19 Vim is a highly configurable text editor built to enable efficient
20 text editing. It is an improved version of the vi editor
21 distributed with most UNIX systems.
24 source_dl = https://github.com/vim/vim/archive/v%{version}.tar.gz#/
33 configure_options += \
34 --with-features=huge \
35 --enable-python3interp=dynamic \
40 --with-modified-by="<bugzilla@ipfire.org>" \
41 --with-compiled-by="<bugzilla@ipfire.org>"
44 echo '#define SYS_VIMRC_FILE "%{sysconfdir}/vimrc"' >> src/feature.h
48 ln -sfv vim %{BUILDROOT}%{bindir}/vi
50 # Install configuration
51 mkdir -pv %{BUILDROOT}%{sysconfdir}
52 cp -vf %{DIR_SOURCE}/vimrc %{BUILDROOT}%{sysconfdir}/vimrc
54 # Remove script for c-shell
55 rm -rf %{BUILDROOT}%{datadir}/vim/vim%{major_ver}%{minor_ver}/tools/vim132
68 package %{name}-debuginfo