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
Jeremy Katz a0c2f1
%define withvimspell 0
Karsten Hopp 5a04c1
%define withhunspell 0
cvsdist e6a956
Karsten Hopp 44a6ba
%define baseversion 7.1
Karsten Hopp 3785aa
#used for pre-releases:
Karsten Hopp 3785aa
%define beta %{nil}
Karsten Hopp 44a6ba
%define vimdir vim71%{?beta}
Karsten Hopp be5822
%define patchlevel 159
cvsdist 2c14b3
Karsten Hopp 3ca42e
Summary: The VIM editor
Karsten Hopp 3ca42e
URL:     http://www.vim.org/
cvsdist f1dd31
Name: vim
Karsten Hopp d17354
Version: %{baseversion}.%{beta}%{patchlevel}
Karsten Hopp 3dfaeb
Release: 1%{?dist}
Karsten Hopp 6b2f4e
License: Vim
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 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
Jeremy Katz a0c2f1
%if %{withvimspell}
Karsten Hopp 44a6ba
Source13: vim-spell-files.tar.bz2
Jeremy Katz a0c2f1
%endif
Karsten Hopp d427c0
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
Karsten Hopp 5a04c1
%if %{withhunspell}
Karsten Hopp 5a04c1
Patch2011: vim-7.0-hunspell.patch
Karsten Hopp 5a04c1
BuildRequires: hunspell-devel
Karsten Hopp 5a04c1
%endif
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 44a6ba
# for i in `seq 1 14`; do printf "Patch%03d: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.%03d\n" $i $i; done
Karsten Hopp 44a6ba
Patch001: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.001
Karsten Hopp 44a6ba
Patch002: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.002
Karsten Hopp 2f404e
Patch003: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.003
Karsten Hopp e71321
Patch004: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.004
Karsten Hopp e71321
Patch005: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.005
Karsten Hopp e71321
Patch006: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.006
Karsten Hopp 2f404e
Patch007: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.007
Karsten Hopp e71321
Patch008: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.008
Karsten Hopp e71321
Patch009: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.009
Karsten Hopp e71321
Patch010: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.010
Karsten Hopp e71321
Patch011: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.011
Karsten Hopp e71321
Patch012: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.012
Karsten Hopp 722bbe
Patch013: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.013
Karsten Hopp 722bbe
Patch014: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.014
Karsten Hopp 722bbe
Patch015: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.015
Karsten Hopp 722bbe
Patch016: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.016
Karsten Hopp 722bbe
Patch017: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.017
Karsten Hopp 722bbe
Patch018: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.018
Karsten Hopp 722bbe
Patch019: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.019
Karsten Hopp 722bbe
Patch020: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.020
Karsten Hopp 722bbe
Patch021: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.021
Karsten Hopp 722bbe
Patch022: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.022
Karsten Hopp 722bbe
Patch023: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.023
Karsten Hopp 722bbe
Patch024: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.024
Karsten Hopp 722bbe
Patch025: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.025
Karsten Hopp 722bbe
Patch026: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.026
Karsten Hopp 722bbe
Patch027: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.027
Karsten Hopp 722bbe
Patch028: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.028
Karsten Hopp 6b2f4e
Patch029: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.029
Karsten Hopp 6b2f4e
Patch030: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.030
Karsten Hopp 6b2f4e
Patch031: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.031
Karsten Hopp 6b2f4e
Patch032: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.032
Karsten Hopp 6b2f4e
Patch033: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.033
Karsten Hopp 2f404e
Patch034: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.034
Karsten Hopp 6b2f4e
Patch035: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.035
Karsten Hopp 6b2f4e
Patch036: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.036
Karsten Hopp 6b2f4e
Patch037: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.037
Karsten Hopp 6b2f4e
Patch038: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.038
Karsten Hopp 6b2f4e
Patch039: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.039
Karsten Hopp 6b2f4e
Patch040: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.040
Karsten Hopp 2f404e
Patch041: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.041
Karsten Hopp 6b2f4e
Patch042: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.042
Karsten Hopp 6b2f4e
Patch043: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.043
Karsten Hopp 6b2f4e
Patch044: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.044
Karsten Hopp 6b2f4e
Patch045: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.045
Karsten Hopp 6b2f4e
Patch046: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.046
Karsten Hopp 6b2f4e
Patch047: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.047
Karsten Hopp 6b2f4e
Patch048: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.048
Karsten Hopp 6b2f4e
Patch049: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.049
Karsten Hopp 6b2f4e
Patch050: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.050
Karsten Hopp 6b2f4e
Patch051: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.051
Karsten Hopp 6b2f4e
Patch052: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.052
Karsten Hopp 6b2f4e
Patch053: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.053
Karsten Hopp 6b2f4e
Patch054: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.054
Karsten Hopp 6b2f4e
Patch055: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.055
Karsten Hopp 6b2f4e
Patch056: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.056
Karsten Hopp 6b2f4e
Patch057: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.057
Karsten Hopp 6b2f4e
Patch058: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.058
Karsten Hopp 6b2f4e
Patch059: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.059
Karsten Hopp 6b2f4e
Patch060: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.060
Karsten Hopp 6b2f4e
Patch061: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.061
Karsten Hopp 6b2f4e
Patch062: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.062
Karsten Hopp 6b2f4e
Patch063: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.063
Karsten Hopp 6b2f4e
Patch064: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.064
Karsten Hopp 2f404e
Patch065: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.065
Karsten Hopp 6b2f4e
Patch066: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.066
Karsten Hopp 6b2f4e
Patch067: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.067
Karsten Hopp 6b2f4e
Patch068: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.068
Karsten Hopp 75346e
Patch069: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.069
Karsten Hopp 2f404e
Patch070: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.070
Karsten Hopp 75346e
Patch071: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.071
Karsten Hopp 2f404e
Patch072: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.072
Karsten Hopp 75346e
Patch073: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.073
Karsten Hopp 75346e
Patch074: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.074
Karsten Hopp 75346e
Patch075: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.075
Karsten Hopp 75346e
Patch076: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.076
Karsten Hopp 75346e
Patch077: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.077
Karsten Hopp 1121ed
Patch078: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.078
Karsten Hopp 1121ed
Patch079: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.079
Karsten Hopp 2f404e
Patch080: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.080
Karsten Hopp 1121ed
Patch081: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.081
Karsten Hopp 1121ed
Patch082: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.082
Karsten Hopp 1121ed
Patch083: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.083
Karsten Hopp 1121ed
Patch084: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.084
Karsten Hopp 1121ed
Patch085: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.085
Karsten Hopp 1121ed
Patch086: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.086
Karsten Hopp 1121ed
Patch087: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.087
Karsten Hopp 2f404e
Patch088: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.088
Karsten Hopp 60c122
Patch089: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.089
Karsten Hopp 60c122
Patch090: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.090
Karsten Hopp 2f404e
Patch091: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.091
Karsten Hopp 2f404e
Patch092: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.092
Karsten Hopp 60c122
Patch093: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.093
Karsten Hopp 60c122
Patch094: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.094
Karsten Hopp 60c122
Patch095: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.095
Karsten Hopp 60c122
Patch096: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.096
Karsten Hopp 60c122
Patch097: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.097
Karsten Hopp 60c122
Patch098: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.098
Karsten Hopp 60c122
Patch099: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.099
Karsten Hopp 2f404e
Patch100: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.100
Karsten Hopp 1f38fe
Patch101: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.101
Karsten Hopp 1f38fe
Patch102: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.102
Karsten Hopp 1f38fe
Patch103: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.103
Karsten Hopp 1f38fe
Patch104: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.104
Karsten Hopp 1f38fe
Patch105: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.105
Karsten Hopp 1f38fe
Patch106: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.106
Karsten Hopp 1f38fe
Patch107: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.107
Karsten Hopp 2f404e
Patch108: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.108
Karsten Hopp 1f38fe
Patch109: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.109
Karsten Hopp 2f404e
Patch110: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.110
Karsten Hopp 1f38fe
Patch111: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.111
Karsten Hopp 1f38fe
Patch112: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.112
Karsten Hopp 1f38fe
Patch113: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.113
Karsten Hopp 1f38fe
Patch114: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.114
Karsten Hopp 1f38fe
Patch115: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.115
Karsten Hopp 1f38fe
Patch116: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.116
Karsten Hopp de97d7
Patch117: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.117
Karsten Hopp de97d7
Patch118: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.118
Karsten Hopp de97d7
Patch119: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.119
Karsten Hopp 2c9f4b
Patch120: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.120
Karsten Hopp 2c9f4b
Patch121: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.121
Karsten Hopp 2c9f4b
Patch122: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.122
Karsten Hopp 2f404e
Patch123: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.123
Karsten Hopp 2f404e
Patch124: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.124
Karsten Hopp 2f404e
Patch125: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.125
Karsten Hopp 2f404e
Patch126: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.126
Karsten Hopp 2f404e
Patch127: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.127
Karsten Hopp 2f404e
Patch128: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.128
Karsten Hopp 2f404e
Patch129: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.129
Karsten Hopp 2f404e
Patch130: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.130
Karsten Hopp 2f404e
Patch131: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.131
Karsten Hopp 2f404e
Patch132: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.132
Karsten Hopp 2f404e
Patch133: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.133
Karsten Hopp 2f404e
Patch134: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.134
Karsten Hopp 2f404e
Patch135: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.135
Karsten Hopp be5822
Patch136: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.136
Karsten Hopp be5822
Patch137: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.137
Karsten Hopp be5822
Patch138: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.138
Karsten Hopp be5822
Patch139: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.139
Karsten Hopp be5822
Patch140: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.140
Karsten Hopp be5822
Patch141: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.141
Karsten Hopp be5822
Patch142: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.142
Karsten Hopp be5822
Patch143: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.143
Karsten Hopp be5822
Patch144: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.144
Karsten Hopp be5822
Patch145: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.145
Karsten Hopp be5822
Patch146: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.146
Karsten Hopp be5822
Patch147: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.147
Karsten Hopp be5822
Patch148: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.148
Karsten Hopp be5822
Patch149: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.149
Karsten Hopp be5822
Patch150: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.150
Karsten Hopp be5822
Patch151: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.151
Karsten Hopp be5822
Patch152: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.152
Karsten Hopp be5822
Patch153: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.153
Karsten Hopp be5822
Patch154: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.154
Karsten Hopp be5822
Patch155: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.155
Karsten Hopp be5822
Patch156: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.156
Karsten Hopp be5822
Patch157: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.157
Karsten Hopp be5822
Patch158: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.158
Karsten Hopp be5822
Patch159: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.159
Karsten Hopp 6cabe3
Karsten Hopp 6cabe3
Patch3000: vim-7.0-syntax.patch
Karsten Hopp 44a6ba
Patch3002: vim-7.1-nowarnings.patch
cvsdist 1b4d76
Patch3003: vim-6.1-rh3.patch
Karsten Hopp 6cabe3
Patch3004: vim-7.0-rclocation.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 3036dc
Patch3011: vim-7.0-vimspelltypo.patch
Karsten Hopp 0b3c90
Patch3012: vim-7.0-specedit.patch
Karsten Hopp 52217f
#
cvsdist 1b4d76
Patch3100: vim-selinux.patch
Karsten Hopp 3785aa
Patch3101: vim-selinux2.patch
cvsdist 1401a3
Karsten Hopp 3ca42e
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Karsten Hopp 57761a
BuildRequires: python-devel ncurses-devel gettext perl-devel
Karsten Hopp 0170fc
BuildRequires: libacl-devel gpm-devel autoconf
cvsdist 0c2235
%if %{WITH_SELINUX}
Karsten Hopp 0170fc
BuildRequires: libselinux-devel
cvsdist 0c2235
%endif
cvsdist 2c14b3
%if %{desktop_file}
cvsdist 2c14b3
Requires: /usr/bin/desktop-file-install
Karsten Hopp 3ca42e
BuildRequires: 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
Karsten Hopp 0170fc
Summary: The common files needed by any version of the VIM editor
cvsdist f1dd31
Group: Applications/Editors
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
Karsten Hopp d427c0
%package spell
Karsten Hopp 0170fc
Summary: The dictionaries for spell checking. This package is optional
Karsten Hopp d427c0
Group: Applications/Editors
Karsten Hopp d427c0
Requires: vim-common = %{epoch}:%{version}-%{release}
Karsten Hopp d427c0
Karsten Hopp d427c0
%description spell
Karsten Hopp d427c0
This subpackage contains dictionaries for vim spell checking in
Karsten Hopp d427c0
many different languages.
Karsten Hopp d427c0
cvsdist f1dd31
%package minimal
Karsten Hopp 0170fc
Summary: A minimal version of the VIM editor
cvsdist f1dd31
Group: Applications/Editors
Karsten Hopp 3ca42e
Provides: vi = %{version}-%{release}
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
Karsten Hopp 0170fc
Summary: A version of the VIM editor which includes recent enhancements
cvsdist f1dd31
Group: Applications/Editors
Karsten Hopp be5822
Requires: vim-common = %{epoch}:%{version}-%{release} which
Karsten Hopp 3ca42e
Provides: vim = %{version}-%{release}
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
Karsten Hopp 0170fc
Summary: The VIM version of the vi editor for the X Window System
cvsdist f1dd31
Group: Applications/Editors
Karsten Hopp cedda7
Requires: vim-common = %{epoch}:%{version}-%{release} libattr >= 2.4 gtk2 >= 2.6
Karsten Hopp 0170fc
Provides: gvim = %{version}-%{release}
Karsten Hopp 5617c4
BuildRequires: gtk2-devel libSM-devel libXt-devel libXpm-devel
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
Karsten Hopp 1121ed
%setup -q -b 0 -n %{vimdir}
Karsten Hopp 57761a
%setup -q -D -b 1 -n %{vimdir}
Karsten Hopp 57761a
%setup -q -D -b 2 -n %{vimdir}
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
Karsten Hopp 5a04c1
%if %{withhunspell}
Karsten Hopp 5a04c1
%patch2011 -p1
Karsten Hopp 5a04c1
%endif
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 44a6ba
%patch002 -p0
Karsten Hopp 2f404e
%patch003 -p0
Karsten Hopp e71321
%patch004 -p0
Karsten Hopp e71321
%patch005 -p0
Karsten Hopp e71321
%patch006 -p0
Karsten Hopp 2f404e
%patch007 -p0
Karsten Hopp e71321
%patch008 -p0
Karsten Hopp e71321
%patch009 -p0
Karsten Hopp e71321
%patch010 -p0
Karsten Hopp e71321
%patch011 -p0
Karsten Hopp e71321
%patch012 -p0
Karsten Hopp 722bbe
%patch013 -p0 
Karsten Hopp 722bbe
%patch014 -p0 
Karsten Hopp 722bbe
%patch015 -p0 
Karsten Hopp 722bbe
%patch016 -p0 
Karsten Hopp 722bbe
%patch017 -p0 
Karsten Hopp 722bbe
%patch018 -p0 
Karsten Hopp 722bbe
%patch019 -p0 
Karsten Hopp 722bbe
%patch020 -p0 
Karsten Hopp 722bbe
%patch021 -p0 
Karsten Hopp 722bbe
%patch022 -p0 
Karsten Hopp 722bbe
%patch023 -p0 
Karsten Hopp 722bbe
%patch024 -p0 
Karsten Hopp 722bbe
%patch025 -p0 
Karsten Hopp 722bbe
%patch026 -p0 
Karsten Hopp 722bbe
%patch027 -p0 
Karsten Hopp 722bbe
%patch028 -p0 
Karsten Hopp 6b2f4e
%patch029 -p0
Karsten Hopp 6b2f4e
%patch030 -p0
Karsten Hopp 6b2f4e
%patch031 -p0
Karsten Hopp 6b2f4e
%patch032 -p0
Karsten Hopp 6b2f4e
%patch033 -p0
Karsten Hopp 2f404e
%patch034 -p0
Karsten Hopp 6b2f4e
%patch035 -p0
Karsten Hopp 6b2f4e
%patch036 -p0
Karsten Hopp 6b2f4e
%patch037 -p0
Karsten Hopp 6b2f4e
%patch038 -p0
Karsten Hopp 6b2f4e
%patch039 -p0
Karsten Hopp 6b2f4e
%patch040 -p0
Karsten Hopp 2f404e
%patch041 -p0
Karsten Hopp 6b2f4e
%patch042 -p0
Karsten Hopp 6b2f4e
%patch043 -p0
Karsten Hopp 6b2f4e
%patch044 -p0
Karsten Hopp 6b2f4e
%patch045 -p0
Karsten Hopp 6b2f4e
%patch046 -p0
Karsten Hopp 6b2f4e
%patch047 -p0
Karsten Hopp 6b2f4e
%patch048 -p0
Karsten Hopp 6b2f4e
%patch049 -p0
Karsten Hopp 6b2f4e
%patch050 -p0
Karsten Hopp 6b2f4e
%patch051 -p0
Karsten Hopp 6b2f4e
%patch052 -p0
Karsten Hopp 6b2f4e
%patch053 -p0
Karsten Hopp 6b2f4e
%patch054 -p0
Karsten Hopp 6b2f4e
%patch055 -p0
Karsten Hopp 6b2f4e
%patch056 -p0
Karsten Hopp 6b2f4e
%patch057 -p0
Karsten Hopp 6b2f4e
%patch058 -p0
Karsten Hopp 6b2f4e
%patch059 -p0
Karsten Hopp 6b2f4e
%patch060 -p0
Karsten Hopp 6b2f4e
%patch061 -p0
Karsten Hopp 6b2f4e
%patch062 -p0
Karsten Hopp 6b2f4e
%patch063 -p0
Karsten Hopp 6b2f4e
%patch064 -p0
Karsten Hopp 2f404e
%patch065 -p0
Karsten Hopp 6b2f4e
%patch066 -p0
Karsten Hopp 6b2f4e
%patch067 -p0
Karsten Hopp 6b2f4e
%patch068 -p0
Karsten Hopp 75346e
%patch069 -p0 
Karsten Hopp 2f404e
%patch070 -p0 
Karsten Hopp 75346e
%patch071 -p0 
Karsten Hopp 2f404e
%patch072 -p0 
Karsten Hopp 75346e
%patch073 -p0 
Karsten Hopp 75346e
%patch074 -p0 
Karsten Hopp 75346e
%patch075 -p0 
Karsten Hopp 75346e
%patch076 -p0 
Karsten Hopp 75346e
%patch077 -p0 
Karsten Hopp 1121ed
%patch078 -p0 
Karsten Hopp 1121ed
%patch079 -p0 
Karsten Hopp 2f404e
%patch080 -p0 
Karsten Hopp 1121ed
%patch081 -p0 
Karsten Hopp 1121ed
%patch082 -p0 
Karsten Hopp 1121ed
%patch083 -p0 
Karsten Hopp 1121ed
%patch084 -p0 
Karsten Hopp 1121ed
%patch085 -p0 
Karsten Hopp 1121ed
%patch086 -p0 
Karsten Hopp 1121ed
%patch087 -p0 
Karsten Hopp 2f404e
%patch088 -p0 
Karsten Hopp 60c122
%patch089 -p0 
Karsten Hopp 60c122
%patch090 -p0 
Karsten Hopp 2f404e
%patch091 -p0 
Karsten Hopp 2f404e
%patch092 -p0 
Karsten Hopp 60c122
%patch093 -p0 
Karsten Hopp 60c122
%patch094 -p0 
Karsten Hopp 60c122
%patch095 -p0 
Karsten Hopp 60c122
%patch096 -p0 
Karsten Hopp 60c122
%patch097 -p0 
Karsten Hopp 60c122
%patch098 -p0 
Karsten Hopp 60c122
%patch099 -p0 
Karsten Hopp 2f404e
%patch100 -p0 
Karsten Hopp 1f38fe
%patch101 -p0 
Karsten Hopp 1f38fe
%patch102 -p0 
Karsten Hopp 1f38fe
%patch103 -p0 
Karsten Hopp 1f38fe
%patch104 -p0 
Karsten Hopp 1f38fe
%patch105 -p0 
Karsten Hopp 1f38fe
%patch106 -p0 
Karsten Hopp 1f38fe
%patch107 -p0 
Karsten Hopp 2f404e
%patch108 -p0 
Karsten Hopp 1f38fe
%patch109 -p0 
Karsten Hopp 2f404e
%patch110 -p0 
Karsten Hopp 1f38fe
%patch111 -p0 
Karsten Hopp 1f38fe
%patch112 -p0 
Karsten Hopp 1f38fe
%patch113 -p0 
Karsten Hopp 1f38fe
%patch114 -p0 
Karsten Hopp 1f38fe
%patch115 -p0 
Karsten Hopp 1f38fe
%patch116 -p0 
Karsten Hopp de97d7
%patch117 -p0 
Karsten Hopp de97d7
%patch118 -p0 
Karsten Hopp de97d7
%patch119 -p0 
Karsten Hopp 2c9f4b
%patch120 -p0 
Karsten Hopp 2c9f4b
%patch121 -p0 
Karsten Hopp 2c9f4b
%patch122 -p0 
Karsten Hopp 2f404e
%patch123 -p0
Karsten Hopp 2f404e
%patch124 -p0
Karsten Hopp 2f404e
%patch125 -p0
Karsten Hopp 2f404e
%patch126 -p0
Karsten Hopp 2f404e
%patch127 -p0
Karsten Hopp 2f404e
%patch128 -p0
Karsten Hopp 2f404e
%patch129 -p0
Karsten Hopp 2f404e
%patch130 -p0
Karsten Hopp 2f404e
%patch131 -p0
Karsten Hopp 2f404e
%patch132 -p0
Karsten Hopp 2f404e
%patch133 -p0
Karsten Hopp 2f404e
%patch134 -p0
Karsten Hopp 2f404e
%patch135 -p0
Karsten Hopp be5822
%patch136 -p0
Karsten Hopp be5822
%patch137 -p0
Karsten Hopp be5822
%patch138 -p0
Karsten Hopp be5822
%patch139 -p0
Karsten Hopp be5822
%patch140 -p0
Karsten Hopp be5822
%patch141 -p0
Karsten Hopp be5822
%patch142 -p0
Karsten Hopp be5822
%patch143 -p0
Karsten Hopp be5822
%patch144 -p0
Karsten Hopp be5822
%patch145 -p0
Karsten Hopp be5822
%patch146 -p0
Karsten Hopp be5822
%patch147 -p0
Karsten Hopp be5822
%patch148 -p0
Karsten Hopp be5822
%patch149 -p0
Karsten Hopp be5822
%patch150 -p0
Karsten Hopp be5822
%patch151 -p0
Karsten Hopp be5822
%patch152 -p0
Karsten Hopp be5822
%patch153 -p0
Karsten Hopp be5822
%patch154 -p0
Karsten Hopp be5822
%patch155 -p0
Karsten Hopp be5822
%patch156 -p0
Karsten Hopp be5822
%patch157 -p0
Karsten Hopp be5822
%patch158 -p0
Karsten Hopp be5822
%patch159 -p0
Karsten Hopp 2f404e
Karsten Hopp d427c0
Karsten Hopp d427c0
# install spell files
Jeremy Katz a0c2f1
%if %{withvimspell}
Karsten Hopp 44a6ba
%{__tar} xjf %{SOURCE13}
Jeremy Katz a0c2f1
%endif
cvsdist e6a956
Karsten Hopp fb8ddf
%patch3000 -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 3036dc
%patch3011 -p1
Karsten Hopp 0b3c90
%patch3012 -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 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 \
Karsten Hopp 0a3746
  --with-tlib=ncurses \
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
Karsten Hopp 3ca42e
make %{?_smp_mflags}
cvsdist f1dd31
cp vim gvim
cvsdist f1dd31
make clean
cvsdist f1dd31
Karsten Hopp 0170fc
%configure --prefix=%{_prefix} --with-features=huge --enable-pythoninterp \
cvsdist e6a956
 --enable-perlinterp --disable-tclinterp --with-x=no \
Karsten Hopp 0170fc
 --enable-gui=no --exec-prefix=%{_prefix} --enable-multibyte \
Karsten Hopp ed8b8f
 --enable-cscope --with-modified-by="<bugzilla@redhat.com>" \
Karsten Hopp 0a3746
 --with-tlib=ncurses \
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
Karsten Hopp 3ca42e
make %{?_smp_mflags}
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
Karsten Hopp 0170fc
%configure --prefix=%{_prefix} --with-features=small --with-x=no \
cvsdist 813db2
  --enable-multibyte \
cvsdist 0f915f
  --disable-netbeans \
cvsdist f1dd31
  --disable-pythoninterp --disable-perlinterp --disable-tclinterp \
Karsten Hopp 0a3746
  --with-tlib=ncurses --enable-gui=no --disable-gpm --exec-prefix=/ \
Karsten Hopp 37c738
  --with-compiledby="<bugzilla@redhat.com>" \
Karsten Hopp 37c738
  --with-modified-by="<bugzilla@redhat.com>"
cvsdist e6a956
Karsten Hopp 3ca42e
make %{?_smp_mflags}
cvsdist f1dd31
cvsdist f1dd31
%install
cvsdist f1dd31
rm -rf $RPM_BUILD_ROOT
cvsdist f1dd31
mkdir -p $RPM_BUILD_ROOT/bin
Karsten Hopp 0170fc
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
Karsten Hopp 0099cd
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}/vimfiles/after
Karsten Hopp 3ca42e
cp -f %{SOURCE11} .
Karsten Hopp 0170fc
cp runtime/doc/uganda.txt LICENSE
Karsten Hopp 3ca42e
Karsten Hopp 696a6d
cvsdist f1dd31
cd src
Karsten Hopp 3ca42e
make install DESTDIR=$RPM_BUILD_ROOT BINDIR=/bin
Karsten Hopp 0170fc
mv $RPM_BUILD_ROOT/bin/xxd $RPM_BUILD_ROOT/%{_bindir}/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 0170fc
install -m755 gvim $RPM_BUILD_ROOT/%{_bindir}/gvim
Karsten Hopp 0170fc
install -p -m644 %{SOURCE7} \
cvsdist 0c2235
   $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/gvim.png
Karsten Hopp 0170fc
install -p -m644 %{SOURCE8} \
cvsdist 0c2235
   $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/gvim.png
Karsten Hopp 0170fc
install -p -m644 %{SOURCE9} \
cvsdist 0c2235
   $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/gvim.png
Karsten Hopp 0170fc
install -p -m644 %{SOURCE10} \
cvsdist 0c2235
   $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/gvim.png
Karsten Hopp 0170fc
install -m755 enhanced-vim $RPM_BUILD_ROOT/%{_bindir}/vim
cvsdist f1dd31
cvsdist f1dd31
( cd $RPM_BUILD_ROOT
Karsten Hopp 0170fc
  mv ./bin/vimtutor ./%{_bindir}/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
Karsten Hopp 0170fc
  ln -sf vim ./%{_bindir}/ex
Karsten Hopp 0170fc
  ln -sf vim ./%{_bindir}/rvim
Karsten Hopp 0170fc
  ln -sf vim ./%{_bindir}/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 0170fc
  ln -sf gvim ./%{_bindir}/gview
Karsten Hopp 0170fc
  ln -sf gvim ./%{_bindir}/gex
Karsten Hopp 0170fc
  ln -sf gvim ./%{_bindir}/evim
Karsten Hopp 0170fc
  ln -sf gvim ./%{_bindir}/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 0170fc
  ln -sf gvim ./%{_bindir}/vimx
cvsdist e6a956
  %if "%{desktop_file}" == "1"
Karsten Hopp 30eb0f
    mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
Karsten Hopp 0170fc
    desktop-file-install --vendor fedora \
Karsten Hopp 30eb0f
        --dir $RPM_BUILD_ROOT/%{_datadir}/applications \
cvsdist 2c14b3
        --add-category "Application;Development;X-Red-Hat-Base" \
cvsdist e6a956
        %{SOURCE3}
cvsdist 2c14b3
  %else
Karsten Hopp 0170fc
    mkdir -p ./%{_sysconfdir}/X11/applnk/Applications
Karsten Hopp 0170fc
    cp %{SOURCE3} ./%{_sysconfdir}/X11/applnk/Applications/gvim.desktop
cvsdist 2c14b3
  %endif
cvsdist 7a2237
  # ja_JP.ujis is obsolete, ja_JP.eucJP is recommended.
Karsten Hopp 30eb0f
  ( cd ./%{_datadir}/%{name}/%{vimdir}/lang; \
cvsdist 7a2237
    ln -sf menu_ja_jp.ujis.vim menu_ja_jp.eucjp.vim )
cvsdist f1dd31
)
cvsdist f1dd31
Karsten Hopp 30eb0f
pushd $RPM_BUILD_ROOT/%{_datadir}/%{name}/%{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
Karsten Hopp 30eb0f
chmod 644 $RPM_BUILD_ROOT/%{_datadir}/%{name}/%{vimdir}/doc/vim2html.pl \
Karsten Hopp 30eb0f
 $RPM_BUILD_ROOT/%{_datadir}/%{name}/%{vimdir}/tools/*.pl \
Karsten Hopp 30eb0f
 $RPM_BUILD_ROOT/%{_datadir}/%{name}/%{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 0170fc
  [ -x /%{_bindir}/id ] || return
Karsten Hopp 0170fc
  [ \`/%{_bindir}/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 0170fc
[ -x /%{_bindir}/id ] || exit
Karsten Hopp 0170fc
[ \`/%{_bindir}/id -u\` -gt 100 ] && alias vi vim
cvsdist 1b13d4
EOF
Karsten Hopp 5a04c1
chmod 0644 $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/*
Karsten Hopp 0170fc
install -p -m644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/vimrc
Karsten Hopp 0170fc
install -p -m644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/virc
Karsten Hopp 30eb0f
(cd $RPM_BUILD_ROOT/%{_datadir}/%{name}/%{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;) 
Karsten Hopp 0170fc
rm -f $RPM_BUILD_ROOT/%{_datadir}/vim/%{vimdir}/macros/maze/maze*.c
Karsten Hopp 0170fc
rm -rf $RPM_BUILD_ROOT/%{_datadir}/vim/%{vimdir}/tools
Karsten Hopp 0170fc
rm -rf $RPM_BUILD_ROOT/%{_datadir}/vim/%{vimdir}/doc/vim2html.pl
Karsten Hopp 0170fc
rm -f $RPM_BUILD_ROOT/%{_datadir}/vim/%{vimdir}/tutor/tutor.gr.utf-8~
Karsten Hopp 0170fc
( cd $RPM_BUILD_ROOT/%{_mandir}
Karsten Hopp 0170fc
  for i in `find ??/ -type f`; do
Karsten Hopp 0170fc
    bi=`basename $i`
Karsten Hopp 0170fc
    iconv -f latin1 -t UTF8 $i > $RPM_BUILD_ROOT/$bi
Karsten Hopp 0170fc
    mv -f $RPM_BUILD_ROOT/$bi $i
Karsten Hopp 0170fc
  done
Karsten Hopp 0170fc
)
cvsdist 1b13d4
Christopher Aillon 0b8934
%post X11
Christopher Aillon 0b8934
touch --no-create %{_datadir}/icons/hicolor
Karsten Hopp 0170fc
if [ -x /%{_bindir}/gtk-update-icon-cache ]; then
Karsten Hopp 13dc82
  gtk-update-icon-cache --ignore-theme-index -q %{_datadir}/icons/hicolor
Christopher Aillon 0b8934
fi
Karsten Hopp 0170fc
update-desktop-database &> /dev/null ||:
Christopher Aillon 0b8934
Christopher Aillon 0b8934
%postun X11
Christopher Aillon 0b8934
touch --no-create %{_datadir}/icons/hicolor
Karsten Hopp 0170fc
if [ -x /%{_bindir}/gtk-update-icon-cache ]; then
Karsten Hopp 13dc82
  gtk-update-icon-cache --ignore-theme-index -q %{_datadir}/icons/hicolor
Christopher Aillon 0b8934
fi
Karsten Hopp 0170fc
update-desktop-database &> /dev/null ||:
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
Karsten Hopp 0170fc
%doc README* LICENSE
cvsdist 2c14b3
%doc runtime/docs
Karsten Hopp 3ca42e
%doc Changelog.rpm
Karsten Hopp 30eb0f
%dir %{_datadir}/%{name}
Karsten Hopp 30eb0f
%dir %{_datadir}/%{name}/%{vimdir}
Karsten Hopp 0099cd
%dir %{_datadir}/%{name}/vimfiles
Karsten Hopp 0099cd
%dir %{_datadir}/%{name}/vimfiles/after
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/autoload
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/colors
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/compiler
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/doc
Karsten Hopp 0170fc
#exclude /%{_bindir}/vim/%{vimdir}/doc/vi-help.txt
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/*.vim
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/ftplugin
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/indent
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/keymap
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/lang/*.vim
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/lang/*.txt
Karsten Hopp 30eb0f
%dir %{_datadir}/%{name}/%{vimdir}/lang
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/macros
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/plugin
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/print
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/syntax
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/tutor
Jeremy Katz a0c2f1
%if ! %{withvimspell}
Karsten Hopp 30eb0f
%{_datadir}/%{name}/%{vimdir}/spell
Jeremy Katz a0c2f1
%endif
Karsten Hopp 30eb0f
%lang(af) %{_datadir}/%{name}/%{vimdir}/lang/af
Karsten Hopp 30eb0f
%lang(ca) %{_datadir}/%{name}/%{vimdir}/lang/ca
Karsten Hopp 30eb0f
%lang(cs) %{_datadir}/%{name}/%{vimdir}/lang/cs
Karsten Hopp 30eb0f
%lang(de) %{_datadir}/%{name}/%{vimdir}/lang/de
Karsten Hopp 30eb0f
%lang(en_GB) %{_datadir}/%{name}/%{vimdir}/lang/en_GB
Karsten Hopp 30eb0f
%lang(es) %{_datadir}/%{name}/%{vimdir}/lang/es
Karsten Hopp 30eb0f
%lang(fr) %{_datadir}/%{name}/%{vimdir}/lang/fr
Karsten Hopp 30eb0f
%lang(ga) %{_datadir}/%{name}/%{vimdir}/lang/ga
Karsten Hopp 30eb0f
%lang(it) %{_datadir}/%{name}/%{vimdir}/lang/it
Karsten Hopp 30eb0f
%lang(ja) %{_datadir}/%{name}/%{vimdir}/lang/ja
Karsten Hopp 30eb0f
%lang(ko) %{_datadir}/%{name}/%{vimdir}/lang/ko
Karsten Hopp 30eb0f
%lang(no) %{_datadir}/%{name}/%{vimdir}/lang/no
Karsten Hopp 30eb0f
%lang(pl) %{_datadir}/%{name}/%{vimdir}/lang/pl
Karsten Hopp 30eb0f
%lang(ru) %{_datadir}/%{name}/%{vimdir}/lang/ru
Karsten Hopp 30eb0f
%lang(sk) %{_datadir}/%{name}/%{vimdir}/lang/sk
Karsten Hopp 30eb0f
%lang(sv) %{_datadir}/%{name}/%{vimdir}/lang/sv
Karsten Hopp 30eb0f
%lang(uk) %{_datadir}/%{name}/%{vimdir}/lang/uk
Karsten Hopp 30eb0f
%lang(vi) %{_datadir}/%{name}/%{vimdir}/lang/vi
Karsten Hopp 30eb0f
%lang(zh_CN) %{_datadir}/%{name}/%{vimdir}/lang/zh_CN
Karsten Hopp 30eb0f
%lang(zh_TW) %{_datadir}/%{name}/%{vimdir}/lang/zh_TW
Karsten Hopp 30eb0f
%lang(zh_CN.UTF-8) %{_datadir}/%{name}/%{vimdir}/lang/zh_CN.UTF-8
Karsten Hopp 30eb0f
%lang(zh_TW.UTF-8) %{_datadir}/%{name}/%{vimdir}/lang/zh_TW.UTF-8
Karsten Hopp 0170fc
/%{_bindir}/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 0170fc
%lang(fr) %{_mandir}/fr*/*/*
Karsten Hopp 0170fc
%lang(it) %{_mandir}/it*/*/*
Karsten Hopp 0170fc
%lang(ru) %{_mandir}/ru*/*/*
Karsten Hopp 0170fc
%lang(pl) %{_mandir}/pl*/*/*
cvsdist f1dd31
Jeremy Katz a0c2f1
%if %{withvimspell}
Karsten Hopp d427c0
%files spell
Karsten Hopp 0170fc
%defattr(-,root,root)
Karsten Hopp 30eb0f
%dir %{_datadir}/%{name}/%{vimdir}/spell
Karsten Hopp 30eb0f
%{_datadir}/%{name}/vim70/spell/cleanadd.vim
Karsten Hopp 30eb0f
%lang(af) %{_datadir}/%{name}/%{vimdir}/spell/af.*
Karsten Hopp 30eb0f
%lang(am) %{_datadir}/%{name}/%{vimdir}/spell/am.*
Karsten Hopp 30eb0f
%lang(bg) %{_datadir}/%{name}/%{vimdir}/spell/bg.*
Karsten Hopp 30eb0f
%lang(ca) %{_datadir}/%{name}/%{vimdir}/spell/ca.*
Karsten Hopp 30eb0f
%lang(cs) %{_datadir}/%{name}/%{vimdir}/spell/cs.*
Karsten Hopp 30eb0f
%lang(cy) %{_datadir}/%{name}/%{vimdir}/spell/cy.*
Karsten Hopp 30eb0f
%lang(da) %{_datadir}/%{name}/%{vimdir}/spell/da.*
Karsten Hopp 30eb0f
%lang(de) %{_datadir}/%{name}/%{vimdir}/spell/de.*
Karsten Hopp 30eb0f
%lang(el) %{_datadir}/%{name}/%{vimdir}/spell/el.*
Karsten Hopp 30eb0f
%lang(en) %{_datadir}/%{name}/%{vimdir}/spell/en.*
Karsten Hopp 30eb0f
%lang(eo) %{_datadir}/%{name}/%{vimdir}/spell/eo.*
Karsten Hopp 30eb0f
%lang(es) %{_datadir}/%{name}/%{vimdir}/spell/es.*
Karsten Hopp 30eb0f
%lang(fo) %{_datadir}/%{name}/%{vimdir}/spell/fo.*
Karsten Hopp 30eb0f
%lang(fr) %{_datadir}/%{name}/%{vimdir}/spell/fr.*
Karsten Hopp 30eb0f
%lang(ga) %{_datadir}/%{name}/%{vimdir}/spell/ga.*
Karsten Hopp 30eb0f
%lang(gd) %{_datadir}/%{name}/%{vimdir}/spell/gd.*
Karsten Hopp 30eb0f
%lang(gl) %{_datadir}/%{name}/%{vimdir}/spell/gl.*
Karsten Hopp 30eb0f
%lang(he) %{_datadir}/%{name}/%{vimdir}/spell/he.*
Karsten Hopp 30eb0f
%lang(hr) %{_datadir}/%{name}/%{vimdir}/spell/hr.*
Karsten Hopp 30eb0f
%lang(hu) %{_datadir}/%{name}/%{vimdir}/spell/hu.*
Karsten Hopp 30eb0f
%lang(id) %{_datadir}/%{name}/%{vimdir}/spell/id.*
Karsten Hopp 30eb0f
%lang(it) %{_datadir}/%{name}/%{vimdir}/spell/it.*
Karsten Hopp 30eb0f
%lang(ku) %{_datadir}/%{name}/%{vimdir}/spell/ku.*
Karsten Hopp 30eb0f
%lang(la) %{_datadir}/%{name}/%{vimdir}/spell/la.*
Karsten Hopp 30eb0f
%lang(lt) %{_datadir}/%{name}/%{vimdir}/spell/lt.*
Karsten Hopp 30eb0f
%lang(lv) %{_datadir}/%{name}/%{vimdir}/spell/lv.*
Karsten Hopp 30eb0f
%lang(mg) %{_datadir}/%{name}/%{vimdir}/spell/mg.*
Karsten Hopp 30eb0f
%lang(mi) %{_datadir}/%{name}/%{vimdir}/spell/mi.*
Karsten Hopp 30eb0f
%lang(ms) %{_datadir}/%{name}/%{vimdir}/spell/ms.*
Karsten Hopp 30eb0f
%lang(nb) %{_datadir}/%{name}/%{vimdir}/spell/nb.*
Karsten Hopp 30eb0f
%lang(nl) %{_datadir}/%{name}/%{vimdir}/spell/nl.*
Karsten Hopp 30eb0f
%lang(nn) %{_datadir}/%{name}/%{vimdir}/spell/nn.*
Karsten Hopp 30eb0f
%lang(ny) %{_datadir}/%{name}/%{vimdir}/spell/ny.*
Karsten Hopp 30eb0f
%lang(pl) %{_datadir}/%{name}/%{vimdir}/spell/pl.*
Karsten Hopp 30eb0f
%lang(pt) %{_datadir}/%{name}/%{vimdir}/spell/pt.*
Karsten Hopp 30eb0f
%lang(ro) %{_datadir}/%{name}/%{vimdir}/spell/ro.*
Karsten Hopp 30eb0f
%lang(ru) %{_datadir}/%{name}/%{vimdir}/spell/ru.*
Karsten Hopp 30eb0f
%lang(rw) %{_datadir}/%{name}/%{vimdir}/spell/rw.*
Karsten Hopp 30eb0f
%lang(sk) %{_datadir}/%{name}/%{vimdir}/spell/sk.*
Karsten Hopp 30eb0f
%lang(sl) %{_datadir}/%{name}/%{vimdir}/spell/sl.*
Karsten Hopp 30eb0f
%lang(sv) %{_datadir}/%{name}/%{vimdir}/spell/sv.*
Karsten Hopp 30eb0f
%lang(sw) %{_datadir}/%{name}/%{vimdir}/spell/sw.*
Karsten Hopp 30eb0f
%lang(tet) %{_datadir}/%{name}/%{vimdir}/spell/tet.*
Karsten Hopp 30eb0f
%lang(th) %{_datadir}/%{name}/%{vimdir}/spell/th.*
Karsten Hopp 30eb0f
%lang(tl) %{_datadir}/%{name}/%{vimdir}/spell/tl.*
Karsten Hopp 30eb0f
%lang(tn) %{_datadir}/%{name}/%{vimdir}/spell/tn.*
Karsten Hopp 30eb0f
%lang(uk) %{_datadir}/%{name}/%{vimdir}/spell/uk.*
Karsten Hopp 30eb0f
%lang(yi) %{_datadir}/%{name}/%{vimdir}/spell/yi.*
Karsten Hopp 30eb0f
%lang(yi-tr) %{_datadir}/%{name}/%{vimdir}/spell/yi-tr.*
Karsten Hopp 30eb0f
%lang(zu) %{_datadir}/%{name}/%{vimdir}/spell/zu.*
Jeremy Katz a0c2f1
%endif
Karsten Hopp d427c0
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 30eb0f
#%{_datadir}/%{name}/%{vimdir}/doc/vi-help.txt
cvsdist f1dd31
cvsdist f1dd31
%files enhanced
cvsdist f1dd31
%defattr(-,root,root)
Karsten Hopp 0170fc
%{_bindir}/vim
Karsten Hopp 0170fc
%{_bindir}/rvim
Karsten Hopp 0170fc
%{_bindir}/vimdiff
Karsten Hopp 0170fc
%{_bindir}/ex
Karsten Hopp 0170fc
%{_bindir}/vimtutor
Karsten Hopp 5a04c1
%config(noreplace) %{_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"
Karsten Hopp 0170fc
/%{_datadir}/applications/*
cvsdist 2c14b3
%else
Karsten Hopp 0170fc
/%{_sysconfdir}/X11/applnk/*/gvim.desktop
cvsdist 2c14b3
%endif
Karsten Hopp 0170fc
%{_bindir}/gvim
Karsten Hopp 0170fc
%{_bindir}/gvimdiff
Karsten Hopp 0170fc
%{_bindir}/gview
Karsten Hopp 0170fc
%{_bindir}/gex
Karsten Hopp 0170fc
%{_bindir}/vimx
Karsten Hopp 0170fc
%{_bindir}/evim
cvsdist 7a2237
%{_mandir}/man1/evim.*
cvsdist e6a956
%{_mandir}/man1/gvim*
cvsdist 0c2235
%{_datadir}/icons/hicolor/*/apps/*
cvsdist f1dd31
cvsdist f1dd31
%changelog
Karsten Hopp be5822
* Thu Nov 22 2007 Karsten Hopp <karsten@redhat.com> 7.1.159-1
Karsten Hopp be5822
- patchlevel 159
Karsten Hopp be5822
- vim-enhanced requires which for vimtutor (#395371)
Karsten Hopp be5822
Karsten Hopp 2f404e
* Thu Oct 04 2007 Karsten Hopp <karsten@redhat.com> 7.1.135-1
Karsten Hopp 2f404e
- patchlevel 135
Karsten Hopp 2f404e
Karsten Hopp 2c9f4b
* Wed Sep 26 2007 Karsten Hopp <karsten@redhat.com> 7.1.122-1
Karsten Hopp 2c9f4b
- patchlevel 122
Karsten Hopp 2c9f4b
Karsten Hopp de97d7
* Tue Sep 25 2007 Karsten Hopp <karsten@redhat.com> 7.1.119-1
Karsten Hopp de97d7
- patchlevel 119
Karsten Hopp de97d7
Karsten Hopp de97d7
* Mon Sep 24 2007 Karsten Hopp <karsten@redhat.com> 7.1.116-1
Karsten Hopp 1f38fe
- patchlevel 116
Karsten Hopp 1f38fe
Karsten Hopp 60c122
* Fri Sep 07 2007 Karsten Hopp <karsten@redhat.com> 7.1.100-1
Karsten Hopp 60c122
- patchlevel 100
Karsten Hopp 60c122
Karsten Hopp 1121ed
* Fri Aug 24 2007 Karsten Hopp <karsten@redhat.com> 7.1.87-1
Karsten Hopp 57761a
- add build requirement perl-devel
Karsten Hopp 57761a
- fix tarball unpacking
Karsten Hopp 1121ed
- patchlevel 87
Karsten Hopp 1121ed
Karsten Hopp 75346e
* Wed Aug 15 2007 Karsten Hopp <karsten@redhat.com> 7.1.77-1
Karsten Hopp 75346e
- patchlevel 77
Karsten Hopp 75346e
Karsten Hopp 6b2f4e
* Mon Aug 13 2007 Karsten Hopp <karsten@redhat.com> 7.1.68-1
Karsten Hopp 6b2f4e
- patchlevel 68
Karsten Hopp 6b2f4e
Karsten Hopp 6b2f4e
* Thu Aug 02 2007 Karsten Hopp <karsten@redhat.com> 7.1.47-1
Karsten Hopp 6b2f4e
- patchlevel 47
Karsten Hopp 6b2f4e
Karsten Hopp 722bbe
* Wed Jul 11 2007 Karsten Hopp <karsten@redhat.com> 7.1.28-1
Karsten Hopp 722bbe
- patchlevel 28
Karsten Hopp 722bbe
Karsten Hopp e71321
* Wed Jun 27 2007 Karsten Hopp <karsten@redhat.com> 7.1.12-1
Karsten Hopp e71321
- Patchlevel 12
Karsten Hopp e71321
Karsten Hopp e71321
* Mon Jun 04 2007 Karsten Hopp <karsten@redhat.com> 7.1.2-1
Karsten Hopp 44a6ba
- vim 7.1
Karsten Hopp 44a6ba
- drop 240 patches
Karsten Hopp 44a6ba
Karsten Hopp 44a6ba
* Tue May 22 2007 Karsten Hopp <karsten@redhat.com> 7.0.235-1
Karsten Hopp 44a6ba
- Don't wake up system with blinking gvim cursor:
Karsten Hopp 44a6ba
  http://www.linuxpowertop.org/known.php
Karsten Hopp 44a6ba
Karsten Hopp 3dfaeb
* Mon Apr 30 2007 Karsten Hopp <karsten@redhat.com> 7.0.235-1
Karsten Hopp 3dfaeb
- update to patchlevel 235, fixes modeline issues 
Karsten Hopp 3dfaeb
Karsten Hopp cedda7
* Tue Apr 17 2007 Karsten Hopp <karsten@redhat.com> 7.0.224-3
Karsten Hopp cedda7
- fix typo in require line (vim-X11 - 2:7.0.224-2.fc7.i386 requires 4)
Karsten Hopp cedda7
Karsten Hopp 0170fc
* Mon Apr 16 2007 Karsten Hopp <karsten@redhat.com> 7.0.224-2
Karsten Hopp 0170fc
- use more macros
Karsten Hopp 0170fc
- drop BR perl
Karsten Hopp 0170fc
- move license to main doc directory
Karsten Hopp 0170fc
- set vendor to 'fedora' (desktop-file)
Karsten Hopp 0170fc
- don't own man directories
Karsten Hopp 0170fc
- preserve timestamps of non-generated files
Karsten Hopp 0170fc
- run update-desktop-database
Karsten Hopp 0170fc
Karsten Hopp 0170fc
* Thu Apr 05 2007 Karsten Hopp <karsten@redhat.com> 7.0.224-1
Karsten Hopp 0170fc
- vim-X11 provides gvim
Karsten Hopp 0170fc
Karsten Hopp 0170fc
* Fri Mar 30 2007 Karsten Hopp <karsten@redhat.com> 7.0.224-1
Karsten Hopp 1d1656
- patchlevel 224
Karsten Hopp 1d1656
Karsten Hopp 5a04c1
* Wed Feb 21 2007 Karsten Hopp <karsten@redhat.com> 7.0.195-2
Karsten Hopp 5a04c1
- rpmlint fixes (#226526)
Karsten Hopp 5a04c1
Karsten Hopp 5a04c1
* Tue Feb 13 2007 Karsten Hopp <karsten@redhat.com> 7.0.195-1
Karsten Hopp 5a04c1
- patchlevel 195
Karsten Hopp 5a04c1
Karsten Hopp c29414
* Mon Feb 12 2007 Karsten Hopp <karsten@redhat.com> 7.0.192-1
Karsten Hopp c29414
- patchlevel 192
Karsten Hopp c29414
- test fix for highlighting problems with curly brackets in #define (#203577)
Karsten Hopp c29414
Karsten Hopp 0a3746
* Tue Feb 06 2007 Karsten Hopp <karsten@redhat.com> 7.0.191-2
Karsten Hopp 0a3746
- uses ncurses instead of ncursesw
Karsten Hopp 0a3746
Karsten Hopp 3ca42e
* Tue Feb 06 2007 Karsten Hopp <karsten@redhat.com> 7.0.191-1
Karsten Hopp 3ca42e
- patchlevel 191
Karsten Hopp 3ca42e
- clean up spec file for rpmlint
Karsten Hopp 3ca42e
- drop cvim stuff
Karsten Hopp 3ca42e
Karsten Hopp 6329ca
* Tue Jan 23 2007 Karsten Hopp <karsten@redhat.com> 7.0.188-3
Karsten Hopp 6329ca
- patchlevel 188
Karsten Hopp 6329ca
Karsten Hopp cc9923
* Mon Jan 08 2007 Karsten Hopp <karsten@redhat.com> 7.0.178-3
Karsten Hopp cc9923
- enable filetype plugin
Karsten Hopp cc9923
Karsten Hopp 0099cd
* Thu Dec 14 2006 Karsten Hopp <karsten@redhat.com> 7.0.178-2
Karsten Hopp 0099cd
- build vim-minimal with features=small instead of tiny (#219605)
Karsten Hopp 0099cd
Karsten Hopp 0099cd
* Tue Dec 12 2006 Karsten Hopp <karsten@redhat.com> 7.0.178-1
Karsten Hopp 0099cd
- add vimfiles/after to list of owned directories
Karsten Hopp 0099cd
Karsten Hopp 30eb0f
* Tue Dec 12 2006 Karsten Hopp <karsten@redhat.com> 7.0.178-1
Karsten Hopp 30eb0f
- patchlevel 178
Karsten Hopp 30eb0f
- use macros 
Karsten Hopp 30eb0f
- Resolves: #219154
Karsten Hopp 30eb0f
  add directory /usr/share/vim/vimfiles for plugins
Karsten Hopp 30eb0f
Jeremy Katz 43f609
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com>
Jeremy Katz 43f609
- rebuild for python 2.5
Jeremy Katz 43f609
Karsten Hopp 37c738
* Wed Nov 22 2006 Karsten Hopp <karsten@redhat.com> 7.0.168-1
Karsten Hopp 37c738
- patchlevel 168
Karsten Hopp 37c738
- link with ncurses
Karsten Hopp 37c738
Karsten Hopp 3eb014
* Tue Nov 21 2006 Karsten Hopp <karsten@redhat.com> 7.0.164-2
Karsten Hopp 3eb014
- patchlevel 164
Karsten Hopp 3eb014
Karsten Hopp 3eb014
* Mon Nov 13 2006 Karsten Hopp <karsten@redhat.com> 7.0.162-2
Karsten Hopp 0b3c90
- fix lang problem in spec file mode
Karsten Hopp 0b3c90
- use old g:packager variable when set
Karsten Hopp 0b3c90
Karsten Hopp c4ab21
* Fri Nov 10 2006 Karsten Hopp <karsten@redhat.com> 7.0.162-1
Karsten Hopp c4ab21
- patchlevel 162
Karsten Hopp c4ab21
Karsten Hopp a243df
* Mon Nov 06 2006 Karsten Hopp <karsten@redhat.com> 7.0.158-1
Karsten Hopp a243df
- patchlevel 158
Karsten Hopp a243df
Karsten Hopp f9584c
* Tue Oct 17 2006 Karsten Hopp <karsten@redhat.com> 7.0.139-1
Karsten Hopp f9584c
- patchlevel 139
Karsten Hopp 44bef5
- provide vim, vi (#210950)
Karsten Hopp 44bef5
Jeremy Katz a0c2f1
* Thu Sep 28 2006 Jeremy Katz <katzj@redhat.com> - 7.0.109-3
Jeremy Katz a0c2f1
- disable vim-spell subpackage as it pushes us over CD boundaries
Jeremy Katz a0c2f1
Karsten Hopp fb57ad
* Tue Sep 28 2006 Karsten Hopp <karsten@redhat.com> 7.0.109-2
Karsten Hopp 3036dc
- fix typo in vimspell.sh (#203178)
Karsten Hopp 3036dc
Karsten Hopp fb57ad
* Tue Sep 19 2006 Karsten Hopp <karsten@redhat.com> 7.0.109-1
Karsten Hopp 2d83a5
- update to patchlevel 109 to fix some redraw problems
Karsten Hopp bc9715
- fix invisible comments in diff mode (#204042)
Karsten Hopp 2d83a5
Karsten Hopp 18e2b7
* Tue Sep 12 2006 Karsten Hopp <karsten@redhat.com> 7.0.100-1
Karsten Hopp 18e2b7
- Patchlevel 100
Karsten Hopp 18e2b7
- replace runtime files with newer ones
Karsten Hopp 18e2b7
Karsten Hopp d427c0
* Mon Sep 11 2006 Karsten Hopp <karsten@redhat.de> 7.0.099-1
Karsten Hopp d427c0
- Patchlevel 99
Karsten Hopp d427c0
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