Пакет asterisk12: 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
%define svn_revision 399145.3
#============================================================================
# Please do not edit!
# Created by specgen utility from files in specs/ subdir
#============================================================================
Name: asterisk12
Summary: Open source PBX
Version: 12
Release: alt0.399145.2.M70T.1
License: GPL
Group: System/Servers
BuildRequires: dahdi-linux-headers flex gcc-c++ graphviz libSDL_image-devel libalsa-devel libavcodec-devel libbluez-devel libcap-devel libcurl-devel libfreetds-devel libgsm-devel libgtk+2-devel libical-devel libiksemel-devel libilbc-devel libjack-devel libkeyutils-devel libltdl7-devel liblua5-devel libmISDN-devel libmysqlclient-devel libncurses-devel libneon-devel libnet-snmp-devel libnewt-devel libopenr2-devel libpopt-devel libportaudio2-devel libpri-devel libpw1.11-devel libradiusclient-ng-devel libresample-devel libsasl2-devel libspandsp6-devel libspeex-devel libsqlite-devel libsqlite3-devel libsrtp libss7-devel libtonezone-dahdi-devel libunixODBC-devel libusb-compat-devel libvorbis-devel libvpb-devel libxml2-devel ncompress openssl postgresql-devel rpm-build-gir texlive-base-bin wget zlib-devel libuuid-devel
BuildRequires: libtiff-devel
BuildRequires: libiksemel-devel
BuildRequires: libradiusclient-ng-devel
BuildRequires: libdb1-devel
BuildRequires: libilbc-devel
BuildPreReq: libjansson-devel
%if_with ss7
BuildPreReq: libss7-devel
%endif
BuildPreReq: libkeyutils-devel
BuildPreReq: libical-devel
BuildPreReq: libbluez-devel
BuildPreReq: libcap-devel
BuildPreReq: libneon-devel
BuildPreReq: libsrtp
BuildPreReq: libnl-devel libsensors3-devel
%if_with hoard
BuildPreReq: libhoard-devel
%endif
BuildPreReq: asterisk-build-hacks
BuildPreReq: libresample-devel
BuildPreReq: libvpb-devel libsqlite3-devel libsqlite-devel libfreetds-devel
%ifnarch %arm
BuildPreReq: libgmime-devel
%endif
BuildPreReq: libportaudio2-devel libavcodec-devel
BuildPreReq: libSDL_image-devel libSDL-devel libX11-devel libgtk+2-devel
BuildPreReq: libxml2-devel
BuildPreReq: binutils-devel
BuildPreReq: libopenr2-devel
BuildPreReq: libusb-compat-devel
BuildPreReq: uw-imap-devel
BuildPreReq: autoconf_2.60 automake_1.9
BuildPreReq: libgsm-devel
BuildPreReq: libssl-devel
BuildPreReq: gcc-c++ zlib-devel libstdc++-devel
BuildPreReq: libalsa-devel
BuildPreReq: libidn-devel libncurses-devel libnewt-devel libtinfo-devel
BuildPreReq: libogg-devel libvorbis-devel
BuildPreReq: libpopt-devel
BuildPreReq: libreadline-devel
BuildPreReq: libssl-devel libstdc++-devel libtiff-devel libtinfo-devel libunixODBC-devel
BuildPreReq: tcl-devel
BuildPreReq: libss7-devel
BuildPreReq: libtonezone-dahdi-devel
BuildPreReq: dahdi-linux-headers
BuildPreReq: libpri-devel
BuildRequires: libmISDN-devel
BuildPreReq: libspeex-devel
BuildRequires: libcurl-devel
BuildPreReq: libspandsp6-devel
BuildRequires: libexpat-devel
BuildPreReq: jackit-devel
BuildPreReq: libldap-devel
BuildRequires: libMySQL-devel
BuildPreReq: libunixODBC-devel libltdl-devel
BuildPreReq: liblua5-devel
BuildPreReq: postgresql-devel libpq-devel
BuildPreReq: librpm-devel libnet-snmp-devel libwrap-devel perl-devel
%define svn_revision 399145.3
%add_verify_elf_skiplist %_libdir/libasteriskssl12.so.1
%def_with debug
%def_enable debug
%def_without hoard
%def_without addons
%def_without corosync
%def_with    snmp
%def_with    speex
%def_with    curl
%def_with    postgresql
%def_with    misdn
%def_with    odbc
%def_with    ss7
%def_with    ldap
%def_with    jack
%def_with    dahdi
%if_with ss7
%endif
%if_with hoard
%endif
%ifnarch %arm
%endif
%set_autoconf_version 2.60
%define modules_dir	%_libdir/asterisk/%version/modules
%define agi_dir     /usr/lib/asterisk/agi-bin
%define svndate		20080319
%define spandsp		0.0.5-alt3.pre4
%define astmodule() \
%attr(0440,root,_asterisk) %modules_dir/%1.so
%nil
%define astsample() \
%_docdir/%name-%version/samples/%1.conf
%nil
Url: http://www.asterisk.org/
Requires: asterisk-files-all
Requires: asterisk-initscript
Requires(pre): asterisk-initscript
Requires: asterisk-base-configs
Requires(pre): asterisk-base >= 0.67-alt1
Requires(pre): coreutils
Requires: pbx-streamplayer
Requires: pbx-stereorize
Source: %name-%version.tar
Source2: %name-altlinux.tar
Packager: Denis Smirnov <mithraen@altlinux.ru>

%package -n aelparse12
Summary: Asterisk AEL2 parser
Group: %group
Requires: asterisk12-common

%description -n aelparse12
aelparse utility needed for converting from AEL2 config file to
old extensions.conf format.


%package ael
Summary: AEL support for Asterisk
Group: System/Servers
Requires(pre): %name = %version-%release

%description ael
AEL support for Asterisk

%if_with addons
%package app_conference
Summary: Conference application for SeirosPBX
Group: System/Servers
Requires: %name = %version-%release
Requires(pre): asterisk-base

%description app_conference
Conference application for SeirosPBX

%endif

%package app_minivm
Summary: mini voicemail application
Group: %group
Requires: %name = %version-%release
Requires: %name-res_crypto = %version-%release

%description app_minivm
mini voicemail application


%package app_voicemail
Summary: Asterisk voicemail module
Group: %group
Requires: %name = %version-%release

%description app_voicemail
VoiceMail for Asterisk


%package calendar
Summary: Calendar support for Asterisk
Group: %group
Requires: %name = %version-%release

%description calendar
Calendar support for Asterisk

%package cdr_radius
Summary: Asterisk radius CDR support
Group: %group
Requires: %name = %version-%release

%description cdr_radius
Asterisk radius CDR support


%package cdr_sqlite
Summary: Asterisk sqlite CDR support
Group: %group
Requires: %name = %version-%release

%description cdr_sqlite
Asterisk sqlite CDR support

%package cdr_tds
Summary: Asterisk FreeTDS CDR support
Group: %group
Requires: %name = %version-%release

%description cdr_tds
Asterisk FreeTDS CDR support

%package chan_alsa
Summary: Alsa channel module for Asterisk
Group: %group
Requires: %name = %version-%release

%description chan_alsa
Alsa channel module for Asterisk

%package chan_console
Summary: Console channel module for Asterisk
Group: %group
Requires: %name = %version-%release

%description chan_console
Console channel module for Asterisk

%if_with dahdi
%package chan_dahdi
Summary: ZAP channel module for Asterisk
Group: %group
Requires: %name = %version-%release

%description chan_dahdi
ZAP channel module for Asterisk
%endif

%package chan_h323
Summary: H.323 channel support for Asterisk
Group: System/Servers
Requires: %name = %version

%description chan_h323
H.323 channel support for Asterisk PBX


%package chan_iax2
Summary: IAX2 channel module for Asterisk
Group: %group
Requires: %name = %version-%release
Requires: %name-res_crypto = %version-%release

%description chan_iax2
IAX2 channel module for Asterisk


%if_with misdn
%package chan_misdn
Summary: mISDN channel module for Asterisk
Group: %group
Requires: %name = %version-%release

%description chan_misdn
mISDN channel module for Asterisk

%endif

%package chan_oss
Summary: OSS channel module for Asterisk
Group: %group
Requires: %name = %version-%release

%description chan_oss
OSS channel module for Asterisk

%package chan_sip
Summary: SIP channel module for Asterisk
Group: %group
Requires: %name = %version-%release
Requires: %name-res_crypto = %version-%release

%description chan_sip
SIP channel module for Asterisk


%package chan_vpb
Summary: Voicetronix API channel driver
Group: %group
Requires: %name = %version-%release

%description chan_vpb
Voicetronix API channel driver

%package codec_gsm
Summary: Asterisk GSM 6.10 codec support
Group: %group
Requires: %name = %version-%release

%description codec_gsm
Asterisk GSM 6.10 codec support


%package codec_ilbc
Summary: iLBC codec support for Asterisk
Group: %group
Requires: %name = %version-%release

%description codec_ilbc
iLBC is very low bitrate codec, that can be effectivly used for IP-telephony


%if_with speex
%package codec_speex
Summary: SPEEX codec support for Asterisk
Group: %group
Requires: %name = %version-%release

%description codec_speex
SPEEX codec support for Asterisk PBX

%endif

%package common
Summary: Asterisk %version
Group: %group
BuildArch: noarch

%description common
Asterisk %version

%package complete
Summary: This virtual package requires all Asterisk subpackages
Group: %group
BuildArch: noarch
Requires: aelparse12 = %version-%release
Requires: %name-ael = %version-%release
Requires: %name-fax = %version-%release
Requires: %name-app_voicemail = %version-%release
Requires: %name-calendar = %version-%release
Requires: %name-cdr_radius = %version-%release
Requires: %name-chan_iax2 = %version-%release
Requires: %name-jabber = %version-%release
%if_with misdn
Requires: %name-chan_misdn = %version-%release
%endif
Requires: %name-chan_sip = %version-%release
%if_with dahdi
Requires: %name-chan_dahdi = %version-%release
%endif
Requires: %name-codec_gsm = %version-%release
Requires: %name-codec_ilbc = %version-%release
Requires: %name-codec_speex = %version-%release
Requires: %name-curl = %version-%release
Requires: %name-devel = %version-%release
Requires: %name-docs = %version-%release
Requires: %name-format_ogg = %version-%release
Requires: %name-format_mp3 = %version-%release
Requires: %name-httpd = %version-%release
%if_with odbc
Requires: %name-odbc = %version-%release
%endif
Requires: %name-pgsql = %version-%release
Requires: %name-res_crypto = %version-%release
%if_with snmp
Requires: %name-res_snmp = %version-%release
%endif
Requires: %name-sms = %version-%release
Requires: %name-chan_h323 = %version-%release
Requires: %name-mysql = %version-%release
Requires: %name-fax = %version-%release
Requires: %name-sources = %version-%release
Requires: %name-app_minivm   = %version-%release
Requires: %name-cdr_sqlite   = %version-%release
Requires: %name-sqlite3  = %version-%release
Requires: %name-cdr_tds      = %version-%release
Requires: %name-chan_console = %version-%release
Requires: %name-chan_vpb     = %version-%release
Requires: %name-jack         = %version-%release
Requires: %name-ldap         = %version-%release
Requires: %name-chan_alsa    = %version-%release
Requires: %name-chan_oss     = %version-%release
Requires: %name-meetme       = %version-%release
Requires: %name-pbx_lua      = %version-%release
Requires: conf2ael12
Requires: pbx-agi-samples
Requires: pbx-utils-all

%description complete
This virtual package requires all Asterisk subpackages

%if_with corosync
%package corosync
Summary: Device state and MWI clustering
Group: %group
Requires: %name = %version-%release

%description corosync
Device state and MWI clustering
%endif

%if_with curl
%package curl
Summary: CURL support for Asterisk
Group: %group
Requires: %name = %version-%release

%description curl
CURL support for Asterisk

%endif

%package devel
Summary: C header files for Asterisk modules development
Group: %group
Requires: asterisk12-common

%description devel
C header files for Asterisk modules development

%package docs
Summary: asterisk documentation
Group: System/Servers
BuildArch: noarch
Requires: asterisk12-common

%description docs
Asterisk documentation and sample files


%package fax
Summary: FAX send/receive/autodetect support for Asterisk
Group: %group
Requires: %name = %version-%release
Requires: mithraen-pbx-fax
Requires(pre): asterisk-base

%description fax
FAX send/receive/autodetect support for Asterisk


%package format_mp3
Summary: MP3 format for Asterisk
Group: System/Servers
PreReq: %name = %version-%release

%description format_mp3
MP3 format for Asterisk


%package format_ogg
Summary: format_ogg_vorbis support for Asterisk
Group: %group
Requires: %name = %version-%release

%description format_ogg
Ogg Vorbis support for MusicOnHold in Asterisk


%package httpd
Summary: Asterisk internal static httpd data
Group: System/Servers
BuildArch: noarch
Requires: %name = %version-%release

%description httpd
Asterisk internal static httpd data for monitoring


%package jabber
Summary: Jingle and Google Talk channel module for Asterisk
Group: %group
Requires: %name = %version-%release

%description jabber
Jingle and Google Talk channel module for Asterisk

%if_with jack
%package jack
Summary: Asterisk JACK support
Group: %group
Requires: %name = %version-%release

%description jack
Asterisk JACK support

%endif

%if_with ldap
%package ldap
Summary: Asterisk LDAP support
Group: %group
Requires: %name = %version-%release

%description ldap
Asterisk LDAP support

%endif

%if_with dahdi
%package meetme
Summary: IP PBX MeetMe conference bridge
Group: %group
Requires: %name = %version-%release

%description meetme
IP PBX MeetMe conference bridge
%endif

%package mysql
Summary: Open source PBX
Group: System/Servers
PreReq: %name = %version-%release

%description mysql
Asterisk is a complete PBX in software. It provides all of the features
you would expect from PBX and more. Asterisk does voice over IP in three
protocols, and can interoperate with almost all standart-based telephony
equipment using relatively inexpensive hardware.


%if_with odbc
%package odbc
Summary: ODBC logging and config modules for Asterisk
Group: %group
Requires: %name = %version-%release

%description odbc
ODBC logging and config modules for Asterisk PBX

%endif

%package pbx_lua
Summary: LUA support for Asterisk
Group: System/Servers
Requires(pre): %name = %version-%release

%description pbx_lua
LUA support for Asterisk

%if_with postgresql
%package pgsql
Summary: PostgreSQL logging module for Asterisk
Group: %group
Requires: %name = %version-%release

%description pgsql
PostgresSQL logging module for Asterisk

%endif

%package res_crypto
Summary: OpenSSL support for Asterisk (crypto)
Group: %group
Requires: %name = %version-%release
Requires: pbx-astgenkey

%description res_crypto
res_crypto used by chan_sip and chan_iax2 for crypto support


%if_with snmp
%package res_snmp
Summary: SNMP support for Asterisk
Group: %group
Requires: %name = %version-%release

%description res_snmp
SNMP support for Asterisk

%endif

%package sms
Summary: SMS over E1 support for Asterisk
Group: System/Servers
Requires: %name = %version-%release
Requires: pbx-smsq

%description sms
SMS over E1 support for Asterisk


%package sources
Summary: Open source PBX sources
Group: System/Servers
Requires: asterisk12-common

%description sources
Asterisk is a complete PBX in software. It provides all of the features
you would expect from PBX and more. Asterisk does voice over IP in three
protocols, and can interoperate with almost all standard-based telephony
equipment using relatively inexpensive hardware.


%package sqlite3
Summary: Asterisk sqlite3 support
Group: %group
Requires: %name = %version-%release

%description sqlite3
Asterisk sqlite3 support

%package -n conf2ael12
Summary: extensions.conf -> ael2 converter
Group: %group
Requires: asterisk12-common

%description -n conf2ael12
extensions.conf -> ael2 converter


%package -n libasteriskssl12
Summary: Asterisk SSL functions
Group: %group

%description -n libasteriskssl12
Asterisk SSL functions

%description
Asterisk is a complete PBX in software. It provides all of the features
you would expect from PBX and more. Asterisk does voice over IP in three
protocols, and can interoperate with almost all standard-based telephony
equipment using relatively inexpensive hardware.


%prep
%setup -c -T
%setup -a2 -D
tar cjf ../%name.tar.bz2 .
sed -i "s!ASTMODDIR[[:space:]]*=.*!ASTMODDIR=%modules_dir!" makeopts.in
sed -i "s!MODULES_DIR=.*!MODULES_DIR=%modules_dir!" Makefile
sed -i "s!AGI_DIR=.*!AGI_DIR=%agi_dir!" Makefile
sed -i 's!^[[:space:]]*ASTVARRUNDIR=.*!ASTVARRUNDIR=$(INSTALL_PREFIX)/var/run/asterisk!' Makefile
sed -i 's!uname -m!echo %_target_cpu!g' */Makefile */*/Makefile Makefile
rm -f */.*.moduleinfo
rm -f */.*.makeopts
rm -f menuselect-tree
rm -f */.moduleinfo
rm -f */.makeopts

%build
export CC=gcc
%autoreconf -I autoconf
./configure --build=%_build_alias --host=%_host_alias \
%if_with hoard
    --with-hoard=/usr/include/hoard \
%endif
	--libdir=%_libdir \
	--enable-dev-mode
make -C menuselect libdir=%_libdir
make menuselect.makeopts \
    libdir=%_libdir ||:
menuselect/menuselect  \
    --enable DONT_OPTIMIZE \
    --enable DEBUG_THREADS \
    --enable DETECT_DEADLOCKS \
    --enable DO_CRASH \
    --enable BETTER_BACKTRACES \
    --enable G711_NEW_ALGORITHM \
    --enable chan_usbradio \
    --enable chan_misdn \
    --enable res_jabber \
    --enable chan_gtalk \
%if_with corosync
    --enable res_corosync \
%endif
    --disable chan_h323
%make_build libdir=%_libdir NOISY_BUILD=yes ||:
%make_build libdir=%_libdir NOISY_BUILD=yes ||:
make libdir=%_libdir NOISY_BUILD=yes

%install
mkdir -p %buildroot%_docdir/%name-%version
install -D -m644 CREDITS UPGRADE.txt BUGS CHANGES README sample.call %buildroot%_docdir/%name-%version/
%makeinstall_std datafiles
mkdir -p %buildroot%_docdir/%name-%version      \
	%buildroot/%_datadir/asterisk/sounds   \
	%buildroot/var/log/asterisk/cdr-csv    \
	%buildroot/var/log/asterisk/cdr-custom \
	%buildroot/var/spool/asterisk/outgoing \
	%buildroot/var/spool/asterisk/fax \
	%buildroot/var/run/asterisk \
	%buildroot/var/lib/asterisk \
	%buildroot%_docdir/%name-%version/samples/
cp configs/*.sample %buildroot%_docdir/%name-%version/samples/
rename '.sample' '' %buildroot%_docdir/%name-%version/samples//*.sample
install -m 755 -D utils/aelparse %buildroot%_sbindir/aelparse-%version
rm -f %buildroot%_sbindir/aelparse
install -D -m644 ../%name.tar.bz2 %buildroot%_usrsrc/%name.tar.bz2
cp -a doc/* %buildroot%_docdir/%name-%version/
cp altlinux/README.ALT %buildroot%_docdir/%name-%version/
mv %buildroot/var/lib/asterisk/static-http %buildroot%_datadir/asterisk/static-http-%version
mv %buildroot%_sbindir/asterisk   %buildroot%_sbindir/asterisk-%version
mv %buildroot%_sbindir/rasterisk  %buildroot%_sbindir/rasterisk-%version
mv %buildroot%_man8dir/asterisk.8 %buildroot%_man8dir/asterisk-%version.8
mv %buildroot%_sbindir/conf2ael   %buildroot%_sbindir/conf2ael-%version
mkdir -p %buildroot%_altdir
sed "s/@version@/%version/g" < altlinux/alternatives-asterisk > %buildroot%_altdir/asterisk-%version
sed "s/@version@/%version/g" < altlinux/alternatives-aelparse > %buildroot%_altdir/aelparse-%version
sed "s/@version@/%version/g" < altlinux/alternatives-conf2ael > %buildroot%_altdir/conf2ael-%version
mkdir -p %buildroot%_includedir/asterisk-%version
mv %buildroot%_includedir/asterisk   %buildroot%_includedir/asterisk-%version/asterisk
mv %buildroot%_includedir/asterisk.h %buildroot%_includedir/asterisk-%version/asterisk.h
mkdir -p %buildroot/usr/share/asterisk/documentation/12
mv %buildroot/var/lib/asterisk/documentation/*.xml %buildroot/usr/share/asterisk/documentation/12/
mv %buildroot/var/lib/asterisk/documentation/*.dtd %buildroot/usr/share/asterisk/documentation/12/
mv %buildroot/var/lib/asterisk/documentation/*.xslt %buildroot/usr/share/asterisk/documentation/12/
ln -sf libasteriskssl12.so.1 %buildroot%_libdir/libasteriskssl12.so
mv %buildroot/var/lib/asterisk/rest-api  %buildroot/var/lib/asterisk/rest-api-%version

%preun
%preun_service asterisk

%post
%post_service asterisk

%files
%_altdir/asterisk-%version
%dir /usr/share/asterisk/documentation/12
/usr/share/asterisk/documentation/12/appdocsxml.dtd
/usr/share/asterisk/documentation/12/core-en_US.xml
/usr/share/asterisk/documentation/12/snapshots.xslt
%exclude /var/lib/asterisk/images/asterisk-intro.jpg
%exclude /var/lib/asterisk/images/kpad2.jpg
%exclude %_docdir/%name-%version/core-en_US.xml
%exclude %_docdir/%name-%version/appdocsxml.dtd
%exclude /usr/sbin/astcanary
%dir %_docdir/%name-%version/samples
%_docdir/%name-%version/README.ALT
%astsample cli
%astmodule res_stun_monitor
%astsample res_stun_monitor
%astmodule chan_skinny
%astsample skinny
%astmodule func_audiohookinherit
%astmodule app_readexten
%astmodule app_waituntil
%astmodule chan_unistim
%astsample unistim
%astmodule codec_resample
%astmodule func_blacklist
%astmodule func_devstate
%astmodule func_dialgroup
%astmodule func_dialplan
%astmodule func_extstate
%astmodule func_iconv
%astmodule func_lock
%astmodule func_sysinfo
%astmodule func_version
%astmodule func_vmcount
%astmodule func_volume
%astmodule res_ael_share
%astmodule res_phoneprov
%astmodule res_realtime
%astmodule app_zapateller
%astmodule app_chanspy
%astmodule pbx_dundi
%astmodule format_g723
%astmodule app_amd
%astmodule app_queue
%astmodule codec_ulaw
%astmodule codec_a_mu
%astmodule codec_alaw
%astmodule codec_g722
%astmodule format_pcm
%astmodule app_speech_utils
%astmodule res_speech
%astmodule res_smdi
%astmodule app_followme
%astmodule app_adsiprog
%astmodule app_festival
%astmodule app_image
%astmodule chan_phone
%astmodule app_dictate
%astmodule app_dumpchan
%astmodule app_directed_pickup
%astmodule app_externalivr
%astmodule app_mixmonitor
%astmodule app_readfile
%astmodule app_stack
%astmodule app_waitforsilence
%astmodule app_while
%astmodule app_morsecode
%astmodule func_callerid
%astmodule func_global
%astmodule func_enum
%astmodule func_uri
%astmodule func_rand
%astmodule func_base64
%astmodule func_channel
%astmodule func_cut
%astmodule func_db
%astmodule func_env
%astmodule func_groupcount
%astmodule func_logic
%astmodule func_math
%astmodule func_shell
%astmodule func_md5
%astmodule func_sha1
%astmodule func_realtime
%astmodule func_strings
%astmodule func_timeout
%astmodule func_module
%astmodule app_alarmreceiver
%astmodule app_authenticate
%astmodule app_cdr
%astmodule app_chanisavail
%astmodule app_controlplayback
%astmodule app_db
%astmodule app_directory
%astmodule app_disa
%astmodule app_echo
%astmodule app_exec
%astmodule app_getcpeid
%astmodule app_macro
%astmodule app_milliwatt
%astmodule app_channelredirect
%astmodule app_playback
%astmodule app_privacy
%astmodule app_read
%astmodule app_record
%astmodule app_sayunixtime
%astmodule app_senddtmf
%astmodule app_sendtext
%astmodule app_setcallerid
%astmodule app_softhangup
%astmodule app_system
%astmodule app_talkdetect
%astmodule app_test
%astmodule app_transfer
%astmodule app_url
%astmodule app_userevent
%astmodule app_verbose
%astmodule app_waitforring
%astmodule res_sorcery_realtime
%astmodule res_sorcery_config
%astmodule res_sorcery_memory
%astsample sorcery
%astsample test_sorcery
%astmodule app_stasis
%astmodule res_stasis
%astmodule res_stasis_*
%astmodule res_ari_*
%astmodule res_ari
%astmodule app_agent_pool
%astmodule chan_bridge_media
%astsample stasis
%astsample ari
%astmodule res_statsd
%astsample statsd
/var/lib/asterisk/rest-api-%version
%astmodule cdr_csv
%astmodule cdr_custom
%astmodule cdr_manager
%astmodule func_cdr
%astmodule app_forkcdr
%astmodule codec_adpcm
%astmodule format_vox
%astmodule codec_g726
%astmodule format_g726
%astmodule codec_lpc10
%astmodule format_h263
%astmodule format_h264
%astmodule format_jpeg
%astmodule pbx_loopback
%astmodule pbx_realtime
%astmodule res_adsi
%astmodule res_monitor
%astmodule res_convert
%astmodule res_clioriginate
%astmodule app_dial
%astmodule format_g729
%astmodule format_g719
%astmodule format_sln
%astmodule format_wav
%astmodule pbx_config
%astmodule pbx_spool
%astmodule res_agi
%astmodule res_musiconhold
%astmodule res_limit
%exclude %astmodule app_mp3
%if_with addons
%astmodule app_devstate
%astmodule app_pickup2
%astmodule app_segfault
%astmodule app_mwanalyze
%endif
%astmodule app_ices
%astmodule app_nbscat
%astmodule app_confbridge
%astsample confbridge
%astmodule bridge_builtin_features
%astmodule bridge_simple
%astmodule bridge_softmix
%astmodule app_originate
%astmodule app_playtones
%astmodule format_siren14
%astmodule format_siren7
%astmodule func_aes
%astmodule func_config
%astmodule func_speex
%astmodule func_sprintf
%astmodule res_clialiases
%astmodule res_curl
%astsample res_curl
%astmodule func_frame_trace
%astmodule res_timing_dahdi
%astmodule res_timing_pthread
%astmodule res_timing_timerfd
%astmodule chan_multicast_rtp
%astmodule func_callcompletion
%astmodule func_pitchshift
%astmodule func_srv
%astmodule res_mutestream
%exclude %_sbindir/autosupport
%exclude %_sbindir/safe_asterisk
%exclude %_docdir/%name-%version/samples/cdr_pgsql.conf
%dir %_docdir/%name-%version
%dir %_libdir/asterisk
%dir %_libdir/asterisk/%version
%dir %modules_dir
%_sbindir/astdb2sqlite3
%_sbindir/asterisk-%version
%_sbindir/rasterisk-%version
%_man8dir/asterisk-%version.8.*
%exclude %_docdir/%name-%version/samples/muted.conf
%astmodule chan_mgcp
%astmodule res_pktccops
%astsample res_pktccops
%astmodule app_celgenuserevent
%astmodule cdr_syslog
%astmodule cel_custom
%astmodule cel_manager
%astmodule res_rtp_asterisk
%astmodule res_rtp_multicast
%astmodule res_security_log
%astmodule res_srtp
%_docdir/%name-%version/IAX2-security.pdf
%_docdir/%name-%version/api-1.6.0-changes.odt
%_docdir/%name-%version/asterisk.8
%dir %_docdir/%name-%version/lang
%_docdir/%name-%version/lang/language-criteria.txt
%exclude %_docdir/%name-%version/lang/hebrew.ods
%exclude %_docdir/%name-%version/lang/urdu.ods
%exclude %_docdir/%name-%version/lang/vietnamese.ods
%astsample asterisk
%astsample ccss
%astsample cdr_syslog
%astsample cel
%astsample cel_custom
%astsample cel_sqlite3_custom
%astsample cel_tds
%astsample chan_mobile
%astsample cli_aliases
%astsample cli_permissions
%astsample dbsep
%astsample dsp
%astsample meetme
%_docdir/%name-%version/samples/extensions.lua
%astsample res_config_sqlite
%astsample phoneprov
%astsample queuerules
%astmodule app_saycountpl
%astmodule chan_mobile
%astmodule app_saycounted
%astmodule func_jitterbuffer
%astmodule res_format_attr_celt
%astmodule res_format_attr_silk
%astmodule res_http_post
%astmodule func_hangupcause
%astmodule func_presencestate
%astmodule res_format_attr_h263
%astmodule res_format_attr_h264
%astmodule res_http_websocket
%astsample acl
%exclude %_docdir/%name-%version/Makefile
%exclude %astsample app_skel
%exclude %astsample config_test
%exclude %_man8dir/astgenkey.*
%exclude %_man8dir/autosupport.*
%exclude %_man8dir/safe_asterisk.*
%_docdir/%name-%version/CODING-GUIDELINES
%exclude %_sbindir/astdb2bdb
%exclude %_sbindir/astdb2sqlite3
%astmodule res_sorcery_astdb
%astmodule app_bridgewait
%astmodule bridge_builtin_interval_features
%astmodule bridge_holding
%astmodule bridge_native_rtp
%astmodule res_parking
%astsample res_parking
%astmodule res_format_attr_opus
%if_without corosync
%exclude %astsample res_corosync
%endif
%_docdir/%name-%version/snapshots.xslt
%exclude %_sbindir/astgenkey

%files -n aelparse12
%_sbindir/aelparse-%version
%_altdir/aelparse-%version

%files ael
%astmodule pbx_ael

%if_with addons
%files app_conference
%astmodule app_conference
%endif

%files app_minivm
%astmodule app_minivm
%dir %_docdir/%name-%version/samples
%astsample minivm
%astsample extensions_minivm

%files app_voicemail
%dir %attr(3770,root,_asterisk) /var/spool/asterisk/voicemail
%astmodule app_voicemail
%astsample voicemail

%files calendar
%astmodule res_calendar
%astmodule res_calendar_caldav
%astmodule res_calendar_ews
%astmodule res_calendar_exchange
%astmodule res_calendar_icalendar
%astsample calendar

%files cdr_radius
%astmodule cdr_radius
%astmodule cel_radius

%files cdr_sqlite
%astmodule cdr_sqlite
%astmodule res_config_sqlite

%files cdr_tds
%astmodule cdr_tds
%astmodule cel_tds

%files chan_alsa
%astmodule chan_alsa
%dir %_docdir/%name-%version/samples
%astsample alsa

%files chan_console
%astmodule chan_console
%astsample console

%if_with dahdi
%files chan_dahdi
%astmodule chan_dahdi
%astmodule codec_dahdi
%astmodule app_dahdibarge
%astmodule app_dahdiras
%astmodule app_flash
%astsample chan_dahdi
%endif

%files chan_h323
%astmodule chan_ooh323
%astsample ooh323
%exclude %astsample h323

%files chan_iax2
%astmodule chan_iax2
%dir %_docdir/%name-%version/samples
%astsample iax

%if_with misdn
%files chan_misdn
%astmodule chan_misdn
%dir %_docdir/%name-%version/samples
%astsample misdn
%endif

%files chan_oss
%astmodule chan_oss

%files chan_sip
%astmodule chan_sip
%dir %_docdir/%name-%version/samples
%astsample sip
%astsample sip_notify
%astsample udptl

%files chan_vpb
%astmodule chan_vpb

%files codec_gsm
%astmodule format_gsm
%astmodule format_wav_gsm
%astmodule codec_gsm

%files codec_ilbc
%astmodule codec_ilbc
%astmodule format_ilbc

%if_with speex
%files codec_speex
%astmodule codec_speex
%endif

%files common

%files complete

%if_with corosync
%files corosync
%astmodule res_corosync
%astsample res_corosync
%endif

%if_with curl
%files curl
%astmodule func_curl
%astmodule res_config_curl
%endif

%files devel
%_includedir/asterisk-%version
%_libdir/libasteriskssl12.so

%files docs
%dir %_docdir/%name-%version
%dir %_docdir/%name-%version/samples
%attr(0644,root,root) %_docdir/%name-%version/sample.call
%attr(0644,root,root) %_docdir/%name-%version/BUGS
%attr(0644,root,root) %_docdir/%name-%version/CHANGES
%attr(0644,root,root) %_docdir/%name-%version/README
%attr(0644,root,root) %_docdir/%name-%version/asterisk.sgml
%_docdir/%name-%version/*.txt
%_docdir/%name-%version/CREDITS
%astsample amd
%astsample users
%astsample queues
%astsample sla
%astsample agents
%_docdir/%name-%version/samples/extensions.ael
%astsample smdi
%astsample followme
%astsample mgcp
%astsample rtp
%astsample adsi
%astsample alarmreceiver
%astsample cdr
%astsample cdr_custom
%astsample cdr_manager
%exclude %_docdir/%name-%version/samples/cdr_tds.conf
%astsample codecs
%astsample dnsmgr
%astsample dundi
%astsample enum
%astsample extconfig
%astsample extensions
%astsample features
%astsample festival
%astsample iaxprov
%exclude %_docdir/%name-%version/samples/indications.conf
%astsample logger
%astsample manager
%astsample modules
%astsample musiconhold
%astsample osp
%astsample oss
%astsample phone
%astsample say
%astsample vpb

%files fax
%dir %attr(3770,root,_asterisk) /var/spool/asterisk/fax
%astmodule app_fax
%astsample res_fax

%files format_mp3
%astmodule format_mp3

%files format_ogg
%astmodule format_ogg_vorbis

%files httpd
%astsample http
%_datadir/asterisk/static-http-%version

%files jabber
%astmodule chan_gtalk
%astmodule res_jabber
%astmodule chan_motif
%astmodule res_xmpp
%dir %_docdir/%name-%version/samples
%astsample jabber
%astsample gtalk
%astsample xmpp
%astsample motif
%exclude %astsample jingle

%if_with jack
%files jack
%astmodule app_jack
%endif

%if_with ldap
%files ldap
%astmodule res_config_ldap
%attr(0444,root,_asterisk) %_docdir/%name-%version/samples/res_ldap.conf
%endif

%if_with dahdi
%files meetme
%dir %attr(3770,root,_asterisk) /var/spool/asterisk/meetme
%astmodule app_meetme
%astmodule app_page
%endif

%files mysql
%astmodule app_mysql
%astsample app_mysql
%astmodule cdr_mysql
%astsample cdr_mysql
%astmodule res_config_mysql
%astsample res_config_mysql

%if_with odbc
%files odbc
%astmodule func_odbc
%astmodule cdr_odbc
%astmodule cdr_adaptive_odbc
%astmodule cel_odbc
%astsample cel_odbc
%astmodule res_odbc
%astmodule res_config_odbc
%dir %_docdir/%name-%version/samples
%astsample cdr_odbc
%astsample cdr_adaptive_odbc
%astsample func_odbc
%astsample res_odbc
%endif

%files pbx_lua
%astmodule pbx_lua

%if_with postgresql
%files pgsql
%astmodule cdr_pgsql
%astsample cdr_pgsql
%astmodule res_config_pgsql
%astsample res_pgsql
%astmodule cel_pgsql
%astsample cel_pgsql
%endif

%files res_crypto
%astmodule res_crypto

%if_with snmp
%files res_snmp
%astmodule res_snmp
%dir %_docdir/%name-%version/samples
%astsample res_snmp
%endif

%files sms
%astmodule app_sms

%files sources
%_usrsrc/%name.tar.bz2

%files sqlite3
%astmodule cel_sqlite3_custom
%astmodule cdr_sqlite3_custom
%astmodule res_config_sqlite3
%astsample cdr_sqlite3_custom
%astsample res_config_sqlite3

%files -n conf2ael12
%_sbindir/conf2ael-%version
%_altdir/conf2ael-%version

%files -n libasteriskssl12
%_libdir/libasteriskssl12.so.1

%changelog
* Wed Jun 11 2014 Cronport Service <cronport@altlinux.org> 12-alt0.399145.2.M70T.1
- backport

* Sun May 11 2014 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.399145.3
- use pbx-astgenkey

* Thu Feb 27 2014 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.399145.2
- rebuild

* Thu Nov 07 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.399145.1
- move /var/lib/asterisk/rest-api to alternatives

* Sat Sep 14 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.399145
- update from svn revision 399145

* Wed Sep 11 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.398802
- update from svn revision 398802

* Fri Sep 06 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.398615
- update from svn revision 398615

* Wed Sep 04 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.398224.1
- build without corosync module

* Tue Sep 03 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.398224
- update from svn revision 398224

* Sat Aug 31 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.398166
- update from svn revision 398166

* Sat Aug 31 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.397886.1
- add res_format_attr_opus

* Thu Aug 29 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.397886
- update from svn revision 397886
- add snapshots.xslt

* Tue Aug 27 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.397483.2
- compatibility with asterisk-base 0.67

* Fri Aug 23 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.397483.1
- add statis and ARI modules

* Thu Aug 22 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.397483
- update from svn revision 397483

* Mon Aug 19 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.396941
- update from svn revision 396941

* Mon Aug 19 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.396920
- update from svn revision 396920

* Sun Aug 18 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.396907
- update from svn revision 396907

* Tue Aug 13 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.396558
- update from svn revision 396558

* Sat Aug 10 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.396527
- update from svn revision 396527

* Sun Aug 04 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.396164
- update from svn revision 396164

* Fri Jul 26 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.395492
- update from svn revision 395492

* Sat Jul 20 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.394821
- update from svn revision 394821

* Sun Jul 07 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.393775
- update from svn revision 393775

* Mon Jun 24 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.392725
- update from svn revision 392725

* Sun Jun 16 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.391941
- update from svn revision 391941

* Thu Jun 13 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.391595
- update from svn revision 391595

* Mon Jun 10 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.391198
- update from svn revision 391198

* Fri Jun 07 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.390803
- update from svn revision 390803

* Thu Jun 06 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.390667
- update from svn revision 390667

* Tue Jun 04 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.390389
- update from svn revision 390389

* Fri May 31 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.390175
- update from svn revision 390175

* Thu May 30 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.390107
- update from svn revision 390107

* Wed May 22 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.389473
- update from svn revision 389473

* Sun May 19 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.389054
- update from svn revision 389054

* Sat May 18 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.389048
- update from svn revision 389048

* Tue May 14 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.388667
- update from svn revision 388667

* Thu May 09 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.388107
- update from svn revision 388107

* Sat Apr 20 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.385632.2
- enable BETTER_BACKTRACES and G711_NEW_ALGORITHM

* Tue Apr 16 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.385632.1
- fix packaging new modules

* Sat Apr 13 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.385632
- update from svn revision 385632

* Thu Apr 11 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.385298
- update from svn revision 385298

* Wed Apr 10 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.385165
- update from svn revision 385165

* Thu Mar 21 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.383557
- update from svn revision 383557

* Mon Mar 18 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.383337
- update from svn revision 383337

* Fri Mar 15 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.383261
- update from svn revision 383261

* Tue Mar 12 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.382989
- update from svn revision 382989

* Sat Mar 09 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.382763
- update from svn revision 382763

* Mon Mar 04 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.382407
- update from svn revision 382407

* Fri Mar 01 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.382357
- update from svn revision 382357

* Tue Feb 26 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.382149
- update from svn revision 382149

* Sat Feb 23 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.381915
- update from svn revision 381915

* Wed Feb 20 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.381843
- update from svn revision 381843

* Wed Feb 13 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.381363
- update from svn revision 381363

* Sun Feb 10 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.381155
- update from svn revision 381155

* Fri Feb 08 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.381060.1
- fix libasteriskssl
- add res_sourcery_*

* Thu Feb 07 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.381060
- update from svn revision 381060

* Mon Feb 04 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.380837
- update from svn revision 380837

* Fri Feb 01 2013 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.380430.1
- move astdb2sqlite3 to pbx-utils-astdb package
- rename libasteriskssl.so -> libasteriskssl12.so
- build with res_corosync module

* Tue Jan 29 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.380430
- update from svn revision 380430

* Sat Jan 26 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.380158
- update from svn revision 380158

* Wed Jan 23 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.379966
- update from svn revision 379966

* Sun Jan 20 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.379581
- update from svn revision 379581

* Thu Jan 17 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.379341
- update from svn revision 379341

* Mon Jan 14 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.378998
- update from svn revision 378998

* Fri Jan 11 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.378911
- update from svn revision 378911

* Tue Jan 08 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.378654
- update from svn revision 378654

* Sat Jan 05 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.378618
- update from svn revision 378618

* Wed Jan 02 2013 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.378268
- update from svn revision 378268

* Thu Dec 20 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.378166
- update from svn revision 378166

* Mon Dec 17 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.378081
- update from svn revision 378081

* Fri Dec 14 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.378039
- update from svn revision 378039

* Fri Dec 14 2012 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.378005
- update from svn revision 378005

* Sun Dec 09 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.377476
- update from svn revision 377476

* Thu Dec 06 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.377352
- update from svn revision 377352

* Mon Dec 03 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.377164
- update from svn revision 377164

* Fri Nov 30 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.376955
- update from svn revision 376955

* Fri Nov 23 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.376616
- update from svn revision 376616

* Tue Nov 20 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.376562
- update from svn revision 376562

* Sat Nov 17 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.376412
- update from svn revision 376412

* Wed Nov 14 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.376260
- update from svn revision 376260

* Sun Nov 11 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.376139
- update from svn revision 376139

* Thu Nov 08 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.376092
- update from svn revision 376092

* Mon Nov 05 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.375865
- update from svn revision 375865

* Fri Nov 02 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.375692
- update from svn revision 375692

* Fri Nov 02 2012 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.375583
- update from svn revision 375583
- Disable build with -march=native

* Tue Oct 30 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.375522
- update from svn revision 375522

* Wed Oct 24 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.375351
- update from svn revision 375351

* Thu Oct 18 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.375254
- update from svn revision 375254

* Sun Oct 14 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.375011
- update from svn revision 375011

* Thu Oct 11 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.374879
- update from svn revision 374879

* Mon Oct 08 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.374720
- update from svn revision 374720

* Fri Oct 05 2012 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.374514
- update from svn revision 374514

* Tue Oct 02 2012 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.374206
- update from svn revision 374206

* Sun Sep 23 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.373402
- update from svn revision 373402

* Thu Sep 20 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.373274
- update from svn revision 373274

* Mon Sep 17 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.373118
- update from svn revision 373118

* Thu Sep 13 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.373055
- update from svn revision 373055

* Thu Sep 13 2012 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.372996
- update from svn revision 372996

* Sat Sep 08 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.372708
- update from svn revision 372708

* Wed Sep 05 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.372389
- update from svn revision 372389

* Sun Sep 02 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.372126
- update from svn revision 372126

* Thu Aug 30 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.372115
- update from svn revision 372115

* Thu Aug 23 2012 Cronbuild Service <cronbuild@altlinux.org> 12-alt0.371646
- update from svn revision 371646

* Wed Aug 22 2012 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.371628
- update from svn revision 371628

* Fri Aug 17 2012 Denis Smirnov <mithraen@altlinux.ru> 12-alt0.371391
- rename package with trunk to 'asterisk12'