SHA256
1
0
forked from pool/vim
OBS User unknown
2008-09-13 10:25:42 +00:00
committed by Git OBS Bridge
parent 22976f7761
commit a1dc42963a
14 changed files with 204 additions and 228 deletions

View File

@@ -1,10 +1,17 @@
#
# spec file for package vim (Version 7.1)
# spec file for package vim (Version 7.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@@ -12,8 +19,8 @@
Name: vim
Version: 7.1
Release: 125
Version: 7.2
Release: 1
#
License: Other uncritical OpenSource License; http://vimdoc.sourceforge.net/htmldoc/uganda.html#license
Group: Productivity/Editors/Vi
@@ -21,9 +28,9 @@ Group: Productivity/Editors/Vi
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: db-devel fdupes gettext-devel gpm gtk2-devel libacl-devel ncurses-devel perl python-devel ruby-devel tcl-devel update-alternatives update-desktop-files
#
%define pkg_version 7.1
%define pkg_version 7.2
%define official_ptchlvl 266
%define VIM_SUBDIR vim71
%define VIM_SUBDIR vim72
%define site_runtimepath /usr/share/vim/site
#
%define make make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?jobs:-j%jobs}
@@ -67,7 +74,7 @@ Source16: gvim.png
Source18: missing-vim-client
Source19: gvim.desktop
Source99: vim-7.1-rpmlintrc
Patch0: %{name}-upstream-patches-7.1-%{official_ptchlvl}.patch.bz2
#Patch0: %{name}-upstream-patches-7.1-%{official_ptchlvl}.patch.bz2
Patch1: %{name}-7.0-no_nb.patch
Patch4: %{name}-7.0-gvimrc_fontset.patch
Patch5: %{name}-7.0-highlight_fstab.patch
@@ -81,10 +88,8 @@ Patch12: %{name}-7.0-ruby_ldflags_configure.patch
Patch14: %{name}-7.0-grub.patch
Patch15: vim-7.0-filetype_apparmor.patch
Patch16: %{name}-7.0-flex-array.diff
Patch17: vim-7.1-ftplugin_changelog.patch
Patch18: vim-7.1-filetype_spec.patch
Patch19: vim-7.1-diff_check.patch
Patch20: vim-7.1-netrw_urlencode.patch
Patch21: vim-7.1-filetype_changes.patch
Patch22: vim-7.1-remove-terrible-hack.patch
# tbd??? %name-6.3-ga-utf8.diff
@@ -276,7 +281,7 @@ Authors:
%prep
%setup -q -n %{VIM_SUBDIR} -b 1 -b 2
%patch
#%patch
%patch1 -p1
%patch4 -p1
%patch5 -p1
@@ -290,10 +295,8 @@ Authors:
%patch14
%patch15 -p1
%patch16
%patch17 -p1
%patch18
%patch19 -p1
%patch20 -p1
%patch21 -p1
%patch22
cp %{S:3} %{S:4} %{S:5} %{S:6} %{S:8} %{S:9} %{S:10} .
@@ -418,7 +421,7 @@ mkdir -m 0755 %{buildroot}%{site_runtimepath}/after/syntax
%{__install} -d -m 0755 %{buildroot}%{_docdir}/{,g}vim/
%{__install} -D -m 0644 \
vimrc_example1 vimrc_example2 suse.vimrc \
README.txt README_src.txt README_unix.txt README_lang.txt src/INSTALL ANNOUNCEMENT.vim-7.1 \
README.txt README_src.txt README_unix.txt README_lang.txt src/INSTALL ANNOUNCEMENT.vim-7.2 \
%{buildroot}%{_docdir}/vim/
# gvim
%{__install} -D -m 0644 \
@@ -520,6 +523,7 @@ fi
# additional binaries
%{_bindir}/vitmp
%{_bindir}/vimtutor
%{_bindir}/gvimtutor
%{_bindir}/xxd
# man pages
%{_mandir}/man1/*
@@ -658,6 +662,15 @@ fi
%endif
%changelog
* Thu Sep 11 2008 mkoenig@suse.de
- update to version 7.2
* bugfixes and security enhancements
* support for floating point numbers
- fixes security vulnerabilities [bnc#400508,bnc#406693,bnc#409516]
- fixes ada support [bnc#419506]
- remove patches:
vim-7.1-ftplugin_changelog.patch
vim-7.1-netrw_urlencode.patch
* Wed May 28 2008 rodrigo@suse.de
- Added vim-7.1-remove-terrible-hack.patch to remove a "terrible"
hack that was moving the mouse 100 pixels to the top left for