Compare commits

...

42 Commits

Author SHA1 Message Date
2998125c08 automatic version update by autodist [release 8.2.1634-1mamba;Tue Sep 08 2020] 2024-01-05 18:56:54 +01:00
d12b447b23 automatic version update by autodist [release 8.2.1584-1mamba;Fri Sep 04 2020] 2024-01-05 18:56:54 +01:00
a032c4b4c3 automatic version update by autodist [release 8.2.1537-1mamba;Sun Aug 30 2020] 2024-01-05 18:56:54 +01:00
619aa8df03 automatic version update by autodist [release 8.2.1523-1mamba;Sat Aug 29 2020] 2024-01-05 18:56:54 +01:00
9fdf4f31d3 automatic version update by autodist [release 8.2.1522-1mamba;Tue Aug 25 2020] 2024-01-05 18:56:54 +01:00
954b41fb9f automatic version update by autodist [release 8.2.0814-1mamba;Sun May 24 2020] 2024-01-05 18:56:54 +01:00
281d1f6de7 automatic version update by autodist [release 8.2.0717-1mamba;Sat May 09 2020] 2024-01-05 18:56:54 +01:00
9782806a7a automatic version update by autodist [release 8.2.0510-1mamba;Sun Apr 05 2020] 2024-01-05 18:56:54 +01:00
c98cb3346a automatic version update by autodist [release 8.2.0343-1mamba;Mon Mar 02 2020] 2024-01-05 18:56:54 +01:00
4be3479a41 automatic version update by autodist [release 8.2.0148-1mamba;Mon Jan 27 2020] 2024-01-05 18:56:54 +01:00
e078469e8b automatic version update by autodist [release 8.2.0100-1mamba;Wed Jan 08 2020] 2024-01-05 18:56:54 +01:00
8419ece8d9 automatic version update by autodist [release 8.2.0033-1mamba;Fri Jan 03 2020] 2024-01-05 18:56:54 +01:00
7a129b9826 automatic version update by autodist [release 8.1.2268-1mamba;Fri Nov 08 2019] 2024-01-05 18:56:54 +01:00
4f6380cc6a automatic version update by autodist [release 8.1.2102-1mamba;Mon Sep 30 2019] 2024-01-05 18:56:54 +01:00
5aa6efcc6b automatic version update by autodist [release 8.1.1968-1mamba;Wed Sep 11 2019] 2024-01-05 18:56:54 +01:00
36fd83003f automatic version update by autodist [release 8.1.1906-1mamba;Thu Aug 22 2019] 2024-01-05 18:56:54 +01:00
cfb6e8b044 automatic version update by autodist [release 8.1.1776-1mamba;Tue Jul 30 2019] 2024-01-05 18:56:54 +01:00
5b9c6f8d99 automatic version update by autodist [release 8.1.1635-1mamba;Fri Jul 05 2019] 2024-01-05 18:56:54 +01:00
c0fef610c7 automatic version update by autodist [release 8.1.1467-1mamba;Thu Jun 06 2019] 2024-01-05 18:56:54 +01:00
7d1f823435 automatic version update by autodist [release 8.1.1186-1mamba;Sat Apr 27 2019] 2024-01-05 18:56:53 +01:00
bc18be25c7 automatic version update by autodist [release 8.1.1073-1mamba;Sun Mar 31 2019] 2024-01-05 18:56:53 +01:00
8763ec46ae automatic version update by autodist [release 8.1.0996-1mamba;Thu Mar 07 2019] 2024-01-05 18:56:53 +01:00
18935e5594 automatic version update by autodist [release 8.1.0877-1mamba;Sun Feb 10 2019] 2024-01-05 18:56:53 +01:00
bee6f7cb87 automatic version update by autodist [release 8.1.0751-1mamba;Thu Jan 17 2019] 2024-01-05 18:56:53 +01:00
d75f49dbd2 automatic version update by autodist [release 8.1.0570-1mamba;Sat Dec 08 2018] 2024-01-05 18:56:53 +01:00
7ddb35a5ce automatic version update by autodist [release 8.1.0542-1mamba;Fri Nov 23 2018] 2024-01-05 18:56:53 +01:00
6776c8feb6 automatic version update by autodist [release 8.1.0527-1mamba;Sat Nov 17 2018] 2024-01-05 18:56:53 +01:00
d1b20b2941 automatic version update by autodist [release 8.1.0470-1mamba;Mon Oct 15 2018] 2024-01-05 18:56:53 +01:00
02bd52c89d automatic version update by autodist [release 8.1.0374-1mamba;Thu Sep 13 2018] 2024-01-05 18:56:53 +01:00
e3b3df4910 update to 8.1.0354 [release 8.1.0354-1mamba;Sun Sep 09 2018] 2024-01-05 18:56:53 +01:00
cc6669a005 automatic version update by autodist [release 8.0.0237-1mamba;Sat Jan 28 2017] 2024-01-05 18:56:53 +01:00
fb739c28e1 automatic version update by autodist [release 8.0.0086-1mamba;Thu Nov 17 2016] 2024-01-05 18:56:53 +01:00
e30c599ac4 automatic version update by autodist [release 8.0.0055-1mamba;Mon Oct 31 2016] 2024-01-05 18:56:53 +01:00
c66c95e1a6 automatic version update by autodist [release 8.0.0046-1mamba;Mon Oct 24 2016] 2024-01-05 18:56:53 +01:00
e94754a4a9 automatic version update by autodist [release 8.0.0013-1mamba;Tue Oct 04 2016] 2024-01-05 18:56:53 +01:00
e89c87bd5c automatic version update by autodist [release 8.0.0005-1mamba;Sat Sep 24 2016] 2024-01-05 18:56:53 +01:00
b57f328985 automatic version update by autodist [release 8.0-1mamba;Sat Sep 17 2016] 2024-01-05 18:56:53 +01:00
e2bc5a603f automatic version update by autodist [release 7.4.2143-1mamba;Mon Aug 08 2016] 2024-01-05 18:56:53 +01:00
a4cde6b7d4 automatic version update by autodist [release 7.4.1910-1mamba;Fri Jun 10 2016] 2024-01-05 18:56:53 +01:00
c241b421b8 automatic version update by autodist [release 7.4.1797-1mamba;Sat Jun 04 2016] 2024-01-05 18:56:53 +01:00
5be5254f16 automatic version update by autodist [release 7.4.1386-1mamba;Thu Feb 25 2016] 2024-01-05 18:56:53 +01:00
5757ef352c automatic version update by autodist [release 7.4.1294-1mamba;Thu Feb 11 2016] 2024-01-05 18:56:53 +01:00
2 changed files with 163 additions and 55 deletions

View File

@ -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
View File

@ -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