|
|
|
|
@ -24,7 +24,7 @@
|
|
|
|
|
# package versions |
|
|
|
|
%define V_vl 7.3 |
|
|
|
|
%define V_vs 73 |
|
|
|
|
%define V_pl 0 |
|
|
|
|
%define V_pl 2 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: vim |
|
|
|
|
@ -37,7 +37,7 @@ Class: CORE
|
|
|
|
|
Group: Editor |
|
|
|
|
License: Charityware |
|
|
|
|
Version: %{V_vl}.%{V_pl} |
|
|
|
|
Release: 20100816 |
|
|
|
|
Release: 20100817 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_x11 no |
|
|
|
|
@ -53,6 +53,8 @@ Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{V_vl}.tar.bz2
|
|
|
|
|
Source2: rc.vim |
|
|
|
|
Source3: vimrc |
|
|
|
|
Patch0: vim.patch |
|
|
|
|
Patch101: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.001 |
|
|
|
|
Patch102: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.002 |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101, ncurses |
|
|
|
|
@ -111,12 +113,12 @@ PreReq: ruby
|
|
|
|
|
# done |
|
|
|
|
|
|
|
|
|
# apply remaining single patches |
|
|
|
|
# i=0 |
|
|
|
|
# while [ $i -le %{V_pl} ]; do |
|
|
|
|
# cat $RPM_SOURCE_DIR/%{V_vl}.`echo $i | awk '{ printf("%03d", $0); }'` |\ |
|
|
|
|
# %{l_patch} -p0 -E -t -s >/dev/null 2>&1 || true |
|
|
|
|
# i=`expr $i + 1` |
|
|
|
|
# done |
|
|
|
|
i=1 |
|
|
|
|
while [ $i -le %{V_pl} ]; do |
|
|
|
|
cat $RPM_SOURCE_DIR/%{V_vl}.`echo $i | awk '{ printf("%03d", $0); }'` |\ |
|
|
|
|
%{l_patch} -p0 -E -t -s >/dev/null 2>&1 || true |
|
|
|
|
i=`expr $i + 1` |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
# adjust introduction text for OpenPKG branding |
|
|
|
|
%{l_shtool} subst \ |
|
|
|
|
|