Karsten Hopp 3785aa
# used for CVS snapshots:
Karsten Hopp 3785aa
%define CVSDATE %{nil}
cvsdist 1401a3
%define WITH_SELINUX 1
cvsdist 2c14b3
%define desktop_file 1
cvsdist 2c14b3
%if %{desktop_file}
cvsdist 2c14b3
%define desktop_file_utils_version 0.2.93
cvsdist 2c14b3
%endif
cvsdist e6a956
Karsten Hopp ed8b8f
%define withnetbeans 0
cvsdist e6a956
Karsten Hopp 6cabe3
%define withcvim 0
Karsten Hopp 6caafd
cvsdist e6a956
Karsten Hopp 5d3be3
%define baseversion 7.0
Karsten Hopp 3785aa
#used for pre-releases:
Karsten Hopp 3785aa
%define beta %{nil}
Karsten Hopp eb5dda
%define vimdir vim70%{?beta}
Karsten Hopp b0623e
%define patchlevel 086
cvsdist 2c14b3
cvsdist f1dd31
Summary: The VIM editor.
cvsdist f1dd31
Name: vim
Karsten Hopp d17354
Version: %{baseversion}.%{beta}%{patchlevel}
Karsten Hopp 74e40e
Release: 1
cvsdist 1b13d4
License: freeware
cvsdist f1dd31
Group: Applications/Editors
Karsten Hopp eb5dda
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}%{?beta}%{?CVSDATE}.tar.bz2
Karsten Hopp eb5dda
Source1: ftp://ftp.vim.org/pub/vim/extra/vim-%{baseversion}%{?beta}-lang%{?CVSDATE}.tar.gz
Karsten Hopp eb5dda
Source2: ftp://ftp.vim.org/pub/vim/extra/vim-%{baseversion}%{?beta}-extra%{?CVSDATE}.tar.gz
cvsdist e6a956
Source3: gvim.desktop
cvsdist e6a956
Source4: vimrc
Karsten Hopp 6cabe3
#Source5: ftp://ftp.vim.org/pub/vim/patches/README.patches
cvsdist 1401a3
Source6: spec.vim
cvsdist 0c2235
Source7: gvim16.png
cvsdist 0c2235
Source8: gvim32.png
cvsdist 0c2235
Source9: gvim48.png
cvsdist 0c2235
Source10: gvim64.png
cvsdist 705de6
Source11: Changelog.rpm
Karsten Hopp 3785aa
#Source12: vi-help.txt
Karsten Hopp 696a6d
# Source at http://www.vim.org/scripts/script.php?script_id=213 :
Karsten Hopp 6cabe3
#Source12: cvim.zip
Karsten Hopp 6cabe3
Patch2002: vim-7.0-fixkeys.patch
cvsdist 1b4d76
Patch2003: vim-6.2-specsyntax.patch
Karsten Hopp 6cabe3
Patch2004: vim-7.0-crv.patch
cvsdist e6a956
Patch2010: xxd-locale.patch
cvsdist e6a956
# Patches 001 < 999 are patches from the base maintainer.
cvsdist 2c14b3
# If you're as lazy as me, generate the list using
Karsten Hopp 3785aa
# for i in `seq 1 14`; do printf "Patch%03d: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.%03d\n" $i $i; done
Karsten Hopp 845afa
Patch001: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.001
Karsten Hopp 845afa
Patch002: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.002
Karsten Hopp 845afa
Patch003: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.003
Karsten Hopp 845afa
Patch004: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.004
Karsten Hopp 845afa
Patch005: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.005
Karsten Hopp f301e8
Patch006: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.006
Karsten Hopp f301e8
Patch007: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.007
Karsten Hopp f301e8
Patch008: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.008
Karsten Hopp f301e8
Patch009: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.009
Karsten Hopp f301e8
Patch010: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.010
Karsten Hopp 9090be
Patch011: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.011
Karsten Hopp 9090be
Patch012: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.012
Karsten Hopp fd27d2
Patch013: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.013
Karsten Hopp fd27d2
Patch014: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.014
Karsten Hopp fd27d2
Patch015: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.015
Karsten Hopp fd27d2
Patch016: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.016
Karsten Hopp 751b99
Patch017: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.017
Karsten Hopp cf4243
Patch018: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.018
Karsten Hopp cf4243
Patch019: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.019
Karsten Hopp 69d9af
Patch020: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.020
Karsten Hopp 569135
Patch021: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.021
Karsten Hopp fecb0b
Patch022: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.022
Karsten Hopp f06395
Patch023: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.023
Karsten Hopp f06395
Patch024: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.024
Karsten Hopp f06395
Patch025: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.025
Karsten Hopp f06395
Patch026: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.026
Karsten Hopp f06395
Patch027: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.027
Karsten Hopp f06395
Patch028: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.028
Karsten Hopp f06395
Patch029: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.029
Karsten Hopp f06395
Patch030: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.030
Karsten Hopp f06395
Patch031: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.031
Karsten Hopp f06395
Patch032: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.032
Karsten Hopp f06395
Patch033: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.033
Karsten Hopp f06395
Patch034: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.034
Karsten Hopp f06395
Patch035: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.035
Karsten Hopp 424e24
Patch036: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.036
Karsten Hopp 424e24
Patch037: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.037
Karsten Hopp 424e24
Patch038: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.038
Karsten Hopp 424e24
Patch039: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.039
Karsten Hopp 6b9cac
Patch040: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.040
Karsten Hopp 6b9cac
Patch041: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.041
Karsten Hopp 6b9cac
Patch042: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.042
Karsten Hopp bf84e6
Patch043: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.043
Karsten Hopp bf84e6
Patch044: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.044
Karsten Hopp bf84e6
Patch045: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.045
Karsten Hopp bf84e6
Patch046: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.046
Karsten Hopp bf84e6
Patch047: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.047
Karsten Hopp bf84e6
Patch048: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.048
Karsten Hopp bf84e6
Patch049: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.049
Karsten Hopp bf84e6
Patch050: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.050
Karsten Hopp 5617c4
Patch051: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.051
Karsten Hopp 5617c4
Patch052: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.052
Karsten Hopp 5617c4
Patch053: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.053
Karsten Hopp 6dc7fc
Patch054: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.054
Karsten Hopp 6dc7fc
Patch055: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.055
Karsten Hopp 6dc7fc
Patch056: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.056
Karsten Hopp 6dc7fc
Patch057: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.057
Karsten Hopp 6dc7fc
Patch058: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.058
Karsten Hopp 6dc7fc
Patch059: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.059
Karsten Hopp 6dc7fc
Patch060: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.060
Karsten Hopp 6dc7fc
Patch061: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.061
Karsten Hopp 6dc7fc
Patch062: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.062
Karsten Hopp 6dc7fc
Patch063: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.063
Karsten Hopp c13ccf
Patch064: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.064
Karsten Hopp c13ccf
Patch065: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.065
Karsten Hopp c13ccf
Patch066: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.066
Karsten Hopp 74e40e
Patch067: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.067
Karsten Hopp 74e40e
Patch068: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.068
Karsten Hopp 74e40e
Patch069: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.069
Karsten Hopp 74e40e
Patch070: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.070
Karsten Hopp 74e40e
Patch071: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.071
Karsten Hopp 74e40e
Patch072: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.072
Karsten Hopp 74e40e
Patch073: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.073
Karsten Hopp 74e40e
Patch074: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.074
Karsten Hopp 74e40e
Patch075: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.075
Karsten Hopp 74e40e
Patch076: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.076
Karsten Hopp 296d63
Patch077: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.077
Karsten Hopp 296d63
Patch078: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.078
Karsten Hopp 296d63
Patch079: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.079
Karsten Hopp 296d63
Patch080: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.080
Karsten Hopp 296d63
Patch081: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.081
Karsten Hopp 296d63
Patch082: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.082
Karsten Hopp 296d63
Patch083: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.083
Karsten Hopp b0623e
Patch084: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.084
Karsten Hopp b0623e
Patch085: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.085
Karsten Hopp b0623e
Patch086: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.086
Karsten Hopp f301e8
Karsten Hopp 6cabe3
Karsten Hopp 6cabe3
Patch3000: vim-7.0-syntax.patch
cvsdist 1b4d76
Patch3001: vim-6.2-rh1.patch
cvsdist 1b4d76
Patch3002: vim-6.1-rh2.patch
cvsdist 1b4d76
Patch3003: vim-6.1-rh3.patch
Karsten Hopp 6cabe3
Patch3004: vim-7.0-rclocation.patch
Karsten Hopp 52217f
Patch3005: vim-6.4-cvim.patch
Karsten Hopp 52217f
Patch3006: vim-6.4-checkhl.patch
Karsten Hopp 52217f
Patch3007: vim-7.0-fstabsyntax.patch
Karsten Hopp 52217f
Patch3008: vim-6.4-lib64.patch
Karsten Hopp 52217f
Patch3009: vim-7.0-warning.patch
Karsten Hopp cd3cd1
Patch3010: vim-7.0-syncolor.patch
Karsten Hopp 52217f
#
cvsdist 1b4d76
Patch3100: vim-selinux.patch
Karsten Hopp 3785aa
Patch3101: vim-selinux2.patch
cvsdist 1401a3
cvsdist 7a2237
Buildroot: %{_tmppath}/%{name}-%{version}-root
cvsdist e6a956
Buildrequires: python-devel perl libtermcap-devel gettext
Karsten Hopp 598c76
Buildrequires: libacl-devel gpm-devel autoconf
cvsdist 0c2235
%if %{WITH_SELINUX}
cvsdist 0c2235
Buildrequires: libselinux-devel
cvsdist 0c2235
%endif
cvsdist 2c14b3
%if %{desktop_file}
cvsdist 2c14b3
Requires: /usr/bin/desktop-file-install
cvsdist 2c14b3
BuildPrereq: desktop-file-utils >= %{desktop_file_utils_version}
cvsdist 2c14b3
%endif
Karsten Hopp 5d3be3
Epoch: 2
cvsdist f1dd31
cvsdist f1dd31
%description
cvsdist f1dd31
VIM (VIsual editor iMproved) is an updated and improved version of the
cvsdist f1dd31
vi editor.  Vi was the first real screen-based editor for UNIX, and is
cvsdist f1dd31
still very popular.  VIM improves on vi by adding new features:
cvsdist f1dd31
multiple windows, multi-level undo, block highlighting and more.
cvsdist f1dd31
cvsdist f1dd31
%package common
cvsdist f1dd31
Summary: The common files needed by any version of the VIM editor.
cvsdist f1dd31
Group: Applications/Editors
Karsten Hopp 6cabe3
Obsoletes: vim7-common
Karsten Hopp 6cabe3
Conflicts: man-pages-fr < 0.9.7-14
Karsten Hopp 6cabe3
Conflicts: man-pages-it < 0.3.0-17
Karsten Hopp bc12b6
Conflicts: man-pages-pl < 0.24-2
cvsdist f1dd31
cvsdist f1dd31
%description common
cvsdist f1dd31
VIM (VIsual editor iMproved) is an updated and improved version of the
cvsdist f1dd31
vi editor.  Vi was the first real screen-based editor for UNIX, and is
cvsdist f1dd31
still very popular.  VIM improves on vi by adding new features:
cvsdist f1dd31
multiple windows, multi-level undo, block highlighting and more.  The
cvsdist f1dd31
vim-common package contains files which every VIM binary will need in
cvsdist f1dd31
order to run.
cvsdist f1dd31
cvsdist 1401a3
If you are installing vim-enhanced or vim-X11, you'll also need
cvsdist 1401a3
to install the vim-common package.
cvsdist f1dd31
cvsdist f1dd31
%package minimal
cvsdist f1dd31
Summary: A minimal version of the VIM editor.
cvsdist f1dd31
Group: Applications/Editors
Karsten Hopp 6cabe3
Obsoletes: vim
Karsten Hopp 6cabe3
Obsoletes: vim7-minimal
cvsdist f1dd31
cvsdist f1dd31
%description minimal
cvsdist f1dd31
VIM (VIsual editor iMproved) is an updated and improved version of the
cvsdist f1dd31
vi editor.  Vi was the first real screen-based editor for UNIX, and is
cvsdist f1dd31
still very popular.  VIM improves on vi by adding new features:
cvsdist f1dd31
multiple windows, multi-level undo, block highlighting and more. The
cvsdist f1dd31
vim-minimal package includes a minimal version of VIM, which is
cvsdist f1dd31
installed into /bin/vi for use when only the root partition is
cvsdist 1401a3
present. NOTE: The online help is only available when the vim-common
cvsdist 1401a3
package is installed.
cvsdist f1dd31
cvsdist f1dd31
%package enhanced
cvsdist f1dd31
Summary: A version of the VIM editor which includes recent enhancements.
cvsdist f1dd31
Group: Applications/Editors
Karsten Hopp 03c1db
Requires: vim-common = %{epoch}:%{version}-%{release}
cvsdist f1dd31
Obsoletes: vim-color
Karsten Hopp 6cabe3
Obsoletes: vim7-enhanced
cvsdist f1dd31
cvsdist f1dd31
%description enhanced
cvsdist f1dd31
VIM (VIsual editor iMproved) is an updated and improved version of the
cvsdist f1dd31
vi editor.  Vi was the first real screen-based editor for UNIX, and is
cvsdist f1dd31
still very popular.  VIM improves on vi by adding new features:
cvsdist f1dd31
multiple windows, multi-level undo, block highlighting and more.  The
cvsdist f1dd31
vim-enhanced package contains a version of VIM with extra, recently
cvsdist f1dd31
introduced features like Python and Perl interpreters.
cvsdist f1dd31
cvsdist f1dd31
Install the vim-enhanced package if you'd like to use a version of the
cvsdist f1dd31
VIM editor which includes recently added enhancements like
cvsdist f1dd31
interpreters for the Python and Perl scripting languages.  You'll also
cvsdist f1dd31
need to install the vim-common package.
cvsdist f1dd31
cvsdist f1dd31
%package X11
cvsdist f1dd31
Summary: The VIM version of the vi editor for the X Window System.
cvsdist f1dd31
Group: Applications/Editors
Karsten Hopp 03c1db
Requires: vim-common = %{epoch}:%{version}-%{release} libattr
Karsten Hopp 5617c4
BuildRequires: gtk2-devel libSM-devel libXt-devel libXpm-devel
Christopher Aillon 0b8934
Prereq: gtk2 >= 2.6
Karsten Hopp 6cabe3
Obsoletes: vim7-X11
cvsdist f1dd31
cvsdist f1dd31
%description X11
cvsdist f1dd31
VIM (VIsual editor iMproved) is an updated and improved version of the
cvsdist f1dd31
vi editor.  Vi was the first real screen-based editor for UNIX, and is
cvsdist f1dd31
still very popular.  VIM improves on vi by adding new features:
cvsdist f1dd31
multiple windows, multi-level undo, block highlighting and
cvsdist f1dd31
more. VIM-X11 is a version of the VIM editor which will run within the
cvsdist f1dd31
X Window System.  If you install this package, you can run VIM as an X
cvsdist f1dd31
application with a full GUI interface and mouse support.
cvsdist f1dd31
cvsdist f1dd31
Install the vim-X11 package if you'd like to try out a version of vi
cvsdist f1dd31
with graphics and mouse capabilities.  You'll also need to install the
cvsdist f1dd31
vim-common package.
cvsdist f1dd31
cvsdist f1dd31
%prep
cvsdist e6a956
%setup -q -b 1 -n %{vimdir}
cvsdist 1401a3
cp -f %{SOURCE6} runtime/ftplugin/spec.vim
cvsdist f1dd31
# fix rogue dependencies from sample code
cvsdist f1dd31
chmod -x runtime/tools/mve.awk
Karsten Hopp fb8ddf
%patch2002 -p1
Karsten Hopp fb8ddf
%patch2003 -p1
Karsten Hopp fb8ddf
%patch2004 -p1
Karsten Hopp fb8ddf
%patch2010 -p1
cvsdist f1dd31
perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk
cvsdist f1dd31
cvsdist 2c14b3
# Base patches...
cvsdist 0c2235
# for i in `seq 1 14`; do printf "%%patch%03d -p0 \n" $i; done
Karsten Hopp 845afa
%patch001 -p0
Karsten Hopp 845afa
%patch002 -p0
Karsten Hopp 845afa
%patch003 -p0
Karsten Hopp 845afa
%patch004 -p0
Karsten Hopp 845afa
# Win32:
Karsten Hopp 845afa
#patch005 -p0
Karsten Hopp f301e8
# MAC:
Karsten Hopp f301e8
#patch006 -p0
Karsten Hopp f301e8
%patch007 -p0
Karsten Hopp f301e8
%patch008 -p0
Karsten Hopp f301e8
%patch009 -p0
Karsten Hopp f301e8
%patch010 -p0
Karsten Hopp 9090be
%patch011 -p0
Karsten Hopp 9090be
%patch012 -p0
Karsten Hopp fd27d2
%patch013 -p0
Karsten Hopp fd27d2
%patch014 -p0
Karsten Hopp fd27d2
%patch015 -p0
Karsten Hopp fd27d2
%patch016 -p0
Karsten Hopp 751b99
%patch017 -p0
Karsten Hopp cf4243
# VMS:
Karsten Hopp cf4243
#patch018 -p0
Karsten Hopp cf4243
%patch019 -p0
Karsten Hopp 69d9af
%patch020 -p0
Karsten Hopp 569135
%patch021 -p0
Karsten Hopp fecb0b
%patch022 -p0
Karsten Hopp f06395
%patch023 -p0
Karsten Hopp f06395
%patch024 -p0
Karsten Hopp f06395
%patch025 -p0
Karsten Hopp f06395
%patch026 -p0
Karsten Hopp f06395
# Win32
Karsten Hopp f06395
#patch027 -p0
Karsten Hopp f06395
# OS/2
Karsten Hopp f06395
#patch028 -p0
Karsten Hopp f06395
%patch029 -p0
Karsten Hopp f06395
%patch030 -p0
Karsten Hopp f06395
%patch031 -p0
Karsten Hopp f06395
# Win32
Karsten Hopp f06395
#patch032 -p0
Karsten Hopp f06395
%patch033 -p0
Karsten Hopp f06395
%patch034 -p0
Karsten Hopp f06395
%patch035 -p0
Karsten Hopp 424e24
%patch036 -p0
Karsten Hopp 424e24
%patch037 -p0
Karsten Hopp 424e24
%patch038 -p0
Karsten Hopp 424e24
%patch039 -p0
Karsten Hopp 6b9cac
%patch040 -p0
Karsten Hopp 6b9cac
%patch041 -p0
Karsten Hopp 6b9cac
%patch042 -p0
Karsten Hopp bf84e6
%patch043 -p0
Karsten Hopp bf84e6
%patch044 -p0
Karsten Hopp bf84e6
# Win32:
Karsten Hopp bf84e6
#patch045 -p0
Karsten Hopp bf84e6
%patch046 -p0
Karsten Hopp bf84e6
%patch047 -p0
Karsten Hopp bf84e6
%patch048 -p0
Karsten Hopp bf84e6
%patch049 -p0
Karsten Hopp bf84e6
%patch050 -p0
Karsten Hopp 5617c4
%patch051 -p0
Karsten Hopp 5617c4
%patch052 -p0
Karsten Hopp 5617c4
%patch053 -p0
Karsten Hopp 6dc7fc
%patch054 -p0
Karsten Hopp 6dc7fc
%patch055 -p0
Karsten Hopp 6dc7fc
%patch056 -p0
Karsten Hopp 6dc7fc
# Win32:
Karsten Hopp 6dc7fc
#patch057 -p0
Karsten Hopp 6dc7fc
%patch058 -p0
Karsten Hopp 6dc7fc
%patch059 -p0
Karsten Hopp 6dc7fc
%patch060 -p0
Karsten Hopp 6dc7fc
%patch061 -p0
Karsten Hopp 6dc7fc
%patch062 -p0
Karsten Hopp 6dc7fc
%patch063 -p0
Karsten Hopp c13ccf
%patch064 -p0
Karsten Hopp c13ccf
# Mac:
Karsten Hopp c13ccf
#patch065 -p0
Karsten Hopp c13ccf
%patch066 -p0
Karsten Hopp 74e40e
%patch067 -p0
Karsten Hopp 74e40e
%patch068 -p0
Karsten Hopp 74e40e
%patch069 -p0
Karsten Hopp 74e40e
%patch070 -p0
Karsten Hopp 74e40e
%patch071 -p0
Karsten Hopp 74e40e
%patch072 -p0
Karsten Hopp 74e40e
%patch073 -p0
Karsten Hopp 74e40e
# Win32:
Karsten Hopp 74e40e
#patch074 -p0
Karsten Hopp 74e40e
%patch075 -p0
Karsten Hopp 74e40e
%patch076 -p0
Karsten Hopp 296d63
%patch077 -p0
Karsten Hopp 296d63
%patch078 -p0
Karsten Hopp 296d63
%patch079 -p0
Karsten Hopp 296d63
%patch080 -p0
Karsten Hopp 296d63
%patch081 -p0
Karsten Hopp 296d63
%patch082 -p0
Karsten Hopp 296d63
%patch083 -p0
Karsten Hopp b0623e
%patch084 -p0
Karsten Hopp b0623e
%patch085 -p0
Karsten Hopp b0623e
%patch086 -p0
cvsdist e6a956
Karsten Hopp fb8ddf
%patch3000 -p1
Karsten Hopp fb8ddf
%patch3001 -p1
Karsten Hopp fb8ddf
%patch3002 -p1
Karsten Hopp fb8ddf
%patch3003 -p1
Karsten Hopp fb8ddf
%patch3004 -p1
cvsdist 1401a3
Karsten Hopp 52217f
%patch3006 -p1
Karsten Hopp 52217f
%patch3007 -p1
Karsten Hopp 52217f
%patch3008 -p1
Karsten Hopp 619d30
%patch3009 -p1
Karsten Hopp cd3cd1
%patch3010 -p1
Karsten Hopp 619d30
cvsdist 1401a3
%if %{WITH_SELINUX}
Karsten Hopp fb8ddf
%patch3100 -p1
Karsten Hopp 3785aa
%patch3101 -p1
cvsdist 1401a3
%endif
cvsdist 840bb7
Karsten Hopp 6caafd
%if "%{withcvim}" == "1"
Karsten Hopp 696a6d
mkdir cvim
Karsten Hopp 6caafd
( cd cvim; unzip %{SOURCE12}; )
Karsten Hopp 52217f
patch -p1 < %{PATCH3005}
Karsten Hopp 6caafd
%endif
Karsten Hopp 696a6d
Karsten Hopp 937d1c
Karsten Hopp 937d1c
%build
cvsdist f1dd31
cd src
cvsdist 1401a3
autoconf
cvsdist 7a2237
Karsten Hopp 8e2227
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
Karsten Hopp 8e2227
export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
cvsdist 7a2237
cvsdist e6a956
%configure --with-features=huge --enable-pythoninterp --enable-perlinterp \
Karsten Hopp a8cc79
  --disable-tclinterp --with-x=yes \
cvsdist 4e2ca8
  --enable-xim --enable-multibyte \
cvsdist 4e2ca8
  --enable-gtk2-check --enable-gui=gtk2 \
cvsdist 4e2ca8
  --with-compiledby="<bugzilla@redhat.com>" --enable-cscope \
cvsdist 4e2ca8
  --with-modified-by="<bugzilla@redhat.com>" \
cvsdist 4e2ca8
%if "%{withnetbeans}" == "1"
cvsdist 4e2ca8
  --enable-netbeans \
cvsdist 4e2ca8
%else
cvsdist 0f915f
  --disable-netbeans \
cvsdist e6a956
%endif
Karsten Hopp 696a6d
cvsdist 2c14b3
make
cvsdist f1dd31
cp vim gvim
cvsdist f1dd31
make clean
cvsdist f1dd31
cvsdist 7a2237
%configure --prefix=/usr --with-features=huge --enable-pythoninterp \
cvsdist e6a956
 --enable-perlinterp --disable-tclinterp --with-x=no \
cvsdist 4e2ca8
 --enable-gui=no --exec-prefix=/usr --enable-multibyte \
Karsten Hopp ed8b8f
 --enable-cscope --with-modified-by="<bugzilla@redhat.com>" \
cvsdist e6a956
 --with-compiledby="<bugzilla@redhat.com>" \
cvsdist 4e2ca8
%if "%{withnetbeans}" == "1"
cvsdist 4e2ca8
  --enable-netbeans \
cvsdist 4e2ca8
%else
cvsdist 4e2ca8
  --disable-netbeans \
cvsdist 4e2ca8
%endif
cvsdist e6a956
cvsdist f1dd31
make
cvsdist f1dd31
cp vim enhanced-vim
cvsdist f1dd31
make clean
cvsdist f1dd31
Karsten Hopp 3785aa
#perl -pi -e "s/help.txt/vi-help.txt/"  os_unix.h ex_cmds.c
Karsten Hopp 3785aa
perl -pi -e "s/\/etc\/vimrc/\/etc\/virc/"  os_unix.h
cvsdist 7a2237
%configure --prefix='${DEST}'/usr --with-features=tiny --with-x=no \
cvsdist 813db2
  --enable-multibyte \
cvsdist 0f915f
  --disable-netbeans \
cvsdist f1dd31
  --disable-pythoninterp --disable-perlinterp --disable-tclinterp \
cvsdist 2c14b3
  --with-tlib=termcap --enable-gui=no --disable-gpm --exec-prefix=/ --with-compiledby="<bugzilla@redhat.com>"
cvsdist e6a956
cvsdist 7a2237
make
cvsdist f1dd31
cvsdist f1dd31
%install
cvsdist f1dd31
rm -rf $RPM_BUILD_ROOT
cvsdist f1dd31
mkdir -p $RPM_BUILD_ROOT/bin
Karsten Hopp a8cc79
mkdir -p $RPM_BUILD_ROOT/usr/{bin,share/vim}
Karsten Hopp 6cabe3
#cp -f %{SOURCE5} .
cvsdist f1dd31
Karsten Hopp 6caafd
%if "%{withcvim}" == "1"
Karsten Hopp 696a6d
# cvim plugin stuff:
Karsten Hopp 696a6d
mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/%{vimdir}/codesnippets-c
Karsten Hopp 696a6d
mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/%{vimdir}/plugin/templates
Karsten Hopp 696a6d
mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/%{vimdir}/wordlists
Karsten Hopp 696a6d
mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/%{vimdir}/rc
Karsten Hopp 696a6d
mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/%{vimdir}/ftplugin
Karsten Hopp 696a6d
   install -m644 cvim/codesnippets-c/*  $RPM_BUILD_ROOT%{_datadir}/vim/%{vimdir}/codesnippets-c/
Karsten Hopp 696a6d
   install -m644 cvim/plugin/templates/*  $RPM_BUILD_ROOT/%{_datadir}/vim/%{vimdir}/plugin/templates/
Karsten Hopp 696a6d
   install -m644 cvim/plugin/wrapper.sh  $RPM_BUILD_ROOT/%{_datadir}/vim/%{vimdir}/plugin/
Karsten Hopp 696a6d
   install -m644 cvim/plugin/c.vim  $RPM_BUILD_ROOT/%{_datadir}/vim/%{vimdir}/plugin/
Karsten Hopp 696a6d
   install -m644 cvim/plugin/templates/*  $RPM_BUILD_ROOT/%{_datadir}/vim/%{vimdir}/plugin/templates/
Karsten Hopp 696a6d
   install -m644 cvim/rc/*  $RPM_BUILD_ROOT/%{_datadir}/vim/%{vimdir}/rc/
Karsten Hopp 696a6d
   install -m644 cvim/wordlists/*  $RPM_BUILD_ROOT/%{_datadir}/vim/%{vimdir}/wordlists/
Karsten Hopp 696a6d
   install -m644 cvim/ftplugin/*  $RPM_BUILD_ROOT/%{_datadir}/vim/%{vimdir}/ftplugin/
Karsten Hopp 6caafd
   cp cvim/doc/* runtime/doc
Karsten Hopp 696a6d
   cp cvim/README.csupport .
Karsten Hopp 6caafd
%endif
Karsten Hopp 696a6d
cvsdist f1dd31
cd src
cvsdist 7a2237
%makeinstall BINDIR=/bin DESTDIR=$RPM_BUILD_ROOT
Karsten Hopp 6cabe3
mv $RPM_BUILD_ROOT/bin/xxd $RPM_BUILD_ROOT/usr/bin/xxd
cvsdist f1dd31
make installmacros DESTDIR=$RPM_BUILD_ROOT
cvsdist 0c2235
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/{16x16,32x32,48x48,64x64}/apps
Karsten Hopp 6cabe3
install -m755 gvim $RPM_BUILD_ROOT/usr/bin/gvim
Karsten Hopp a644c7
install -m644 %{SOURCE7} \
cvsdist 0c2235
   $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/gvim.png
Karsten Hopp a644c7
install -m644 %{SOURCE8} \
cvsdist 0c2235
   $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/gvim.png
Karsten Hopp a644c7
install -m644 %{SOURCE9} \
cvsdist 0c2235
   $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/gvim.png
Karsten Hopp a644c7
install -m644 %{SOURCE10} \
cvsdist 0c2235
   $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/gvim.png
Karsten Hopp a644c7
install -m755 enhanced-vim $RPM_BUILD_ROOT/usr/bin/vim
cvsdist f1dd31
cvsdist f1dd31
( cd $RPM_BUILD_ROOT
Karsten Hopp 6cabe3
  mv ./bin/vimtutor ./usr/bin/vimtutor
cvsdist f1dd31
  mv ./bin/vim ./bin/vi
cvsdist f1dd31
  rm -f ./bin/rvim
cvsdist f1dd31
  ln -sf vi ./bin/ex
cvsdist f1dd31
  ln -sf vi ./bin/rvi
cvsdist f1dd31
  ln -sf vi ./bin/rview
Karsten Hopp 6cabe3
  ln -sf vi ./bin/view
cvsdist f1dd31
  ln -sf vim ./usr/bin/ex
cvsdist 7a2237
  ln -sf vim ./usr/bin/rvim
cvsdist 7a2237
  ln -sf vim ./usr/bin/vimdiff
cvsdist f1dd31
  perl -pi -e "s,$RPM_BUILD_ROOT,," .%{_mandir}/man1/vim.1 .%{_mandir}/man1/vimtutor.1
cvsdist f1dd31
  rm -f .%{_mandir}/man1/rvim.1
cvsdist f1dd31
  ln -sf vim.1.gz .%{_mandir}/man1/vi.1.gz
cvsdist f1dd31
  ln -sf vim.1.gz .%{_mandir}/man1/rvi.1.gz
cvsdist 7a2237
  ln -sf vim.1.gz .%{_mandir}/man1/rvim.1.gz
cvsdist 7a2237
  ln -sf vim.1.gz .%{_mandir}/man1/vimdiff.1.gz
Karsten Hopp a8cc79
  ln -sf gvim ./usr/bin/gview
Karsten Hopp a8cc79
  ln -sf gvim ./usr/bin/gex
Karsten Hopp a8cc79
  ln -sf gvim ./usr/bin/evim
Karsten Hopp a8cc79
  ln -sf gvim ./usr/bin/gvimdiff
cvsdist e6a956
  ln -sf vim.1.gz .%{_mandir}/man1/gvim.1.gz
cvsdist e6a956
  ln -sf vim.1.gz .%{_mandir}/man1/gvimdiff.1.gz
Karsten Hopp a8cc79
  ln -sf gvim ./usr/bin/vimx
cvsdist e6a956
  %if "%{desktop_file}" == "1"
cvsdist 2c14b3
    mkdir -p $RPM_BUILD_ROOT/usr/share/applications
cvsdist 2c14b3
    desktop-file-install --vendor net \
cvsdist 2c14b3
        --dir $RPM_BUILD_ROOT/usr/share/applications \
cvsdist 2c14b3
        --add-category "Application;Development;X-Red-Hat-Base" \
cvsdist e6a956
        %{SOURCE3}
cvsdist 2c14b3
  %else
cvsdist 2c14b3
    mkdir -p ./etc/X11/applnk/Applications
cvsdist e6a956
    cp %{SOURCE3} ./etc/X11/applnk/Applications/gvim.desktop
cvsdist 2c14b3
  %endif
cvsdist 7a2237
  # ja_JP.ujis is obsolete, ja_JP.eucJP is recommended.
cvsdist e6a956
  ( cd ./usr/share/vim/%{vimdir}/lang; \
cvsdist 7a2237
    ln -sf menu_ja_jp.ujis.vim menu_ja_jp.eucjp.vim )
cvsdist f1dd31
)
cvsdist f1dd31
cvsdist b5c479
pushd $RPM_BUILD_ROOT/usr/share/vim/%{vimdir}/tutor
cvsdist b5c479
mkdir conv
cvsdist b5c479
   iconv -f CP1252 -t UTF8 tutor.ca > conv/tutor.ca
cvsdist b5c479
   iconv -f CP1252 -t UTF8 tutor.it > conv/tutor.it
cvsdist b5c479
   iconv -f CP1253 -t UTF8 tutor.gr > conv/tutor.gr
cvsdist b5c479
   iconv -f CP1252 -t UTF8 tutor.fr > conv/tutor.fr
cvsdist b5c479
   iconv -f CP1252 -t UTF8 tutor.es > conv/tutor.es
cvsdist b5c479
   iconv -f CP1252 -t UTF8 tutor.de > conv/tutor.de
cvsdist b5c479
   #iconv -f CP737 -t UTF8 tutor.gr.cp737 > conv/tutor.gr.cp737
cvsdist b5c479
   #iconv -f EUC-JP -t UTF8 tutor.ja.euc > conv/tutor.ja.euc
cvsdist b5c479
   #iconv -f SJIS -t UTF8 tutor.ja.sjis > conv/tutor.ja.sjis
cvsdist b5c479
   iconv -f UTF8 -t UTF8 tutor.ja.utf-8 > conv/tutor.ja.utf-8
cvsdist b5c479
   iconv -f UTF8 -t UTF8 tutor.ko.utf-8 > conv/tutor.ko.utf-8
cvsdist b5c479
   iconv -f CP1252 -t UTF8 tutor.no > conv/tutor.no
cvsdist 85045d
   iconv -f ISO-8859-2 -t UTF8 tutor.pl > conv/tutor.pl
cvsdist 85045d
   iconv -f ISO-8859-2 -t UTF8 tutor.sk > conv/tutor.sk
Karsten Hopp 7ec3ea
   iconv -f KOI8R -t UTF8 tutor.ru > conv/tutor.ru
cvsdist b5c479
   iconv -f CP1252 -t UTF8 tutor.sv > conv/tutor.sv
cvsdist b5c479
   mv -f tutor.gr.cp737 tutor.ja.euc tutor.ja.sjis tutor.ko.euc tutor.pl.cp1250 tutor.zh.big5 tutor.ru.cp1251 tutor.zh.euc conv/
cvsdist b5c479
   rm -f tutor.ca tutor.de tutor.es tutor.fr tutor.gr tutor.it tutor.ja.utf-8 tutor.ko.utf-8 tutor.no tutor.pl tutor.sk tutor.ru tutor.sv
cvsdist b5c479
mv -f conv/* .
cvsdist b5c479
rmdir conv
cvsdist b5c479
popd
cvsdist b5c479
cvsdist f1dd31
# Dependency cleanups
cvsdist e6a956
chmod 644 $RPM_BUILD_ROOT/usr/share/vim/%{vimdir}/doc/vim2html.pl \
cvsdist e6a956
 $RPM_BUILD_ROOT/usr/share/vim/%{vimdir}/tools/*.pl \
cvsdist e6a956
 $RPM_BUILD_ROOT/usr/share/vim/%{vimdir}/tools/vim132
cvsdist f1dd31
chmod 644 ../runtime/doc/vim2html.pl
cvsdist f1dd31
Karsten Hopp 5820b6
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d
Karsten Hopp 5820b6
cat >$RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/vim.sh <
cvsdist 2cc57f
if [ -n "\$BASH_VERSION" -o -n "\$KSH_VERSION" -o -n "\$ZSH_VERSION" ]; then
Karsten Hopp 499cbf
  [ -x /usr/bin/id ] || return
Karsten Hopp 5d80bb
  [ \`/usr/bin/id -u\` -le 100 ] && return
Karsten Hopp 499cbf
  # for bash and zsh, only if no alias is already set
cvsdist 2c14b3
  alias vi >/dev/null 2>&1 || alias vi=vim
cvsdist 7a2237
fi
cvsdist 1b13d4
EOF
Karsten Hopp 5820b6
cat >$RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/vim.csh <
Karsten Hopp 499cbf
[ -x /usr/bin/id ] || exit
Karsten Hopp 124f17
[ \`/usr/bin/id -u\` -gt 100 ] && alias vi vim
cvsdist 1b13d4
EOF
Karsten Hopp 5820b6
chmod 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/*
Karsten Hopp 5820b6
install -m644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/vimrc
Karsten Hopp 3785aa
install -m644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/virc
Karsten Hopp 94dc0f
(cd $RPM_BUILD_ROOT/usr/share/vim/%{vimdir}/doc;
Karsten Hopp 3785aa
 gzip -9 *.txt
Karsten Hopp 3785aa
 gzip -d help.txt.gz
Karsten Hopp 3785aa
 cat tags | sed -e 's/\t\(.*.txt\)\t/\t\1.gz\t/;s/\thelp.txt.gz\t/\thelp.txt\t/' > tags.new; mv -f tags.new tags
Karsten Hopp 3785aa
# cp %{SOURCE12} . 
Karsten Hopp 3785aa
 )
Karsten Hopp 6cabe3
(cd ../runtime; rm -rf doc; ln -svf ../../vim/%{vimdir}/doc docs;) 
cvsdist 1b13d4
Christopher Aillon 0b8934
%post X11
Christopher Aillon 0b8934
touch --no-create %{_datadir}/icons/hicolor
Christopher Aillon fbcffd
if [ -x /usr/bin/gtk-update-icon-cache ]; then
Karsten Hopp 13dc82
  gtk-update-icon-cache --ignore-theme-index -q %{_datadir}/icons/hicolor
Christopher Aillon 0b8934
fi
Christopher Aillon 0b8934
Christopher Aillon 0b8934
%postun X11
Christopher Aillon 0b8934
touch --no-create %{_datadir}/icons/hicolor
Christopher Aillon fbcffd
if [ -x /usr/bin/gtk-update-icon-cache ]; then
Karsten Hopp 13dc82
  gtk-update-icon-cache --ignore-theme-index -q %{_datadir}/icons/hicolor
Christopher Aillon 0b8934
fi
Christopher Aillon 0b8934
cvsdist f1dd31
%clean
cvsdist f1dd31
rm -rf $RPM_BUILD_ROOT
cvsdist f1dd31
cvsdist f1dd31
%files common
cvsdist f1dd31
%defattr(-,root,root)
Karsten Hopp 5820b6
%config(noreplace) %{_sysconfdir}/vimrc
cvsdist e6a956
%doc README*
cvsdist 2c14b3
%doc runtime/docs
cvsdist 705de6
%doc $RPM_SOURCE_DIR/Changelog.rpm
Karsten Hopp 6cabe3
%dir /usr/share/vim
Karsten Hopp 6cabe3
%dir /usr/share/vim/%{vimdir}
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/autoload
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/colors
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/compiler
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/doc
Karsten Hopp 3785aa
#exclude /usr/share/vim/%{vimdir}/doc/vi-help.txt
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/*.vim
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/ftplugin
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/indent
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/keymap
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/lang/*.vim
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/lang/*.txt
Karsten Hopp 3785aa
%dir /usr/share/vim/%{vimdir}/lang
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/macros
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/plugin
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/print
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/spell
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/syntax
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/tools
Karsten Hopp 6cabe3
/usr/share/vim/%{vimdir}/tutor
Karsten Hopp 751b99
%lang(af) /usr/share/vim/%{vimdir}/lang/af
Karsten Hopp 751b99
%lang(ca) /usr/share/vim/%{vimdir}/lang/ca
Karsten Hopp 751b99
%lang(cs) /usr/share/vim/%{vimdir}/lang/cs
Karsten Hopp 751b99
%lang(de) /usr/share/vim/%{vimdir}/lang/de
Karsten Hopp 751b99
%lang(en_GB) /usr/share/vim/%{vimdir}/lang/en_GB
Karsten Hopp 751b99
%lang(es) /usr/share/vim/%{vimdir}/lang/es
Karsten Hopp 751b99
%lang(fr) /usr/share/vim/%{vimdir}/lang/fr
Karsten Hopp 751b99
%lang(ga) /usr/share/vim/%{vimdir}/lang/ga
Karsten Hopp 751b99
%lang(it) /usr/share/vim/%{vimdir}/lang/it
Karsten Hopp 751b99
%lang(ja) /usr/share/vim/%{vimdir}/lang/ja
Karsten Hopp 751b99
%lang(ko) /usr/share/vim/%{vimdir}/lang/ko
Karsten Hopp 751b99
%lang(no) /usr/share/vim/%{vimdir}/lang/no
Karsten Hopp 751b99
%lang(pl) /usr/share/vim/%{vimdir}/lang/pl
Karsten Hopp 751b99
%lang(ru) /usr/share/vim/%{vimdir}/lang/ru
Karsten Hopp 751b99
%lang(sk) /usr/share/vim/%{vimdir}/lang/sk
Karsten Hopp 751b99
%lang(sv) /usr/share/vim/%{vimdir}/lang/sv
Karsten Hopp 751b99
%lang(uk) /usr/share/vim/%{vimdir}/lang/uk
Karsten Hopp 751b99
%lang(vi) /usr/share/vim/%{vimdir}/lang/vi
Karsten Hopp 751b99
%lang(zh_CN) /usr/share/vim/%{vimdir}/lang/zh_CN
Karsten Hopp 751b99
%lang(zh_TW) /usr/share/vim/%{vimdir}/lang/zh_TW
Karsten Hopp 751b99
%lang(zh_CN.UTF-8) /usr/share/vim/%{vimdir}/lang/zh_CN.UTF-8
Karsten Hopp 751b99
%lang(zh_TW.UTF-8) /usr/share/vim/%{vimdir}/lang/zh_TW.UTF-8
cvsdist 840bb7
/usr/bin/xxd
cvsdist f1dd31
%{_mandir}/man1/vim.*
cvsdist f1dd31
%{_mandir}/man1/ex.*
cvsdist f1dd31
%{_mandir}/man1/vi.*
cvsdist f1dd31
%{_mandir}/man1/view.*
cvsdist f1dd31
%{_mandir}/man1/rvi.*
cvsdist f1dd31
%{_mandir}/man1/rview.*
cvsdist f1dd31
%{_mandir}/man1/xxd.*
Karsten Hopp 751b99
%lang(fr) %{_mandir}/fr*
Karsten Hopp 751b99
%lang(it) %{_mandir}/it*
Karsten Hopp 751b99
%lang(ru) %{_mandir}/ru*
Karsten Hopp 751b99
%lang(pl) %{_mandir}/pl*
cvsdist f1dd31
cvsdist f1dd31
%files minimal
cvsdist f1dd31
%defattr(-,root,root)
Karsten Hopp 3785aa
%config(noreplace) %{_sysconfdir}/virc
cvsdist f1dd31
/bin/ex
cvsdist f1dd31
/bin/vi
cvsdist f1dd31
/bin/view
cvsdist f1dd31
/bin/rvi
cvsdist f1dd31
/bin/rview
Karsten Hopp 3785aa
#/usr/share/vim/%{vimdir}/doc/vi-help.txt
cvsdist f1dd31
cvsdist f1dd31
%files enhanced
cvsdist f1dd31
%defattr(-,root,root)
cvsdist 7a2237
/usr/bin/vim
cvsdist 7a2237
/usr/bin/rvim
cvsdist 7a2237
/usr/bin/vimdiff
cvsdist 7a2237
/usr/bin/ex
cvsdist fcc919
/usr/bin/vimtutor
Karsten Hopp 5820b6
%config %{_sysconfdir}/profile.d/vim.*
cvsdist 7a2237
%{_mandir}/man1/rvim.*
cvsdist 7a2237
%{_mandir}/man1/vimdiff.*
cvsdist fcc919
%{_mandir}/man1/vimtutor.*
cvsdist f1dd31
cvsdist f1dd31
%files X11
cvsdist f1dd31
%defattr(-,root,root)
cvsdist e6a956
%if "%{desktop_file}" == "1"
cvsdist 2c14b3
/usr/share/applications/*
cvsdist 2c14b3
%else
cvsdist 2c14b3
/etc/X11/applnk/*/gvim.desktop
cvsdist 2c14b3
%endif
Karsten Hopp bde9ab
/usr/bin/gvim
Karsten Hopp a8cc79
/usr/bin/gvimdiff
Karsten Hopp a8cc79
/usr/bin/gview
Karsten Hopp a8cc79
/usr/bin/gex
Karsten Hopp a8cc79
/usr/bin/vimx
Karsten Hopp a8cc79
/usr/bin/evim
cvsdist 7a2237
%{_mandir}/man1/evim.*
cvsdist e6a956
%{_mandir}/man1/gvim*
cvsdist 0c2235
%{_datadir}/icons/hicolor/*/apps/*
cvsdist f1dd31
cvsdist f1dd31
%changelog
Karsten Hopp b0623e
* Mon Sep 05 2006 Karsten Hopp <karsten@redhat.de> 7.0.086-1
Karsten Hopp b0623e
- Patchlevel 86
Karsten Hopp b0623e
Karsten Hopp 296d63
* Mon Sep 04 2006 Karsten Hopp <karsten@redhat.de> 7.0.083-1
Karsten Hopp 296d63
- Patchlevel 83
Karsten Hopp 296d63
Karsten Hopp 74e40e
* Wed Aug 30 2006 Karsten Hopp <karsten@redhat.de> 7.0.076-1
Karsten Hopp 74e40e
- Patchlevel 76
Karsten Hopp 74e40e
Karsten Hopp cd3cd1
* Thu Aug 25 2006 Karsten Hopp <karsten@redhat.de> 7.0.066-2
Karsten Hopp cd3cd1
- fix vimdiff colors (#204042)
Karsten Hopp cd3cd1
Karsten Hopp c13ccf
* Thu Aug 24 2006 Karsten Hopp <karsten@redhat.de> 7.0.066-1
Karsten Hopp c13ccf
- fix syntax patch (#203798)
Karsten Hopp c13ccf
- patchlevel 66
Karsten Hopp c13ccf
Karsten Hopp 6dc7fc
* Wed Aug 17 2006 Karsten Hopp <karsten@redhat.de> 7.0.063-1
Karsten Hopp 6dc7fc
- Patchlevel 63
Karsten Hopp 6dc7fc
Karsten Hopp 6dc7fc
* Wed Aug 15 2006 Karsten Hopp <karsten@redhat.de> 7.0.053-1
Karsten Hopp 5617c4
- Patchlevel 53
Karsten Hopp 5617c4
- Buildrequires libXpm-devel
Karsten Hopp 5617c4
Karsten Hopp bf84e6
* Wed Aug 09 2006 Karsten Hopp <karsten@redhat.de> 7.0.050-1
Karsten Hopp bf84e6
- Patchlevel 50
Karsten Hopp bf84e6
Karsten Hopp 52217f
* Thu Aug 03 2006  Karsten Hopp <karsten@redhat.de> 7.0.042-2
Karsten Hopp 52217f
- clean up spec file
Karsten Hopp 52217f
Karsten Hopp 6b9cac
* Mon Jul 24 2006 Karsten Hopp <karsten@redhat.de> 7.0.042-1
Karsten Hopp 6b9cac
- patchlevel 42
Karsten Hopp 6b9cac
Karsten Hopp 424e24
* Wed Jul 20 2006 Karsten Hopp <karsten@redhat.de> 7.0.039-1
Karsten Hopp 424e24
- patchlevel 39
Karsten Hopp 424e24
- allow usage of $VIM variable (#199465)
Karsten Hopp 424e24
Jesse Keating 7a45cb
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2:7.0.035-1.1
Jesse Keating 7a45cb
- rebuild
Jesse Keating 7a45cb
Karsten Hopp f06395
* Tue Jun 27 2006 Karsten Hopp <karsten@redhat.de> 7.0.035-1
Karsten Hopp f06395
- patchlevel 35
Karsten Hopp f06395
Karsten Hopp 9cbcc2
* Wed Jun 21 2006 Karsten Hopp <karsten@redhat.de> 7.0.022-2
Karsten Hopp 9cbcc2
- add binfmt_misc rpc_pipefs to fstypes for better mtab highlighting
Karsten Hopp 9cbcc2
Karsten Hopp fecb0b
* Tue Jun 20 2006 Karsten Hopp <karsten@redhat.de> 7.0.022-1
Karsten Hopp fecb0b
- patchlevel 22
Karsten Hopp 569135
Karsten Hopp 69d9af
* Tue Jun 20 2006 Karsten Hopp <karsten@redhat.de> 7.0.020-1
Karsten Hopp 69d9af
- patchlevel 20
Karsten Hopp 69d9af
Karsten Hopp cf4243
* Tue Jun 20 2006 Karsten Hopp <karsten@redhat.de> 7.0.019-1
Karsten Hopp cf4243
- patchlevel 19
Karsten Hopp 598c76
- buildrequire autoconf
Karsten Hopp cf4243
Karsten Hopp 751b99
* Tue May 30 2006 Karsten Hopp <karsten@redhat.de> 7.0.017-1
Karsten Hopp 751b99
- patchlevel 17, although it affects just the Motif version
Karsten Hopp 751b99
- own some directories (#192787)
Karsten Hopp 751b99
Karsten Hopp fd27d2
* Sat May 13 2006 Karsten Hopp <karsten@redhat.de> 7.0.016-1
Karsten Hopp fd27d2
- patchlevel 016
Karsten Hopp fd27d2
Karsten Hopp 9090be
* Fri May 12 2006 Karsten Hopp <karsten@redhat.de> 7.0.012-1
Karsten Hopp 9090be
- patchlevel 012
Karsten Hopp 9090be
Karsten Hopp f301e8
* Thu May 11 2006 Karsten Hopp <karsten@redhat.de> 7.0.010-1
Karsten Hopp f301e8
- patchlevel 010
Karsten Hopp f301e8
Karsten Hopp 845afa
* Wed May 10 2006 Karsten Hopp <karsten@redhat.de> 7.0.005-2
Karsten Hopp 845afa
- patchlevel 005
Karsten Hopp 845afa
- move older changelogs (<7.0) into a file, no need to keep them 
Karsten Hopp 845afa
  in the rpm database
Karsten Hopp 845afa
Karsten Hopp 2ca55a
* Tue May 09 2006 Karsten Hopp <karsten@redhat.de> 7.0.000-2
Karsten Hopp 5d3be3
- bump epoch, the buildsystem thinks 7.0.000-2 is older than 7.0.g001-1
Karsten Hopp 5d3be3
  although rpm is quite happy with it.
Karsten Hopp 2ca55a
Karsten Hopp 3785aa
* Mon May 08 2006 Karsten Hopp <karsten@redhat.de> 7.0.000-1
Karsten Hopp 3785aa
- vim-7.0 
Karsten Hopp 3785aa
- Spell checking support for about 50 languages
Karsten Hopp 3785aa
- Intelligent completion for C, HTML, Ruby, Python, PHP, etc.
Karsten Hopp 3785aa
- Tab pages, each containing multiple windows
Karsten Hopp 3785aa
- Undo branches: never accidentally lose text again
Karsten Hopp 3785aa
- Vim script supports Lists and Dictionaries (similar to Python)
Karsten Hopp 3785aa
- Vim script profiling
Karsten Hopp 3785aa
- Improved Unicode support
Karsten Hopp 3785aa
- Highlighting of cursor line, cursor column and matching braces
Karsten Hopp 3785aa
- Translated manual pages support.
Karsten Hopp 3785aa
- Internal grep; works on all platforms, searches compressed files
Karsten Hopp 3785aa
- Browsing remote directories, zip and tar archives
Karsten Hopp 3785aa
- Printing multi-byte text
Karsten Hopp 3785aa
- find details about the changes since vim-6.4 with :help version7
Karsten Hopp 3785aa
Karsten Hopp 3785aa
- fix SE Linux context of temporary (.swp) files (#189968)
Karsten Hopp 3785aa
- /bin/vi /vim-minimal is now using /etc/virc to avoid .rpmnew files
Karsten Hopp 3785aa
  when updating
Karsten Hopp 3785aa
Karsten Hopp eb5dda
* Tue May 02 2006 Karsten Hopp <karsten@redhat.de> 7.0.g001-1
Karsten Hopp eb5dda
- vim-7.0g BETA
Karsten Hopp eb5dda
Karsten Hopp e46c78
* Fri Apr 28 2006 Karsten Hopp <karsten@redhat.de> 7.0.f001-1
Karsten Hopp e46c78
- vim-7.0f3 BETA
Karsten Hopp e46c78
Karsten Hopp ed8b8f
* Thu Apr 20 2006 Karsten Hopp <karsten@redhat.de> 7.0.e001-1
Karsten Hopp ed8b8f
- vim-7.0e BETA
Karsten Hopp ed8b8f
Karsten Hopp d17354
* Tue Apr 11 2006 Karsten Hopp <karsten@redhat.de> 7.0.d001-1
Karsten Hopp d17354
- vim-7.0d BETA
Karsten Hopp d17354
Karsten Hopp 1067bf
* Fri Apr 07 2006 Karsten Hopp <karsten@redhat.de> 7.0c.000-3
Karsten Hopp 1067bf
- fix vimrc filename
Karsten Hopp 1067bf
Karsten Hopp bc12b6
* Thu Apr 06 2006 Karsten Hopp <karsten@redhat.de> 7.0c.000-2
Karsten Hopp bc12b6
- new snapshot
Karsten Hopp bc12b6
Karsten Hopp c9aeaa
* Tue Apr 04 2006 Karsten Hopp <karsten@redhat.de> 7.0c.000-1
Karsten Hopp c9aeaa
- vim-7.0c BETA
Karsten Hopp c9aeaa
Karsten Hopp 6cabe3
* Wed Mar 22 2006 Karsten Hopp <karsten@redhat.de> 7.0aa.000-3
Karsten Hopp 6cabe3
- Rawhide build as vim, opposed to vim7 (prerelease)
Karsten Hopp 6cabe3
- conflict with older man-pages-{it,fr} packages
Karsten Hopp 6cabe3
- cleanup lang stuff
Karsten Hopp 6cabe3
Karsten Hopp 6cabe3
* Thu Mar 16 2006 Karsten Hopp <karsten@redhat.de> 7.0aa.000-2
Karsten Hopp 6cabe3
- make it coexist with vim-6 (temporarily)
Karsten Hopp 6cabe3
- new CVS snapshot
Karsten Hopp 6cabe3
Karsten Hopp 6cabe3
* Tue Mar 14 2006 Karsten Hopp <karsten@redhat.de> 7.0aa.000-1
Karsten Hopp 6cabe3
- vim7 pre Release
Karsten Hopp 845afa
- older changelogs available in Changelog.rpm
Karsten Hopp 6d3e55
Karsten Hopp 6d3e55
# vim:nrformats-=octal