+# TODO
+# - use upstream gvim.desktop as base for our gvim .desktop files (more translations)
+#
#
# Conditional build:
%bcond_without static # don't build static version
# Command to check for latest patch:
# wget ftp://ftp.vim.org/pub/editors/vim/patches/7.4/MD5SUMS -O sources
# tail -n1 sources | awk '{print $2}'
-# VCS Commits: https://code.google.com/p/vim/source/browse/
+# VCS Commits: https://github.com/vim/vim/commits/master
%define ver 7.4
-%define patchlevel 861
-%define rel 0.1
+%define patchlevel 922
+%define rel 1
Summary: Vi IMproved - a Vi clone
Summary(de.UTF-8): VIsual editor iMproved
Summary(es.UTF-8): Editor visual incrementado
%{__make} -j1 install \
DESTDIR=$RPM_BUILD_ROOT
+# generic gvim from upstream, but we have bunch of subpackages
+%{__rm} $RPM_BUILD_ROOT%{_desktopdir}/gvim.desktop
+
# not supported locales added by 7.3.764 or later
%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cs.cp1250
%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.sjis