]>
Commit | Line | Data |
---|---|---|
9bc905eb AM |
1 | # TODO: |
2 | # - some nice icon | |
d6de9a65 | 3 | # - bonobo patches need update |
6facb60f JB |
4 | # |
5 | # Conditional build: | |
ec23c5c9 JB |
6 | %bcond_without static # don't build static version |
7 | %bcond_without athena # don't build Athena Widgets-based gvim | |
8 | %bcond_without motif # don't build Motif-based gvim | |
e746f321 | 9 | %bcond_without gtk # don't build GTK+-based gvim support |
10 | %bcond_without gnome # don't build GNOME-based gvim support | |
071ce85b | 11 | %bcond_without perl # without Perl interp |
4399a7e9 | 12 | %bcond_with python # with Python interp |
6dc50f24 AG |
13 | %bcond_with ruby # with Ruby interp |
14 | %bcond_with tcl # with Tcl interp | |
ec23c5c9 JB |
15 | %bcond_with bonobo # with bonobo component (breaks other things) |
16 | %bcond_without selinux # without selinux support | |
ec23c5c9 | 17 | %bcond_without home_etc # without home_etc support |
7ba74caf | 18 | # |
9bc905eb | 19 | %define _ver 7.0 |
e8531d99 AG |
20 | %define _patchlevel 158 |
21 | %define _rel 1 | |
80b161c5 | 22 | |
fc7b36fc ER |
23 | # cflags get changed while configuring |
24 | %undefine configure_cache | |
25 | # | |
84c81dea | 26 | Summary: Vi IMproved - a Vi clone |
1a02d184 ER |
27 | Summary(de.UTF-8): VIsual editor iMproved |
28 | Summary(es.UTF-8): Editor visual incrementado | |
29 | Summary(fr.UTF-8): Editeur VIM : VIsual editor iMproved | |
30 | Summary(pl.UTF-8): Vi IMproved - klon edytora Vi | |
31 | Summary(pt_BR.UTF-8): Editor visual incrementado | |
32 | Summary(ru.UTF-8): Visual editor IMproved - Единственно Правильный Редактор :) | |
33 | Summary(tr.UTF-8): Gelişmiş bir vi sürümü | |
34 | Summary(uk.UTF-8): Visual editor IMproved - Єдино Вірний Редактор :) | |
86c64819 | 35 | Name: vim |
96eaec6a | 36 | Version: %{_ver}.%{_patchlevel} |
c557a18e | 37 | Release: %{_rel} |
2f66771d | 38 | Epoch: 4 |
f73b565e | 39 | License: Charityware |
8627c94f | 40 | Group: Applications/Editors/Vim |
96eaec6a | 41 | Source0: ftp://ftp.vim.org/pub/vim/unix/%{name}-%{_ver}.tar.bz2 |
0b31d255 | 42 | # Source0-md5: 4ca69757678272f718b1041c810d82d8 |
aaf60aad | 43 | Source1: ftp://ftp.vim.org/pub/vim/extra/%{name}-%{_ver}-lang.tar.gz |
0b31d255 | 44 | # Source1-md5: 6d43efaff570b5c86e76b833ea0c6a04 |
96eaec6a AG |
45 | Source2: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 |
46 | # Source2-md5: bc4d1e115ca506ad7751b9bd2b773a7f | |
47 | Source3: http://skawina.eu.org/mikolaj/usr_doc_pl.zip | |
48 | # Source3-md5: ff96284b1c913d55cf0877839b34d490 | |
59e47b54 AF |
49 | Source10: g%{name}-athena.desktop |
50 | Source11: g%{name}-motif.desktop | |
51 | Source12: g%{name}-gtk.desktop | |
52 | Source13: g%{name}-gnome.desktop | |
0f99c50f | 53 | Source14: %{name}.desktop |
fa5af23b | 54 | # http://www.vim.org/scripts/script.php?script_id=415 (1.13) |
19d8e711 AG |
55 | Source15: zenburn.%{name} |
56 | Source16: spec.%{name} | |
4b308627 | 57 | # http://www.vim.org/scripts/script.php?script_id=1491 (0.5) |
19d8e711 | 58 | Source17: javascript.%{name} |
aaf60aad ER |
59 | Source18: nagios.%{name} |
60 | Source19: %{name}-ftplugin-spec.vim | |
db58c86e | 61 | Patch0: %{name}-sysconfdir.patch |
62 | Patch1: %{name}-visual.patch | |
63 | Patch2: %{name}-paths.patch | |
d1abaab5 AG |
64 | Patch3: %{name}-%{name}rc.patch |
65 | Patch4: %{name}-no_libelf.patch | |
66 | Patch5: %{name}-egrep.patch | |
67 | Patch6: %{name}-awk.patch | |
d6de9a65 AG |
68 | Patch7: %{name}-filetype_vim-perl_tests.patch |
69 | Patch8: %{name}-apache.patch | |
70 | Patch9: %{name}-po-syntax.patch | |
71 | Patch10: %{name}-modprobe.patch | |
72 | Patch11: %{name}-doubleparenthesis.patch | |
73 | Patch12: %{name}-syntax-fstab.patch | |
74 | Patch13: 010_all_%{name}-6.3-vixie.patch | |
75 | Patch14: 013_all_%{name}-7.0-cron-vars-79981.patch | |
76 | Patch15: 020_all_%{name}-7.0-fstab-tmpfs-size.patch | |
77 | Patch16: 021_all_%{name}-7.0-fstab-bogus-errors.patch | |
78 | Patch17: 024_all_%{name}-6.3-bash-83565.patch | |
79 | Patch18: 027_all_%{name}-7.0-automake-substitutions-93378.patch | |
80 | Patch19: %{name}-smarty.patch | |
81 | Patch20: %{name}-tutor-lessdeps.patch | |
82 | Patch21: %{name}-nagios.patch | |
83 | Patch22: %{name}-filetypes.patch | |
9c95080e | 84 | Patch23: %{name}-man_installation.patch |
d6de9a65 AG |
85 | Patch100: %{name}-bonobo-20050909.patch |
86 | Patch101: %{name}-bonobo.patch | |
87 | Patch102: %{name}-gtkfilechooser.patch | |
88 | Patch103: %{name}-gtkfilechooser-bonobo.patch | |
89 | Patch104: %{name}-home_etc.patch | |
90 | Patch105: %{name}-selinux.patch | |
aaf60aad | 91 | Patch106: %{name}-fstab-uuid.patch |
e8531d99 | 92 | Patch107: %{name}-autopaste.patch |
9e18e433 | 93 | Patch108: %{name}-ft-cron.patch |
aaf60aad ER |
94 | Patch201: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.001 |
95 | Patch202: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.002 | |
96 | Patch203: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.003 | |
97 | Patch204: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.004 | |
96eaec6a | 98 | # patch for -extra |
aaf60aad ER |
99 | #Patch205: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.005 |
100 | Patch206: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.006 | |
101 | Patch207: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.007 | |
102 | Patch208: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.008 | |
103 | Patch209: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.009 | |
104 | Patch210: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.010 | |
105 | Patch211: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.011 | |
106 | Patch212: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.012 | |
107 | Patch213: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.013 | |
108 | Patch214: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.014 | |
109 | Patch215: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.015 | |
110 | Patch216: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.016 | |
111 | Patch217: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.017 | |
112 | Patch218: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.018 | |
113 | Patch219: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.019 | |
114 | Patch220: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.020 | |
115 | Patch221: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.021 | |
116 | Patch222: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.022 | |
117 | Patch223: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.023 | |
118 | Patch224: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.024 | |
119 | Patch225: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.025 | |
120 | Patch226: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.026 | |
9f49ec19 | 121 | # patches for -extra |
aaf60aad ER |
122 | #Patch227: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.027 |
123 | #Patch228: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.028 | |
124 | Patch229: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.029 | |
125 | Patch230: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.030 | |
126 | Patch231: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.031 | |
9f49ec19 | 127 | # patch for -extra |
aaf60aad ER |
128 | #Patch232: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.032 |
129 | Patch233: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.033 | |
130 | Patch234: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.034 | |
131 | Patch235: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.035 | |
132 | Patch236: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.036 | |
133 | Patch237: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.037 | |
134 | Patch238: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.038 | |
135 | Patch239: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.039 | |
136 | Patch240: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.040 | |
137 | Patch241: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.041 | |
138 | Patch242: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.042 | |
139 | Patch243: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.043 | |
140 | Patch244: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.044 | |
7bf3e98e | 141 | # patch for -extra |
aaf60aad ER |
142 | #Patch245: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.045 |
143 | Patch246: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.046 | |
144 | Patch247: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.047 | |
145 | Patch248: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.048 | |
146 | Patch249: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.049 | |
147 | Patch250: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.050 | |
148 | Patch251: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.051 | |
149 | Patch252: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.052 | |
150 | Patch253: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.053 | |
151 | Patch254: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.054 | |
152 | Patch255: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.055 | |
153 | Patch256: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.056 | |
7cfaaedd | 154 | # patch for -extra |
aaf60aad ER |
155 | #Patch257: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.057 |
156 | Patch258: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.058 | |
157 | Patch259: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.059 | |
158 | Patch260: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.060 | |
159 | Patch261: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.061 | |
160 | Patch262: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.062 | |
161 | Patch263: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.063 | |
162 | Patch264: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.064 | |
7cfaaedd | 163 | # patch for -extra |
aaf60aad ER |
164 | #Patch265: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.065 |
165 | Patch266: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.066 | |
904fcf75 ER |
166 | Patch267: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.067 |
167 | Patch268: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.068 | |
168 | Patch269: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.069 | |
169 | Patch270: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.070 | |
170 | Patch271: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.071 | |
171 | Patch272: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.072 | |
172 | Patch273: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.073 | |
173 | # patch for -extra | |
174 | #Patch274: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.074 | |
175 | Patch275: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.075 | |
176 | Patch276: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.076 | |
177 | Patch277: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.077 | |
178 | Patch278: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.078 | |
179 | Patch279: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.079 | |
180 | Patch280: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.080 | |
181 | Patch281: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.081 | |
e8531d99 AG |
182 | Patch282: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.082 |
183 | Patch283: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.083 | |
184 | Patch284: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.084 | |
185 | Patch285: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.085 | |
186 | Patch286: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.086 | |
187 | Patch287: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.087 | |
188 | Patch288: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.088 | |
189 | Patch289: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.089 | |
190 | Patch290: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.090 | |
191 | Patch291: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.091 | |
192 | Patch292: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.092 | |
193 | Patch293: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.093 | |
194 | Patch294: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.094 | |
195 | Patch295: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.095 | |
196 | Patch296: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.096 | |
197 | Patch297: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.097 | |
198 | Patch298: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.098 | |
199 | Patch299: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.099 | |
200 | Patch300: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.100 | |
201 | Patch301: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.101 | |
202 | Patch302: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.102 | |
203 | Patch303: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.103 | |
204 | Patch304: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.104 | |
205 | Patch305: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.105 | |
206 | Patch306: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.106 | |
207 | Patch307: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.107 | |
208 | # patch for -extra | |
209 | #Patch308: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.108 | |
210 | Patch309: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.109 | |
211 | Patch310: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.110 | |
212 | Patch311: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.111 | |
213 | Patch312: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.112 | |
214 | Patch313: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.113 | |
215 | Patch314: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.114 | |
216 | Patch315: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.115 | |
217 | Patch316: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.116 | |
218 | Patch317: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.117 | |
219 | Patch318: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.118 | |
220 | Patch319: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.119 | |
221 | Patch320: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.120 | |
222 | Patch321: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.121 | |
223 | Patch322: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.122 | |
224 | Patch323: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.123 | |
225 | Patch324: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.124 | |
226 | Patch325: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.125 | |
227 | Patch326: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.126 | |
228 | Patch327: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.127 | |
229 | Patch328: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.128 | |
230 | Patch329: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.129 | |
231 | # patch for -extra | |
232 | #Patch330: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.130 | |
233 | Patch331: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.131 | |
234 | # patch for -extra | |
235 | #Patch332: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.132 | |
236 | Patch333: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.133 | |
237 | Patch334: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.134 | |
238 | Patch335: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.135 | |
239 | Patch336: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.136 | |
240 | Patch337: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.137 | |
241 | # patch for -extra | |
242 | #Patch338: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.138 | |
243 | Patch339: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.139 | |
244 | Patch340: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.140 | |
245 | Patch341: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.141 | |
246 | Patch342: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.142 | |
247 | Patch343: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.143 | |
248 | Patch344: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.144 | |
249 | Patch345: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.145 | |
250 | Patch346: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.146 | |
251 | Patch347: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.147 | |
252 | Patch348: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.148 | |
253 | Patch349: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.149 | |
254 | Patch350: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.150 | |
255 | Patch351: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.151 | |
256 | Patch352: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.152 | |
257 | Patch353: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.153 | |
258 | Patch354: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.154 | |
259 | Patch355: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.155 | |
260 | # patch for -extra | |
261 | #Patch356: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.156 | |
262 | Patch357: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.157 | |
263 | Patch358: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.158 | |
f73b565e | 264 | URL: http://www.vim.org/ |
21ab67a5 | 265 | BuildRequires: acl-devel |
da7b5595 JB |
266 | BuildRequires: autoconf |
267 | BuildRequires: gettext-devel | |
84c81dea | 268 | BuildRequires: gpm-devel |
a8f099d1 | 269 | %{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.6.0} |
d6e63bbe | 270 | %{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1} |
e57aa23e | 271 | %{?with_selinux:BuildRequires: libselinux-devel} |
1fa34b46 | 272 | BuildRequires: ncurses-devel |
e37f7386 | 273 | %{?with_motif:BuildRequires: openmotif-devel} |
d6e63bbe | 274 | %{?with_perl:BuildRequires: perl-devel} |
f14f41d3 | 275 | %{?with_python:BuildRequires: python-devel >= 2.5} |
2a5b9a50 | 276 | %{?with_ruby:BuildRequires: ruby-devel} |
d6e63bbe | 277 | %{?with_tcl:BuildRequires: tcl-devel} |
2a61b438 ER |
278 | %{?with_athena:BuildRequires: xorg-lib-libXaw-devel} |
279 | Obsoletes: kvim | |
40ff2b7e JB |
280 | %if %{with bonobo} |
281 | BuildRequires: ORBit2-devel | |
282 | BuildRequires: libbonoboui-devel >= 2.2.0 | |
e37f7386 | 283 | BuildRequires: libgnomeui-devel >= 2.2.0.1 |
40ff2b7e JB |
284 | BuildRequires: nautilus-devel >= 2.2.0 |
285 | %endif | |
70502921 | 286 | BuildRequires: rpmbuild(macros) >= 1.311 |
082a03d8 AM |
287 | %if %{with static} |
288 | BuildRequires: acl-static | |
40ff2b7e JB |
289 | BuildRequires: attr-static |
290 | BuildRequires: glibc-static | |
e57aa23e | 291 | %{?with_selinux:BuildRequires: libselinux-static} |
40ff2b7e | 292 | BuildRequires: ncurses-static |
082a03d8 | 293 | %else |
7ba74caf | 294 | Provides: %{name}-static = %{epoch}:%{version}-%{release} |
214d5c14 ER |
295 | Obsoletes: elvis-static |
296 | Obsoletes: nvi | |
297 | Obsoletes: vi | |
298 | Obsoletes: vim-minimal | |
fc7b36fc | 299 | Obsoletes: vim-static |
082a03d8 | 300 | %endif |
7b8fe793 | 301 | BuildRequires: unzip |
99216be1 | 302 | Requires: %{name}-rt = %{epoch}:%{version}-%{release} |
ed99f1fe | 303 | Provides: vi-editor |
fc7b36fc | 304 | Provides: vi |
84c81dea | 305 | Obsoletes: vim-enhanced |
5664b129 | 306 | Obsoletes: vim-ispell |
ea73bb7e | 307 | Obsoletes: vim-plugin-multvals |
beb06d49 | 308 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8627c94f | 309 | |
f2ff3795 | 310 | # that's example script |
311 | %define _noautoreq '/bin/csh' | |
312 | ||
84c81dea | 313 | %description |
f73b565e | 314 | Text editor similar to Vi. Important improvements: multiple windows, |
b83ed9cf | 315 | multi-level undo, block highliting, folding, and many other. |
f73b565e | 316 | |
5cf83aa7 JR |
317 | %description -l cs.UTF-8 |
318 | ViM je nový a vylepšený editor vycházející z klasického editoru vi. Vi | |
319 | byl prvním celoobrazovkovým editorem pro Unix a je stále velmi | |
320 | populární. ViM je obohacený funkcemi jako: podpora více oken, | |
321 | víceúrovňové undo, zvýrazňování bloků a řadu dalších užitečných | |
322 | funkcí. | |
507e1057 | 323 | |
5cf83aa7 | 324 | %description -l de.UTF-8 |
f73b565e | 325 | Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon |
326 | des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert | |
327 | wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion, | |
328 | Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum | |
329 | Standard-vi-Programm. | |
330 | ||
5cf83aa7 JR |
331 | %description -l es.UTF-8 |
332 | El editor Visual Mejorado es una versión actualizada y con nuevas | |
333 | características adicionales del mundialmente famoso 'vi' que acompaña | |
334 | prácticamente todos los sistemas UN*X. Posibilita trabajar con | |
335 | múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y | |
336 | otras muchas características del 'vi'. | |
337 | ||
338 | %description -l fr.UTF-8 | |
339 | L'éditeur VIsuel aMélioré est un clone mis à jour et doté de | |
340 | caractéristiques supplémentaires de l'éditeur « vi » fourni avec | |
341 | pratiquement tous les systèmes UN*X. Il ajoute les fenêtres | |
342 | mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des | |
343 | blocs et autres caractéristiques au vi de base. | |
344 | ||
345 | %description -l id.UTF-8 | |
507e1057 | 346 | VIM (VIsual editor iMproved) adalah versi vi editor yang sudah |
347 | diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang | |
348 | pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM | |
349 | mengembangkan vi dengan menambah kemampuan baru seperti: multiple | |
350 | windows, multi-level undo, block highlighting, dll. | |
351 | ||
5cf83aa7 JR |
352 | %description -l is.UTF-8 |
353 | VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi | |
354 | ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög | |
355 | vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og | |
356 | gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og | |
507e1057 | 357 | fleira. |
358 | ||
5cf83aa7 JR |
359 | %description -l it.UTF-8 |
360 | VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor | |
361 | vi. Vi è stato il primo editor per UNIX realmente basato su video ed è | |
507e1057 | 362 | ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni: |
363 | finestre multiple, funzione \"annulla\" multilivello, evidenziazione | |
364 | dei blocchi e altro. | |
365 | ||
5cf83aa7 JR |
366 | %description -l pl.UTF-8 |
367 | Edytor tekstu podobny do Vi. Ważne ulepszenia: możliwość pracy w wielu | |
368 | oknach, wielopoziomowa opcja 'cofnij', bloki, podświetlanie składni, | |
b83ed9cf | 369 | folding i wiele innych. |
8f1c0b93 | 370 | |
5cf83aa7 JR |
371 | %description -l pt.UTF-8 |
372 | O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do | |
373 | editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para | |
374 | o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando | |
375 | novas potencialidades: janelas múltiplas, anulação multi-nível, realce | |
507e1057 | 376 | de blocos e mais. |
377 | ||
5cf83aa7 JR |
378 | %description -l pt_BR.UTF-8 |
379 | O editor Vim (Vi Enhanced) é um versão atualizada e com novas | |
380 | características do mundialmente famoso 'vi' que acompanha praticamente | |
381 | todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas | |
382 | janelas, vários níveis de desfazer, blocos enfatizados, e muitas | |
383 | outras características do 'vi'. | |
384 | ||
385 | %description -l ru.UTF-8 | |
386 | VIsual editor iMproved - это обновленный и значительно улучшенный клон | |
387 | редактора vi, который поставляется практически со всеми | |
388 | UN*X-системами. В этой версии есть многоуровневый откат, выделение | |
389 | блоков, синтаксическая подсветка и много другого... | |
390 | ||
391 | %description -l sk.UTF-8 | |
392 | VIM (VIsual editor iMproved) je novšia a vylepšená verzia editoru vi. | |
393 | Vi bol prvým skutočne obrazovkovo orientovaným editorom pre UNIX a | |
394 | stále je veľmi populárny. VIM má oproti vi vylepšenia ako: prácu s | |
395 | viacerými oknami, viacnásobné undo, zvýrazňovanie blokov textu a iné. | |
396 | ||
397 | %description -l sv.UTF-8 | |
398 | VIM (Vi IMproved) är en uppdaterad och förbättrad version av | |
399 | redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren | |
400 | till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med | |
401 | nya finesser: flera fönster, flernivå ångra, blockmarkering och mer | |
402 | ändå. | |
403 | ||
404 | %description -l tr.UTF-8 | |
405 | Standart vi metin düzenleyicisinin gelişmiş hali; daha fazla komut, | |
406 | birden fazla pencere desteği ve blok işaretleme yetenekleri içerir. | |
407 | ||
408 | %description -l uk.UTF-8 | |
409 | VIsual editor iMproved - це оновлений та значно поліпшений клон | |
410 | редактора vi, який поставляється практично зі всіма UN*X-системами. В | |
411 | цій версії є багаторівневий відкат, виділення блоків, синтаксична | |
412 | підсвітка та багато іншого... | |
9e79ff1a | 413 | |
5f8672c8 JB |
414 | %package -n xxd |
415 | Summary: Utility to convert files to hexdump or do the reverse | |
1a02d184 | 416 | Summary(pl.UTF-8): Narzędzie do zamiany plików na postać szesnastkową i odwrotnie |
5f8672c8 | 417 | Group: Applications/Editors/Vim |
5f8672c8 JB |
418 | |
419 | %description -n xxd | |
420 | xxd creates a hex dump of a given file or standard input. It can also | |
421 | convert a hex dump back to its original binary form. Like uuencode and | |
422 | uudecode it allows the transmission of binary data in a `mail-safe' | |
423 | ASCII representation, but has the advantage of decoding to standard | |
424 | output. Moreover, it can be used to perform binary file patching. | |
425 | ||
5cf83aa7 JR |
426 | %description -n xxd -l pl.UTF-8 |
427 | xxd tworzy szesnastkowy zapis pliku podanego na standardowe wejście. | |
428 | Może także przekonwertować taki zapis na oryginalną, binarną postać. | |
429 | Podobnie jak uuencode i uudecode pozwala na przesyłanie danych | |
430 | binarnych w postaci ASCII, ale ma możliwość dekodowania na standardowe | |
431 | wyjście. Co więcej, może być użyty do modyfikowania plików binarnych. | |
5f8672c8 | 432 | |
6590d069 | 433 | %package static |
7e3e3036 | 434 | Summary: Statically linked Vim |
1a02d184 | 435 | Summary(pl.UTF-8): Statycznie skonsolidowany Vim |
84c81dea | 436 | Group: Applications/Editors/Vim |
ed99f1fe | 437 | Provides: vi-editor |
fc7b36fc | 438 | Provides: vi |
95a598bc JB |
439 | Obsoletes: elvis-static |
440 | Obsoletes: nvi | |
84c81dea | 441 | Obsoletes: vim-minimal |
c9897555 | 442 | |
84c81dea | 443 | %description static |
b83ed9cf | 444 | Text editor similar to Vi. This version is built with minimal feature |
f73b565e | 445 | and is installed in /bin as a rescue tool. The installation of this |
446 | package is STRONGLY recommended. | |
84c81dea | 447 | |
5cf83aa7 JR |
448 | %description static -l pl.UTF-8 |
449 | Edytor tekstu podobny do Vi. Ta wersja została skonsolidowana | |
450 | statycznie i posiada minimalną ilość dodatków. Jest instalowana w /bin | |
451 | jako narzędzie dla administratora. Instalacja tego pakietu jest MOCNO | |
452 | zalecana, może on pomóc Ci uratować system w czasie awarii. | |
8627c94f | 453 | |
5cf83aa7 JR |
454 | %description static -l ru.UTF-8 |
455 | Пакет vim-static устанавливает разновидность vim как /bin/vi, что | |
456 | удобно для запуска даже когда смонтирована только корневая файловая | |
457 | система. | |
9e79ff1a | 458 | |
5cf83aa7 JR |
459 | %description static -l uk.UTF-8 |
460 | Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для | |
461 | запуску навіть тоді, коли змонтована тільки корньова файлова система. | |
9e79ff1a | 462 | |
c9897555 | 463 | %package rt |
8627c94f | 464 | Summary: Vim runtime files |
1a02d184 ER |
465 | Summary(cs.UTF-8): Soubory nezbytné pro libovolný editor ViM |
466 | Summary(da.UTF-8): Fælles filer som er nødvendige for enhver version af VIM editoren | |
467 | Summary(de.UTF-8): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien | |
468 | Summary(es.UTF-8): Ficheros comunes a todas las versiones de VIM | |
469 | Summary(fr.UTF-8): Fichiers communs indispensables pour toute version de l'éditeur VIM | |
470 | Summary(id.UTF-8): File umum yang dibutuhkan oleh semua versi editor VIM | |
471 | Summary(is.UTF-8): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda | |
472 | Summary(it.UTF-8): File comuni necessari per tutte le versioni dell'editor VIM | |
473 | Summary(ja.UTF-8): すべてのバージョンの VIM エディタで必要とされる共通ファイル | |
474 | Summary(nb.UTF-8): Felles filer som er nødvendige for enhver versjon av VIM editoren | |
475 | Summary(pl.UTF-8): Pliki przydatne edytorowi Vim | |
476 | Summary(pt.UTF-8): Os ficheiros comuns necessários para qualquer versão do editor VIM | |
477 | Summary(ru.UTF-8): Файлы, требуемые для любой версии редактора vim | |
478 | Summary(sk.UTF-8): Spoločné súbory potrebné pre všetky verzie editoru VIM | |
479 | Summary(sl.UTF-8): Skupne datoteke, potrebne s katerokoli različico urejevalnika VIM | |
480 | Summary(sv.UTF-8): De gemensamma filerna som behövs av alla versioner av redigeraren VIM | |
481 | Summary(uk.UTF-8): Файли, потрібні для будь-якої версії редактору vim | |
482 | Summary(zh_CN.UTF-8): 任何版本的 VIM 编辑器所需的公用文件。 | |
8627c94f | 483 | Group: Applications/Editors/Vim |
fc7b36fc | 484 | # mktemp is for vimtutor |
b8b82f5a | 485 | Requires: mktemp |
ed99f1fe | 486 | Requires: vi-editor |
84c81dea | 487 | Obsoletes: vim-common |
8627c94f | 488 | |
489 | %description rt | |
f73b565e | 490 | This package contains macros, documentation, syntax configuration and |
ec6033c5 | 491 | manual pages for Vim. If you want to take advantage of Vim more |
f73b565e | 492 | powerful features, you should install this package. |
8627c94f | 493 | |
5cf83aa7 JR |
494 | %description rt -l cs.UTF-8 |
495 | Tento balíček obsahuje společné soubory pro všechny další balíčky s | |
507e1057 | 496 | vim. |
497 | ||
5cf83aa7 | 498 | %description rt -l da.UTF-8 |
507e1057 | 499 | The vim-rt package contains files which every VIM binary will need in |
500 | order to run. | |
501 | ||
5cf83aa7 JR |
502 | %description rt -l de.UTF-8 |
503 | Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die | |
504 | Ausführung benötigt. | |
507e1057 | 505 | |
5cf83aa7 | 506 | %description rt -l fr.UTF-8 |
507e1057 | 507 | Le paquetage vim-rt contient des fichiers dont chaque fichier binaire |
508 | VIM a besoin pour fonctionner. | |
509 | ||
5cf83aa7 | 510 | %description rt -l id.UTF-8 |
507e1057 | 511 | Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa |
512 | berjalan. | |
513 | ||
5cf83aa7 JR |
514 | %description rt -l is.UTF-8 |
515 | vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa | |
516 | til að keyra. | |
507e1057 | 517 | |
5cf83aa7 | 518 | %description rt -l it.UTF-8 |
507e1057 | 519 | Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM |
520 | per poter funzionare. | |
521 | ||
5cf83aa7 JR |
522 | %description rt -l pl.UTF-8 |
523 | W tym pakiecie znajdziesz dokumentację, makra, pliki konfiguracyjne i | |
524 | strony podręcznika dla edytora Vim. Jeżeli chcesz korzystać z | |
525 | zaawansowanych możliwości Vima, powinieneś zainstalować ten pakiet. | |
84c81dea | 526 | |
5cf83aa7 JR |
527 | %description rt -l pt.UTF-8 |
528 | O pacote vim-rt contém os ficheiros que todos os executáveis do VIM | |
529 | irão necessitar para correr. | |
507e1057 | 530 | |
5cf83aa7 JR |
531 | %description rt -l ru.UTF-8 |
532 | Пакет vim-rt содержит файлы (например, файлы справки), которые нужны | |
533 | для работы любой программы vim. | |
9e79ff1a | 534 | |
5cf83aa7 JR |
535 | %description rt -l sk.UTF-8 |
536 | Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu | |
537 | funkciu každá verzia editoru VIM. | |
507e1057 | 538 | |
5cf83aa7 JR |
539 | %description rt -l sv.UTF-8 |
540 | Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att | |
541 | köra. | |
507e1057 | 542 | |
5cf83aa7 JR |
543 | %description rt -l uk.UTF-8 |
544 | Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні | |
545 | для роботи будь-якої програми vim. | |
9e79ff1a | 546 | |
4399a7e9 JB |
547 | %package spell-en |
548 | Summary: English dictionaries for VIMspell | |
1a02d184 | 549 | Summary(pl.UTF-8): Angielskie słowniki dla VIMspella |
4399a7e9 JB |
550 | Group: Applications/Editors/Vim |
551 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
552 | ||
553 | %description spell-en | |
554 | English dictionaries for VIMspell. | |
555 | ||
5cf83aa7 JR |
556 | %description spell-en -l pl.UTF-8 |
557 | Angielskie słowniki dla VIMspella. | |
4399a7e9 | 558 | |
84c81dea | 559 | %package -n gvim-athena |
6facb60f | 560 | Summary: Vim for X Window built with Athena |
1a02d184 | 561 | Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Athena |
84c81dea | 562 | Group: Applications/Editors/Vim |
99216be1 | 563 | Requires: %{name}-rt = %{epoch}:%{version}-%{release} |
d5d214fb | 564 | Requires: iconv |
ed99f1fe | 565 | Provides: vi-editor |
84c81dea | 566 | Obsoletes: vim-X11 |
567 | ||
568 | %description -n gvim-athena | |
f73b565e | 569 | The classic Unix text editor now also under X Window System! This |
b83ed9cf | 570 | version is built with Athena Widget Set. |
84c81dea | 571 | |
5cf83aa7 JR |
572 | %description -n gvim-athena -l pl.UTF-8 |
573 | Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem | |
f73b565e | 574 | biblioteki Athena Widget Set. |
84c81dea | 575 | |
5cf83aa7 JR |
576 | %description -n gvim-athena -l ru.UTF-8 |
577 | Этот пакет представляет собой версию VIM, собранную с библиотеками | |
578 | Athena Widget Set, что позволяет запускать VIM как приложение X Window | |
579 | System - с полностью графическим интерфейсом и поддержкой мыши. | |
9e79ff1a | 580 | |
5cf83aa7 JR |
581 | %description -n gvim-athena -l uk.UTF-8 |
582 | Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget | |
583 | Set, що дозволяє запускати VIM як прикладну програму X Window System - | |
584 | з повністю графічним інтерфейсом та підтримкою миші. | |
9e79ff1a | 585 | |
7a9200fa JR |
586 | %package -n gvim-motif |
587 | Summary: Vim for X Window built with Motif | |
1a02d184 | 588 | Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Motif |
84c81dea | 589 | Group: Applications/Editors/Vim |
99216be1 | 590 | Requires: %{name}-rt = %{epoch}:%{version}-%{release} |
d5d214fb | 591 | Requires: iconv |
ed99f1fe | 592 | Provides: vi-editor |
84c81dea | 593 | Obsoletes: vim-X11 |
8627c94f | 594 | |
7a9200fa | 595 | %description -n gvim-motif |
f73b565e | 596 | The classic Unix text editor now also under X Window System! This |
b83ed9cf | 597 | version is built with Motif. |
84c81dea | 598 | |
5cf83aa7 JR |
599 | %description -n gvim-motif -l pl.UTF-8 |
600 | Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem | |
7a9200fa | 601 | biblioteki Motif. |
84c81dea | 602 | |
5cf83aa7 JR |
603 | %description -n gvim-motif -l ru.UTF-8 |
604 | Этот пакет представляет собой версию VIM, собранную с библиотеками | |
605 | Motif, что позволяет запускать VIM как приложение X Window System - с | |
606 | полностью графическим интерфейсом и поддержкой мыши. | |
9e79ff1a | 607 | |
5cf83aa7 JR |
608 | %description -n gvim-motif -l uk.UTF-8 |
609 | Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що | |
610 | дозволяє запускати VIM як прикладну програму X Window System - з | |
611 | повністю графічним інтерфейсом та підтримкою миші. | |
9e79ff1a | 612 | |
84c81dea | 613 | %package -n gvim-gtk |
614 | Summary: Vim for X Window built with gtk | |
1a02d184 | 615 | Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki GTK |
8627c94f | 616 | Group: Applications/Editors/Vim |
9c95080e | 617 | Requires(post,postun): gtk+2 |
4399a7e9 | 618 | Requires(post,postun): hicolor-icon-theme |
99216be1 | 619 | Requires: %{name}-rt = %{epoch}:%{version}-%{release} |
d5d214fb | 620 | Requires: iconv |
ed99f1fe | 621 | Provides: vi-editor |
84c81dea | 622 | Obsoletes: vim-X11 |
8627c94f | 623 | |
84c81dea | 624 | %description -n gvim-gtk |
f73b565e | 625 | The classic Unix text editor now also under X Window System! This |
b83ed9cf | 626 | version is built with GTK. |
8627c94f | 627 | |
5cf83aa7 JR |
628 | %description -n gvim-gtk -l pl.UTF-8 |
629 | Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem | |
0d72267e | 630 | biblioteki GTK. |
d5d214fb | 631 | |
5cf83aa7 JR |
632 | %description -n gvim-gtk -l ru.UTF-8 |
633 | Этот пакет представляет собой версию VIM, собранную с библиотеками | |
634 | GTK, что позволяет запускать VIM как приложение X Window System - с | |
635 | полностью графическим интерфейсом и поддержкой мыши. Просто скажите | |
9e79ff1a | 636 | 'gvim'... |
637 | ||
5cf83aa7 JR |
638 | %description -n gvim-gtk -l uk.UTF-8 |
639 | Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє | |
640 | запускати VIM як прикладну програму X Window System - з повністю | |
641 | графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'... | |
9e79ff1a | 642 | |
d5d214fb | 643 | %package -n gvim-gnome |
e746f321 | 644 | Summary: Vim for X Window built with GNOME |
1a02d184 | 645 | Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki GNOME |
d5d214fb | 646 | Group: Applications/Editors/Vim |
9c95080e | 647 | Requires(post,postun): gtk+2 |
4399a7e9 | 648 | Requires(post,postun): hicolor-icon-theme |
99216be1 | 649 | Requires: %{name}-rt = %{epoch}:%{version}-%{release} |
d5d214fb | 650 | Requires: iconv |
ed99f1fe | 651 | Provides: vi-editor |
d5d214fb AM |
652 | Obsoletes: vim-X11 |
653 | ||
654 | %description -n gvim-gnome | |
655 | The classic Unix text editor now also under X Window System! This | |
656 | version is build with GNOME. | |
657 | ||
5cf83aa7 JR |
658 | %description -n gvim-gnome -l pl.UTF-8 |
659 | Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem | |
0d72267e | 660 | bibliotek GNOME. |
8627c94f | 661 | |
5cf83aa7 JR |
662 | %description -n gvim-gnome -l ru.UTF-8 |
663 | Этот пакет представляет собой версию VIM, собранную с библиотеками | |
664 | GNOME, что позволяет запускать VIM как приложение X Window System - с | |
665 | полностью графическим интерфейсом и поддержкой мыши. | |
9e79ff1a | 666 | |
5cf83aa7 JR |
667 | %description -n gvim-gnome -l uk.UTF-8 |
668 | Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що | |
669 | дозволяє запускати VIM як прикладну програму X Window System - з | |
670 | повністю графічним інтерфейсом та підтримкою миші. | |
9e79ff1a | 671 | |
afe2d598 AF |
672 | %package -n gvim-bonobo |
673 | Summary: Vim for X Window built as bonobo component | |
1a02d184 | 674 | Summary(pl.UTF-8): Vim dla X Window zbudowany jako element bonobo |
afe2d598 | 675 | Group: Applications/Editors/Vim |
99216be1 | 676 | Requires: %{name}-rt = %{epoch}:%{version}-%{release} |
afe2d598 | 677 | Requires: iconv |
ed99f1fe | 678 | Provides: vi-editor |
afe2d598 AF |
679 | Obsoletes: vim-X11 |
680 | ||
681 | %description -n gvim-bonobo | |
682 | The classic Unix text editor now also under X Window System! This | |
683 | version is build as bonobo component. | |
684 | ||
5cf83aa7 JR |
685 | %description -n gvim-bonobo -l pl.UTF-8 |
686 | Wersja edytora Vim pracująca w środowisku X Window, zbudowana jako | |
69b192f0 JB |
687 | element bonobo. |
688 | ||
8627c94f | 689 | %prep |
aaf60aad | 690 | %setup -q -n %{name}70 -b1 |
db58c86e | 691 | %patch0 -p1 |
357ae4b4 | 692 | %patch1 -p1 |
2f99b393 | 693 | %patch2 -p1 |
d1abaab5 AG |
694 | %patch3 -p1 |
695 | %patch4 -p1 | |
d0793c9f | 696 | %patch5 -p1 |
64570325 | 697 | %patch6 -p1 |
d6de9a65 | 698 | %patch7 -p1 |
19d8e711 | 699 | %patch8 -p1 |
d6de9a65 AG |
700 | %patch9 -p1 |
701 | %patch10 -p0 | |
702 | %patch11 -p1 | |
19d8e711 | 703 | %patch12 -p1 |
d6de9a65 AG |
704 | %patch13 -p1 |
705 | %patch14 -p1 | |
706 | %patch15 -p1 | |
7f5bd298 | 707 | %patch16 -p1 |
d6de9a65 AG |
708 | %patch17 -p0 |
709 | %patch18 -p0 | |
d1abaab5 AG |
710 | %patch19 -p1 |
711 | %patch20 -p1 | |
712 | %patch21 -p1 | |
d6de9a65 | 713 | %patch22 -p1 |
9c95080e | 714 | %patch23 -p1 |
d6de9a65 | 715 | |
96eaec6a AG |
716 | # official patches |
717 | %patch201 -p0 | |
718 | %patch202 -p0 | |
719 | %patch203 -p0 | |
720 | %patch204 -p0 | |
721 | # patch for -extra | |
722 | #%patch205 -p0 | |
723 | %patch206 -p0 | |
724 | %patch207 -p0 | |
725 | %patch208 -p0 | |
726 | %patch209 -p0 | |
727 | %patch210 -p0 | |
728 | %patch211 -p0 | |
729 | %patch212 -p0 | |
730 | %patch213 -p0 | |
731 | %patch214 -p0 | |
732 | %patch215 -p0 | |
733 | %patch216 -p0 | |
734 | %patch217 -p0 | |
ba352f89 AG |
735 | %patch218 -p0 |
736 | %patch219 -p0 | |
737 | %patch220 -p0 | |
738 | %patch221 -p0 | |
739 | %patch222 -p0 | |
9f49ec19 AG |
740 | %patch223 -p0 |
741 | %patch224 -p0 | |
742 | %patch225 -p0 | |
743 | %patch226 -p0 | |
744 | # patches for -extra | |
745 | #%patch227 -p0 | |
746 | #%patch228 -p0 | |
747 | %patch229 -p0 | |
748 | %patch230 -p0 | |
749 | %patch231 -p0 | |
750 | # patch for -extra | |
751 | #%patch232 -p0 | |
752 | %patch233 -p0 | |
753 | %patch234 -p0 | |
754 | %patch235 -p0 | |
2b24d323 AG |
755 | %patch236 -p0 |
756 | %patch237 -p0 | |
757 | %patch238 -p0 | |
758 | %patch239 -p0 | |
7bf3e98e AG |
759 | %patch240 -p0 |
760 | %patch241 -p0 | |
761 | %patch242 -p0 | |
762 | %patch243 -p0 | |
763 | %patch244 -p0 | |
764 | # patch for -extra | |
765 | #%patch245 -p0 | |
766 | %patch246 -p0 | |
767 | %patch247 -p0 | |
768 | %patch248 -p0 | |
769 | %patch249 -p0 | |
770 | %patch250 -p0 | |
f14f41d3 | 771 | %patch251 -p0 |
772 | %patch252 -p0 | |
773 | %patch253 -p0 | |
774 | %patch254 -p0 | |
775 | %patch255 -p0 | |
776 | %patch256 -p0 | |
904fcf75 | 777 | # patch for -extra |
f14f41d3 | 778 | #%patch257 -p0 |
779 | %patch258 -p0 | |
780 | %patch259 -p0 | |
781 | %patch260 -p0 | |
782 | %patch261 -p0 | |
783 | %patch262 -p0 | |
784 | %patch263 -p0 | |
785 | %patch264 -p0 | |
904fcf75 ER |
786 | # patch for -extra |
787 | #%patch265 -p0 | |
f14f41d3 | 788 | %patch266 -p0 |
904fcf75 ER |
789 | %patch267 -p0 |
790 | %patch268 -p0 | |
791 | %patch269 -p0 | |
792 | %patch270 -p0 | |
793 | %patch271 -p0 | |
794 | %patch272 -p0 | |
795 | %patch273 -p0 | |
796 | # patch for -extra | |
797 | #%patch274 -p0 | |
798 | %patch275 -p0 | |
799 | %patch276 -p0 | |
800 | %patch277 -p0 | |
801 | %patch278 -p0 | |
802 | %patch279 -p0 | |
803 | %patch280 -p0 | |
804 | %patch281 -p0 | |
e8531d99 AG |
805 | %patch282 -p0 |
806 | %patch283 -p0 | |
807 | %patch284 -p0 | |
808 | %patch285 -p0 | |
809 | %patch286 -p0 | |
810 | %patch287 -p0 | |
811 | %patch288 -p0 | |
812 | %patch289 -p0 | |
813 | %patch290 -p0 | |
814 | %patch291 -p0 | |
815 | %patch292 -p0 | |
816 | %patch293 -p0 | |
817 | %patch294 -p0 | |
818 | %patch295 -p0 | |
819 | %patch296 -p0 | |
820 | %patch297 -p0 | |
821 | %patch298 -p0 | |
822 | %patch299 -p0 | |
823 | %patch300 -p0 | |
824 | %patch301 -p0 | |
825 | %patch302 -p0 | |
826 | %patch303 -p0 | |
827 | %patch304 -p0 | |
828 | %patch305 -p0 | |
829 | %patch306 -p0 | |
830 | %patch307 -p0 | |
831 | # patch for -extra | |
832 | #%patch308 -p0 | |
833 | %patch309 -p0 | |
834 | %patch310 -p0 | |
835 | %patch311 -p0 | |
836 | %patch312 -p0 | |
837 | %patch313 -p0 | |
838 | %patch314 -p0 | |
839 | %patch315 -p0 | |
840 | %patch316 -p0 | |
841 | %patch317 -p0 | |
842 | %patch318 -p0 | |
843 | %patch319 -p0 | |
844 | %patch320 -p0 | |
845 | %patch321 -p0 | |
846 | %patch322 -p0 | |
847 | %patch323 -p0 | |
848 | %patch324 -p0 | |
849 | %patch325 -p0 | |
850 | %patch326 -p0 | |
851 | %patch327 -p0 | |
852 | %patch328 -p0 | |
853 | %patch329 -p0 | |
854 | # patch for -extra | |
855 | #%patch330 -p0 | |
856 | %patch331 -p0 | |
857 | # patch for -extra | |
858 | #%patch332 -p0 | |
859 | %patch333 -p0 | |
860 | %patch334 -p0 | |
861 | %patch335 -p0 | |
862 | %patch336 -p0 | |
863 | %patch337 -p0 | |
864 | # patch for -extra | |
865 | #%patch338 -p0 | |
866 | %patch339 -p0 | |
867 | %patch340 -p0 | |
868 | %patch341 -p0 | |
869 | %patch342 -p0 | |
870 | %patch343 -p0 | |
871 | %patch344 -p0 | |
872 | %patch345 -p0 | |
873 | %patch346 -p0 | |
874 | %patch347 -p0 | |
875 | %patch348 -p0 | |
876 | %patch349 -p0 | |
877 | %patch350 -p0 | |
878 | %patch351 -p0 | |
879 | %patch352 -p0 | |
880 | %patch353 -p0 | |
881 | %patch354 -p0 | |
882 | %patch355 -p0 | |
883 | # patch for -extra | |
884 | #%patch356 -p0 | |
885 | %patch357 -p0 | |
886 | %patch358 -p0 | |
904fcf75 | 887 | |
96eaec6a | 888 | |
d6de9a65 AG |
889 | # bonobo |
890 | %if %{with bonobo} | |
891 | %patch100 -p1 | |
892 | %patch101 -p1 | |
893 | %patch102 -p1 | |
894 | %patch103 -p1 | |
895 | %endif | |
896 | ||
897 | # home etc | |
898 | %{?with_home_etc:%patch104 -p1} | |
899 | ||
900 | # selinux | |
901 | %{?with_selinux:%patch105 -p1} | |
99890e04 | 902 | |
e8531d99 | 903 | # recognize UUID= in /etc/fstab |
aaf60aad ER |
904 | %patch106 -p1 |
905 | ||
9e18e433 | 906 | # autopaste patch - automatically switch to paste mode if `really fast typing' |
e8531d99 | 907 | # situation happens |
9e18e433 ER |
908 | %patch107 -p1 |
909 | ||
910 | %patch108 -p1 | |
e8531d99 | 911 | |
19d8e711 AG |
912 | install %{SOURCE14} runtime/indent |
913 | install %{SOURCE15} runtime/colors | |
914 | install %{SOURCE16} runtime/syntax | |
32e75812 | 915 | install %{SOURCE17} runtime/syntax |
b88c7a3a | 916 | install %{SOURCE18} runtime/syntax |
19d8e711 | 917 | install %{SOURCE19} runtime/ftplugin/spec.vim |
abf48674 | 918 | |
8627c94f | 919 | %build |
96eaec6a | 920 | cd src |
34ddecbc | 921 | %{__autoconf} |
ffce5254 JB |
922 | # needed to prevent deconfiguring |
923 | cp -f configure auto | |
8490904a | 924 | |
69b192f0 | 925 | install -d bin |
afe2d598 AF |
926 | |
927 | %if %{with bonobo} | |
928 | %{__make} distclean | |
929 | %configure \ | |
afe2d598 AF |
930 | --with-features=huge \ |
931 | --enable-gui=gnome2 \ | |
932 | --enable-bonobo \ | |
933 | --enable-gtk2-check \ | |
934 | --enable-gnome-check \ | |
935 | --with-x \ | |
936 | %{!?with_perl:--disable-perlinterp} \ | |
937 | %{?with_perl:--enable-perlinterp} \ | |
938 | %{!?with_python:--disable-pythoninterp} \ | |
939 | %{?with_python:--enable-pythoninterp} \ | |
940 | %{!?with_ruby:--disable-rubyinterp} \ | |
941 | %{?with_ruby:--enable-rubyinterp} \ | |
942 | %{!?with_tcl:--disable-tclinterp} \ | |
943 | %{?with_tcl:--enable-tclinterp} \ | |
944 | --disable-gpm \ | |
945 | --enable-cscope \ | |
946 | --enable-nls \ | |
947 | --with-modifiedby="PLD Linux Distribution" \ | |
948 | --with-compiledby="PLD Linux Distribution" | |
949 | ||
950 | %{__make} vim-component vim-factory Vim_Control.server | |
951 | mv vim-component vim-factory Vim_Control.server bin/ | |
952 | %endif | |
953 | ||
d6e63bbe | 954 | %if %{with static} |
8490904a JB |
955 | %{__make} distclean |
956 | LDFLAGS="%{rpmldflags} -static" | |
957 | %configure \ | |
958 | --disable-gui \ | |
959 | --without-x \ | |
960 | --disable-perlinterp \ | |
961 | --disable-pythoninterp \ | |
962 | --disable-rubyinterp \ | |
963 | --disable-tclinterp \ | |
964 | --disable-cscope \ | |
965 | --disable-gpm \ | |
966 | --disable-multibyte \ | |
d6e63bbe | 967 | %{?with_bonobo:--disable-bonobo} \ |
8490904a | 968 | --with-features=small \ |
00311d17 | 969 | --with-tlib="ncurses -ltinfo" \ |
a82d590c | 970 | --disable-nls \ |
e9089381 | 971 | --with-modifiedby="PLD Linux Distribution" \ |
972 | --with-compiledby="PLD Linux Distribution" | |
8490904a | 973 | |
725c510f JB |
974 | %{__make} vim |
975 | ||
afe2d598 | 976 | mv -f vim bin/vim.static |
8490904a JB |
977 | LDFLAGS="%{rpmldflags}" |
978 | %endif | |
979 | ||
d924622d | 980 | %{__make} distclean |
84c81dea | 981 | %configure \ |
982 | --disable-gui \ | |
983 | --without-x \ | |
d6e63bbe AF |
984 | %{!?with_perl:--disable-perlinterp} \ |
985 | %{?with_perl:--enable-perlinterp} \ | |
986 | %{!?with_python:--disable-pythoninterp} \ | |
987 | %{?with_python:--enable-pythoninterp} \ | |
988 | %{!?with_ruby:--disable-rubyinterp} \ | |
989 | %{?with_ruby:--enable-rubyinterp} \ | |
990 | %{!?with_tcl:--disable-tclinterp} \ | |
991 | %{?with_tcl:--enable-tclinterp} \ | |
992 | %{?with_bonobo:--disable-bonobo} \ | |
d5d214fb | 993 | --enable-cscope \ |
f22e9322 | 994 | --enable-gpm \ |
995 | --with-features=huge \ | |
d5d214fb | 996 | --enable-multibyte \ |
ba794b83 | 997 | --with-tlib="ncurses -ltinfo" \ |
a82d590c | 998 | --enable-nls \ |
e9089381 | 999 | --with-modifiedby="PLD Linux Distribution" \ |
1000 | --with-compiledby="PLD Linux Distribution" | |
d5d214fb | 1001 | |
725c510f JB |
1002 | %{__make} vim |
1003 | ||
afe2d598 | 1004 | mv -f vim bin/vim.ncurses |
a04973b9 | 1005 | |
d6e63bbe | 1006 | %if %{with athena} |
fc7569f7 | 1007 | %{__make} distclean |
a82d590c | 1008 | %configure \ |
f22e9322 | 1009 | --with-features=huge \ |
f73b565e | 1010 | --enable-gui=athena \ |
1011 | --with-x \ | |
d6e63bbe AF |
1012 | %{!?with_perl:--disable-perlinterp} \ |
1013 | %{?with_perl:--enable-perlinterp} \ | |
1014 | %{!?with_python:--disable-pythoninterp} \ | |
1015 | %{?with_python:--enable-pythoninterp} \ | |
1016 | %{!?with_ruby:--disable-rubyinterp} \ | |
1017 | %{?with_ruby:--enable-rubyinterp} \ | |
1018 | %{!?with_tcl:--disable-tclinterp} \ | |
1019 | %{?with_tcl:--enable-tclinterp} \ | |
1020 | %{?with_bonobo:--disable-bonobo} \ | |
d5d214fb AM |
1021 | --enable-cscope \ |
1022 | --enable-fontset \ | |
1023 | --disable-gpm \ | |
1024 | --without-gnome \ | |
00311d17 | 1025 | --with-tlib="ncurses -ltinfo" \ |
a82d590c | 1026 | --enable-nls \ |
e9089381 | 1027 | --with-modifiedby="PLD Linux Distribution" \ |
1028 | --with-compiledby="PLD Linux Distribution" | |
a82d590c | 1029 | |
fc7569f7 | 1030 | %{__make} vim |
afe2d598 | 1031 | mv -f vim bin/gvim.athena |
fc7569f7 | 1032 | %endif |
84c81dea | 1033 | |
a04973b9 | 1034 | |
d6e63bbe | 1035 | %if %{with motif} |
fc7569f7 | 1036 | %{__make} distclean |
a82d590c | 1037 | %configure \ |
f22e9322 | 1038 | --with-features=huge \ |
f73b565e | 1039 | --enable-gui=motif \ |
1040 | --with-x \ | |
d6e63bbe AF |
1041 | %{!?with_perl:--disable-perlinterp} \ |
1042 | %{?with_perl:--enable-perlinterp} \ | |
1043 | %{!?with_python:--disable-pythoninterp} \ | |
1044 | %{?with_python:--enable-pythoninterp} \ | |
1045 | %{!?with_ruby:--disable-rubyinterp} \ | |
1046 | %{?with_ruby:--enable-rubyinterp} \ | |
1047 | %{!?with_tcl:--disable-tclinterp} \ | |
1048 | %{?with_tcl:--enable-tclinterp} \ | |
1049 | %{?with_bonobo:--disable-bonobo} \ | |
d5d214fb AM |
1050 | --enable-multibyte \ |
1051 | --enable-cscope \ | |
1052 | --enable-fontset \ | |
1053 | --disable-gpm \ | |
1054 | --without-gnome \ | |
00311d17 | 1055 | --with-tlib="ncurses -ltinfo" \ |
a82d590c | 1056 | --enable-nls \ |
e9089381 | 1057 | --with-modifiedby="PLD Linux Distribution" \ |
1058 | --with-compiledby="PLD Linux Distribution" | |
e7cb0e5d | 1059 | |
fc7569f7 | 1060 | %{__make} vim |
afe2d598 | 1061 | mv -f vim bin/gvim.motif |
fc7569f7 | 1062 | %endif |
8627c94f | 1063 | |
d6e63bbe | 1064 | %if %{with gtk} |
fc7569f7 | 1065 | %{__make} distclean |
a82d590c | 1066 | %configure \ |
f22e9322 | 1067 | --with-features=huge \ |
db58c86e | 1068 | --enable-gui=gtk2 \ |
1069 | --enable-gtk2-check \ | |
f73b565e | 1070 | --with-x \ |
d6e63bbe AF |
1071 | %{!?with_perl:--disable-perlinterp} \ |
1072 | %{?with_perl:--enable-perlinterp} \ | |
1073 | %{!?with_python:--disable-pythoninterp} \ | |
1074 | %{?with_python:--enable-pythoninterp} \ | |
1075 | %{!?with_ruby:--disable-rubyinterp} \ | |
1076 | %{?with_ruby:--enable-rubyinterp} \ | |
1077 | %{!?with_tcl:--disable-tclinterp} \ | |
1078 | %{?with_tcl:--enable-tclinterp} \ | |
1079 | %{?with_bonobo:--disable-bonobo} \ | |
d5d214fb AM |
1080 | --disable-gpm \ |
1081 | --enable-cscope \ | |
00311d17 | 1082 | --with-tlib="ncurses -ltinfo" \ |
a82d590c | 1083 | --enable-nls \ |
e9089381 | 1084 | --with-modifiedby="PLD Linux Distribution" \ |
1085 | --with-compiledby="PLD Linux Distribution" | |
a82d590c | 1086 | |
fc7569f7 | 1087 | %{__make} vim |
afe2d598 | 1088 | mv -f vim bin/gvim.gtk |
fc7569f7 | 1089 | %endif |
8627c94f | 1090 | |
d6e63bbe | 1091 | %if %{with gnome} |
fc7569f7 | 1092 | %{__make} distclean |
a82d590c | 1093 | %configure \ |
f22e9322 | 1094 | --with-features=huge \ |
db58c86e | 1095 | --enable-gui=gnome2 \ |
afe2d598 | 1096 | %{?with_bonobo:--disable-bonobo} \ |
db58c86e | 1097 | --enable-gtk2-check \ |
1098 | --enable-gnome-check \ | |
d5d214fb | 1099 | --with-x \ |
d6e63bbe AF |
1100 | %{!?with_perl:--disable-perlinterp} \ |
1101 | %{?with_perl:--enable-perlinterp} \ | |
1102 | %{!?with_python:--disable-pythoninterp} \ | |
1103 | %{?with_python:--enable-pythoninterp} \ | |
1104 | %{!?with_ruby:--disable-rubyinterp} \ | |
1105 | %{?with_ruby:--enable-rubyinterp} \ | |
1106 | %{!?with_tcl:--disable-tclinterp} \ | |
1107 | %{?with_tcl:--enable-tclinterp} \ | |
d5d214fb AM |
1108 | --disable-gpm \ |
1109 | --enable-cscope \ | |
00311d17 | 1110 | --with-tlib="ncurses -ltinfo" \ |
a82d590c | 1111 | --enable-nls \ |
e9089381 | 1112 | --with-modifiedby="PLD Linux Distribution" \ |
1113 | --with-compiledby="PLD Linux Distribution" | |
a82d590c | 1114 | |
fc7569f7 | 1115 | %{__make} vim |
afe2d598 | 1116 | mv -f vim bin/gvim.gnome |
fc7569f7 | 1117 | %endif |
d5d214fb | 1118 | |
afe2d598 AF |
1119 | %{__make} xxd/xxd languages |
1120 | ||
8627c94f | 1121 | %install |
1122 | rm -rf $RPM_BUILD_ROOT | |
0b31d255 | 1123 | |
f22e9322 | 1124 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \ |
d5d214fb | 1125 | $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \ |
474e8862 | 1126 | $RPM_BUILD_ROOT%{_desktopdir} |
46f826dd | 1127 | |
a82d590c | 1128 | %{__make} install \ |
1129 | DESTDIR=$RPM_BUILD_ROOT | |
7ba74caf | 1130 | |
310b65f3 | 1131 | rm -f $RPM_BUILD_ROOT%{_bindir}/* |
8627c94f | 1132 | |
b93a0a21 | 1133 | %if %{with static} |
baa4aaf8 | 1134 | install src/bin/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim |
1135 | install src/bin/vim.static $RPM_BUILD_ROOT/bin/vi | |
b93a0a21 | 1136 | %else |
baa4aaf8 | 1137 | install src/bin/vim.ncurses $RPM_BUILD_ROOT/bin/vi |
b93a0a21 AF |
1138 | ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim |
1139 | %endif | |
baa4aaf8 | 1140 | install src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd |
1141 | install src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor | |
a7fbf53c | 1142 | |
9c95080e | 1143 | # Moved into patch |
1144 | # | |
1145 | # rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1 | |
1146 | # install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
1147 | # install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
1148 | # install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
1149 | # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1 | |
1150 | # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1 | |
1151 | # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1 | |
1152 | # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1 | |
4ae2e5e0 | 1153 | |
84c81dea | 1154 | echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1 |
1155 | echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1 | |
8627c94f | 1156 | |
9c95080e | 1157 | # not supported directories |
1158 | rm -rf $RPM_BUILD_ROOT%{_mandir}/??.*/ | |
1159 | ||
64570325 | 1160 | mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc |
d5d214fb | 1161 | mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc |
8627c94f | 1162 | |
4399a7e9 JB |
1163 | ln -sf vim $RPM_BUILD_ROOT%{_bindir}/eview |
1164 | ln -sf vim $RPM_BUILD_ROOT%{_bindir}/evim | |
923c746f | 1165 | ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim |
4399a7e9 | 1166 | ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff |
d5d214fb AM |
1167 | ln -sf vi $RPM_BUILD_ROOT/bin/ex |
1168 | ln -sf vi $RPM_BUILD_ROOT/bin/view | |
1169 | ln -sf vi $RPM_BUILD_ROOT/bin/rview | |
84c81dea | 1170 | |
0f99c50f PG |
1171 | install %{SOURCE14} $RPM_BUILD_ROOT%{_desktopdir} |
1172 | ||
b93a0a21 | 1173 | %if %{with athena} |
baa4aaf8 | 1174 | install src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena |
eab7da3d | 1175 | install %{SOURCE10} $RPM_BUILD_ROOT%{_desktopdir} |
b93a0a21 AF |
1176 | %endif |
1177 | %if %{with motif} | |
baa4aaf8 | 1178 | install src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif |
eab7da3d | 1179 | install %{SOURCE11} $RPM_BUILD_ROOT%{_desktopdir} |
b93a0a21 AF |
1180 | %endif |
1181 | %if %{with gnome} | |
baa4aaf8 | 1182 | install src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome |
b93a0a21 AF |
1183 | install %{SOURCE13} $RPM_BUILD_ROOT%{_desktopdir} |
1184 | %endif | |
1185 | %if %{with gtk} | |
baa4aaf8 | 1186 | install src/bin/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk |
b93a0a21 | 1187 | ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim |
b93a0a21 | 1188 | ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview |
4399a7e9 | 1189 | ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gvimdiff |
b93a0a21 | 1190 | ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview |
4399a7e9 | 1191 | ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim |
eab7da3d | 1192 | install %{SOURCE12} $RPM_BUILD_ROOT%{_desktopdir} |
b93a0a21 | 1193 | %endif |
8627c94f | 1194 | |
ef0fdc18 | 1195 | install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps |
1196 | install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png | |
1197 | install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png | |
1198 | install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png | |
1199 | ||
6f41d12a | 1200 | # Bonobo |
d6e63bbe | 1201 | %if %{with bonobo} |
6f41d12a | 1202 | install -d $RPM_BUILD_ROOT%{_libdir}/bonobo/servers |
afe2d598 | 1203 | install src/bin/Vim_Control.server $RPM_BUILD_ROOT%{_libdir}/bonobo/servers |
baa4aaf8 | 1204 | install src/bin/vim-{component,factory} $RPM_BUILD_ROOT%{_bindir} |
6f41d12a | 1205 | %endif |
1206 | ||
96eaec6a | 1207 | bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
9c95080e | 1208 | |
96eaec6a | 1209 | unzip -qd $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE3} |
9e79ff1a | 1210 | |
a76f8cb4 | 1211 | install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}} |
8e79b441 | 1212 | > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags |
9f5fc2a1 | 1213 | |
8627c94f | 1214 | %clean |
1215 | rm -rf $RPM_BUILD_ROOT | |
1216 | ||
b1844844 | 1217 | %post |
7285c5a1 | 1218 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post |
b1844844 | 1219 | |
1220 | %postun | |
7285c5a1 | 1221 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun |
b1844844 | 1222 | |
1223 | %post -n gvim-athena | |
7285c5a1 | 1224 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post |
b1844844 | 1225 | |
1226 | %postun -n gvim-athena | |
7285c5a1 | 1227 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun |
b1844844 | 1228 | |
1229 | %post -n gvim-motif | |
7285c5a1 | 1230 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post |
b1844844 | 1231 | |
1232 | %postun -n gvim-motif | |
7285c5a1 | 1233 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun |
b1844844 | 1234 | |
1235 | %post -n gvim-gtk | |
7285c5a1 | 1236 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post |
70502921 | 1237 | %update_icon_cache hicolor |
b1844844 | 1238 | |
1239 | %postun -n gvim-gtk | |
7285c5a1 | 1240 | [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun |
70502921 | 1241 | %update_icon_cache hicolor |
b1844844 | 1242 | |
1243 | %post -n gvim-gnome | |
9c95080e | 1244 | %update_desktop_database_post |
70502921 | 1245 | %update_icon_cache hicolor |
b1844844 | 1246 | |
1247 | %postun -n gvim-gnome | |
9c95080e | 1248 | %update_desktop_database_postun |
70502921 | 1249 | %update_icon_cache hicolor |
b1844844 | 1250 | |
84c81dea | 1251 | %files |
1252 | %defattr(644,root,root,755) | |
4399a7e9 JB |
1253 | %attr(755,root,root) %{_bindir}/eview |
1254 | %attr(755,root,root) %{_bindir}/evim | |
84c81dea | 1255 | %attr(755,root,root) %{_bindir}/rvim |
4399a7e9 JB |
1256 | %attr(755,root,root) %{_bindir}/vim |
1257 | %attr(755,root,root) %{_bindir}/vimdiff | |
1258 | %{_mandir}/man1/eview.1* | |
1259 | %{_mandir}/man1/evim.1* | |
1260 | %{_mandir}/man1/rvim.1* | |
1261 | %{_mandir}/man1/vimdiff.1* | |
1262 | %lang(fi) %{_mandir}/fi/man1/rvim.1* | |
1263 | %lang(fr) %{_mandir}/fr/man1/eview.1* | |
1264 | %lang(fr) %{_mandir}/fr/man1/evim.1* | |
1265 | %lang(fr) %{_mandir}/fr/man1/rvim.1* | |
1266 | %lang(fr) %{_mandir}/fr/man1/vimdiff.1* | |
1267 | %lang(id) %{_mandir}/id/man1/rvim.1* | |
1268 | %lang(it) %{_mandir}/it/man1/eview.1* | |
1269 | %lang(it) %{_mandir}/it/man1/evim.1* | |
1270 | %lang(it) %{_mandir}/it/man1/rvim.1* | |
1271 | %lang(it) %{_mandir}/it/man1/vimdiff.1* | |
1272 | %lang(pl) %{_mandir}/pl/man1/eview.1* | |
1273 | %lang(pl) %{_mandir}/pl/man1/evim.1* | |
1274 | %lang(pl) %{_mandir}/pl/man1/rvim.1* | |
1275 | %lang(pl) %{_mandir}/pl/man1/vimdiff.1* | |
1276 | %lang(ru) %{_mandir}/ru/man1/eview.1* | |
1277 | %lang(ru) %{_mandir}/ru/man1/evim.1* | |
1278 | %lang(ru) %{_mandir}/ru/man1/rvim.1* | |
1279 | %lang(ru) %{_mandir}/ru/man1/vimdiff.1* | |
0f99c50f | 1280 | %{_desktopdir}/%{name}.desktop |
84c81dea | 1281 | |
d6e63bbe | 1282 | %if %{with static} |
84c81dea | 1283 | %files static |
2576aec7 | 1284 | %endif |
ce504e8b | 1285 | %defattr(644,root,root,755) |
ce504e8b | 1286 | %attr(755,root,root) /bin/* |
671e058b AF |
1287 | %{_mandir}/man1/vi.1* |
1288 | %{_mandir}/man1/ex.1* | |
671e058b AF |
1289 | %{_mandir}/man1/view.1* |
1290 | %{_mandir}/man1/rview.1* | |
0d564f51 JB |
1291 | %lang(fi) %{_mandir}/fi/man1/vi.1* |
1292 | %lang(fi) %{_mandir}/fi/man1/ex.1* | |
1293 | %lang(fi) %{_mandir}/fi/man1/view.1* | |
1294 | %lang(fi) %{_mandir}/fi/man1/rview.1* | |
9c95080e | 1295 | %lang(fr) %{_mandir}/fr/man1/vi.1* |
1296 | %lang(fr) %{_mandir}/fr/man1/ex.1* | |
1297 | %lang(fr) %{_mandir}/fr/man1/view.1* | |
1298 | %lang(fr) %{_mandir}/fr/man1/rview.1* | |
0d564f51 JB |
1299 | %lang(id) %{_mandir}/id/man1/vi.1* |
1300 | %lang(id) %{_mandir}/id/man1/ex.1* | |
1301 | %lang(id) %{_mandir}/id/man1/view.1* | |
1302 | %lang(id) %{_mandir}/id/man1/rview.1* | |
9c95080e | 1303 | #%lang(it) %{_mandir}/it/man1/vi.1* |
1304 | %lang(it) %{_mandir}/it/man1/ex.1* | |
1305 | %lang(it) %{_mandir}/it/man1/view.1* | |
1306 | %lang(it) %{_mandir}/it/man1/rview.1* | |
1307 | %lang(pl) %{_mandir}/pl/man1/vi.1* | |
1308 | %lang(pl) %{_mandir}/pl/man1/ex.1* | |
1309 | %lang(pl) %{_mandir}/pl/man1/view.1* | |
1310 | %lang(pl) %{_mandir}/pl/man1/rview.1* | |
1311 | #%lang(ru) %{_mandir}/ru/man1/vi.1* | |
1312 | %lang(ru) %{_mandir}/ru/man1/ex.1* | |
1313 | %lang(ru) %{_mandir}/ru/man1/view.1* | |
1314 | %lang(ru) %{_mandir}/ru/man1/rview.1* | |
ce504e8b | 1315 | |
2576aec7 AF |
1316 | %files -n xxd |
1317 | %defattr(644,root,root,755) | |
1318 | %attr(755,root,root) %{_bindir}/xxd | |
1319 | %{_mandir}/man1/xxd.1* | |
9c95080e | 1320 | %lang(fr) %{_mandir}/fr/man1/xxd.1* |
1321 | %lang(it) %{_mandir}/it/man1/xxd.1* | |
1322 | %lang(pl) %{_mandir}/pl/man1/xxd.1* | |
1323 | %lang(ru) %{_mandir}/ru/man1/xxd.1* | |
2576aec7 | 1324 | |
8627c94f | 1325 | %files rt |
1326 | %defattr(644,root,root,755) | |
307833bf | 1327 | %attr(755,root,root) %{_bindir}/vimtutor |
54e1a2a3 | 1328 | %dir %{_sysconfdir}/vim |
baa4aaf8 | 1329 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc |
1330 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc | |
84c81dea | 1331 | |
1a773fc5 | 1332 | %dir %{_datadir}/vim |
d5d214fb | 1333 | %dir %{_datadir}/vim/v* |
05a269bd | 1334 | %dir %{_datadir}/vim/v*/doc |
1a881f20 | 1335 | %doc %{_datadir}/vim/v*/doc/*.txt |
17bdc5ff | 1336 | %lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx |
1a881f20 | 1337 | %attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl |
baa4aaf8 | 1338 | %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags |
1339 | %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags-pl | |
d5d214fb AM |
1340 | %{_datadir}/vim/v*/ftplugin |
1341 | %{_datadir}/vim/v*/indent | |
1342 | %{_datadir}/vim/v*/keymap | |
1343 | %dir %{_datadir}/vim/v*/lang | |
1a881f20 | 1344 | %doc %{_datadir}/vim/v*/lang/README* |
42d18f12 | 1345 | |
59274d07 | 1346 | # just add after/ and ftdetect/ separately, other dirs caught by globs above or below |
dd179d92 ER |
1347 | %{_datadir}/vim/vimfiles/after |
1348 | %{_datadir}/vim/vimfiles/ftdetect | |
9f5fc2a1 | 1349 | |
0b1385e8 | 1350 | %lang(af) %{_datadir}/vim/v*/lang/menu_af* |
96eaec6a | 1351 | %lang(af) %{_datadir}/vim/v*/lang/af/ |
0b1385e8 | 1352 | %lang(ca) %{_datadir}/vim/v*/lang/menu_ca* |
96eaec6a | 1353 | %lang(ca) %{_datadir}/vim/v*/lang/ca/ |
0b1385e8 AM |
1354 | %lang(cs) %{_datadir}/vim/v*/lang/menu_cs* |
1355 | %lang(cs) %{_datadir}/vim/v*/lang/menu_*czech* | |
96eaec6a | 1356 | %lang(cs) %{_datadir}/vim/v*/lang/cs/ |
0b1385e8 AM |
1357 | %lang(de) %{_datadir}/vim/v*/lang/menu_de* |
1358 | %lang(de) %{_datadir}/vim/v*/lang/menu_*german* | |
96eaec6a | 1359 | %lang(de) %{_datadir}/vim/v*/lang/de/ |
23543ee3 | 1360 | %lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb* |
0b1385e8 | 1361 | %lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english* |
96eaec6a AG |
1362 | %lang(en_GB) %{_datadir}/vim/v*/lang/en_GB/ |
1363 | %lang(es) %{_datadir}/vim/v*/lang/menu_es* | |
1364 | %lang(es) %{_datadir}/vim/v*/lang/menu_*spanish* | |
1365 | %lang(es) %{_datadir}/vim/v*/lang/es/ | |
0b1385e8 | 1366 | %lang(fr) %{_datadir}/vim/v*/lang/menu_fr* |
96eaec6a | 1367 | %lang(fr) %{_datadir}/vim/v*/lang/fr/ |
37e3507e | 1368 | %lang(ga) %{_datadir}/vim/v*/lang/ga/ |
0b1385e8 AM |
1369 | %lang(hu) %{_datadir}/vim/v*/lang/menu_hu* |
1370 | %lang(it) %{_datadir}/vim/v*/lang/menu_it* | |
96eaec6a | 1371 | %lang(it) %{_datadir}/vim/v*/lang/it/ |
0b1385e8 | 1372 | %lang(ja) %{_datadir}/vim/v*/lang/menu_ja* |
96eaec6a | 1373 | %lang(ja) %{_datadir}/vim/v*/lang/ja/ |
0b1385e8 | 1374 | %lang(ko) %{_datadir}/vim/v*/lang/menu_ko* |
96eaec6a | 1375 | %lang(ko) %{_datadir}/vim/v*/lang/ko/ |
0b1385e8 AM |
1376 | %lang(nl) %{_datadir}/vim/v*/lang/menu_nl* |
1377 | %lang(nb) %{_datadir}/vim/v*/lang/menu_no* | |
96eaec6a | 1378 | %lang(nb) %{_datadir}/vim/v*/lang/no/ |
0b1385e8 AM |
1379 | %lang(pl) %{_datadir}/vim/v*/lang/menu_pl* |
1380 | %lang(pl) %{_datadir}/vim/v*/lang/menu_*polish* | |
96eaec6a | 1381 | %lang(pl) %{_datadir}/vim/v*/lang/pl/ |
0b1385e8 AM |
1382 | %lang(pt) %{_datadir}/vim/v*/lang/menu_pt* |
1383 | %lang(ru) %{_datadir}/vim/v*/lang/menu_ru* | |
96eaec6a | 1384 | %lang(ru) %{_datadir}/vim/v*/lang/ru/ |
0b1385e8 AM |
1385 | %lang(sk) %{_datadir}/vim/v*/lang/menu_sk* |
1386 | %lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak* | |
96eaec6a | 1387 | %lang(sk) %{_datadir}/vim/v*/lang/sk/ |
0b1385e8 AM |
1388 | %lang(sr) %{_datadir}/vim/v*/lang/menu_sr* |
1389 | %lang(sv) %{_datadir}/vim/v*/lang/menu_sv* | |
96eaec6a | 1390 | %lang(sv) %{_datadir}/vim/v*/lang/sv/ |
0b1385e8 | 1391 | %lang(uk) %{_datadir}/vim/v*/lang/menu_uk* |
37e3507e | 1392 | %lang(uk) %{_datadir}/vim/v*/lang/uk/ |
9bc905eb | 1393 | %lang(vi) %{_datadir}/vim/v*/lang/menu_vi* |
37e3507e | 1394 | %lang(vi) %{_datadir}/vim/v*/lang/vi/ |
7a778761 | 1395 | %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936* |
ec23c5c9 | 1396 | %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312* |
42d18f12 | 1397 | %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn* |
0b1385e8 | 1398 | %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb* |
96eaec6a | 1399 | %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN/ |
7a778761 JB |
1400 | %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950* |
1401 | %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5* | |
42d18f12 | 1402 | %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw* |
0b1385e8 | 1403 | %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan* |
96eaec6a | 1404 | %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW/ |
42d18f12 | 1405 | |
1d2cf3d5 | 1406 | %dir %{_datadir}/vim/v*/spell |
3558f1d8 | 1407 | %{_datadir}/vim/v*/spell/cleanadd.vim |
9c95080e | 1408 | %lang(he) %{_datadir}/vim/v*/spell/he.* |
1409 | %lang(yi) %{_datadir}/vim/v*/spell/yi.* | |
9bc905eb | 1410 | |
d5d214fb AM |
1411 | %{_datadir}/vim/v*/macros |
1412 | %{_datadir}/vim/v*/plugin | |
23543ee3 | 1413 | %{_datadir}/vim/v*/print |
d5d214fb | 1414 | %{_datadir}/vim/v*/syntax |
a82d590c | 1415 | %{_datadir}/vim/v*/tools |
d5d214fb | 1416 | %{_datadir}/vim/v*/tutor |
ba50d0a1 | 1417 | %{_datadir}/vim/v*/colors |
a0f9a135 | 1418 | %{_datadir}/vim/v*/compiler |
9bc905eb | 1419 | %{_datadir}/vim/v*/autoload |
d5d214fb | 1420 | %{_datadir}/vim/v*/*.vim |
8627c94f | 1421 | |
4399a7e9 JB |
1422 | %{_mandir}/man1/rvim.1* |
1423 | %{_mandir}/man1/vim.1* | |
1424 | %{_mandir}/man1/vimtutor.1* | |
1425 | %lang(fi) %{_mandir}/fi/man1/rvim.1* | |
1426 | %lang(fi) %{_mandir}/fi/man1/vim.1* | |
1427 | %lang(fr) %{_mandir}/fr/man1/rvim.1* | |
1428 | %lang(fr) %{_mandir}/fr/man1/vim.1* | |
1429 | %lang(fr) %{_mandir}/fr/man1/vimtutor.1* | |
1430 | %lang(id) %{_mandir}/id/man1/vim.1* | |
1431 | %lang(it) %{_mandir}/it/man1/vim.1* | |
1432 | %lang(it) %{_mandir}/it/man1/vimtutor.1* | |
1433 | %lang(pl) %{_mandir}/pl/man1/vim.1* | |
1434 | %lang(pl) %{_mandir}/pl/man1/vimtutor.1* | |
1435 | %lang(ru) %{_mandir}/ru/man1/vim.1* | |
1436 | %lang(ru) %{_mandir}/ru/man1/vimtutor.1* | |
64bf7ae0 | 1437 | %{_iconsdir}/hicolor/16x16/apps/vim.png |
1438 | %{_iconsdir}/hicolor/32x32/apps/vim.png | |
1439 | %{_iconsdir}/hicolor/48x48/apps/vim.png | |
1440 | ||
4399a7e9 JB |
1441 | %files spell-en |
1442 | %defattr(644,root,root,755) | |
1443 | %{_datadir}/vim/v*/spell/en.*.* | |
1444 | ||
d6e63bbe | 1445 | %if %{with athena} |
f22e9322 | 1446 | %files -n gvim-athena |
1447 | %defattr(644,root,root,755) | |
c983f1ff | 1448 | %attr(755,root,root) %{_bindir}/gvim.athena |
eab7da3d | 1449 | %{_desktopdir}/gvim-athena.desktop |
f22e9322 | 1450 | %endif |
1451 | ||
d6e63bbe | 1452 | %if %{with motif} |
f22e9322 | 1453 | %files -n gvim-motif |
1454 | %defattr(644,root,root,755) | |
c983f1ff | 1455 | %attr(755,root,root) %{_bindir}/gvim.motif |
eab7da3d | 1456 | %{_desktopdir}/gvim-motif.desktop |
f22e9322 | 1457 | %endif |
1458 | ||
d6e63bbe | 1459 | %if %{with gtk} |
f22e9322 | 1460 | %files -n gvim-gtk |
1461 | %defattr(644,root,root,755) | |
c983f1ff | 1462 | %attr(755,root,root) %{_bindir}/gvim.gtk |
4399a7e9 | 1463 | %attr(755,root,root) %{_bindir}/gvimdiff |
c983f1ff | 1464 | %attr(755,root,root) %{_bindir}/rgvim |
1465 | %attr(755,root,root) %{_bindir}/rgview | |
1466 | %attr(755,root,root) %verify(not link) %{_bindir}/gvim | |
4399a7e9 JB |
1467 | %{_mandir}/man1/gvi* |
1468 | %{_mandir}/man1/rgv* | |
9c95080e | 1469 | %lang(fi) %{_mandir}/fi/man1/gvi* |
1470 | %lang(fi) %{_mandir}/fi/man1/rgv* | |
1471 | %lang(fr) %{_mandir}/fr/man1/gvi* | |
1472 | %lang(fr) %{_mandir}/fr/man1/rgv* | |
1473 | %lang(id) %{_mandir}/id/man1/gvi* | |
1474 | %lang(id) %{_mandir}/id/man1/rgv* | |
4399a7e9 JB |
1475 | %lang(it) %{_mandir}/it/man1/gvi* |
1476 | %lang(it) %{_mandir}/it/man1/rgv* | |
9c95080e | 1477 | %lang(pl) %{_mandir}/pl/man1/gvi* |
1478 | %lang(pl) %{_mandir}/pl/man1/rgv* | |
4399a7e9 JB |
1479 | %lang(ru) %{_mandir}/ru/man1/gvi* |
1480 | %lang(ru) %{_mandir}/ru/man1/rgv* | |
eab7da3d | 1481 | %{_desktopdir}/gvim-gtk.desktop |
f22e9322 | 1482 | %endif |
1483 | ||
d6e63bbe | 1484 | %if %{with gnome} |
f22e9322 | 1485 | %files -n gvim-gnome |
1486 | %defattr(644,root,root,755) | |
c983f1ff | 1487 | %attr(755,root,root) %{_bindir}/gvim.gnome |
474e8862 | 1488 | %{_desktopdir}/gvim-gnome.desktop |
afe2d598 AF |
1489 | %endif |
1490 | ||
1491 | %if %{with bonobo} | |
1492 | %files -n gvim-bonobo | |
1493 | %defattr(644,root,root,755) | |
1494 | %attr(755,root,root) %{_bindir}/vim-component | |
1495 | %attr(755,root,root) %{_bindir}/vim-factory | |
1496 | %{_libdir}/bonobo/servers/* | |
f22e9322 | 1497 | %endif |