X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=vim.spec;h=b2bdfd640d243de0a2615063c93219cc0536744a;hb=01f1b8e42a3ab0b17060a205690f182fc89f2245;hp=16d39c9df5682d2b0ae16aa773ef144d0e36fc73;hpb=4e453333239436825acca6980232d950c2abda03;p=packages%2Fvim.git diff --git a/vim.spec b/vim.spec index 16d39c9..b2bdfd6 100644 --- a/vim.spec +++ b/vim.spec @@ -4,7 +4,7 @@ %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 @@ -29,7 +29,7 @@ # 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.0.1173 +%define ver 8.1.2352 %define rel 2 Summary: Vi IMproved - a Vi clone Summary(de.UTF-8): VIsual editor iMproved @@ -50,7 +50,7 @@ License: Charityware 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: 68385a625d161e979df809c30b4ae6c0 +# Source0-md5: 92ca078a1472b7d7875a4eba35ee4a50 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 @@ -137,6 +137,7 @@ BuildRequires: gtk+3-devel >= 3.0 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 @@ -869,6 +870,7 @@ build vim.static \ --disable-gui \ --without-x \ --with-features=small \ + --disable-canberra \ --disable-luainterp \ --disable-perlinterp \ --disable-pythoninterp \ @@ -876,7 +878,7 @@ build vim.static \ --disable-tclinterp \ --disable-cscope \ --disable-gpm \ - --disable-multibyte \ + --enable-multibyte \ --disable-nls LDFLAGS="%{rpmldflags}" @@ -887,6 +889,7 @@ build vim.light \ --disable-gui \ --without-x \ --with-features=small \ + --disable-canberra \ --disable-luainterp \ --disable-perlinterp \ --disable-pythoninterp \ @@ -900,12 +903,14 @@ build vim.light \ 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 @@ -915,6 +920,7 @@ build gvim.athena \ --enable-gui=athena \ --with-x \ --enable-fontset \ + --disable-canberra \ --disable-gpm \ --without-gnome @@ -927,6 +933,7 @@ build gvim.motif \ --with-x \ --enable-multibyte \ --enable-fontset \ + --disable-canberra \ --disable-gpm \ --without-gnome @@ -943,6 +950,7 @@ build gvim.gtk \ --enable-gtk2-check \ %endif --with-x \ + --disable-canberra \ --disable-gpm %endif @@ -969,6 +977,7 @@ build vim.heavy \ --enable-pythoninterp \ --enable-rubyinterp \ --enable-tclinterp \ + --disable-canberra \ --disable-gpm build gvim.heavy \ @@ -1271,6 +1280,8 @@ rm -rf $RPM_BUILD_ROOT %dir %{_datadir}/vim/autoload %{_datadir}/vim/autoload/*complete.vim %doc %{_datadir}/vim/autoload/README.txt +%dir %{_datadir}/vim/autoload/dist +%{_datadir}/vim/autoload/dist/ft.vim %dir %{_datadir}/vim/ftdetect @@ -1299,6 +1310,8 @@ rm -rf $RPM_BUILD_ROOT %dir %{_datadir}/vim/colors %doc %{_datadir}/vim/colors/README.txt %{_datadir}/vim/colors/*.vim +%dir %{_datadir}/vim/colors/tools +%{_datadir}/vim/colors/tools/check_colors.vim %dir %{_datadir}/vim/lang %doc %{_datadir}/vim/lang/README* @@ -1430,7 +1443,6 @@ rm -rf $RPM_BUILD_ROOT %lang(ja) %{_datadir}/vim/tutor/tutor.ja.utf-8 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.euc %lang(ko) %{_datadir}/vim/tutor/tutor.ko.utf-8 -%lang(lv) %{_datadir}/vim/tutor/tutor.lv %lang(nl) %{_datadir}/vim/tutor/tutor.nl %lang(nl) %{_datadir}/vim/tutor/tutor.nl.utf-8 %lang(nb) %{_datadir}/vim/tutor/tutor.nb