]> git.ipfire.org Git - ipfire-3.x.git/blame - vim/vim.nm
Add a -debuginfo for every package that is not noarch.
[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
MT
6name = vim
7version = 7.3
8release = 1
52ac63ac 9
802ea3af
MT
10groups = Base Applications/Editors
11url = http://www.vim.org
12license = PublicDomain/Charityware
13summary = Very feature- and powerful editor.
52ac63ac 14
802ea3af 15description
52ac63ac
MT
16 Vim is a highly configurable text editor built to enable efficient \
17 text editing. It is an improved version of the vi editor \
802ea3af
MT
18 distributed with most UNIX systems.
19end
20
21source_dl = ftp://ftp.vim.org/pub/vim/unix/
22sources = %{thisapp}.tar.bz2
23
24DIR_APP = %{DIR_SRC}/%{name}73
52ac63ac 25
802ea3af
MT
26build
27 requires
28 libacl-devel
29 libselinux-devel
30 ncurses-devel
31 end
52ac63ac 32
802ea3af
MT
33 configure_options += \
34 --enable-multibyte \
35 --enable-selinux
52ac63ac 36
802ea3af
MT
37 configure_cmds
38 echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
39 end
52ac63ac 40
802ea3af
MT
41 install_cmds
42 ln -sfv vim %{BUILDROOT}/usr/bin/vi
52ac63ac 43
802ea3af
MT
44 # Install configuration
45 mkdir -pv %{BUILDROOT}/etc
46 cp -vf %{DIR_SOURCE}/vimrc %{BUILDROOT}/etc/vimrc
52ac63ac 47
802ea3af
MT
48 # Remove script for c-shell
49 rm -rf %{BUILDROOT}/usr/share/vim/vim73/tools/vim132
50 end
51end
8429d60a 52
802ea3af
MT
53packages
54 package %{name}
55 end
1f9bc2f0
MT
56
57 package %{name}-debuginfo
58 template DEBUGINFO
59 end
802ea3af 60end