]> git.ipfire.org Git - ipfire-3.x.git/blame - vim/vim.nm
git: Update to 2.23.0
[ipfire-3.x.git] / vim / vim.nm
CommitLineData
52ac63ac 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
52ac63ac
MT
4###############################################################################
5
802ea3af 6name = vim
372067f9
SS
7major_ver = 8
8minor_ver = 0
9patchlevel = 1184
10version = %{major_ver}.%{minor_ver}.%{patchlevel}
11release = 1
52ac63ac 12
a5b6959d 13groups = Applications/Editors
802ea3af
MT
14url = http://www.vim.org
15license = PublicDomain/Charityware
16summary = Very feature- and powerful editor.
52ac63ac 17
802ea3af 18description
e240a306
SS
19 Vim is a highly configurable text editor built to enable efficient
20 text editing. It is an improved version of the vi editor
802ea3af
MT
21 distributed with most UNIX systems.
22end
23
372067f9 24source_dl = https://github.com/vim/vim/archive/v%{version}.tar.gz#/
52ac63ac 25
802ea3af
MT
26build
27 requires
28 libacl-devel
802ea3af 29 ncurses-devel
372067f9 30 python3-devel
802ea3af 31 end
52ac63ac 32
802ea3af 33 configure_options += \
c6060300 34 --with-features=huge \
372067f9 35 --enable-python3interp=dynamic \
c6060300 36 --enable-gui=no \
802ea3af 37 --enable-multibyte \
c6060300 38 --enable-cscope \
c6060300
MT
39 --with-tlib=ncurses \
40 --with-modified-by="<bugzilla@ipfire.org>" \
41 --with-compiled-by="<bugzilla@ipfire.org>"
52ac63ac 42
802ea3af 43 configure_cmds
e240a306 44 echo '#define SYS_VIMRC_FILE "%{sysconfdir}/vimrc"' >> src/feature.h
802ea3af 45 end
52ac63ac 46
802ea3af 47 install_cmds
e240a306 48 ln -sfv vim %{BUILDROOT}%{bindir}/vi
52ac63ac 49
802ea3af 50 # Install configuration
e240a306
SS
51 mkdir -pv %{BUILDROOT}%{sysconfdir}
52 cp -vf %{DIR_SOURCE}/vimrc %{BUILDROOT}%{sysconfdir}/vimrc
52ac63ac 53
802ea3af 54 # Remove script for c-shell
372067f9 55 rm -rf %{BUILDROOT}%{datadir}/vim/vim%{major_ver}%{minor_ver}/tools/vim132
802ea3af
MT
56 end
57end
8429d60a 58
802ea3af
MT
59packages
60 package %{name}
a5b6959d 61 groups += Base
e240a306
SS
62
63 configfiles
97b3adee 64 %{sysconfdir}/vimrc
e240a306 65 end
802ea3af 66 end
1f9bc2f0
MT
67
68 package %{name}-debuginfo
69 template DEBUGINFO
70 end
802ea3af 71end