]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - vim/vim.nm
libpng: Update to 1.6.10.
[people/ms/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 version = 7.3
8 release = 5
9
10 groups = Applications/Editors
11 url = http://www.vim.org
12 license = PublicDomain/Charityware
13 summary = Very feature- and powerful editor.
14
15 description
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.
19 end
20
21 source_dl = ftp://ftp.vim.org/pub/vim/unix/
22 sources = %{thisapp}.tar.bz2
23
24
25 build
26 DIR_APP = %{DIR_SRC}/%{name}73
27
28 requires
29 libacl-devel
30 libselinux-devel
31 ncurses-devel
32 python-devel
33 end
34
35 configure_options += \
36 --with-features=huge \
37 --enable-pythoninterp \
38 --enable-gui=no \
39 --enable-multibyte \
40 --enable-cscope \
41 --enable-selinux \
42 --with-tlib=ncurses \
43 --with-modified-by="<bugzilla@ipfire.org>" \
44 --with-compiled-by="<bugzilla@ipfire.org>"
45
46 configure_cmds
47 echo '#define SYS_VIMRC_FILE "%{sysconfdir}/vimrc"' >> src/feature.h
48 end
49
50 install_cmds
51 ln -sfv vim %{BUILDROOT}%{bindir}/vi
52
53 # Install configuration
54 mkdir -pv %{BUILDROOT}%{sysconfdir}
55 cp -vf %{DIR_SOURCE}/vimrc %{BUILDROOT}%{sysconfdir}/vimrc
56
57 # Remove script for c-shell
58 rm -rf %{BUILDROOT}%{datadir}/vim/vim73/tools/vim132
59 end
60 end
61
62 packages
63 package %{name}
64 groups += Base
65
66 configfiles
67 %{sysconfdir}/vimrc
68 end
69 end
70
71 package %{name}-debuginfo
72 template DEBUGINFO
73 end
74 end