]> git.pld-linux.org Git - packages/vim.git/commitdiff
- fixed vim-ispell vim-6_1_057-3
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 10 May 2002 22:07:39 +0000 (22:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- build -static first then restore LDFLAGS; now vim can be built without any GUI
- release 3

Changed files:
    vim.spec -> 1.120

vim.spec

index 0c851b3d2a1c17a4fb766a9683f282488025b073..a35a70b0e18c3c50756b4ed1946561f90ae9de81 100644 (file)
--- a/vim.spec
+++ b/vim.spec
@@ -1,11 +1,10 @@
 #
 # Conditional build:
 # _without_static      - without static version
-# _without_athena      - without Athena Widgets-based gvim. DOESN'T WORK.
+# _without_athena      - without Athena Widgets-based gvim
 # _without_motif       - without Motif-based gvim
 # _without_gtk         - without gtk+-based gvim support
 # _without_gnome       - without gnome-based gvim support
-# _with_ispell         - with spell checking (non-standard feature; disables RIGHTLEFT and FKMAP)
 # _with_perl           - with perl interp
 # _with_python         - with python interp
 # _with_ruby           - with ruby interp
@@ -25,7 +24,7 @@ Summary(tr):  Geli
 Summary(uk):   Visual editor IMproved - ´ÄÉÎÏ ÷¦ÒÎÉÊ òÅÄÁËÔÏÒ :)
 Name:          vim
 Version:       %{_ver}.%{_patchlevel}
-Release:       2
+Release:       3
 Epoch:         4
 License:       Charityware
 Group:         Applications/Editors/Vim
@@ -224,8 +223,8 @@ Requires:   %{name}-rt = %{version}
 Text editor similar to Vi. This version is built with ispell support.
 
 %description ispell -l pl
-Edytor tekstu podobny do Vi. Ta wersja zosta³a skompilowana ze wsparciem
-dla ispella.
+Edytor tekstu podobny do Vi. Ta wersja zosta³a skompilowana ze
+wsparciem dla ispella.
 
 %package rt
 Summary:       Vim runtime files
@@ -443,6 +442,29 @@ cd src
 autoconf
 # needed to prevent deconfiguring
 cp -f configure auto
+
+%if %{!?_without_static:1}%{?_without_static:0}
+%{__make} distclean
+LDFLAGS="%{rpmldflags} -static"
+%configure \
+       --disable-gui \
+       --without-x \
+       --disable-perlinterp \
+       --disable-pythoninterp \
+       --disable-rubyinterp \
+       --disable-tclinterp \
+       --disable-cscope \
+       --disable-gpm \
+       --disable-multibyte \
+       --with-features=small \
+       --with-tlib=tinfo \
+       --disable-nls
+
+%{__make} SPELL_OBJ= vim
+mv -f vim vim.static
+LDFLAGS="%{rpmldflags}"
+%endif
+
 %configure \
        --disable-gui \
        --without-x \
@@ -486,32 +508,9 @@ mv -f vim vim.ncurses
 
 %{__make} vim
 mv -f vim vim.ispell
-%{__make} xxd/xxd
-
-%if %{!?_without_static:1}%{?_without_static:0}
-%{__make} distclean
-LDFLAGS="%{rpmldflags} -static"
-%configure \
-       --disable-gui \
-       --without-x \
-       --disable-perlinterp \
-       --disable-pythoninterp \
-       --disable-rubyinterp \
-       --disable-tclinterp \
-       --disable-cscope \
-       --disable-gpm \
-       --disable-multibyte \
-       --with-features=small \
-       --with-tlib=tinfo \
-       --disable-nls
-
-%{__make} SPELL_OBJ= vim
-mv -f vim vim.static
-%endif
 
 %if %{!?_without_athena:1}%{?_without_athena:0}
 %{__make} distclean
-LDFLAGS="%{rpmldflags}"
 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
        --with-features=huge \
        --enable-gui=athena \
This page took 0.068844 seconds and 4 git commands to generate.