]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = vim |
280ddb29 | 7 | major_ver = 9 |
372067f9 | 8 | minor_ver = 0 |
88201f26 | 9 | patchlevel = 2134 |
372067f9 | 10 | version = %{major_ver}.%{minor_ver}.%{patchlevel} |
280ddb29 | 11 | release = 1 |
52ac63ac | 12 | |
a5b6959d | 13 | groups = Applications/Editors |
802ea3af MT |
14 | url = http://www.vim.org |
15 | license = PublicDomain/Charityware | |
16 | summary = Very feature- and powerful editor. | |
52ac63ac | 17 | |
802ea3af | 18 | description |
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. |
22 | end | |
23 | ||
372067f9 | 24 | source_dl = https://github.com/vim/vim/archive/v%{version}.tar.gz#/ |
52ac63ac | 25 | |
802ea3af MT |
26 | build |
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 | |
268c12c9 SS |
47 | make_install_targets += \ |
48 | STRIP=/usr/bin/true | |
49 | ||
802ea3af | 50 | install_cmds |
e240a306 | 51 | ln -sfv vim %{BUILDROOT}%{bindir}/vi |
52ac63ac | 52 | |
802ea3af | 53 | # Install configuration |
e240a306 SS |
54 | mkdir -pv %{BUILDROOT}%{sysconfdir} |
55 | cp -vf %{DIR_SOURCE}/vimrc %{BUILDROOT}%{sysconfdir}/vimrc | |
52ac63ac | 56 | |
802ea3af | 57 | # Remove script for c-shell |
372067f9 | 58 | rm -rf %{BUILDROOT}%{datadir}/vim/vim%{major_ver}%{minor_ver}/tools/vim132 |
802ea3af MT |
59 | end |
60 | end | |
8429d60a | 61 | |
802ea3af MT |
62 | packages |
63 | package %{name} | |
a5b6959d | 64 | groups += Base |
e240a306 SS |
65 | |
66 | configfiles | |
97b3adee | 67 | %{sysconfdir}/vimrc |
e240a306 | 68 | end |
802ea3af | 69 | end |
1f9bc2f0 MT |
70 | |
71 | package %{name}-debuginfo | |
72 | template DEBUGINFO | |
73 | end | |
802ea3af | 74 | end |