]>
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 |
372067f9 SS |
7 | major_ver = 8 |
8 | minor_ver = 0 | |
9 | patchlevel = 1184 | |
10 | version = %{major_ver}.%{minor_ver}.%{patchlevel} | |
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 | |
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 |
57 | end | |
8429d60a | 58 | |
802ea3af MT |
59 | packages |
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 | 71 | end |