# VCS Commits: https://code.google.com/p/vim/source/browse/
%define ver 7.4
-%define patchlevel 206
-%define rel 1
+%define patchlevel 861
+%define rel 0.1
Summary: Vi IMproved - a Vi clone
Summary(de.UTF-8): VIsual editor iMproved
Summary(es.UTF-8): Editor visual incrementado
Patch13: 013_all_%{name}-7.0-cron-vars-79981.patch
Patch14: 020_all_%{name}-7.0-fstab-tmpfs-size.patch
Patch15: 021_all_%{name}-7.0-fstab-bogus-errors.patch
-Patch16: 024_all_%{name}-6.3-bash-83565.patch
Patch17: 027_all_%{name}-7.0-automake-substitutions-93378.patch
Patch18: %{name}-smarty.patch
Patch19: %{name}-tutor-lessdeps.patch
Patch28: %{name}-ft-cron.patch
Patch29: %{name}-phpscript.patch
Patch30: %{name}-pam.patch
-Patch31: %{name}-ft-bash.patch
Patch32: %{name}-localedir.patch
Patch33: %{name}-locales.patch
Patch34: %{name}-rtdir.patch
URL: http://www.vim.org/
BuildRequires: acl-devel
BuildRequires: autoconf
-BuildRequires: gettext-devel
BuildRequires: gpm-devel
%if "%{pld_release}" == "ac"
%{?with_athena:BuildRequires: XFree86-devel}
+BuildRequires: gettext-devel
%else
+BuildRequires: gettext-tools
%{?with_athena:BuildRequires: xorg-lib-libXaw-devel}
%endif
%if %{with gtk} || %{with heavy}
%endif
%if %{with python} || %{with heavy}
BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
%endif
BuildRequires: rpm >= 4.4.9-56
BuildRequires: rpmbuild(macros) >= 1.426
%setup -q -n %{name}74
# official patches
-%patchset_patch 1 %{patchlevel}
+# patches 7.4.802, 7.4.809 do not apply
+# 7.4.802 does not apply and 7.4.809 attempts to revert 7.4.802
+%patchset_patch 1 801
+%patchset_patch 803 808
+%patchset_patch 810 %{patchlevel}
%patch0 -p1
%patch1 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
-%patch16 -p0
%patch17 -p0
%patch18 -p1
%patch19 -p1
%patch28 -p1
%patch29 -p1
%patch30 -p1
-%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
--with-tlib="ncursesw"
%endif
- %{__make} distclean
+ %{__make} -j1 distclean
# add common options, can override (disable) if needed with args
%configure \
--%{!?with_perl:dis}%{?with_perl:en}able-perlinterp \
%dir %{_datadir}/vim
%dir %{_datadir}/vim/doc
+%verify(not md5 mtime size) %{_datadir}/vim/doc/tags
+%lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/doc/tags-pl
+%verify(not md5 mtime size) %{_datadir}/vim/vimfiles/doc/tags
%dir %{_datadir}/vim/vimfiles
%dir %{_datadir}/vim/vimfiles/doc
%dir %{_datadir}/vim/vimfiles/plugin
%dir %{_datadir}/vim/vimfiles/spell
%dir %{_datadir}/vim/vimfiles/syntax
-%verify(not md5 mtime size) %{_datadir}/vim/vimfiles/doc/tags
%{_datadir}/vim/*.vim
%defattr(644,root,root,755)
# English
%{_datadir}/vim/doc/*.txt.gz
-%verify(not md5 mtime size) %{_datadir}/vim/doc/tags
# Polish
%lang(pl) %{_datadir}/vim/doc/*.plx.gz
-%lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/doc/tags-pl
%files tutor
%defattr(644,root,root,755)