Compare commits

...

24 Commits

Author SHA1 Message Date
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
2 changed files with 100 additions and 44 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

127
vim.spec
View File

@ -6,7 +6,7 @@
%define with_gvim 0
Name: vim
Version: 8.0.0046
Version: 8.2.0148
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,25 +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
[ "$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
## 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
@ -172,12 +173,12 @@ 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)
%{_sysconfdir}/skel/.vimrc
%{_bindir}/*
@ -190,12 +191,6 @@ install -m 0755 -D src/gvim %{buildroot}%{_bindir}/gvim
%{_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
@ -210,6 +205,84 @@ install -m 0755 -D src/gvim %{buildroot}%{_bindir}/gvim
%{_datadir}/vim/%{vimdir}/tutor
%changelog
* 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