%bcond_without athena # don't build Athena Widgets-based gvim
%bcond_without motif # don't build Motif-based gvim
%bcond_without gtk # don't build GTK+-based gvim support
-%bcond_with gtk3 # use GTK+ 3.x instead of 2.x
+%bcond_without gtk3 # use GTK+ 2.x instead of 3.x
%bcond_without gnome # don't build GNOME-based gvim support
%bcond_without heavy # don't build heavy (full-featured GNOME-based gvim/vim)
%bcond_without gui # don't build any GUI
%bcond_without x11 # don't build vimx (non-GUI with X11 clipboard support)
%bcond_with lua # with Lua interp in vim package
%bcond_with perl # with Perl interp in vim package
-%bcond_with python # with Python interp in vim package
+%bcond_with python # with Python 2 interp in vim package
+%bcond_with python3 # with Python 3 interp in vim package
%bcond_with ruby # with Ruby interp in vim package
%bcond_with tcl # with Tcl interp
%bcond_without selinux # without selinux support
# wget ftp://ftp.vim.org/pub/editors/vim/patches/8.0/MD5SUMS -O - | tail -n1 | awk '{print $2}'
# VCS Commits: https://github.com/vim/vim/commits/master
-%define ver 8.1.0513
+%define ver 8.2.0011
%define rel 1
Summary: Vi IMproved - a Vi clone
Summary(de.UTF-8): VIsual editor iMproved
Group: Applications/Editors/Vim
#Source0: ftp://ftp.vim.org/pub/vim/unix/%{name}-%{ver}.tar.bz2
Source0: https://github.com/vim/vim/archive/v%{ver}.tar.gz
-# Source0-md5: 563be0e2bf3428f690f4da9f309e0bc3
+# Source0-md5: 9ff52728337b4053fcf11f2a65a19296
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: bc4d1e115ca506ad7751b9bd2b773a7f
Source2: http://skawina.eu.org/mikolaj/usr_doc_pl.zip
BuildRequires: gtk+2-devel >= 2:2.6.0
%endif
%endif
+BuildRequires: libcanberra-devel
%{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1}
%if %{with selinux} || %{with heavy}
BuildRequires: libselinux-devel
%endif
%if %{with python} || %{with heavy}
BuildRequires: python-devel >= 2.3
+%endif
+%if %{with python3} || %{with heavy}
+BuildRequires: python3-devel
+%endif
+%if %{with python} || %{with python3} || %{with heavy}
BuildRequires: rpm-pythonprov
%endif
BuildRequires: rpm >= 4.4.9-56
--%{!?with_lua:dis}%{?with_lua:en}able-luainterp \
--%{!?with_perl:dis}%{?with_perl:en}able-perlinterp \
--%{!?with_python:dis}%{?with_python:en}able-pythoninterp \
+ --%{!?with_python3:dis}%{?with_python3:en}able-python3interp \
--%{!?with_ruby:dis}%{?with_ruby:en}able-rubyinterp \
--%{!?with_tcl:dis}%{?with_tcl:en}able-tclinterp \
%{!?with_selinux:--disable-selinux} \
--disable-gui \
--without-x \
--with-features=small \
+ --disable-canberra \
--disable-luainterp \
--disable-perlinterp \
--disable-pythoninterp \
--disable-tclinterp \
--disable-cscope \
--disable-gpm \
- --disable-multibyte \
+ --enable-multibyte \
--disable-nls
LDFLAGS="%{rpmldflags}"
--disable-gui \
--without-x \
--with-features=small \
+ --disable-canberra \
--disable-luainterp \
--disable-perlinterp \
--disable-pythoninterp \
build vim.ncurses \
--disable-gui \
--without-x \
+ --disable-canberra \
--with-features=huge
%if %{with x11}
build vimx \
--disable-gui \
--with-x \
+ --disable-canberra \
--with-features=huge
%endif
--enable-gui=athena \
--with-x \
--enable-fontset \
+ --disable-canberra \
--disable-gpm \
--without-gnome
--with-x \
--enable-multibyte \
--enable-fontset \
+ --disable-canberra \
--disable-gpm \
--without-gnome
--enable-gtk2-check \
%endif
--with-x \
+ --disable-canberra \
--disable-gpm
%endif
--enable-luainterp \
--enable-perlinterp \
--enable-pythoninterp \
+ --enable-python3interp \
--enable-rubyinterp \
--enable-tclinterp \
+ --disable-canberra \
--disable-gpm
build gvim.heavy \
--enable-luainterp \
--enable-perlinterp \
--enable-pythoninterp \
+ --enable-python3interp \
--enable-rubyinterp \
--enable-tclinterp \
--disable-gpm