]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - vim/vim.nm
elfutils: Correctly configure debuginfod
[people/pmueller/ipfire-3.x.git] / vim / vim.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = vim
7 major_ver = 8
8 minor_ver = 0
9 patchlevel = 1184
10 version = %{major_ver}.%{minor_ver}.%{patchlevel}
11 release = 1
12
13 groups = Applications/Editors
14 url = http://www.vim.org
15 license = PublicDomain/Charityware
16 summary = Very feature- and powerful editor.
17
18 description
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.
22 end
23
24 source_dl = https://github.com/vim/vim/archive/v%{version}.tar.gz#/
25
26 build
27 requires
28 libacl-devel
29 ncurses-devel
30 python3-devel
31 end
32
33 configure_options += \
34 --with-features=huge \
35 --enable-python3interp=dynamic \
36 --enable-gui=no \
37 --enable-multibyte \
38 --enable-cscope \
39 --with-tlib=ncurses \
40 --with-modified-by="<bugzilla@ipfire.org>" \
41 --with-compiled-by="<bugzilla@ipfire.org>"
42
43 configure_cmds
44 echo '#define SYS_VIMRC_FILE "%{sysconfdir}/vimrc"' >> src/feature.h
45 end
46
47 install_cmds
48 ln -sfv vim %{BUILDROOT}%{bindir}/vi
49
50 # Install configuration
51 mkdir -pv %{BUILDROOT}%{sysconfdir}
52 cp -vf %{DIR_SOURCE}/vimrc %{BUILDROOT}%{sysconfdir}/vimrc
53
54 # Remove script for c-shell
55 rm -rf %{BUILDROOT}%{datadir}/vim/vim%{major_ver}%{minor_ver}/tools/vim132
56 end
57 end
58
59 packages
60 package %{name}
61 groups += Base
62
63 configfiles
64 %{sysconfdir}/vimrc
65 end
66 end
67
68 package %{name}-debuginfo
69 template DEBUGINFO
70 end
71 end