Compare commits
42 Commits
7.4.1190-1
...
8.2.1634-1
Author | SHA1 | Date | |
---|---|---|---|
2998125c08 | |||
d12b447b23 | |||
a032c4b4c3 | |||
619aa8df03 | |||
9fdf4f31d3 | |||
954b41fb9f | |||
281d1f6de7 | |||
9782806a7a | |||
c98cb3346a | |||
4be3479a41 | |||
e078469e8b | |||
8419ece8d9 | |||
7a129b9826 | |||
4f6380cc6a | |||
5aa6efcc6b | |||
36fd83003f | |||
cfb6e8b044 | |||
5b9c6f8d99 | |||
c0fef610c7 | |||
7d1f823435 | |||
bc18be25c7 | |||
8763ec46ae | |||
18935e5594 | |||
bee6f7cb87 | |||
d75f49dbd2 | |||
7ddb35a5ce | |||
6776c8feb6 | |||
d1b20b2941 | |||
02bd52c89d | |||
e3b3df4910 | |||
cc6669a005 | |||
fb739c28e1 | |||
e30c599ac4 | |||
c66c95e1a6 | |||
e94754a4a9 | |||
e89c87bd5c | |||
b57f328985 | |||
e2bc5a603f | |||
a4cde6b7d4 | |||
c241b421b8 | |||
5be5254f16 | |||
5757ef352c |
@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
# by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
|
||||
VIM_VERSION=$1
|
||||
|
||||
if [ -z "$VIM_VERSION" ]; then
|
||||
echo "Usage: $0 <version>"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
rm -rf vim-$VIM_VERSION
|
||||
mkdir vim-$VIM_VERSION
|
||||
cd vim-$VIM_VERSION
|
||||
MAJVER=`echo $VIM_VERSION | cut -d. -f1-2`
|
||||
wget ftp://ftp.vim.org/pub/vim/patches/$MAJVER/$MAJVER.*
|
||||
tar -cz $MAJVER.* > ../vim-$VIM_VERSION-patchset.tar.gz
|
||||
rm -rf vim-$VIM_VERSION
|
201
vim.spec
201
vim.spec
@ -6,7 +6,7 @@
|
||||
%define with_gvim 0
|
||||
|
||||
Name: vim
|
||||
Version: 7.4.1190
|
||||
Version: 8.2.1634
|
||||
Release: 1mamba
|
||||
Summary: VIsual editor iMproved
|
||||
Group: Applications/Text
|
||||
@ -14,21 +14,22 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.vim.org/
|
||||
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{majversion}.tar.bz2
|
||||
Source: https://github.com/vim/vim.git/v%{version}/vim-%{version}.tar.bz2
|
||||
#Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{majversion}.tar.bz2
|
||||
#Source1: ftp://ftp.vim.org/pub/vim/extra/vim-%{langversion}-lang.tar.gz
|
||||
Source2: vimrc-skel
|
||||
# patches got from: ftp://ftp.vim.org/pub/vim/patches/%{majversion}
|
||||
# create full patches archive with vim-patches.sh script below
|
||||
Source3: %{name}-%{version}-patchset.tar.gz
|
||||
Source4: vim-autoupdate
|
||||
#Source3: %{name}-%{version}-patchset.tar.gz
|
||||
#Source4: vim-autoupdate
|
||||
License: Charityware
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgpm-devel
|
||||
BuildRequires: libncurses-devel
|
||||
BuildRequires: libperl
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: libtcl-devel
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: ruby-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: perl-devel >= 2:5.8.7
|
||||
@ -68,21 +69,25 @@ If you install this package, you can run VIM as an X application with a full GUI
|
||||
This package provides tutorial files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{vimdir}
|
||||
%setup -q
|
||||
|
||||
# apply big patches
|
||||
mkdir patches
|
||||
cd patches
|
||||
tar xf %{SOURCE3}
|
||||
cd ..
|
||||
ls patches/| sort -V | while read f; do
|
||||
cat patches/$f | patch -p0
|
||||
done
|
||||
## apply big patches
|
||||
#mkdir patches
|
||||
#cd patches
|
||||
#tar xf %{SOURCE3}
|
||||
#cd ..
|
||||
#ls patches/| sort -V | while read f; do
|
||||
# [ "$f" = "8.0.0001" -o "$f" = "8.0.0002" -o "$f" = "8.0.0014" ] && {
|
||||
# cat patches/$f | patch -p0 -f || true
|
||||
# continue
|
||||
# }
|
||||
# cat patches/$f | patch -p0
|
||||
#done
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
|
||||
# Find requires modified
|
||||
%define __find_requires %{_builddir}/%{vimdir}/find_requires.sh
|
||||
%define __find_requires %{_builddir}/%{name}-%{version}/find_requires.sh
|
||||
|
||||
# Find requires will ignore datadir files to avoid a wrong /bin/csh requirement
|
||||
cat > find_requires.sh << _EOF
|
||||
@ -168,36 +173,24 @@ install -m 0644 -D %{S:2} %{buildroot}/root/.vimrc
|
||||
install -m 0755 -D src/gvim %{buildroot}%{_bindir}/gvim
|
||||
%endif
|
||||
|
||||
#%find_lang %{name}
|
||||
%find_lang %{name} --with-man --all-name
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%{_datadir}/vim/%{vimdir}/*.vim
|
||||
%{_datadir}/vim/%{vimdir}/autoload
|
||||
%{_datadir}/vim/%{vimdir}/colors
|
||||
%{_datadir}/vim/%{vimdir}/compiler
|
||||
%{_datadir}/vim/%{vimdir}/ftplugin
|
||||
%{_datadir}/vim/%{vimdir}/indent
|
||||
%{_datadir}/vim/%{vimdir}/keymap
|
||||
%{_datadir}/vim/%{vimdir}/lang
|
||||
%{_datadir}/vim/%{vimdir}/macros
|
||||
%{_datadir}/vim/%{vimdir}/plugin
|
||||
%{_datadir}/vim/%{vimdir}/print
|
||||
%{_datadir}/vim/%{vimdir}/spell
|
||||
%{_datadir}/vim/%{vimdir}/syntax
|
||||
%{_datadir}/vim/%{vimdir}/tools
|
||||
%{_sysconfdir}/skel/.vimrc
|
||||
%{_bindir}/*
|
||||
%{_datadir}/applications/gvim.desktop
|
||||
%{_datadir}/applications/vim.desktop
|
||||
%dir %{_datadir}/vim/%{vimdir}
|
||||
%{_datadir}/vim/%{vimdir}/*
|
||||
%exclude %{_datadir}/vim/%{vimdir}/doc
|
||||
%exclude %{_datadir}/vim/%{vimdir}/tutor
|
||||
%{_datadir}/icons/locolor/*/apps/gvim.png
|
||||
%{_datadir}/icons/hicolor/*/apps/gvim.png
|
||||
%{_mandir}/man1/*
|
||||
%lang(fr) %{_mandir}/fr*/man1/
|
||||
%lang(it) %{_mandir}/it*/man1/
|
||||
%lang(ja) %{_mandir}/ja/man1/
|
||||
%lang(it) %{_mandir}/it*/man1/
|
||||
%lang(pl) %{_mandir}/pl*/man1/
|
||||
%lang(ru) %{_mandir}/ru*/man1/
|
||||
%if %{with_gvim}
|
||||
%{_bindir}/gvim
|
||||
%endif
|
||||
@ -212,6 +205,138 @@ install -m 0755 -D src/gvim %{buildroot}%{_bindir}/gvim
|
||||
%{_datadir}/vim/%{vimdir}/tutor
|
||||
|
||||
%changelog
|
||||
* Tue Sep 08 2020 Automatic Build System <autodist@mambasoft.it> 8.2.1634-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Sep 04 2020 Automatic Build System <autodist@mambasoft.it> 8.2.1584-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Aug 30 2020 Automatic Build System <autodist@mambasoft.it> 8.2.1537-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Aug 29 2020 Automatic Build System <autodist@mambasoft.it> 8.2.1523-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Aug 25 2020 Automatic Build System <autodist@mambasoft.it> 8.2.1522-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun May 24 2020 Automatic Build System <autodist@mambasoft.it> 8.2.0814-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat May 09 2020 Automatic Build System <autodist@mambasoft.it> 8.2.0717-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Apr 05 2020 Automatic Build System <autodist@mambasoft.it> 8.2.0510-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Mar 02 2020 Automatic Build System <autodist@mambasoft.it> 8.2.0343-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Jan 27 2020 Automatic Build System <autodist@mambasoft.it> 8.2.0148-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Jan 08 2020 Automatic Build System <autodist@mambasoft.it> 8.2.0100-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jan 03 2020 Automatic Build System <autodist@mambasoft.it> 8.2.0033-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Nov 08 2019 Automatic Build System <autodist@mambasoft.it> 8.1.2268-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Sep 30 2019 Automatic Build System <autodist@mambasoft.it> 8.1.2102-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Sep 11 2019 Automatic Build System <autodist@mambasoft.it> 8.1.1968-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Aug 22 2019 Automatic Build System <autodist@mambasoft.it> 8.1.1906-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jul 30 2019 Automatic Build System <autodist@mambasoft.it> 8.1.1776-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jul 05 2019 Automatic Build System <autodist@mambasoft.it> 8.1.1635-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Jul 03 2019 Automatic Build System <autodist@mambasoft.it> 8.1.1616-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Jul 03 2019 Automatic Build System <autodist@mambasoft.it> 8.1.1614-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jun 06 2019 Automatic Build System <autodist@mambasoft.it> 8.1.1467-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Apr 27 2019 Automatic Build System <autodist@mambasoft.it> 8.1.1186-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Mar 31 2019 Automatic Build System <autodist@mambasoft.it> 8.1.1073-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Mar 07 2019 Automatic Build System <autodist@mambasoft.it> 8.1.0996-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Feb 10 2019 Automatic Build System <autodist@mambasoft.it> 8.1.0877-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jan 17 2019 Automatic Build System <autodist@mambasoft.it> 8.1.0751-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Dec 08 2018 Automatic Build System <autodist@mambasoft.it> 8.1.0570-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Nov 23 2018 Automatic Build System <autodist@mambasoft.it> 8.1.0542-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Nov 17 2018 Automatic Build System <autodist@mambasoft.it> 8.1.0527-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Oct 15 2018 Automatic Build System <autodist@mambasoft.it> 8.1.0470-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Sep 13 2018 Automatic Build System <autodist@mambasoft.it> 8.1.0374-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Sep 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 8.1.0354-1mamba
|
||||
- update to 8.1.0354
|
||||
|
||||
* Sat Jan 28 2017 Automatic Build System <autodist@mambasoft.it> 8.0.0237-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Nov 17 2016 Automatic Build System <autodist@mambasoft.it> 8.0.0086-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Oct 31 2016 Automatic Build System <autodist@mambasoft.it> 8.0.0055-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Oct 24 2016 Automatic Build System <autodist@mambasoft.it> 8.0.0046-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Oct 04 2016 Automatic Build System <autodist@mambasoft.it> 8.0.0013-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Sep 24 2016 Automatic Build System <autodist@mambasoft.it> 8.0.0005-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Sep 17 2016 Automatic Build System <autodist@mambasoft.it> 8.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Aug 08 2016 Automatic Build System <autodist@mambasoft.it> 7.4.2143-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jun 10 2016 Automatic Build System <autodist@mambasoft.it> 7.4.1910-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Jun 04 2016 Automatic Build System <autodist@mambasoft.it> 7.4.1797-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Feb 25 2016 Automatic Build System <autodist@mambasoft.it> 7.4.1386-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Feb 11 2016 Automatic Build System <autodist@mambasoft.it> 7.4.1294-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jan 29 2016 Automatic Build System <autodist@mambasoft.it> 7.4.1190-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Reference in New Issue
Block a user