rework configure options to remove deps on gui and canberra, restore gvim build, obsolete vim-tiny [release 9.1.0016-2mamba;Wed Jan 10 2024]
This commit is contained in:
parent
45bde9f120
commit
2490144c23
68
vim.spec
68
vim.spec
@ -2,11 +2,11 @@
|
|||||||
## *AUTOSPEC-OFF*
|
## *AUTOSPEC-OFF*
|
||||||
%define vimdir %{name}%(majversion=%majversion; echo ${majversion/\./})
|
%define vimdir %{name}%(majversion=%majversion; echo ${majversion/\./})
|
||||||
## *AUTOSPEC-ON*
|
## *AUTOSPEC-ON*
|
||||||
%define with_gvim 0
|
%define with_gvim 1
|
||||||
|
|
||||||
Name: vim
|
Name: vim
|
||||||
Version: 9.1.0016
|
Version: 9.1.0016
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: VIsual editor iMproved
|
Summary: VIsual editor iMproved
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -18,16 +18,25 @@ Source2: vimrc-skel
|
|||||||
License: Charityware
|
License: Charityware
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libICE-devel
|
||||||
|
BuildRequires: libSM-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libXt-devel
|
||||||
|
BuildRequires: libacl-devel
|
||||||
|
BuildRequires: libcairo-devel
|
||||||
BuildRequires: libcanberra-devel
|
BuildRequires: libcanberra-devel
|
||||||
|
BuildRequires: libgdk-pixbuf-devel
|
||||||
|
BuildRequires: libglib-devel
|
||||||
BuildRequires: libgpm-devel
|
BuildRequires: libgpm-devel
|
||||||
|
BuildRequires: libgtk3-devel
|
||||||
BuildRequires: libncurses-devel
|
BuildRequires: libncurses-devel
|
||||||
BuildRequires: libperl
|
BuildRequires: libpango-devel
|
||||||
BuildRequires: libruby-devel
|
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: libsodium-devel
|
BuildRequires: libsodium-devel
|
||||||
BuildRequires: libtcl-devel
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
|
Provides: vim-tiny
|
||||||
|
Obsoletes: vim-tiny <= 9.0.2190-1mamba
|
||||||
|
|
||||||
%description
|
%description
|
||||||
VIM (VIsual editor iMproved) is an updated and improved version of the vi editor.
|
VIM (VIsual editor iMproved) is an updated and improved version of the vi editor.
|
||||||
@ -93,22 +102,22 @@ src/os_unix.h
|
|||||||
|
|
||||||
#LOCALEDIR=%{localedir} \
|
#LOCALEDIR=%{localedir} \
|
||||||
%configure \
|
%configure \
|
||||||
--with-compiledby="%{packager}" \
|
|
||||||
--with-features=huge \
|
--with-features=huge \
|
||||||
|
--with-compiledby="%{_vendor}" \
|
||||||
|
--enable-gpm \
|
||||||
|
--enable-acl \
|
||||||
--with-x=yes \
|
--with-x=yes \
|
||||||
--enable-gui=gnome2 \
|
|
||||||
--enable-gtk2-check \
|
|
||||||
--enable-xim \
|
|
||||||
--enable-fontset \
|
|
||||||
--enable-nls \
|
|
||||||
--enable-perlinterp \
|
|
||||||
--enable-pythoninterp \
|
|
||||||
--enable-tclinterp \
|
|
||||||
--with-tclsh=%{_bindir}/tclsh \
|
--with-tclsh=%{_bindir}/tclsh \
|
||||||
--enable-rubyinterp \
|
--enable-gui=gtk3 \
|
||||||
|
--enable-multibyte \
|
||||||
--enable-cscope \
|
--enable-cscope \
|
||||||
--disable-acl \
|
--enable-netbeans \
|
||||||
--enable-multibyte
|
--enable-perlinterp=dynamic \
|
||||||
|
--enable-python3interp=dynamic \
|
||||||
|
--enable-rubyinterp=dynamic \
|
||||||
|
--enable-luainterp=dynamic \
|
||||||
|
--enable-tclinterp=dynamic \
|
||||||
|
--enable-canberra
|
||||||
|
|
||||||
# disable the '-g' option
|
# disable the '-g' option
|
||||||
%make &&
|
%make &&
|
||||||
@ -120,19 +129,23 @@ mv src/vim src/gvim
|
|||||||
# build vim
|
# build vim
|
||||||
#LOCALEDIR=%{localedir} \
|
#LOCALEDIR=%{localedir} \
|
||||||
%configure \
|
%configure \
|
||||||
--with-compiledby="%{packager}" \
|
--with-compiledby="%{_vendor}" \
|
||||||
--with-features=huge \
|
--with-features=huge \
|
||||||
|
--enable-gpm \
|
||||||
|
--enable-acl \
|
||||||
--with-x=no \
|
--with-x=no \
|
||||||
--enable-gui=no \
|
|
||||||
--enable-nls \
|
|
||||||
--enable-perlinterp \
|
|
||||||
--enable-pythoninterp \
|
|
||||||
--enable-tclinterp \
|
|
||||||
--enable-rubyinterp \
|
|
||||||
--with-tclsh=%{_bindir}/tclsh \
|
--with-tclsh=%{_bindir}/tclsh \
|
||||||
|
--disable-gui \
|
||||||
|
--enable-multibyte \
|
||||||
|
--enable-nls \
|
||||||
--enable-cscope \
|
--enable-cscope \
|
||||||
--disable-acl \
|
--enable-netbeans \
|
||||||
--enable-multibyte
|
--enable-perlinterp=dynamic \
|
||||||
|
--enable-python3interp=dynamic \
|
||||||
|
--enable-rubyinterp=dynamic \
|
||||||
|
--enable-luainterp=dynamic \
|
||||||
|
--enable-tclinterp=dynamic \
|
||||||
|
--disable-canberra
|
||||||
|
|
||||||
#sed -i '
|
#sed -i '
|
||||||
# s,LOCALEDIR=$(DEST_LANG),LOCALEDIR=$(DESTDIR)$(prefix)/share/locale,g' \
|
# s,LOCALEDIR=$(DEST_LANG),LOCALEDIR=$(DESTDIR)$(prefix)/share/locale,g' \
|
||||||
@ -204,6 +217,9 @@ install -m 0755 -D src/gvim %{buildroot}%{_bindir}/gvim
|
|||||||
%{_mandir}/man1/vimtutor.1*
|
%{_mandir}/man1/vimtutor.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 9.1.0016-2mamba
|
||||||
|
- rework configure options to remove deps on gui and canberra, restore gvim build, obsolete vim-tiny
|
||||||
|
|
||||||
* Tue Jan 09 2024 Automatic Build System <autodist@openmamba.org> 9.1.0016-1mamba
|
* Tue Jan 09 2024 Automatic Build System <autodist@openmamba.org> 9.1.0016-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user