## ## vim.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2017 OpenPKG Foundation e.V. ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package versions %define V_vl 8.0 %define V_vs 80 %define V_pl 0367 # package information Name: vim Summary: The Vi (Improved) Text Editor URL: http://www.vim.org/ Vendor: Bram Moolenaar et al. Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: CORE Group: Editor License: Charityware Version: %{V_vl}.%{V_pl} Release: 20170225 # package options %option with_features normal %option with_multibyte yes %option with_perl no %option with_python no %option with_tcl no %option with_ruby no %option with_shell no # list of sources Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{V_vl}.tar.bz2 Source2: rc.vim Source3: vimrc Patch0: vim.patch Patch1: vim.patch.shell Patch101: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0001 Patch102: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0002 Patch103: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0003 Patch104: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0004 Patch105: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0005 Patch106: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0006 Patch107: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0007 Patch108: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0008 Patch109: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0009 Patch110: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0010 Patch111: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0011 Patch112: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0012 Patch113: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0013 Patch114: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0014 Patch115: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0015 Patch116: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0016 Patch117: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0017 Patch118: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0018 Patch119: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0019 Patch120: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0020 Patch121: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0021 Patch122: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0022 Patch123: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0023 Patch124: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0024 Patch125: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0025 Patch126: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0026 Patch127: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0027 Patch128: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0028 Patch129: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0029 Patch130: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0030 Patch131: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0031 Patch132: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0032 Patch133: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0033 Patch134: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0034 Patch135: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0035 Patch136: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0036 Patch137: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0037 Patch138: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0038 Patch139: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0039 Patch140: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0040 Patch141: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0041 Patch142: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0042 Patch143: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0043 Patch144: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0044 Patch145: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0045 Patch146: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0046 Patch147: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0047 Patch148: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0048 Patch149: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0049 Patch150: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0050 Patch151: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0051 Patch152: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0052 Patch153: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0053 Patch154: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0054 Patch155: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0055 Patch156: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0056 Patch157: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0057 Patch158: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0058 Patch159: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0059 Patch160: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0060 Patch161: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0061 Patch162: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0062 Patch163: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0063 Patch164: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0064 Patch165: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0065 Patch166: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0066 Patch167: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0067 Patch168: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0068 Patch169: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0069 Patch170: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0070 Patch171: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0071 Patch172: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0072 Patch173: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0073 Patch174: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0074 Patch175: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0075 Patch176: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0076 Patch177: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0077 Patch178: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0078 Patch179: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0079 Patch180: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0080 Patch181: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0081 Patch182: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0082 Patch183: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0083 Patch184: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0084 Patch185: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0085 Patch186: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0086 Patch187: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0087 Patch188: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0088 Patch189: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0089 Patch190: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0090 Patch191: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0091 Patch192: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0092 Patch193: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0093 Patch194: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0094 Patch195: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0095 Patch196: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0096 Patch197: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0097 Patch198: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0098 Patch199: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0099 Patch200: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0100 Patch201: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0101 Patch202: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0102 Patch203: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0103 Patch204: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0104 Patch205: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0105 Patch206: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0106 Patch207: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0107 Patch208: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0108 Patch209: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0109 Patch210: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0110 Patch211: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0111 Patch212: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0112 Patch213: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0113 Patch214: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0114 Patch215: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0115 Patch216: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0116 Patch217: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0117 Patch218: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0118 Patch219: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0119 Patch220: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0120 Patch221: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0121 Patch222: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0122 Patch223: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0123 Patch224: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0124 Patch225: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0125 Patch226: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0126 Patch227: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0127 Patch228: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0128 Patch229: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0129 Patch230: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0130 Patch231: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0131 Patch232: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0132 Patch233: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0133 Patch234: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0134 Patch235: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0135 Patch236: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0136 Patch237: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0137 Patch238: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0138 Patch239: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0139 Patch240: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0140 Patch241: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0141 Patch242: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0142 Patch243: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0143 Patch244: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0144 Patch245: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0145 Patch246: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0146 Patch247: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0147 Patch248: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0148 Patch249: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0149 Patch250: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0150 Patch251: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0151 Patch252: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0152 Patch253: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0153 Patch254: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0154 Patch255: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0155 Patch256: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0156 Patch257: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0157 Patch258: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0158 Patch259: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0159 Patch260: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0160 Patch261: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0161 Patch262: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0162 Patch263: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0163 Patch264: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0164 Patch265: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0165 Patch266: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0166 Patch267: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0167 Patch268: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0168 Patch269: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0169 Patch270: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0170 Patch271: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0171 Patch272: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0172 Patch273: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0173 Patch274: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0174 Patch275: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0175 Patch276: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0176 Patch277: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0177 Patch278: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0178 Patch279: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0179 Patch280: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0180 Patch281: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0181 Patch282: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0182 Patch283: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0183 Patch284: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0184 Patch285: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0185 Patch286: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0186 Patch287: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0187 Patch288: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0188 Patch289: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0189 Patch290: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0190 Patch291: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0191 Patch292: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0192 Patch293: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0193 Patch294: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0194 Patch295: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0195 Patch296: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0196 Patch297: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0197 Patch298: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0198 Patch299: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0199 Patch300: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0200 Patch301: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0201 Patch302: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0202 Patch303: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0203 Patch304: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0204 Patch305: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0205 Patch306: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0206 Patch307: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0207 Patch308: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0208 Patch309: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0209 Patch310: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0210 Patch311: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0211 Patch312: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0212 Patch313: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0213 Patch314: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0214 Patch315: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0215 Patch316: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0216 Patch317: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0217 Patch318: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0218 Patch319: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0219 Patch320: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0220 Patch321: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0221 Patch322: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0222 Patch323: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0223 Patch324: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0224 Patch325: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0225 Patch326: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0226 Patch327: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0227 Patch328: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0228 Patch329: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0229 Patch330: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0230 Patch331: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0231 Patch332: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0232 Patch333: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0233 Patch334: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0234 Patch335: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0235 Patch336: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0236 Patch337: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0237 Patch338: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0238 Patch339: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0239 Patch340: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0240 Patch341: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0241 Patch342: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0242 Patch343: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0243 Patch344: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0244 Patch345: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0245 Patch346: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0246 Patch347: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0247 Patch348: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0248 Patch349: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0249 Patch350: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0250 Patch351: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0251 Patch352: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0252 Patch353: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0253 Patch354: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0254 Patch355: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0255 Patch356: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0256 Patch357: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0257 Patch358: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0258 Patch359: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0259 Patch360: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0260 Patch361: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0261 Patch362: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0262 Patch363: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0263 Patch364: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0264 Patch365: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0265 Patch366: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0266 Patch367: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0267 Patch368: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0268 Patch369: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0269 Patch370: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0270 Patch371: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0271 Patch372: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0272 Patch373: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0273 Patch374: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0274 Patch375: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0275 Patch376: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0276 Patch377: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0277 Patch378: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0278 Patch379: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0279 Patch380: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0280 Patch381: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0281 Patch382: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0282 Patch383: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0283 Patch384: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0284 Patch385: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0285 Patch386: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0286 Patch387: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0287 Patch388: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0288 Patch389: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0289 Patch390: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0290 Patch391: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0291 Patch392: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0292 Patch393: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0293 Patch394: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0294 Patch395: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0295 Patch396: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0296 Patch397: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0297 Patch398: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0298 Patch399: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0299 Patch400: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0300 Patch401: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0301 Patch402: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0302 Patch403: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0303 Patch404: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0304 Patch405: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0305 Patch406: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0306 Patch407: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0307 Patch408: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0308 Patch409: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0309 Patch410: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0310 Patch411: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0311 Patch412: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0312 Patch413: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0313 Patch414: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0314 Patch415: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0315 Patch416: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0316 Patch417: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0317 Patch418: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0318 Patch419: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0319 Patch420: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0320 Patch421: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0321 Patch422: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0322 Patch423: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0323 Patch424: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0324 Patch425: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0325 Patch426: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0326 Patch427: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0327 Patch428: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0328 Patch429: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0329 Patch430: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0330 Patch431: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0331 Patch432: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0332 Patch433: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0333 Patch434: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0334 Patch435: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0335 Patch436: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0336 Patch437: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0337 Patch438: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0338 Patch439: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0339 Patch440: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0340 Patch441: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0341 Patch442: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0342 Patch443: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0343 Patch444: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0344 Patch445: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0345 Patch446: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0346 Patch447: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0347 Patch448: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0348 Patch449: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0349 Patch450: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0350 Patch451: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0351 Patch452: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0352 Patch453: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0353 Patch454: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0354 Patch455: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0355 Patch456: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0356 Patch457: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0357 Patch458: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0358 Patch459: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0359 Patch460: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0360 Patch461: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0361 Patch462: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0362 Patch463: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0363 Patch464: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0364 Patch465: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0365 Patch466: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0366 Patch467: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/%{V_vl}.0367 # build information BuildPreReq: OpenPKG, openpkg >= 20160101, ncurses PreReq: OpenPKG, openpkg >= 20160101, ncurses %if "%{with_perl}" == "yes" BuildPreReq: perl PreReq: perl %endif %if "%{with_python}" == "yes" BuildPreReq: python PreReq: python %endif %if "%{with_tcl}" == "yes" BuildPreReq: tcl PreReq: tcl %endif %if "%{with_ruby}" == "yes" BuildPreReq: ruby PreReq: ruby %endif %if "%{with_shell}" == "yes" BuildPreReq: autoconf %endif %description Vim (Vi Improved) is a text editor that is upwards compatible with the classical Unix Vi. It can be used to edit any ASCII text. It is especially useful for editing programs. Vim offers a lot of enhancements not available in the traditional Vi. For example, Vim has multi level undo, multi windows and buffers, syntax highlighting, command line editing, filename completion, on-line help, and visual selection. %track prog vim = { version = %{V_vl} url = ftp://ftp.vim.org/pub/vim/unix/ regex = vim-(\d+.\d+)\.tar\.(gz|bz2) } prog vim:patchlevel = { version = %{V_vl}.%{V_pl} url = ftp://ftp.vim.org/pub/vim/patches/%{V_vl}/ regex = (%{V_vl}\.\d+) } %prep # unpack base distribution parts %setup -q -c %patch -p0 %if "%{with_shell}" == "yes" %patch -p0 -d vim%{V_vs} -P 1 %endif # apply bundle patchsets # for patchset in 0001-1000; do # %{l_gzip} -d -c $RPM_SOURCE_DIR/%{V_vl}.$patchset.gz |\ # %{l_patch} -p0 -E -t -s >/dev/null 2>&1 || true # done # apply remaining single patches i=1 while [ $i -le %{V_pl} ]; do cat $RPM_SOURCE_DIR/%{V_vl}.`echo $i | awk '{ printf("%04d", $0); }'` |\ %{l_patch} -p0 -E -t -s >/dev/null 2>&1 || true i=`expr $i + 1` done # adjust introduction text for OpenPKG branding %{l_shtool} subst \ -e 's;Modified by;Packaged by;' \ vim%{V_vs}/src/version.c # adjust paths to global configuration files %{l_shtool} subst \ -e 's;^/\* \(#define SYS_VIMRC_FILE\).*$;\1 "%{l_prefix}/etc/vim/vimrc";' \ -e 's;^/\* \(#define SYS_GVIMRC_FILE\).*$;\1 "%{l_prefix}/etc/vim/gvimrc";' \ vim%{V_vs}/src/feature.h %if "%{with_python}" == "yes" # fix Python includes %{l_shtool} subst \ -e 's;PYTHON_CFLAGS=.*$;PYTHON_CFLAGS="`python-config --includes`";' \ vim%{V_vs}/src/auto/configure %endif %build # configure package cd vim%{V_vs}/src %if "%{with_shell}" == "yes" %{l_make} %{l_mflags} autoconf %endif CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags}" \ LDFLAGS="%{l_ldflags}" \ GREP="grep" \ ./configure \ --prefix=%{l_prefix} \ --mandir=%{l_prefix}/man \ --with-local-dir=%{l_prefix} \ --with-global-runtime=%{l_prefix}/lib/vim \ --with-modified-by='%{l_openpkg_release}' \ --with-tlib=ncurses \ --without-x \ --disable-gui \ %if "%{with_features}" == "huge" --with-features=huge \ %else %if "%{with_features}" == "big" --with-features=big \ %else %if "%{with_features}" == "small" --with-features=small \ %else --with-features=normal \ %endif %endif %endif %if "%{with_multibyte}" == "yes" --enable-multibyte \ %endif %if "%{with_perl}" == "yes" --enable-perlinterp \ %else --disable-perlinterp \ %endif %if "%{with_python}" == "yes" --enable-pythoninterp \ --with-python-config-dir=%{l_prefix}/lib/python/config \ %else --disable-pythoninterp \ %endif %if "%{with_tcl}" == "yes" --enable-tclinterp \ %else --disable-tclinterp \ %endif %if "%{with_ruby}" == "yes" --enable-rubyinterp \ %else --disable-rubyinterp \ %endif --disable-nls %{l_shtool} subst \ -e 's;^\(VIMRTDIR[^=]*=\).*;\1;' \ Makefile # build package %{l_make} %{l_mflags -O} %install # perform package installation procedure ( cd vim%{V_vs}/src %{l_make} %{l_mflags} install \ prefix=$RPM_BUILD_ROOT%{l_prefix} \ MANDIR=$RPM_BUILD_ROOT%{l_prefix}/man ) || exit $? # strip down installation hierarchy strip $RPM_BUILD_ROOT%{l_prefix}/bin/vim >/dev/null 2>&1 || true rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/xxd rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/xxd.1 rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/vim/tools rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/vim/macros # add links for program runtime variants for link in vi ex rview rvim view vimdiff; do rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/$link ln $RPM_BUILD_ROOT%{l_prefix}/bin/vim \ $RPM_BUILD_ROOT%{l_prefix}/bin/$link rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/$link.1 ln $RPM_BUILD_ROOT%{l_prefix}/man/man1/vim.1 \ $RPM_BUILD_ROOT%{l_prefix}/man/man1/$link.1 done # create installation area for addon packages %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/lib/vim # install run-command script %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d %{l_shtool} install -c -m 755 %{l_value -s -a} \ %{SOURCE rc.vim} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ # install default configuration %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/vim %{l_shtool} install -c -m 755 %{l_value -s -a} \ %{SOURCE vimrc} $RPM_BUILD_ROOT%{l_prefix}/etc/vim/ # determine installation files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%config %{l_prefix}/etc/vim/vimrc' %files -f files %clean %preun if [ $1 -eq 0 ]; then # remove a (usually empty) "helptags" file of addon packages rm -f $RPM_INSTALL_PREFIX/lib/vim/doc/tags >/dev/null 2>&1 || true fi