Package vim: Specfile

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
# vim: set ft=spec: -*- rpm-spec -*-
# vim600: set fdm=marker:

# {{{ Perl/Python/Ruby/Tcl/MzScheme support
%def_enable perlinterp
%def_enable pythoninterp
%def_disable python3interp
%def_enable rubyinterp
%def_enable tclinterp
%def_disable mzschemeinterp
%def_enable luainterp
# }}}
# {{{ enable/disable logic
%def_enable gpm

%def_enable selinux

%def_enable minimal

%def_enable devel

%def_disable gui_athena
%def_enable gui_gnome2
%def_enable gui_gtk2
%def_disable gui_motif
%def_enable gui_neXtaw

%global gui %nil
%if_enabled gui_athena
%global gui %gui athena
%endif
%if_enabled gui_gnome2
%global gui %gui gnome2
%endif
%if_enabled gui_gtk2
%global gui %gui gtk2
%endif
%if_enabled gui_motif
%global gui %gui motif
%endif
%if_enabled gui_neXtaw
%global gui %gui neXtaw
%endif

%if "%gui" != "%nil"
%force_enable gui_any
%endif

# Can't move tests to %%check section since multiple targets are built
%if %{disabled check} || %{without check}
%global make_test %nil
%else
%global make_test %make -C src testclean test
%endif
# }}}

# vimspell interface version
%define vimspell_version	50.1

Name: vim
%define branch 7.3
Version: %branch.353
Release: alt4.1.1.M80C.2
Epoch: 4

Summary: VIsual editor iMproved
License: Charityware
Group: Editors
Url: http://www.vim.org

%add_findreq_skiplist %_datadir/vim/*

# Avoid rm -rf $DOCDIR...
%define _customdocdir %_defaultdocdir/%name-common-%version

# {{{ RPM macros
%define vim_runtime_dir %_datadir/vim/vimfiles
# }}}

Source: %name-%branch.tar
Patch: %name-%version-%release.patch

# {{{ BuildRequires
# Automatically added by buildreq on Mon Apr 28 2003 and filtered by raorn
# Common requires
BuildPreReq: alternatives >= 0.2.0-alt0.7
BuildPreReq: iconv
BuildPreReq: libacl-devel
BuildPreReq: libattr-devel
%if_enabled gpm
BuildPreReq: libgpm-devel
%endif
%if_enabled selinux
BuildPreReq: libselinux-devel
%endif
BuildPreReq: libtinfo-devel
BuildPreReq: unzip
# man commandline check
BuildPreReq: man
# ctags commandline check
BuildPreReq: ctags
# Common X11
%if_enabled gui_any
BuildPreReq: libICE-devel libSM-devel libX11-devel libXdmcp-devel libXpm-devel libXt-devel xorg-proto-devel
%endif
# Athena
%if_enabled gui_athena
BuildPreReq: libXaw-devel libXext-devel libXmu-devel
%endif
# GNOME2
%if_enabled gui_gnome2
BuildPreReq: ORBit2-devel glib2-devel gnome-vfs2-devel libGConf2-devel libart_lgpl-devel libatk-devel libbonobo2-devel libbonoboui-devel libcairo-devel libgnome-devel libgnomecanvas-devel libgnomeui-devel libgtk+2-devel libpango-devel libpopt-devel libxml2-devel pkg-config zlib-devel
%endif
# gtk+2
%if_enabled gui_gtk2
BuildPreReq: glib2-devel libatk-devel libcairo-devel libgtk+2-devel libpango-devel pkg-config
%endif
# motif
%if_enabled gui_motif
BuildPreReq: libXau-devel libXext-devel libXmu-devel libXp-devel openmotif-devel
%endif
# neXtaw
%if_enabled gui_neXtaw
BuildPreReq: libXext-devel libXmu-devel libneXtaw-devel
%endif
# Perl
%if_enabled perlinterp
BuildPreReq: perl-devel
%endif
# Python
%if_enabled pythoninterp
BuildPreReq: python-devel
BuildConflicts: python-dev < 2.3.4-alt1
BuildConflicts: python-devel-static
%endif
# Python
%if_enabled python3interp
%{error:wtf?}
%endif
# Ruby
%if_enabled rubyinterp
BuildPreReq: libruby-devel >= 1.8.4-alt1
BuildPreReq: ruby >= 1.8
%endif
# Tcl
%if_enabled tclinterp
BuildPreReq: tcl-devel >= 8.4.0-alt1
%endif
# MzScheme
%if_enabled mzschemeinterp
BuildPreReq: plt2
%endif
%if_enabled luainterp
BuildPreReq: liblua5-devel
%endif
# }}}

# {{{ Description
%description
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.  Vi was the first real screen-based editor for UNIX, and is still
very popular.  VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting and more.  The vim-common package
contains files which every VIM binary will need in order to run.
# }}}

# {{{ vim-common
%package common
Summary: The common files needed by any version of the VIM editor
Group: Editors
BuildArch: noarch
PreReq: coreutils
PreReq: %name
PreReq: %_bindir/vim
Requires: mktemp >= 1:1.3.1
Requires: xxd = %epoch:%version-%release
Provides: vimspell-interface = %vimspell_version
Provides: %_datadir/vim/vimfiles/after/compiler
Provides: %_datadir/vim/vimfiles/after/ftplugin
Provides: %_datadir/vim/vimfiles/after/indent
Provides: %_datadir/vim/vimfiles/after/plugin
Provides: %_datadir/vim/vimfiles/after/syntax
Provides: %_datadir/vim/vimfiles/after
Provides: %_datadir/vim/vimfiles/autoload
Provides: %_datadir/vim/vimfiles/colors
Provides: %_datadir/vim/vimfiles/compiler
Provides: %_datadir/vim/vimfiles/doc
Provides: %_datadir/vim/vimfiles/ftdetect
Provides: %_datadir/vim/vimfiles/ftplugin
Provides: %_datadir/vim/vimfiles/indent
Provides: %_datadir/vim/vimfiles/keymap
Provides: %_datadir/vim/vimfiles/lang
Provides: %_datadir/vim/vimfiles/plugin
Provides: %_datadir/vim/vimfiles/print
Provides: %_datadir/vim/vimfiles/syntax
Provides: %_datadir/vim/vimfiles
Provides: %_datadir/vim/spell
Provides: %_datadir/vim
# Bundled plugins:
Provides: vim-plugin-getscript = 33.vim
Obsoletes: vim-plugin-getscript < 33.vim
Provides: vim-plugin-netrw = 143.vim
Obsoletes: vim-plugin-netrw < 143.vim
Provides: vim-plugin-tar-ftplugin = 27.vim
Obsoletes: vim-plugin-tar-ftplugin < 27.vim
Provides: vim-plugin-vimball = 34.vim
Obsoletes: vim-plugin-vimball < 34.vim
Provides: vim-plugin-zip-ftplugin = 24.vim
Obsoletes: vim-plugin-zip-ftplugin < 24.vim
Provides: vim-plugin-vimruby = 20070302.vim
Obsoletes: vim-plugin-vimruby < 20070302.vim

%description common
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.  Vi was the first real screen-based editor for UNIX, and is still
very popular.  VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting and more.  The vim-common package
contains files which every VIM binary will need in order to run.

If you are installing any version of the VIM editor, you'll also need to
the vim-common package installed.
# }}}
# {{{ vimtutor
%package -n vimtutor
Summary: VIM tutor
Group: Editors
BuildArch: noarch
PreReq: %name-common = %epoch:%version-%release
Requires: %_bindir/vim

%description -n vimtutor
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.  Vi was the first real screen-based editor for UNIX, and is still
very popular.  VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting and more.  The vim-common package
contains files which every VIM binary will need in order to run.

This package contains VIM tutor.
# }}}
# {{{ vim-spell
%package spell-source
Summary: vimspell dictionary sources
Group: Development/Other
BuildArch: noarch
Requires: rpm-build-vim = %epoch:%version-%release

%description spell-source
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.  Vi was the first real screen-based editor for UNIX, and is still
very popular.  VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting and more.  The vim-common package
contains files which every VIM binary will need in order to run.

This package contains vimspell sources for building additional dictionaries.
# }}}
# {{{ vim-minimal
%package minimal
Summary: A minimal version of the VIM editor
Group: Editors
PreReq: coreutils
Provides: vi = %epoch:%version-%release
Provides: /bin/vi

%description minimal
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.  Vi was the first real screen-based editor for UNIX, and is still
very popular.  VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting and more.  The vim-minimal package
includes a minimal version of VIM, which is installed into /bin/vi for use
when only the root partition is present.

Just install it because you'll need it.
# }}}
# {{{ vim-enhanced
%package enhanced
Summary: A terminal-based, full-featured version of the VIM editor
Group: Editors
PreReq: coreutils
PreReq: alternatives >= 0.2.0-alt0.7
Requires: %name-common = %epoch:%version-%release
Provides: %name = %epoch:%version-%release
Provides: %_bindir/vim
Obsoletes: vim-color

%description enhanced
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.  Vi was the first real screen-based editor for UNIX, and is still
very popular.  VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting and more.  The vim-enhanced package
contains a version of VIM with extra, recently introduced features like
Python and Perl interpreters.

Install the vim-enhanced package if you'd like to use a full-featured
VIM, but you don't want to use GUI version of VIM.
You'll also need to install the vim-common package.
# }}}
# {{{ vim-console
%package console
Summary: A terminal-based, full-featured version of the VIM editor
Group: Editors
PreReq: coreutils
PreReq: alternatives >= 0.2.0-alt0.7
Requires: %name-common = %epoch:%version-%release
Provides: %name = %epoch:%version-%release
Provides: %_bindir/vim
Obsoletes: vim-color

%description console
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.  Vi was the first real screen-based editor for UNIX, and is still
very popular.  VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting and more.  The vim-console package
contains a version of VIM with extra, recently introduced features like
Python and Perl interpreters.

Install the vim-console package if you'd like to use a full-featured
VIM, but you don't use X11 or don't want to use GUI version of VIM nor want
to use perl/python/ruby/tcl interface.  You'll also need to install the
vim-common package.
# }}}
# {{{ vim-X11
%package X11
Summary: A full version of VIM editor, including GUI for the X Window System
Group: Editors
BuildArch: noarch
PreReq: coreutils
PreReq: alternatives >= 0.2.0-alt0.7
PreReq: %name-X11-gui
Requires: menu >= 2.1.25-alt4
Requires: %name-common = %epoch:%version-%release
Provides: %name = %epoch:%version-%release
Provides: %_bindir/vim
Obsoletes: vim-color

%description X11
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.  Vi was the first real screen-based editor for UNIX, and is still
very popular.  VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting and more.

VIM-X11 is a full version of the VIM editor, including the GUI. You can run it
either in terminal or within the X Window System. This package supersedes
vim-ehnanced package.

Install the vim-X11 package if you'd like to use a full-featured VIM with both
terminal and X11 interface.  You'll also need to install the vim-common
package.
# }}}
# {{{ vim-X11-athena
%package X11-athena
Summary: A full version of VIM editor, including Xaw GUI for the X Window System
Group: Editors
PreReq: coreutils
PreReq: alternatives >= 0.2.0-alt0.7
Requires: %name-X11 = %epoch:%version-%release
Provides: %name-X11-gui = %epoch:%version-%release
Provides: %_bindir/vim-X11
Obsoletes: vim-color

%description X11-athena
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.  Vi was the first real screen-based editor for UNIX, and is still
very popular.  VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting and more.

VIM-X11 is a full version of the VIM editor, including the GUI. You can run it
either in terminal or within the X Window System. This package supersedes
vim-ehnanced package.

Install the vim-X11 package if you'd like to use a full-featured VIM with both
terminal and X11 Xaw interface.  You'll also need to install the vim-X11
package.
# }}}
# {{{ vim-X11-gnome2
%package X11-gnome2
Summary: A full version of VIM editor, including GNOME GUI for the X Window System
Group: Editors
PreReq: coreutils
PreReq: alternatives >= 0.2.0-alt0.7
Requires: %name-X11 = %epoch:%version-%release
Provides: %name-X11-gui = %epoch:%version-%release
Provides: %_bindir/vim-X11
Obsoletes: vim-color

%description X11-gnome2
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.  Vi was the first real screen-based editor for UNIX, and is still
very popular.  VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting and more.

VIM-X11 is a full version of the VIM editor, including the GUI. You can run it
either in terminal or within the X Window System. This package supersedes
vim-ehnanced package.

Install the vim-X11 package if you'd like to use a full-featured VIM with both
terminal and X11 GNOME interface.  You'll also need to install the vim-X11
package.
# }}}
# {{{ vim-X11-gtk2
%package X11-gtk2
Summary: A full version of VIM editor, including gtk+2 GUI for the X Window System
Group: Editors
PreReq: coreutils
PreReq: alternatives >= 0.2.0-alt0.7
Requires: libgtk+2 >= 2.0
Requires: %name-X11 = %epoch:%version-%release
Provides: %name-X11-gui = %epoch:%version-%release
Provides: %_bindir/vim-X11
Obsoletes: vim-color

%description X11-gtk2
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.  Vi was the first real screen-based editor for UNIX, and is still
very popular.  VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting and more.

VIM-X11 is a full version of the VIM editor, including the GUI. You can run it
either in terminal or within the X Window System. This package supersedes
vim-ehnanced package.

Install the vim-X11 package if you'd like to use a full-featured VIM with both
terminal and X11 gtk+2 interface.  You'll also need to install the vim-X11
package.
# }}}
# {{{ vim-X11-motif
%package X11-motif
Summary: A full version of VIM editor, including Motif GUI for the X Window System
Group: Editors
PreReq: coreutils
PreReq: alternatives >= 0.2.0-alt0.7
Requires: %name-X11 = %epoch:%version-%release
Provides: %name-X11-gui = %epoch:%version-%release
Provides: %_bindir/vim-X11
Obsoletes: vim-color

%description X11-motif
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.  Vi was the first real screen-based editor for UNIX, and is still
very popular.  VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting and more.

VIM-X11 is a full version of the VIM editor, including the GUI. You can run it
either in terminal or within the X Window System. This package supersedes
vim-ehnanced package.

Install the vim-X11 package if you'd like to use a full-featured VIM with both
terminal and X11 Motif interface.  You'll also need to install the vim-X11
package.
# }}}
# {{{ vim-X11-neXtaw
%package X11-neXtaw
Summary: A full version of VIM editor, including neXtaw GUI for the X Window System
Group: Editors
PreReq: coreutils
PreReq: alternatives >= 0.2.0-alt0.7
Requires: %name-X11 = %epoch:%version-%release
Provides: %name-X11-gui = %epoch:%version-%release
Provides: %_bindir/vim-X11
Obsoletes: vim-color

%description X11-neXtaw
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.  Vi was the first real screen-based editor for UNIX, and is still
very popular.  VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting and more.

VIM-X11 is a full version of the VIM editor, including the GUI. You can run it
either in terminal or within the X Window System. This package supersedes
vim-ehnanced package.

Install the vim-X11 package if you'd like to use a full-featured VIM with both
terminal and X11 neXtaw interface.  You'll also need to install the vim-X11
package.
# }}}
# {{{ vim-devel
%package -n rpm-build-vim
Summary: RPM macros needed to build additional VIM plugin packages
Group: Development/Other
BuildArch: noarch
#Conflicts: %name-common < %epoch:%version-%release
#Conflicts: %name-common > %epoch:%version-%release
Provides: %name-devel = %epoch:%version-%release
Obsoletes: %name-devel < 4:7.2

%description -n rpm-build-vim
VIM (VIsual editor iMproved) is an updated and improved version of the vi
editor.  Vi was the first real screen-based editor for UNIX, and is still
very popular.  VIM improves on vi by adding new features: multiple windows,
multi-level undo, block highlighting and more.  The vim-common package
contains files which every VIM binary will need in order to run.

This package contains RPM macros needed to build additional VIM plugin
packages.
# }}}
# {{{ xxd
%package -n xxd
Summary: Make a hexdump or do the reverse
Group: File tools
Conflicts: %name-common < %epoch:%version-%release
Conflicts: %name-common > %epoch:%version-%release

%description -n xxd
xxd creates a hex dump of a given file or standard input. It can
also convert a hex dump back to its original binary form. Like
uuencode(1) and uudecode(1) it allows the transmission of binary
data in a `mail-safe' ASCII representation, but has the
advantage of decoding to standard output. Moreover, it can be
used to perform binary file patching.
# }}}

# {{{ prep section
%prep
%setup -n vim-%branch
%patch -p1
touch src/auto/*

# Compressed documentation
#__subst 's|^.*#[[:blank:]]*define[[:blank:]]\+DFLT_HELPFILE[[:blank:]]\+.*$|#define DFLT_HELPFILE "$VIMRUNTIME/doc/help.txt.gz"|' src/feature.h

VIMSPELLVERSION=`grep '^[[:blank:]]*#define[[:blank:]]\+VIMSPELLVERSION[[:blank:]]\+[[:digit:]]\+[[:blank:]]*$' src/spell.c | sed -e 's/^[[:blank:]]*#define[[:blank:]]\+VIMSPELLVERSION[[:blank:]]\+\([[:digit:]]\+\)[[:blank:]]*$/\1/'`
VIMSUGVERSION=`grep '^[[:blank:]]*#define[[:blank:]]\+VIMSUGVERSION[[:blank:]]\+[[:digit:]]\+[[:blank:]]*$' src/spell.c | sed -e 's/^[[:blank:]]*#define[[:blank:]]\+VIMSUGVERSION[[:blank:]]\+\([[:digit:]]\+\)[[:blank:]]*$/\1/'`
if [ "$VIMSPELLVERSION.$VIMSUGVERSION" != "%vimspell_version" ]; then
  echo "FATAL: %%vimspell_version (%vimspell_version) does not match source ($VIMSPELLVERSION.$VIMSUGVERSION)"
  exit 1
fi
# }}}
# {{{ build section
%build
# autoreconf
%make -C src autoconf
# SMP-incompatible
%define __nprocs 1
PLTHOME=%_libdir/plt2; export PLTHOME
# {{{ Build CFLAGS
# Load (g)vimrc file(s) from %_sysconfdir
%add_optflags -DSYS_VIMRC_FILE=\\\"%_sysconfdir/vim/vimrc\\\"
%add_optflags -DSYS_GVIMRC_FILE=\\\"%_sysconfdir/vim/gvimrc\\\"
# Largefile support
%add_optflags -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1
# }}}
# {{{ minimal
%if_enabled minimal
%configure \
	--exec-prefix=/ \
	--with-features=tiny \
	--with-x=no \
	--enable-gui=no \
	--disable-gpm \
	--disable-rpath \
	%{subst_enable selinux} \
	--with-tlib=tinfo \
	--with-compiledby="%packager" \
	#

%make_build -C src clean all
%make_test
mv src/vim vim-minimal
%endif
# }}}

common_opts="--with-features=huge \
	--disable-rpath \
	--enable-cscope \
	%{subst_enable gpm} \
	--enable-multibyte \
	%{subst_enable selinux} \
	--with-global-runtime=%vim_runtime_dir \
	--with-tlib=tinfo"

interp_opts="%{subst_enable perlinterp} \
	%{subst_enable pythoninterp} \
	%{subst_enable rubyinterp} \
	%{subst_enable tclinterp} \
	%{subst_enable mzschemeinterp} \
	%{subst_enable luainterp}"

# {{{ full without GUI and interpreters
%configure \
	$common_opts \
	--with-features=big \
	--disable-perlinterp \
	--disable-pythoninterp \
	--disable-rubyinterp \
	--disable-tclinterp \
	--disable-mzschemeinterp \
	--with-x=no \
	--disable-xsmp \
	--enable-gui=no \
	--with-compiledby="%packager" \
	#
%make_build -C src clean all
%make_test
mv src/vim vim-console
# }}}

# {{{ full without GUI
%configure \
	$common_opts \
	$interp_opts \
	--with-x \
	--enable-gui=no \
	--disable-xsmp \
	--with-compiledby="%packager" \
	#
%make_build -C src clean all
%make_test
mv src/vim vim-enhanced
# }}}

# {{{ full version with GUI
%if_enabled gui_any
for gui in %{gui}; do
%configure \
	$common_opts \
	$interp_opts \
	--with-x=yes \
	--enable-gui="$gui" \
	--enable-multibyte \
	--enable-xim \
	--enable-fontset \
	--enable-xsmp \
	--with-compiledby="%packager" \
	#
%make_build -C src clean all
%make_test
mv src/vim "vim-$gui"
done
%endif
# }}}
# STFU make install
touch src/vim
# }}}
# {{{ install section
%install
mkdir -p %buildroot{%_altdir,%_sysconfdir/vim,/bin,%_bindir,%_man1dir,%_datadir/vim/{ftdetect,langmap,langrc},%_customdocdir,%_usrsrc/vimspell,%_rpmmacrosdir}
# {{{2 make install
%makeinstall_std -C src

# Where is our baby?..
rm %buildroot%_bindir/vim

%if_enabled minimal
# Install the minimal version into the /bin
install -p -m755 vim-minimal %buildroot/bin/vi
%endif

# ... Here it is!
for ui in console enhanced %{gui}; do
	install -p -m755 "vim-$ui" "%buildroot%_bindir/vim-$ui"
done
%if_enabled gui_any
for ui in %{gui}; do
	ln -s "vim-$ui" "%buildroot%_bindir/gvim-$ui"
done
%endif
# 2}}}
# {{{2 Set up links for minimal and gui versions
%if_enabled minimal
for i in ex rvi rview ; do
	ln -s -f vi "%buildroot/bin/$i"
done
%endif

%if_enabled gui_any
for i in evim eview gview gvim gvimdiff rgview rgvim ; do
	ln -s -f vim-X11 "%buildroot%_bindir/$i"
done
%endif

# 2}}}
# {{{2 Install documentation
ln -s -f ../../vim/doc %buildroot%_customdocdir/doc
# 2}}}

install -p -m644 vimrc.system %buildroot%_sysconfdir/vim/vimrc
install -p -m644 gvimrc.system %buildroot%_sysconfdir/vim/gvimrc
install -p -m644 vimrc_hebrew %buildroot%_datadir/vim
# ALT-specific filetype
install -p -m644 runtime/ftdetect/* %buildroot%_datadir/vim/ftdetect/

pushd %buildroot%_datadir/vim/tools
    # i need to make a choice :(.
    subst 's|#!/usr/bin/nawk|#!/usr/bin/gawk|' mve.awk
    subst 's,#!/bin/csh.*.*,#!/bin/sh,' vim132
    chmod a-x vimspell* ref*
popd

# {{{2 post-install cleanup
find %buildroot%_datadir/vim \( -name '*.info' -o -name 'README.txt' \) -print0 |
	xargs -r0 rm -f --

for i in autoload colors compiler ftplugin indent keymap lang macros plugin spell syntax tools tutor; do
    cp -f runtime/$i/README.txt README_$i.txt
done
#__cp -f official-patches/README README_patches.txt
# 2}}}

# {{{2 Create RPM macros and runtime dirs in buildroot
mkdir -p %buildroot%vim_runtime_dir
%if_enabled devel
cat <<EOF >%buildroot%_rpmmacrosdir/vim
# Global runtime
%%vim_dir	%_datadir/vim

# Spell files are in vim_dir
%%vim_spell_dir	%%vim_dir/spell
%%vim_spell_source_dir	%_usrsrc/vimspell
%%mkvimspell(L:a)	%%{!-L:%%{!-a:%%{error:mkvimspell: neither language nor -a is specified} }}%%{-L:env LANG="%%{-L*}"} %_bindir/vim-console -E -X -N -n -i NONE -u NONE -U NONE -c 'mkspell! %%{-a:-ascii} %%*' -c q
# VIMSPELLVERSION.VIMSUGVERSION
%%vimspell_version	%vimspell_version

%%vim_runtime_dir	%%vim_dir/vimfiles
# Additional dirs in global runtime
EOF
%endif
for d in after autoload colors compiler doc ftdetect ftplugin indent keymap lang plugin print syntax ; do
    mkdir -p %buildroot%vim_runtime_dir/$d
%if_enabled devel
    cat <<EOF >>%buildroot%_rpmmacrosdir/vim
%%vim_${d}_dir	%%vim_runtime_dir/$d
EOF
%endif
done
%if_enabled devel
cat <<EOF >>%buildroot%_rpmmacrosdir/vim

# "after" dirs in global runtime
EOF
%endif
for d in compiler ftplugin indent plugin syntax ; do
    mkdir -p %buildroot%vim_runtime_dir/after/$d
%if_enabled devel
    cat <<EOF >>%buildroot%_rpmmacrosdir/vim
%%vim_after_${d}_dir	%%vim_after_dir/$d
EOF
%endif
done
%if_enabled devel
cat <<EOF >>%buildroot%_rpmmacrosdir/vim

%%vim_script_url() http://www.vim.org/scripts/script.php?script_id=%%1%%nil

# post-install commands (obsoleted by filetrigger)
%%update_vimhelp	%%{warning %%%%update_vimhelp is obsolete}
%%clean_vimhelp		%%{warning %%%%clean_vimhelp is obsolete}
EOF
%endif
# 2}}}
# {{{2 update-vimhelp script
cat <<EOF >%buildroot%_bindir/update-vimhelp
#! /bin/sh

VIM=%_bindir/vim
DOCDIR=

[ -x "\$VIM" ] || exit 1
[ -z "\$RPM_INSTALL_NAME" ] || exit 0

if [ -n "\$1" ]; then
  if [ -d "\$1" -a -w "\$1" ]; then
    DOCDIR="\$1"
  fi
else
  if [ -d %vim_runtime_dir/doc -a -w %vim_runtime_dir/doc ]; then
    DOCDIR="%vim_runtime_dir/doc"
  elif [ -d "\$HOME/.vim/doc" -a -w "\$HOME/.vim/doc" ]; then
    DOCDIR="\$HOME/.vim/doc"
  fi
fi

[ -n "\$DOCDIR" ] || exit 1

echo ":helptags \$DOCDIR" | \$VIM -E -s -X -N -n -i NONE -u NONE -U NONE ||:
EOF

chmod 755 %buildroot%_bindir/update-vimhelp
# 2}}}
# {{{2 Filetrigger
cat <<EOF >%buildroot%_rpmlibdir/vim.filetrigger
#!/bin/sh -e

grep -qs '^%vim_runtime_dir/doc/' && update-vimhelp ||:
EOF

chmod 755 %buildroot%_rpmlibdir/vim.filetrigger
# 2}}}
# {{{2 files.req
cat <<EOF >%buildroot%_rpmlibdir/vim-files.req.list
%_datadir/vim/vimfiles/after/compiler	vim-common
%_datadir/vim/vimfiles/after/ftplugin	vim-common
%_datadir/vim/vimfiles/after/indent	vim-common
%_datadir/vim/vimfiles/after/plugin	vim-common
%_datadir/vim/vimfiles/after/syntax	vim-common
%_datadir/vim/vimfiles/after	vim-common
%_datadir/vim/vimfiles/autoload	vim-common
%_datadir/vim/vimfiles/colors	vim-common
%_datadir/vim/vimfiles/compiler	vim-common
%_datadir/vim/vimfiles/doc	vim-common
%_datadir/vim/vimfiles/ftdetect	vim-common
%_datadir/vim/vimfiles/ftplugin	vim-common
%_datadir/vim/vimfiles/indent	vim-common
%_datadir/vim/vimfiles/keymap	vim-common
%_datadir/vim/vimfiles/lang	vim-common
%_datadir/vim/vimfiles/plugin	vim-common
%_datadir/vim/vimfiles/print	vim-common
%_datadir/vim/vimfiles/syntax	vim-common
%_datadir/vim/vimfiles	vim-common
%_datadir/vim/spell	vim-common
%_datadir/vim	vim-common
EOF
# 2}}}
# {{{2 spell-source
cp -a runtime/spell/[a-z][a-z] %buildroot%_usrsrc/vimspell
cp -a runtime/spell/[a-z][a-z].vim %buildroot%_usrsrc/vimspell
cp -a runtime/spell/*.aap %buildroot%_usrsrc/vimspell
# 2}}}
# {{{2 Install icons
%if_enabled gui_any
install -p -m644 -D runtime/vim16x16.png %buildroot%_miconsdir/gvim.png
install -p -m644 -D runtime/vim32x32.png %buildroot%_niconsdir/gvim.png
install -p -m644 -D runtime/vim48x48.png %buildroot%_liconsdir/gvim.png
%endif
# 2}}}
# {{{2 Install menu
%if_enabled gui_any
install -p -m644 -D gvim.desktop %buildroot%_desktopdir/gvim.desktop
%endif
# 2}}}
# {{{2 Install alternatives files
install -p -m644 alternatives/vim-enhanced %buildroot%_altdir/vim-enhanced
install -p -m644 alternatives/vim-console %buildroot%_altdir/vim-console
%if_enabled gui_any
install -p -m644 alternatives/vim-X11 %buildroot%_altdir/vim-X11

 %if_enabled gui_athena
install -p -m644 alternatives/vim-X11-athena %buildroot%_altdir/vim-X11-athena
 %endif
 %if_enabled gui_gnome2
install -p -m644 alternatives/vim-X11-gnome2 %buildroot%_altdir/vim-X11-gnome2
 %endif
 %if_enabled gui_gtk2
install -p -m644 alternatives/vim-X11-gtk2 %buildroot%_altdir/vim-X11-gtk2
 %endif
 %if_enabled gui_motif
install -p -m644 alternatives/vim-X11-motif %buildroot%_altdir/vim-X11-motif
 %endif
 %if_enabled gui_neXtaw
install -p -m644 alternatives/vim-X11-neXtaw %buildroot%_altdir/vim-X11-neXtaw
 %endif
%endif
# 2}}}
# {{{2 Language-specific parts
%find_lang --with-man --output vim.lang /vim /ex /rview /rvim /view /vimdiff
%find_lang --with-man --output xxd.lang /xxd
%find_lang --with-man --output vimtutor.lang --custom-file-script 's:\(%_datadir/vim/tutor/tutor\)\(\.\([a-z][a-z]\)\(\..*\)\?\)$:%%lang(\3) \1\2:; s:^\([^%%].*\)::; s:%%lang(en) ::;' /vimtutor
%find_lang --with-man --output vim-X11.lang /evim /eview /gvim /gview /gvimdiff /rgvim /rgview
install -p -m644 runtime/langrc/* %buildroot%_datadir/vim/langrc
install -p -m644 runtime/langmap/*.vim %buildroot%_datadir/vim/langmap

# 2}}}
# }}}

# {{{ triggers
%if_enabled minimal
%triggerpostun minimal -- vim-minimal < 6.0.118
[ $2 -gt 0 ] || exit 0
[ -e %_bindir/vi -a -h %_bindir/vi ] && rm -f %_bindir/vi ||:
%endif
# }}}
# {{{ pre/post install scripts
%pre common
if [ -L "%_datadir/vim/doc" ]; then
  d=$(realpath "%_datadir/vim/doc")
  rm -f -- "%_datadir/vim/doc"
  mv -f -- "$d" "%_datadir/vim/doc"
fi
# }}}

# {{{ vim-common files
%files common -f vim.lang
# Note to self: NEVER try to use %%doc in subpackages
%doc README*.txt runtime/gvimrc_example.vim
%doc runtime/termcap runtime/vimrc_example.vim vimrc_hebrew
%doc README.ALT-ru_RU.KOI8-R

%dir %_sysconfdir/vim
%config(noreplace) %_sysconfdir/vim/vimrc
%config(noreplace) %_sysconfdir/vim/gvimrc
# {{{2 $VIMRUNTIME
%dir %_datadir/vim
%_datadir/vim/autoload
%_datadir/vim/colors
%_datadir/vim/compiler
%dir %_datadir/vim/doc
%doc %_datadir/vim/doc/*.txt
%doc %_datadir/vim/doc/tags
%_datadir/vim/ftdetect
%_datadir/vim/ftplugin
%_datadir/vim/indent
%_datadir/vim/keymap
%_datadir/vim/lang
%_datadir/vim/langmap
%_datadir/vim/langrc
%_datadir/vim/macros
%_datadir/vim/plugin
%_datadir/vim/print
%dir %_datadir/vim/spell
%_datadir/vim/spell/cleanadd.vim
%_datadir/vim/spell/fixdup.vim
%_datadir/vim/syntax
%_datadir/vim/tools
%_datadir/vim/vimfiles
%_datadir/vim/*.vim
%_datadir/vim/vimrc_hebrew
# 2}}}
%_bindir/ex
%_bindir/view
%_bindir/rvim
%_bindir/rview
%_bindir/vimdiff
%_bindir/update-vimhelp
%_rpmlibdir/vim.filetrigger
# }}}
# {{{ vimtutor
%files -n vimtutor -f vimtutor.lang
%_bindir/gvimtutor
%_bindir/vimtutor
%dir %_datadir/vim/tutor
%_datadir/vim/tutor/tutor
%_datadir/vim/tutor/tutor.utf-8
%_datadir/vim/tutor/tutor.vim
%_datadir/vim/tutor/README*
# }}}
# {{{ vim-spell files
%files spell-source
%dir %_usrsrc/vimspell
%_usrsrc/vimspell/[a-z][a-z]
%_usrsrc/vimspell/[a-z][a-z].vim
%_usrsrc/vimspell/*.aap
# }}}
# {{{ vim-devel files
%if_enabled devel
%files -n rpm-build-vim
%_rpmmacrosdir/vim
%_rpmlibdir/vim-files.req.list
%endif
# }}}
# {{{ vim-minimal files
%if_enabled minimal
%files minimal
/bin/*
%endif
# }}}
# {{{ vim-console files
%files console
%_altdir/vim-console
%_bindir/vim-console
# }}}
# {{{ vim-enhanced files
%files enhanced
%_altdir/vim-enhanced
%_bindir/vim-enhanced
# }}}
# {{{ vim-X11 files
%if_enabled gui_any
%files X11 -f vim-X11.lang
%_altdir/vim-X11
%_bindir/evim
%_bindir/eview
%_bindir/gvim
%_bindir/gview
%_bindir/gvimdiff
%_bindir/rgvim
%_bindir/rgview
%_niconsdir/gvim.png
%_miconsdir/gvim.png
%_liconsdir/gvim.png
%_desktopdir/gvim.desktop
%endif
# }}}
# {{{ vim-X11-athena files
%if_enabled gui_athena
%files X11-athena
%_altdir/vim-X11-athena
%_bindir/vim-athena
%_bindir/gvim-athena
%endif
# }}}
# {{{ vim-X11-gnome2 files
%if_enabled gui_gnome2
%files X11-gnome2
%_altdir/vim-X11-gnome2
%_bindir/vim-gnome2
%_bindir/gvim-gnome2
%endif
# }}}
# {{{ vim-X11-gtk2 files
%if_enabled gui_gtk2
%files X11-gtk2
%_altdir/vim-X11-gtk2
%_bindir/vim-gtk2
%_bindir/gvim-gtk2
%endif
# }}}
# {{{ vim-X11-motif files
%if_enabled gui_motif
%files X11-motif
%_altdir/vim-X11-motif
%_bindir/vim-motif
%_bindir/gvim-motif
%endif
# }}}
# {{{ vim-X11-neXtaw files
%if_enabled gui_neXtaw
%files X11-neXtaw
%_altdir/vim-X11-neXtaw
%_bindir/vim-neXtaw
%_bindir/gvim-neXtaw
%endif
# }}}
# {{{ xxd
%files -n xxd -f xxd.lang
%_bindir/xxd
# }}}

# {{{ changelog
%changelog
* Sun May 13 2018 Andrey Cherepanov <cas@altlinux.org> 4:7.3.353-alt4.1.1.M80C.2
- Rebuild with Ruby 2.4.4

* Tue Nov 07 2017 Andrey Cherepanov <cas@altlinux.org> 4:7.3.353-alt4.1.1.M80C.1
- Rebuild with Ruby 2.4.2

* Wed Nov 25 2015 Igor Vlasenko <viy@altlinux.ru> 4:7.3.353-alt4.1.1
- rebuild with new perl 5.22.0

* Tue Dec 09 2014 Igor Vlasenko <viy@altlinux.ru> 4:7.3.353-alt4.1
- rebuild with new perl 5.20.1

* Thu Mar 20 2014 Led <led@altlinux.ru> 4:7.3.353-alt4
- Rebuilt with ruby-2.0.0-alt1
- add upstream fixes for build with Ruby 2.0

* Fri Aug 30 2013 Vladimir Lettiev <crux@altlinux.ru> 4:7.3.353-alt3
- built for perl 5.18

* Tue Sep 04 2012 Vladimir Lettiev <crux@altlinux.ru> 4:7.3.353-alt2
- rebuilt for perl-5.16

* Thu Nov 24 2011 Dmitry V. Levin <ldv@altlinux.org> 4:7.3.353-alt1
- Updated to 7.3.353.

* Mon Nov 07 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 4:7.3.333-alt1.1.1
- Rebuild with Python-2.7

* Fri Oct 07 2011 Alexey Tourbin <at@altlinux.ru> 4:7.3.333-alt1.1
- rebuilt for perl-5.14

* Wed Oct 05 2011 Dmitry V. Levin <ldv@altlinux.org> 4:7.3.333-alt1
- Updated to 7.3.333.

* Fri Jul 08 2011 Dmitry V. Levin <ldv@altlinux.org> 4:7.3.244-alt1
- Updated to 7.3.244.

* Wed May 25 2011 Dmitry V. Levin <ldv@altlinux.org> 4:7.3.206-alt1
- Updated to 7.3.206.

* Sun Apr 24 2011 Dmitry V. Levin <ldv@altlinux.org> 4:7.3.162-alt1
- Updated to 7.3.162.

* Sun Apr 03 2011 Dmitry V. Levin <ldv@altlinux.org> 4:7.3.154-alt1
- Updated to 7.3.154.
- syntax/spec.vim: Added %%dev macro support (by raorn@).

* Thu Mar 03 2011 Dmitry V. Levin <ldv@altlinux.org> 4:7.3.137-alt1
- Updated to 7.3.137 (closes: #25013).

* Wed Feb 02 2011 Dmitry V. Levin <ldv@altlinux.org> 4:7.3.112-alt1
- Updated to 7.3.112.

* Tue Dec 21 2010 Alexey I. Froloff <raorn@altlinux.org> 4:7.3.087-alt1
- Official patches (087)

* Tue Nov 09 2010 Alexey I. Froloff <raorn@altlinux.org> 4:7.3.050-alt1
- Official patches (050)

* Wed Sep 29 2010 Alexey I. Froloff <raorn@altlinux.org> 4:7.3.011-alt1
- Official patches (011)

* Tue Sep 14 2010 Alexey I. Froloff <raorn@altlinux.org> 4:7.3.003-alt2
- Reverted brain-damaged clipboard timestamp patch

* Mon Aug 23 2010 Alexey I. Froloff <raorn@altlinux.org> 4:7.3.003-alt1
- 7.3 patchlevel 003
  + dropped GTK 1.2 support
  + added Lua interpreter
- Enabled SELinux

* Mon Jun 07 2010 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.442-alt2
- Fix langmaps for 4.2.426

* Sun Jun 06 2010 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.442-alt1
- Official patches (442)

* Sat Apr 10 2010 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.411-alt1
- Official patches (411)

* Sat Feb 27 2010 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.377-alt1
- Official patches (377)

* Sat Jan 30 2010 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.351-alt1
- Official patches (351)
- syntax/spec.vim: %%__python_version -> %%_python_version
- vimrc: turn on incremental search by default

* Tue Dec 29 2009 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.323-alt1
- Official patches (323)
- Completely disabled some official patches (7.2.044, 7.2.251 and
  7.2.316)

* Mon Dec 14 2009 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.315-alt1
- Official patches (315)

* Wed Nov 11 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4:7.2.284-alt1.1
- Rebuilt with python 2.6

* Tue Nov 10 2009 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.284-alt1
- Official patches (284)
- syntax/spec.vim: hightlight %%post_service/%%preun_service and
  %%pre_control/%%post_control as directives

* Wed Sep 23 2009 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.262-alt1
- Official patches (262)
- syntax/spec.vim: %%undefine is directive, %%nil is global macro
  (reported by thresh@)

* Wed Sep 09 2009 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.245-alt1
- Official patches (245)
- Packaged README_patches.txt from ftp://ftp.vim.org/pub/vim/patches/7.2/README
- syntax/spec.vim: add %%check section

* Fri Jul 17 2009 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.234-alt1
- Official patches (234)
  + cannot debug problems with being in a wrong directory
  + it is not possible to ignore file names without a suffix
- syntax/spec.vim:
  + fixed -abc option syntax for %%setup and %%patch
  + do not highlight certain macros that starts with double underscore
    as Error

* Sun Jul 12 2009 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.228-alt1
- Official patches (228)
 + (after 7.2.215) BufEnter "cd" autocommand causes problems
 + X cut_buffer0 text may be used in the wrong encoding
 + ":mksession" doesn't work properly with 'acd' set
 + a script run with ":silent" cannot give any messages
 + when using ":normal" a saved character may be executed
 + when using ":cd" in a script there is no way to track this
 + cscope is limited to 8 connections
- syntax/spec.vim:
 + highlight "autoreconf" macro as specDirective
 + higlight Tab and trailing whitespaces as Error in %%description and
   %%changelog sections
 + highlight characters after column g:spec_textarea_width (defaults to 72)
   as Error in %%description and %%changelog sections

* Fri Jun 26 2009 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.218-alt1
- Official patches (218)
 + if no ctags program found, "make tags" executes first C file
 + crash with specific use of function calls
 + possible hang for deleting auto-indent
 + the register executed by @@ isn't stored in viminfo
 + leaking memory for the command Vim was started with
 + cannot copy/paste HTML to/from Firefox via the clipboard
 + BufWipeout autocmd that edits another buffer causes problems
 + using current window to work on hidden buffer has side effects
 + "set novice" gives an error message, it should be ignored
 + warning for file changed outside of vim even after :checktime
 + memory leak when expanding a series of file names
- syntax/spec.vim: rewritten from scratch
- syntax/perl.vim: support for s||| and s,,, (closes: #19708)

* Sun May 03 2009 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.166-alt1
- Official patches (166)
 + ":hist a" doesn't work like ":hist all" as the docs suggest
 + "silent echo x" inside ":redir" leaves cursor halfway the line
 + (after 7.2.132) can still do ":cd" in SwapExists autocmd
 + no completion for :scscope and :lcscope commands
 + folds messed up in other tab page
 + the quickfix window may get the wrong filetype
 + the command line window may get folding
 + when 'showbreak' is set wrong Visual block size reported
 + FuncUndefined autocmd event argument is expanded like filename
 + no completion for ":sign" command

* Mon Apr 13 2009 Alexey I. Froloff <raorn@altlinux.org> 4:7.2.148-alt2
- Fix filetrigger interpreter

* Sun Apr 05 2009 Sir Raorn <raorn@altlinux.ru> 4:7.2.148-alt1
- Official patches (148)
 + using wrong cursor highlighting after clearing 'keymap'
 + accessing freed memory when changing dir in SwapExists autocmd
 + ":diffoff!" changes settings in windows not in diff mode
 + memory leak when redefining user command with complete arg
 + (after 7.2.132) ":cd" still possible in SwapExists autocmd
 + wrong left shift of blockwise selection in tab when 've' set
 + crash when 'virtualedit' is "all"
 + diff highlighting missing if Visual area starts at cursor pos
 + fixing bold spill redraws too many characters
 + no command line completion for ":cscope" command
 + colorscheme is reloaded when 't_Co' is set to the same value
 + v:warningmsg isn't used for all warnings
 + cursor in wrong position after Tab for small version
 + highlighting a character after the line doesn't always work
- Set 'is_posix' for syntax/sh.vim (closes: #19296)
- xxd utility moved to separate package
- vim-common package made noarch

* Wed Mar 04 2009 Sir Raorn <raorn@altlinux.ru> 4:7.2.130-alt1
- Official patches (130)
 + 'langmap' does not work for multi-byte characters
 + selection unclear for Visual block mode with 'cursorcolumn'
 + cursor invisible in first col in Visual mode if 'number' set
 + crash when using submatch() in substitute()
 + location list incorrectly labelled "Quickfix List"
 + <PageUp> at the more prompt only does half a page
 + status line is redrawn too often
 + location list is copied and then deleted when opening window
 + can't stop output of "!grep a *.c" in gvim with CTRL-C
 + invalid mem access if VimResized autocmd changes screen size
 + ":map" output continues after typing 'q' at more prompt
 + ":tselect" output continues after typing 'q' at more prompt
 + leaking memory when reading XPM bitmap for a sign
 + get another more prompt after typing 'q'
 + (after 7.2.055) ":lcd" causes invalid session file
 + opening command window from input() uses the search history
 + Vim may haing until CTRL-C is typed when using CTRL-Z
- Dropped multibyte langmap patch (implemented in upstream)

* Wed Feb 18 2009 Sir Raorn <raorn@altlinux.ru> 4:7.2.108-alt1
- Official patches (108)
 + using "r" and then CTRL-C Visual highlighting is not removed
 + after ":number" "Press Enter" msg may be on the wrong screen
 + "!xterm&" doesn't work when 'shell' is "bash"
 + unnecessary redraw when changing GUI options in terminal
 + missing first three bytes on sourced FIFO
 + tab page line isn't always updated, e.g. when 'bomb' is set
 + after ":saveas foo" the tab label isn't updated right away
 + modeline setting for 'foldmethod' overrules diff options
 + endless loop for "]s" in HTML when there are no misspellings
 + After a GUI dialog ":echo" messages are deleted

* Sun Feb 01 2009 Sir Raorn <raorn@altlinux.ru> 4:7.2.093-alt1
- Official patches (093)
 + problems with deleting folds
 + "killed" netbeans events are not handled correctly
 + accessing wrong memory with completion and composing char
 + if 'ff' is "mac" then "ga" on a ^J shows 0x0d instead of 0x0a
 + ":tag" doesn't return to the right tag entry in the tag stack
 + Python: vim.eval() is wrong for recursive structures 
 + ":set <M-b>=<Esc>b" does not work when 'encoding' is utf-8
 + using ":diffget 1" in buffer 1 corrupts the text
 + adding URL to 'path' doesn't work to edit a file
 + user command containing 0x80 does not work properly
 + ":cs help" output is not aligned for some languages
 + some error messages are not translated
 + (extra) dialogs can't always handle multi-byte text
- Fix python search path on x86_64 (closes: #18377)

* Tue Jan 06 2009 Sir Raorn <raorn@altlinux.ru> 4:7.2.077-alt1
- Official patches (077)
 + (after 7.2.076) rename() fails if names differ only in case
 + problems with deleting folds

* Thu Dec 25 2008 Sir Raorn <raorn@altlinux.ru> 4:7.2.075-alt1
- Official patches (075)
 + the Python interface has an empty entry in sys.path
 + wrong check for filling buffer with encoding
 + using -nb while it is not supported makes other side hang
 + v:count and v:prevcount are not set correctly
 + can't avoid 'wig' and 'suffixes' for glob() and globpath()
 + synIDattr() doesn't support "sp" for special color
 + crash when using WorkShop command ":ws foo"
 + diff is not always displayed properly
 + spell checking doesn't work well for compound words
 + creating funcref requires loading the autoload script first
 + "[Scratch]" is not translated
 + repeating "~" on a Visual block doesn't always update screen
 + GTK GUI: cursor disappears doing ":vsp" when maximized
 + not easy to check if 'encoding' is a multi-byte encoding
 + can't load sesison extra file when it contains special chars
 + error when Emacs tags file line is too long
 + crash when a function returns a:000
 + ":set <xHome>" has the same output as ":set <Home>"
- Don't update help index when $RPM_INSTALL_NAME is set
- Macros moved to %%_rpmmacrosdir
- Eliminated %%__macro abuse

* Sat Dec 13 2008 Kirill A. Shutemov <kas@altlinux.org> 4:7.2.042-alt1.1
- NMU:
  + Compile vim-enhanced with X11 support (closes: #18055)
  + Drop unneeded triggers and post/preun

* Sun Nov 16 2008 Sir Raorn <raorn@altlinux.ru> 4:7.2.042-alt1
- Official patches (042)
 + can use cscope commands in the sandbox, might not be safe
 + no completion for ":doautoall" like for ":doautocmd"
 + file names from viminfo are not available to the user
 + using "ucs-2le" for two-byte BOM, but text might be "utf-16le"
 + memory leak in spell info when deleting a buffer
 + ":e ++ff=dos foo" gets "unix" 'ff' when CR before NL missing
 + diff messed up when editing a diff buffer in another tab page
 + restoring view in autocmd sometimes doesn't work completely
- Removed obsolete update_menus calls
- Packaged filetrigger for updating help indicies
- %%update_vimhelp/%%clean_vimhelp macros made obsolete
- Pacgaged files.req.list with common subdirs

* Sat Nov 01 2008 Sir Raorn <raorn@altlinux.ru> 4:7.2.026-alt1
- Official patches (026)
 + (after 7.2.010) 'K' uses the rest of the line (closes: #17660)

* Fri Oct 03 2008 Sir Raorn <raorn@altlinux.ru> 4:7.2.025-alt1
- Official patches (025)
 + wrong window count when using :bunload in a BufHidden autocmd
 + "K" in Visual mode does not properly escape all characters
 + error when inserting a float value from expression register
 + hang when waiting for X selection, consuming lots of CPU time
 + synstack() doesn't work in an emptly line
 + X11: strlen() used wrongly, pasting very big selection fails
 + completion and exists() don't work for ":noautocmd"
 + getting full file name when executing autocmds may be slow
 + 'cursorcolumn' wrong in a closed fold when display is shifted
 + 'history' can be made negative, causes out-of-memory error
 + a CursorHold event that invokes system() is retriggered

* Wed Aug 27 2008 Sir Raorn <raorn@altlinux.ru> 4:7.2.006-alt1
- Official patches (006)
 + leaking memory when displaying menus
 + typo in translated message, message not translated
 + Cscope help message is not translated
 + HTML files are not recognized by contents
- Removed non-non-latin symbols from langmaps (closes: #16907)

* Wed Aug 13 2008 Sir Raorn <raorn@altlinux.ru> 4:7.2-alt2
- Added missing Serial to rpm-build-vim Privides/Obsoletes

* Tue Aug 12 2008 Sir Raorn <raorn@altlinux.ru> 4:7.2-alt1
- [7.2]
- vim-devel renamed to rpm-build-vim
- Applied langmapmb patch by Konstantin Korikov ('langmap' support
  in UTF-8 locales)
- Added Ukrainian langmaps (led@)
- Added "/media" to list of removable locations in 'viminfo'

* Thu Jul 10 2008 Sir Raorn <raorn@altlinux.ru> 4:7.1.330-alt1
- Official patches (330)
 + when 'cscopetag' is set ":tag" gives an error message
 + illegal memory access when pasting illegal utf-8 on cmd line
 + can't get start of Visual area in an <expr> mapping
 + editing a command line that doesn't fit reverses char order
 + ":smagic!from!to!" doesn't work, it sees the "!" as a flag
 + right halve of double-wide char under popup menu not redrawn
 + reading uninitialized memory when using Del in replace mode

* Wed Jun 18 2008 Sir Raorn <raorn@altlinux.ru> 4:7.1.315-alt1
- Fixed handling of special characters in file names which could
  lead to arbitrary VimL code execution
- Official patches (315)
 + leaking memory when executing a shell command
 + vimtutor only works with vim, not gvim
 + wrong parenmatch highlighting after search/replace dialog
 + filetype detection fails for file name with special characters
 + value of asmsyntax argument isn't checked for valid characters
 + "File/Save" menu in Insert mode doesn't update tab page label
 + shortpath_for_invalid_fname() is too complex and wrong
 + can't edit compressed file with special characters in the name
 + some Unicode symbol chars are handled like word chars
 + when in readonly mode ":options" produces an error
 + incomplete utf-8 byte sequence at end of the file not detected
 + status and tile not updated when using netbeans setModified
 + 'pastetoggle' is written to the session file without escaping
 + crash with specific search pattern using look-behind match
- Updated plugins:
 + vimball (27)
 + netrw (125)
 + tar (17a)
 + getscript (31a)
- Documented -p option in russian man (closes: #11987)

* Mon Apr 14 2008 Sir Raorn <raorn@altlinux.ru> 4:7.1.293-alt1
- Official patches (293)
 + (after 7.1.103) "w" at end of buffer moves cursor too far
 + crash when reversing a list after using it
 + reading unwritten bytes when spell checking with large indent
 + when using a pattern with "\@<=" the submatches can be wrong
 + spell checking considers super/subscript chars as word chars
- Call %%clean_menus in %%postun, not %%preun

* Mon Mar 31 2008 Sir Raorn <raorn@altlinux.ru> 4:7.1.285-alt1
- Official patches (285)
 + always shows "+" at end of screen line with 'cursurline'
 + matchparen plugin has an arbitrary line number limit
 + ":?foo?" matches in current line since patch 7.1.025
 + in tiny version ":!touch %%" causes curbuf to be wrong
 + buffer name [Location List] not used for buffer in other tab
 + "gw" uses 'formatexpr', even though the docs say it doesn't
 + default for 'paragraphs' misses some items
 + when using cscope temporary files are left behind
 + (after 7.1.279) Vim hangs when cscope doesn't exit

* Fri Mar 07 2008 Sir Raorn <raorn@altlinux.ru> 4:7.1.267-alt1
- Official patches (267)
 + (after 7.1.240) "U" doesn't work on all text in Visual mode
 + GUI may have part of the command line cut off
 + pressing CTRL-\ three times causes Vim to quit
 + Netbeans: backspacing in Insert mode may skip a character
 + can't set the '" mark; can't know if setpos() was successful
 + after "U" the cursor can be past end of line
 + error for ":setglobal fenc=anything" when 'modifiable' is off
 + ":sort" doesn't work in a one line file
 + Vim doesn't support utf-32
 + findfile() also returns directories
 + crash when doing "d/\n/e" and 'virtualedit' is "all"
 + cursor in wrong place with 'rl', "utf-8" and illegal byte
 + cursor position wrong after ^@ wrapping halfway if using utf-8
 + for a 2 byte BOM UCS-2 is used, which doesn't work for UTF-16
 + can't get the process ID of Vim
 + filetype with dot doesn't work for indent plugins
 + crash when C-indenting
 + hang when completing file name and space in 'isfname'
 + version string returned by terminal may be used as typed input
 + when changing folds cursor may be positioned in a wrong place

* Thu Jan 31 2008 Sir Raorn <raorn@altlinux.ru> 4:7.1.242-alt1
- Official patches (242)
 + can't get the operator in an ":omap"
 + netbeans: "remove" cannot delete one line
 + GTK GUI: when using the netrw plugin ":gui" causes a hang
 + listing mapping for 0xdb fails when 'encoding' is utf-8
 + matchparen plugin may take so long it looks like Vim hangs
 + aborting ":tabedit" from the ATTENTION dialog leaves tab open
 + ":1s/g\n\zs1//" deletes characters from the first line
 + it's difficult to figure out the nesting of syntax items
 + variants of --remote-tab are not mentioned for "vim --help"
 + syntax region without "keepend" could be truncated
 + (after 7.1.215) synstack() doesn't work for one char region
 + cursor may end up on trail byte after ")"
 + when inserting a "(" the following highlighting may be wrong
 + (after 7.1.217) wildcards of ":helptags" are not expanded
 + glob() doesn't handle "'" when 'shell' is "sh" or "bash"
 + "vim -F -o one two" sets 'rightleft' in one window only
 + command line completion fails for a file name with a '&' char
 + hang in syntax HL when moving over a ")"
 + with 'foldmethod' "indent" fold can't be closed after "3>>"
 + a fold is closed when backspacing in Insert mode
 + memory leak when executing SourceCmd autocommands
 + when shifting lines the change is acted upon multiple times
 + crash with Insert mode completion for a user defined command
 + display problems when diff'ing three files
 + pattern matching is slow when using a lot of simple patterns
 + hang when using complicated pattern and 'hlsearch' or ":match"
 + searchpair() may fail when using 'c' or 'r' flag
 + "gUe" may stop before the end of the word
 + focus change events not always ignored
 + "cib" doesn't work properly on "(x)"
- vimtutor manpage moved to vimtutor package (closes: #13915)
- %%lang'ified non-english tutors

* Sat Jan 05 2008 Sir Raorn <raorn@altlinux.ru> 4:7.1.203-alt1
- Official patches (203)
 + "%%" doesn't work on "/* comment *//* comment */"
 + regexp patterns are not sufficiently tested
 + with tab pages and an argument list session file may be wrong
 + Internal error for ":echo matchstr('a', 'a\%%[\&]')"
 + crash when deleting backwards over a line break in Insert mode
 + "gR" and then BS doesn't work properly with multi-byte chars
 + "expand('<afile>')" returns a bogus value after ":cd dir"
 + cursor after end-of-line: "iA sentence.<Esc>)"
 + CTRL-C doesn't stop duplicating text for "s" in Visual block
 + some of the Vim 5.x digraphs could be supported
 + Unix: ":echo glob('~/{}')" results in "/home/user//"
 + '0 mark doesn't work for "~/foo ~ foo"
 + hang when using ":s/\n//gn"
 + can't do command line completion for a file name extension
 + when reading stdin 'fenc' and 'ff' are not set
 + incomplete utf-8 byte sequence is not checked for validity
 + if 'virtualedit' is "onemore" then ":normal 99|" is not right

* Sun Dec 23 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.175-alt1
- Official patches (175)
 + :" in Ex mode at end of file results in an error message
 + getting/losing focus may cause hit-enter prompt to be redrawn
 + crash when using a modifier before "while" or "for"
 + warning for the unknown option 'bufsecret'
 + crash related to getting X window ID
 + memory leak when using "gp" in Visual mode
 + xxd crashes when using "xxd -b -c 110"
 + if 'buftype' is "acwrite" Vim still does overwrite check
 + accessing freed memory when using "\%%^" pattern
 + <BS> doesn't work with some combination of option settings
- Fixed linking with libtcl on 64-bit architectures (sbolshakov@)

* Sun Nov 11 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.155-alt1
- Official patches (155)
 + GTK: can't use negative offset with -geom argument
 + ":redir @A>" doesn't work
 + uninitialized memory read when diffing three files
 + after ":diffup" cursor can be in the wrong position
 + stay in Insert completion mode depending on the char typed
 + (after 7.1.127) freeing memory twice completing user name
 + completion menu messed up when using the scroll bar
 + Visual mode "p" doesn't work when 'clipboard' has "unnamed"
 + lalloc(0) error for line completion with 'ic' and 'inf' set
 + display problem when 'hls' and 'cursorcolumn' are set
 + crash when 'undolevels' is 0 and repeating "udd"

* Mon Oct 15 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.140-alt1
- Official patches (140)
 + Perl: Msg() doesn't stop when "q" is typed at the more prompt
 + fold truncated when ending Insert mode with CTRL-C
 + v:count can't be used in an expression mapping
- Enable largefile support in -minimal and -console (don't depend
  on Perl and TCL interps)

* Mon Oct 08 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.137-alt1
- Official patches (137)
 + ":mksession" always adds ":setlocal autoread"
 + getpos("'>") may return < 0 for a Linewise selection
 + memory leak when using Ruby syntax highlighting

* Tue Oct 02 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.130-alt1
- Official patches (130)
 + (extra) ":vimgrep */*" doesn't work if autocmd changes dir
 + memory leak when doing completing
 + crash with some combination of undo and redo

* Sun Sep 30 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.125-alt1
- Official patches (125)
 + can't check wether Vim was compiled with Gnome
 + crash after setting 'cmdheight' to huge value
 + ":cd %%:h" fails when editing file in current directory
 + the TermResponse autocommand event is not always triggered
- Filter out non-UNIX and compile-time entries from changelog

* Sat Sep 22 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.116-alt1
- Official patches (116)
 + autocmmand for focus events may cause problems
 + reading past end of a string when resizing Vim
 + "setlocal stl=%%!expr" doesn't work
 + ":call s:var()" doesn't work if "s:var" is a Funcref
 + ":mkvimrc" doesn't work properly when 'paste' or 'keymap' set
 + Ruby: The Buffer.line= method does not work
 + Perl interface doesn't compile with new version of Perl
 + "dw" past end of last line deletes a character
 + (after 7.1.095) when 'lazyredraw' set redraw may be postponed
 + internal error when using "0 ? {'a': 1} : {}"
 + ":messages" doesn't quit listing on ":"
 + Visual block mode "s" that auto-indents fails in other lines
 + GTK GUI: click on arrow left of tab 
 + after ":vimgrep /pat/j *" folds can be wrong
 + using input() with a wrong argument may crash Vim
 + map() on an empty list causes memory to be freed twice
 + memory leak in getmatches()
 + can't display characters above 0x10000

* Tue Sep 04 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.094-alt1
- Official patches (094)
 + (extra) window position wrong when using ":winpos"
 + when listing variables text of command is not cleared
 + read past end of screen line when checking for double width
 + using wrong buffer to check if syntax HL is present
- Recognize ash and dash scripts as shell-script

* Wed Aug 22 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.087-alt1
- Official patches (087)
 + GTK GUI: confirm() dialog has a default button when not wanted
 + (after 7.1.062) crash when 'preserveindent' is set
 + crash when using string() on a recursively nested List
 + ":let v:statusmsg" reads memory already freed
 + a couple more strcpy() with overlapping arguments
 + dropping file name on gvim containing CSI byte doesn't work
 + "@" character in 'isfname' doesn't pick up umlauts for latin1
 + completion doesn't work after ":!cat <foo"
 + matchparen plugin doesn't update after window split
 + (after 7.1.081) completion doesn't work with wildcards
 + netbeans doesn't get fileOpened events when using -nb twice
 + after ":split fold.c" folds in one window disappear
 + crash when using specific Python syntax highlighting
 + cscope: reading past command end; writing past buffer end

* Sun Aug 12 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.068-alt1
- Official patches (068)
 + using strcpy() with arguments that overlap
 + scrolling back at more prompt doesn't work properly
 + CursorHold causes problems for Normal and Visual mode commands
 + completion menu doesn't work properly when 'righleft' is set
 + in Ex mode "g/^/vi" and pressing CTRL-C: Vim hangs and beeps
 + splitting quickfix window messes up window layout
 + with latin1 'ignorecase' doesn't work for umlauts
 + (after 7.0.038) C comment indent can be wrong
 + when 'bomb' is changed the file should be considered modified
 + 'infercase' doesn't work for thesaurus completion
 + 'equalalways' equalizes windows too often

* Mon Aug 06 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.054-alt1
- Official patches (054)
 + accessing uninitialized memory when finding spell suggestions
 + when creating a new match not all fields are initialized
 + reading uninitialized memory when updating command line
 + accessing uninitialized memory when displaying the fold column

* Sat Aug 04 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.050-alt1
- Official patches (050)
 + buffer marked modified after ":bdel" and ":next"
 + after ":s/./&/#" all listed lines have a line number
 + add "none" to completion of ":echohl" and ":match"
 + using strcpy() for an overlapping string
 + 'preseveindent' doesn't always work when 'et' is set
 + weird help-tags tag in docs file may make cause a crash
 + ":match" only supports three matches
 + in Ex mode using CTRL-D twice may cause a crash
 + in Insert mode 0 CTRL-T deletes all indent
 + double screen redraw in some situations
 + ":s/.*/&/" deletes composing characters
 + wrong argument for vim_regcomp()
 + paren highlighting is not updated after scrolling
 + can't compile with GTK2 when using hangul input feature
 + possible crash in C++ indenting

* Mon Jul 23 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.032-alt1
- Official patches (032)
 + when setting 'keymap' twice b:keymap_name variable isn't set
 + "dw" in a line with one character deletes the line
 + using a pointer that may have become invalid
 + search('pat', 'bc) doesn't find word under cursor at BOL
 + "[p" doesn't work in Visual mode
 + ":sort" does nothing special with empty search pattern
 + (after 7.1.019) can't compile when all interfaces are used
 + vimtutor shell script checks for "vim6" but not for "vim7"
 + virtcol([123, '$']) doesn't work
 + possible crash when doing completion on the command line

* Thu Jul 05 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.020-alt1
- Official patches (020)
 + ":syn include" only loads the first file
 + crash in C-indenting
 + MzScheme interface doesn't build on Mac; init problem
 + (after 7.1.012) error message when using ":cwindow"
 + ":confirm w" does not give a prompt when file is read-only
 + "p" at end of line doesn't work right when 've' is set
 + ":python" doesn't mention the command is not implemented
 + reading uninitialized memory when using a dialog

* Tue Jun 26 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.012-alt1
- Official patches (012)
 + crash when editing a directory
 + "cit" used on <foo></foo> deletes <foo>
 + when reading from stdin 'modified' can't be reset in autocmd
 + getfsize() returns an invalid number for very big files
 + diff mode: tab to spaces change not highlighted correctly
 + Gnome: tab pages are not included in the saved session
 + buffer overflow when $VIMRUNTIME is very long
 + ":let &tw = 'asdf'" does not give an error message

* Wed May 16 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.002-alt1
- Official patches (002)
 + can't build with Gnome GUI
 + Oracle Pro*C/C++ files are not detected

* Sun May 13 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1-alt1
- [7.1]

* Thu May 10 2007 Sir Raorn <raorn@altlinux.ru> 4:7.1.000.a.001-alt1
- [7.1a.001]

* Tue Apr 17 2007 Sir Raorn <raorn@altlinux.ru> 4:7.0.224-alt2
- Removed Conflicts to vim-common in vim-mininal due to apt dry-run breakage

* Tue Apr 17 2007 Sir Raorn <raorn@altlinux.ru> 4:7.0.224-alt1
- Official patches (224), see README_patches.txt for more info
- Runtime files updated from ftp://ftp.vim.org/pub/vim/runtime/ (20070416)

* Sat Mar 17 2007 Sir Raorn <raorn@altlinux.ru> 4:7.0.218-alt1
- Official patches (218), see README_patches.txt for more info
- Runtime files updated from ftp://ftp.vim.org/pub/vim/runtime/ (20070317)
- Fixed crash in dictionary function, patch from OpenSUSE (closes: #10911)

* Thu Feb 22 2007 Sir Raorn <raorn@altlinux.ru> 4:7.0.201-alt1
- Official patches (201), see README_patches.txt for more info
- Runtime files updated from ftp://ftp.vim.org/pub/vim/runtime/ (20070220)
- Allow quoted arguments in lilo.conf for root=, image=, etc...
- Exclude-patterns for 'bsk' and 'wig' options, prefix pattern
  with '!' and get false match

* Tue Jan 23 2007 Sir Raorn <raorn@altlinux.ru> 4:7.0.188-alt1
- Official patches (188), see README_patches.txt for more info
- Runtime files updated from ftp://ftp.vim.org/pub/vim/runtime/ (20070118)
- Prevent "make install" from running strip

* Sat Jan 13 2007 Sir Raorn <raorn@altlinux.ru> 4:7.0.182-alt1
- Official patches (182), see README_patches.txt for more info
- Runtime files updated from ftp://ftp.vim.org/pub/vim/runtime/ (20070108)

* Tue Dec 12 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.178-alt1
- Official patches (178), see README_patches.txt for more info
- Runtime files updated from ftp://ftp.vim.org/pub/vim/runtime/ (20061128)

* Mon Nov 13 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.162-alt1
- Official patches (162), see README_patches.txt for more info
- Runtime files updated from ftp://ftp.vim.org/pub/vim/runtime/ (20061112)

* Sat Oct 21 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.146-alt1
- Official patches (146), see README_patches.txt for more info
- Runtime files updated from ftp://ftp.vim.org/pub/vim/runtime/ (20061018)
- Patch for 'eightbitmeta' option.  If unset, assume that Alt+Key
  sends "<Esc>Key" sequence.  Unset it by default.

* Tue Oct 10 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.122-alt1
- Official patches (122), see README_patches.txt for more info
- Runtime files updated from ftp://ftp.vim.org/pub/vim/runtime/ (20061009)

* Mon Oct 09 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.121-alt1
- Official patches (121), see README_patches.txt for more info
- Runtime files updated from ftp://ftp.vim.org/pub/vim/runtime/ (20060927)

* Sat Sep 16 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.109-alt1
- Official patches (109), see README_patches.txt for more info
- Updated vim-devel build-dep recomendation for use with gear(1)

* Mon Sep 11 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.099-alt1
- Official patches (099), see README_patches.txt for more info
- Runtime files updated from ftp://ftp.vim.org/pub/vim/runtime/ (20060910)
- Build -console with "big" features instead of "huge"
- Disabled GUIs:
 + athena
 + gtk1
 + motif

* Sat Sep 02 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.081-alt1
- Official patches (081), see README_patches.txt for more info
- ALT-specific filetypes moved to ftdetect/00-altlinux.vim (also
  call ftdetect/*.vim before falling back to "conf" filetype):
 + mutt tempfile
 + postfix aliases
 + bind configuration and zones
 + apache/apache2 configuration
 + tcb's shadow
- Removed patches:
 + alt-mutt-tempfile-filetype, alt-named-filetype - moved to
   ftdetect/00-altlinux.vim
 + alt-perl56 - obsolete
 + alt-tmpdir - obsolete
 + man-path - obsolete
 + langfont, vim_gvimrc, vim_vimrc - already in /etc/vim/*rc
- Runtime files updated from ftp://ftp.vim.org/pub/vim/runtime/ (20060824)
- Updated Provides/Obsoletes for bundled plugins
- Do not edit feature.h, add -D... to CFLAGS
- Removed obsolete tcl/python/gcc h4x0r substs
- Versioned tcl and python builddeps

* Sun Aug 13 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.051-alt1
- Official patches (051)
 + "%%!" at start of 'statusline' didn't work
 + Perl: changing a line in a non-current buffer may not work
 + (extra) Win32: MSVC 2005 compiler warnings for OLE version
 + the matchparen plugin didn't handle parens in single quotes
 + the exit status of the configure script can be wrong
 + the gzip plugin can't handle file names that have a paren
 + some Tcl scripts are not recognized
 + can't properly close a buffer through the NetBeans interface
 + (after 7.0.44) compile and/or run problem with Perl interface

* Wed Jul 26 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.042-alt1
- Official patches (042)
 + mouse selection with "z=" and inputlist() gets wrong entry
 + cursor([1, 2]) failed, required third item in the list
 + crash or hang when pasting a block in Insert mode

* Sat Jul 22 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.039-alt1
- Official patches (039)
 + can't compile with small features and syntax HL
 + crash when resizing Vim window when a line doesn't fit
 + complete() can be used from expr. mapping after inserting text
 + third argument for inputdialog() doesn't work in the console
- Runtime files updated from ftp://ftp.vim.org/pub/vim/runtime/ (20060716)

* Thu Jun 29 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.035-alt1
- Official patches (035)
 + VMS: plugins are not loaded on startup
 + crash for "VjA789" and repeating
 + GUI: crash when using 'mousefocus'
 + crash when using "\\[" and "\\]" in 'errorformat
 + Ruby: buffer.append() could append to the wrong buffer
 + crash after Insert mode completion without matches
 + it is possible to set arbitrary v: variables
 + crash when deleting an item from a:000
 + Unix: when using libcall() and old error may be shown
 + (extra) Win32: hang on exit when compiled with SNiFF+
 + (extra) OS/2: compilation problem
 + cursor position may be wrong when using getchar()
 + the ":compiler" command can't be used in a FileChangedRO event
 + after deleting a buffer its Select mode mappings remain
 + (extra, after 7.0.027) missing semicolon
 + pasting after autoindent removes the indent
 + repeating completion was wrong after typing text or using BS
 + repeating Insert mode completion doesn't work properly
- Runtime files updated from ftp://ftp.vim.org/pub/vim/runtime/ (20060627)
- Removed vi.1 and rvi.1 manpages (conflicts with tr00 vee klonez)
- Added gvim-UI -> vim-UI links for all versions with GUI

* Sun May 14 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.017-alt1
- Official patches (017)
 + Insert mode completion: CTRL-L jumped back to original text
 + Motif: doesn't compile with Motif 1.2 and earlier
 + Athena: type casts for lvalues
 + recognize encodings "mac-roman", "dec-mcs" and "hp-roman8"
 + Motif: doesn't link with Motif 1.2 and earlier

* Fri May 12 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.012-alt1
- Official patches (012)
 + can't compile with eval feature without folding feature
 + matchparen plugin changed cursor column in Insert mode
- gcc 4.1 fixes

* Wed May 10 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.010-alt1
- Official patches (010)
 + C omni complete has problem with %% and # in tags file path
 + GUI: click in tab pages label may warp mouse pointer
 + Compiler warning for debug_saved used before set
 + (extra) Win32: uninstall didn't delete spell and autoload dirs
 + Mac: "make shadow" didn't link infplist.xml
 + AIX: compiling failed for message.c
 + Can't call a function that uses both <SID> and {expr}
 + ml_get errors when 'spell' is set
 + spellfile plugin required typing login name and password

* Tue May 09 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0.001-alt1
- Official patches (001)
 + 'spellsuggest' could not be added to

* Sun May 07 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0-alt1
- [7.0]

* Mon May 01 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0-alt0.1.g
- [7.0g]
- Set 'named' filetype for /var/lib/bind/etc/* (closes: #9496)

* Tue Apr 25 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0-alt0.1.f
- [7.0f]

* Mon Apr 17 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0-alt0.1.e
- [7.0e]

* Wed Apr 12 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0-alt0.1.d
- [7.0d]

* Wed Mar 29 2006 Sir Raorn <raorn@altlinux.ru> 4:7.0-alt0.1.c01.cvs20060327
- CVS snapshot 20060327 (7.0c01)
- GNOME2 GUI support
- New alternatives weights:
 + vim:
  - X11:      50
  - enhanced: 40
  - console:  35
 + vim-X11:
  - gtk2:   50
  - gtk:    40
  - motif:  30
  - neXtaw: 25
  - athena: 20
  - gnome2: 10
- Added desktop file to vim-X11 package
- Removed menu-file from -X11 (menu >= 2.1.25-alt4 can use desktop files)
- Moved vimtutor to separate package
- New package -spell-source - Vim patches for creating dictionaries
- vim-common now provides vimspell-interface with internal vimspell version
- Changed Requires to Conflicts in vim-devel to vim-common
- Updated rpm macros:
 + Added %%vim_spell_dir
 + Added %%vim_spell_source_dir
 + Added %%mkvispell
 + Added %%vimspell_version
 + Removed %%vim_bitmaps_dir
- README.ALT updated:
 + /colors recomended type changed to "colorscheme"
 + Added note about buldrequres to vim-console/enhanced
 + Documented new macros and vim-spell-?? packaging
- Fix %%_*iconsdir mess
- Sanitized filelist in %%_datadir/vim
- Added more icons to vim-X11 package
- Buildreqs updated for Xorg7

* Mon Feb 20 2006 Sir Raorn <raorn@altlinux.ru> 4:6.4.007-alt1
- Official patches (007)
 + truncating message may write before buffer
 + ":argedit", "argdel" and ":argadd" used count argument
 + Unix: crash when expanding backticks
- Buildreqs updated for Xorg7

* Fri Dec 02 2005 Sir Raorn <raorn@altlinux.ru> 4:6.4.004-alt1
- Official patches (004)
 + (extra) Win32: can't compile the global IME code
 + Unix: may change owner of wrong file in rare cases
 + (after 6.4.002) build problem on non-Unix system
 + "go" doesn't work correctly when 'virtualedit' is set

* Tue Oct 18 2005 Sir Raorn <raorn@altlinux.ru> 4:6.4-alt1
- [6.4] (bugfix release)

* Sat Jul 30 2005 Sir Raorn <raorn@altlinux.ru> 4:6.3.086-alt1
- Official patches (086)
 + syntax highlighting wrong after unloading another buffer
 + crash when using Cscope interface with very long result
 + (extra) VMS: character after ESC not handled correctly
 + (extra, after 6.3.077) VMS: performance issue
 + crash after executing a command in the command-line window
 + (extra) Win32: edit fails when 'enc' is utf-8 and Chinese cp
 + glob() may execute shell command unexpectedly
 + (after 6.3.081) more generic solution to avoid shell commands
 + VMS: add function keys to vt320 termcap entry
 + (extra) Cygwin: update src makefile and add src/po makefile
 + crash in syntax highlighting
 + (extra) Russian translation has a few mistakes

* Wed May 25 2005 Sir Raorn <raorn@altlinux.ru> 4:6.3.074-alt1
- Official patches (074)
 + when converting text with illegal characters Vim may crash
 + crash when 'number' set and with a vertical split
 + CTRL-X message sticks after error for completion
 + crash for substitute message when using UTF-8 and Chinese
 + Win32 GUI: display errors when scrolling up/down
 + with 'insertmode' CTRL-V after Select mode doesn't work

* Mon Apr 04 2005 Sir Raorn <raorn@altlinux.ru> 4:6.3.068-alt1.1
- Fixed vim-console post-sripts

* Wed Mar 30 2005 Sir Raorn <raorn@altlinux.ru> 4:6.3.068-alt1
- Official patches (068)
- Fixed vim-console alternatives

* Wed Mar 23 2005 Sir Raorn <raorn@altlinux.ru> 4:6.3.067-alt1
- Official patches (067)
- New package -console - full version without interpreters (closes: #6270)

* Mon Mar 14 2005 Sir Raorn <raorn@altlinux.ru> 4:6.3.064-alt1.1
- Really removed summary/description translations

* Sun Mar 13 2005 Sir Raorn <raorn@altlinux.ru> 4:6.3.064-alt1
- Official patches (064)
- Rebuilt with python 2.4
- Removed summary and description translations (use specspo :-)

* Sat Jan 15 2005 Sir Raorn <raorn@altlinux.ru> 4:6.3.057-alt1
- Official patches (057)

* Thu Dec 09 2004 Sir Raorn <raorn@altlinux.ru> 4:6.3.045-alt1
- Official patches (045)

* Tue Dec 07 2004 Sir Raorn <raorn@altlinux.ru> 4:6.3.042-alt1
- Official patches (042)

* Thu Nov 18 2004 Sir Raorn <raorn@altlinux.ru> 4:6.3.031-alt1.1
- Removed libelf from build requires

* Wed Nov 17 2004 Sir Raorn <raorn@altlinux.ru> 4:6.3.031-alt1
- Official patches (031)
- Added FAQ in vimhelp format (closes: #5515)

* Tue Oct 05 2004 Sir Raorn <raorn@altlinux.ru> 4:6.3.028-alt2
- Enabled python, dynamic link

* Sun Sep 19 2004 Sir Raorn <raorn@altlinux.ru> 4:6.3.028-alt1
- Official patches (028)
- Do not put online docs in %%_docdir (closes: #5226)
- Keep "tags" file as-is

* Mon Sep 06 2004 Sir Raorn <raorn@altlinux.ru> 4:6.3.025-alt1
- Official patches (025)
- Updated spec syntax from conectiva (closes: #5015) with some changes:
  + Added ALT-specific macros
  + Escaped macros are not hilited
  + Escaped environment variables are not hilited
  + Recognize multiline strings
- Default font for gtk+2 version set to "Fixed 10" (closes: #5063)

* Mon Aug 30 2004 Sir Raorn <raorn@altlinux.ru> 4:6.3.019-alt1
- Official patches (019)
- Converted alternatives to new format
- Updates requires

* Tue Aug 03 2004 Sir Raorn <raorn@altlinux.ru> 4:6.3.015-alt1
- Official patches (015)
- Always update help tags - do not test help files presence

* Mon Jul 12 2004 Sir Raorn <raorn@altlinux.ru> 4:6.3.013-alt1
- Official patches (013)

* Thu Jun 24 2004 Sir Raorn <raorn@altlinux.ru> 4:6.3.007-alt1
- [6.3]
- Official patches (007)
- MzVim (0.560)
- Removed patches (merged upstream):
  + alt-spec-filetype-fixes.patch
  + alt-cp1251-tutor.patch
  + ruvim
- Fixed requires (mktemp >= 1:1.3.1 should be in vim-common)
- Changed global runtime dir from %%_sysconfdir/vim to
  %%_datadir/vim/vimfiles (this does not affect $VIMRUNTIME)
- Enabled +xterm_save
- Removed std_c syntax (now in vim-plugin-std_c-syntax)
- Removed vim-ruby plugin (now in vim-plugin-vimruby)
- Added README.ALT

* Mon Jun 07 2004 Sir Raorn <raorn@altlinux.ru> 4:6.2.532-alt1.1
- Fix gvim's menu entry (re-closes #3979)
- Disabled pythoninterp (*evil grin*)

* Thu May 06 2004 Sir Raorn <raorn@altlinux.ru> 4:6.2.532-alt1
- Official patches (532)
- MzVim (0.540)
- Always apply MzVim patch (scheme ftplugin and syntax updates)

* Tue Apr 27 2004 Sir Raorn <raorn@altlinux.ru> 4:6.2.506-alt1
- Official patches (506)
- MzVim temporary disabled due to glibc 2.3 migration
- Patch16 removed (fixed in upstream)

* Thu Apr 22 2004 Sir Raorn <raorn@altlinux.ru> 4:6.2.490-alt1
- Official patches (490)
- MzVim (0.530)
- eview, evim, gview, gvim, gvimdiff, rgview and rgvim are now
  symlinks to vim-X11, /usr/X11R6/bin/* removed (closes #3979)

* Fri Apr 09 2004 Sir Raorn <raorn@altlinux.ru> 4:6.2.461-alt1
- Official patches (461)
- MzVim (0.520)

* Sun Apr 04 2004 Sir Raorn <raorn@altlinux.ru> 4:6.2.442-alt1
- Official patches (442)
- Enabled perlinterp (due to official patch 233)

* Thu Mar 11 2004 Sir Raorn <raorn@altlinux.ru> 4:6.2.339-alt1
- Official patches (339)
- MzVim disabled (out of sync with upstream)

* Fri Mar 05 2004 Sir Raorn <raorn@altlinux.ru> 4:6.2.318-alt1
- Official patches (318)
- MzVim 0.201

* Wed Mar 03 2004 Sir Raorn <raorn@altlinux.ru> 4:6.2.311-alt1
- Official patches (311)
- MzVim 0.200 (disabled for now)

* Mon Feb 09 2004 Sir Raorn <raorn@altlinux.ru> 4:6.2.246-alt1
- Official patches (246)
- Fixed spec filetype plugin
- Added MzScheme support (Daedalus build only)

* Fri Nov 21 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2.154-alt2
- Added russian translations (thanx to drF_ckoff)

* Mon Nov 17 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2.154-alt1
- Official patches (154)

* Mon Nov 10 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2.144-alt2
- Rebuild with openmotif (vim-X11-motif)

* Sun Nov 02 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2.144-alt1
- Official patches (144)
- Fixed macros highlight in spec syntax
- %%update_vimhelp/%%clean_vimhelp reviewed:
  update-vimhelp is started:
  + after new package installation (not upgrade)
  + after old package removal (upgrade or remove)
- Updated patches:
  + alt-perl56 (due to official patch 139)

* Tue Oct 28 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2.135-alt2
- vim-ruby's doc already in syntax.txt

* Mon Oct 27 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2.135-alt1
- Official patches (135)
- Updated ruby compiler/ftplugin/indent/syntax (tarball from
  http://vim-ruby.rubyforge.org was repacked by raorn - DOS-like
  EOLs and +x attrs on scripts)
- Updated spec syntax
- enable/disable'd gpm support

* Mon Oct 13 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2.117-alt1
- Official patches (117)
- Bring back <S-Insert> mappings to system gvimrc (recloses #2283)
  mswin.vim users should unmap it in their .gvimrc
- Removed patches:
  + alt-cp1251-support (merged upstream)
- enable/disable logic for gui variants (still always build minimal and enhanced)
- Treat %%global as %%define in spec syntax

* Tue Sep 30 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2.106-alt1
- Official patches (106)
- Fixed typo in cp1251-tutor patch
- Recognize cp1251 encoding (closes #3077)
- Mappings to <S-Insert> removed from system gvimrc due to
  conflict with mswin.vim (closes #2283)

* Sun Sep 28 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2.098-alt1
- Official patches (098)
- More updates to spec syntax
- Fix tutor in CP1251 locale (closes #0001810)

* Sat Sep 06 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2.072-alt1
- Official patches (072)
- Fixed triggers
- Updates spec syntax

* Tue Aug 05 2003 Alexander Bokovoy <ab@altlinux.ru> 4:6.2.021-alt2
- Rebuild against Ruby 1.8.0

* Mon Jul 09 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2.021-alt1
- Official patches (021)
- Removed patches (merged upstream):
  + alt-WANT_X11
- More README's to %%doc
- Cleanup $VIMRUNTIME (removed unneeded README's and Amiga icons)
- Removed all plugins (except std_c, script #234)
- Added update-vimhelp script to update help tags.
  Works both, for user updates ~/.vim/doc, for superuser
  updates $VIMRUNTIME/doc
- Reversed dependencies for common -> {enhanced,X11 -> X11-gui}
  to be sure that %%_bindir/vim exists in common's postinstall
  script (needed for update_vimhelp)
- devel subpackage
- Set guifont to "Andale Mono 11" for gtk+2 version (voins)
- Detect right filetype for mutt >= 1.4i temporary files

* Sun Jun 08 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2.014-alt2
- Added some fold markers to specfile ;-)
- XSMP enabled (once again!)
- Do not blindly copy runtime/doc to docdir, but use make
  install'ed files
- Added some useful plugins from http://vim.sf.net:
  + Align (script #294)
  + bufexplorer (script #42)
  + cvcommand (script #90)
  + genutils.vim (script #197)
  + matchit (script #39)
  + multvals.vim (script #171)
  + SearchComplete (script #147)
  + selectbuf (script #107)
  + showmarks (script #152)
  + std_c (script #234) (add "let c_use_stdc=1" in your .vimrc to enable)
  + taglist (script #273)
  + winmanager (script #95)

* Fri Jun 06 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2.014-alt1
- Official patches (014)
- XSMP temporary disabled

* Wed Jun 04 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2.011-alt1
- [6.2]
- Official patches (011)
- Updated rpmspec syntax
- Enabled XSMP (autodetection was b0rken in upstream)

* Tue May 27 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2-alt0.4.f
- [6.2f]

* Mon May 19 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2-alt0.3.e
- [6.2e]
- Force cscope (it is enabled in unix+feat_big, but who knows?)

* Thu May 08 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2-alt0.2.c
- [6.2c]

* Mon Apr 28 2003 Sir Raorn <raorn@altlinux.ru> 4:6.2-alt0.1.b
- [6.2b]
- BuildRequires update
- GTK+2 target
- Disabled perlinterp (threaded perl disabled in upstream)
- vim-minimal provides /bin/vi

* Sat Apr 26 2003 Sir Raorn <raorn@altlinux.ru> 4:6.1.474-alt18.1
- Fix uk translation

* Fri Apr 25 2003 Sir Raorn <raorn@altlinux.ru> 4:6.1.474-alt18
- Official-patches (474)
- Removed version from vim-X11-gui Requires (looks like it confuses apt)
- Reenabled libacl in vim-minimal (suggested by ab)
- Changed "set modelines=0" to "set nomodeline" in system vimrc
  Removed "set modelines=0" from system gvimrc (already disabled in vimrc)
- Fixed (and applied ;-) Patch13

* Thu Apr 10 2003 Stanislav Ievlev <inger@altlinux.ru> 4:6.1.280-alt17.1
- new alternatives config format

* Fri Mar 14 2003 Stanislav Ievlev <inger@altlinux.ru> 4:6.1.280-alt17
- PreReq fixes

* Wed Mar 12 2003 Stanislav Ievlev <inger@altlinux.ru> 4:6.1.280-alt16
- moved to new alternatives scheme
- warning to maintainer: added missing PreReq on update-alternatives

* Wed Jan 08 2003 Dmitry V. Levin <ldv@altlinux.org> 4:6.1.280-alt15
- Disabled modelines again.
- Reenabled perlinterp.
- Fixed interpackage dependencies again.
- Avoid autodependencies for files in /usr/share/vim/.

* Wed Jan 08 2003 Sir Raorn <raorn@altlinux.ru> 4:6.1.280-alt14
- Official patches (280)
- modeline's are back due to official patch 265

* Sat Dec 21 2002 Sir Raorn <raorn@altlinux.ru> 4:6.1.263-alt13
- Official patches (263)
- Fix vim-X11's obsoletes
- Remove libacl from vim-minimal's requires (closes #0001586)
- All interp's are now configurable via rpmbuild --enable/--disable
- Fixed provides for alternatives
- Buildrequires updated (honor --enable/--disable args to rpmbuld)

* Wed Nov 27 2002 Stanislav Ievlev <inger@altlinux.ru> 4:6.1.178-alt12
- temporary removed perlinterp (ldv request)
- disable modelines
- remove deps on csh
- fix tmpdir creation
- remove deps on ispell

* Thu Oct 31 2002 Dmitry V. Levin <ldv@altlinux.org> 3:6.1.178-alt11
- Rebuilt with perl-5.8.

* Sat Oct  5 2002 Sergey Bolshakov <s.bolshakov@belcaf.com> 3:6.1.178-alt10
- rebuilt with tcl 8.4

* Tue Sep 17 2002 Sir Raorn <raorn@altlinux.ru> 3:6.1.178-alt9
- Official patches (178)
- Fixed build with new rpm (thanx to inger)
- System-wide configs are back again ("light" version, thanx to SA)
  Now located in /etc/vim/*vimrc and made %%config(noreplace)
- All %%__perl's replaced with %%__subst's
- Added (experimental) ru_RU.UTF-8 langrc

* Mon Sep 09 2002 Sir Raorn <raorn@altlinux.ru> 3:6.1.174-alt8
- Official patches (174)
- Fixed %%preun X11 script
  Fixed %%triggerpostun X11 script (closes #0001073)
- neXtaw GUI support
- Build all vesions of GUI (gtk+, motif, athena, neXtaw)
- Built with tcl and ruby (closes #0000395)
- Removed default g?vimrc from $VIMRUNTIME
  (they're still available as g?vimrc_example.vim)
- Fixed .m-files sysntax autodetection (closes #0000702)
- Spec cleanup

* Tue Jul 02 2002 Dmitry V. Levin <ldv@altlinux.org> 3:6.1.82-alt7
- Fixed %%triggerpostun scripts again.

* Mon Jul 01 2002 Dmitry V. Levin <ldv@altlinux.org> 3:6.1.82-alt6
- Linked with libtinfo.
- Updated buildrequires and interpackage dependencies.
- Fixed %%post/%%preun/%%postun/%%triggerpostun scripts.

* Mon Jun  3 2002 SA <sa@altlinux.ru> 6.1.82-alt5/3
- pathces
- removed triggerpostun
- removed vim from files section (will be a link, produced by alternatives)

* Mon Mar 25 2002 SA <sa@altlinux.ru> 6.1.0-alt5/3
- new release
- removed clipboard patch (use $ vim -X instead)
- evim included in distribution (practically useless thing...)

* Mon Mar 11 2002 SA <sa@altlinux.ru> 6.1b
- new pre-release 6.1b

* Wed Feb 27 2002 SA <sa@altlinux.ru> 6.1a.008
- new pre-release

* Thu Jan  3 2002 SA <sa@altlinux.ru> 6.0.101-alt3
- triggerpostun

* Sun Dec 23 2001 SA <sa@altlinux.ru> 6.0.101-alt2
- patchlevel 101
- incorporated many ideas by Alexey Morozov <morozov@novosoft.ru>
  (the most important are treating official patches as 'source' and
  use of 'alternatives')
- gui font loading is now based on $LANG (new directory
  runtime/langrc is introduced for this).
- changed numbering of package
- removed vi from /usr/bin, since we have it in /bin anyway

* Fri Nov 30 2001 SA <sa@altlinux.ru> 6.0-alt1.93
- patchlevel 93

* Sun Oct 28 2001 SA <sa@altlinux.ru> 6.0-alt1.26
- patchlevel 26

* Wed Sep 19 2001 SA <sa@altlinux.ru> 6.0-alt0.8.aw
- 6.0aw

* Tue Sep 04 2001 Dmitry V. Levin <ldv@altlinux.ru> 6.0-alt0.8.au
- 6.0au

* Tue Aug 21 2001 Dmitry V. Levin <ldv@altlinux.ru> 6.0-alt0.7.as
- 6.0as

* Thu Aug 16 2001 Dmitry V. Levin <ldv@altlinux.ru> 6.0-alt0.6.ar
- 6.0ar

* Mon Aug 06 2001 Dmitry V. Levin <ldv@altlinux.ru> 6.0-alt0.6.aq
- 6.0aq
- Rebuilt with new perl.

* Tue Jul  3 2001 SA <sa@altlinux.ru> 6.0-alt0.5.am
- 6.0am
- removed unnecessary patches

* Tue Jun 16 2001 SA <sa@altlinux.ru> 6.0-alt0.4.ah
- Fixed slow startup of /usr/bin/vim from X11 package when
  run from remote xterm or if $DISPLAY is broken:
  1. FEAT_XCLIPBOARD (used in terminal vim) is switched off
  (in feature.h)
  2. 'title' and 'icon' features are switched off in vimrc and
  switched on back in gvimrc.
- spec.vim fixed again

* Sat Jun 09 2001 Dmitry V. Levin <ldv@altlinux.ru> 6.0-alt0.3.ah
- Fixed errors in %%post/%%preun introduced in alt0.1.ah.
- Specfile cleanup again (policy enforcement).

* Sat Jun 9 2001 SA <sermar@mail.ru> 6.0-alt0.2ah
- fixed langmap call in vimrc
- removed link to /usr/bin/view
- spec-syntax changed to highlight ALT macros

* Tue May 29 2001 Dmitry V. Levin <ldv@altlinux.ru> 6.0-alt0.1.ah
- 6.0ah
- Changed release scheme; set serial to enable upgrading.
- Minor specfile cleanup (hope nothing have been broken).
- Regenerated spec-mode-update patch (requires checking).
- Recompressed sources and pacthes.

* Wed May 9 2001 SA <sermar@mail.ru>
- 6.0ae
- removed obsolete patches and patches that changed run-time options by
  changing source (system-wide vimrc is a better place)
- changed installation procedure: now it uses VIM Makefile 'install' target
- 'X11' (==gvim) if installed will be symlinked to {vi,vim, etc...}, so user
  will not need 'vim-enhanced' to use terminal-based VIM. 'enhanced' and 'X11'
  are made 'conflicting'

* Sat Dec 23 2000 AEN <aen@logic.ru>
- adopted for RE
- 6.0q
- perl include path fixed

* Wed Dec 13 2000 DindinX <odin@mandrakesoft.com> 6.0-0.07mdk
- 6.0p

* Tue Dec  5 2000 DindinX <odin@mandrakesoft.com> 6.0-0.06mdk
- 6.0o

* Mon Nov 27 2000 DindinX <odin@mandrakesoft.com> 6.0-0.05mdk
- really set CFLAGS to RPM_OPT_FLAGS (should make Dadou happier)
  (thanks to Guillaume)

* Mon Nov 27 2000 DindinX <odin@mandrakesoft.com> 6.0-0.04mdk
- fix ./configure call (--enable-max-feature is now --with-features=huge)
- include some fix in spec.vim from Geoffrey Lee

* Sat Nov 25 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 6.0-0.03mdk
- 6.0n.

* Wed Nov 08 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 6.0-0.02mdk
- Upgrade spec.vim and mandrakizifications.

* Tue Nov  7 2000 DindinX <odin@mandrakesoft.com> 6.0-0.01mdk
- 6.0
- remove ctags from this package

* Tue Sep 19 2000 DindinX <odin@mandrakesoft.com> 5.7-7mdk
- Added a patch to fix the paths in the man pages
  (Thx to Jerome Dumonteil for reporting this)

* Thu Aug 31 2000 DindinX <odin@mandrakesoft.com> 5.7-6mdk
- Rebuild on ke
- Macrozifications
- BM

* Tue Jun 27 2000 DindinX <odin@mandrakesoft.com> 5.7-5mdk
- really fix the help files
- now vi is very spartiate (VI-like) and vim has syntax highlighting

* Mon Jun 26 2000 DindinX <odin@mandrakesoft.com> 5.7-4mdk
- make vim-minimal very, very minimal

* Mon Jun 26 2000 DindinX <odin@mandrakesoft.com> 5.7-3mdk
- fix a typo which prevent the help files to be found
- remove syntax highlighting by default
- remove all trace of indenting

* Mon Jun 26 2000 DindinX <odin@mandrakesoft.com> 5.7-2mdk
- Corrected the ctags version: 3.5.1

* Mon Jun 26 2000 DindinX <odin@mandrakesoft.com> 5.7-1mdk
- 5.7
- use a more standard vimrc file

* Thu May 25 2000 DindinX <odin@mandrakesoft.com> 5.6-19mdk
- Upgrade to 5.6.072
- remove autoindentation :(

* Tue May  2 2000 DindinX <odin@mandrakesoft.com> 5.6-18mdk
- wrap option now defaults to FALSE

* Fri Apr 28 2000 DindinX <odin@mandrakesoft.com> 5.6-17mdk
- remove menu icon path

* Tue Apr 18 2000 Pixel <pixel@mandrakesoft.com> 5.6-16mdk
- fix for perl 5.6
- fix for ctags (i modified patch vim-typo)
- rebuild on true compile box (*with* spec-helper)
- remove abusive provides ctags (not needed)

* Tue Apr 18 2000 DindinX <odin@mandrakesoft.com> 5.6-15mdk
- Fix the online documentation

* Tue Apr 18 2000 DindinX <odin@mandrakesoft.com> 5.6-14mdk
- Make a separate rpm for ctags

* Mon Apr 17 2000 DindinX <odin@mandrakesoft.com> 5.6-13mdk
- fix the name of the menu entry
- remove etags
- move ctags from /bin to /usr/bin
- Added the ctags man page

* Tue Mar 28 2000 DindinX <odin@mandrakesoft.com> 5.6-12mdk
- Do the Right Thing for the menus with the help of
  Guillaume Cottenceau

* Tue Mar 28 2000 DindinX <odin@mandrakesoft.com> 5.6-11mdk
- Fix the menu group once again (sic)
  Thanks to Guillaume Cottenceau

* Mon Mar 27 2000 DindinX <odin@mandrakesoft.com> 5.6-10mdk
- Added icons

* Mon Mar 27 2000 DindinX <odin@mandrakesoft.com> 5.6-9mdk
- fix menu

* Fri Mar 24 2000 DindinX <odin@mandrakesoft.com> 5.6-8mdk
- remove the RPM_ROOT_BUILD references in %%post
  (thanks to Thierry Vignaud for pointing this)
- some changes to the default vimrc

* Wed Mar 22 2000 Pixel <pixel@mandrakesoft.com> 5.6-7mdk
- add provides vim for X11 enhanced and minimal
- changed license from freeware to OpenSource

* Mon Mar 20 2000 DindinX <odin@mandrakesoft.com> 5.6-6mdk
- Specs fixes
- removed absolute links
- Added menu entry
- Remove the hlsearch by default (cause it might be puzzling)

* Thu Feb 10 2000 DindinX <odin@mandrakesoft.com> 5.6-5mdk
- Finally include ctags in vim-common :-/

* Thu Feb 10 2000 DindinX <odin@mandrakesoft.com> 5.6-4mdk
- fix a typo in the call to the ./configure script so more features
  are now enabled.

* Sun Feb  6 2000 DindinX <odin@mandrakesoft.com> 5.6-3mdk
- Added support for Chinese/Japanese/Corean support for gvim
  (Thanks to Pablo)
- added a link for the default vimrc.

* Mon Jan 31 2000 DindinX <odin@mandrakesoft.com> 5.6-2mdk
- Added the doc/ subdirectory in /usr/doc/vim-common-5.6/doc
- Correctly install vimrc_hebrew

* Sun Jan 16 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 5.6-1mdk
- 5.6.
- Enable right to left mode.
- Add vimrc_hebrew from Tzafrir Cohen <tzafrir@technion.ac.il>

* Tue Oct 26 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Build release.

* Tue Sep 21 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- 5.5.

* Mon Aug  2 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Reinserting old patch.

* Thu Jul 29 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- First spec file for Mandrake distribution.

# }}}
# end of file