Package openoffice.org: 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
%define ooobuild ooo-build
%define ver_major 3.2
%define ooover %ver_major.0.7
%define oootag ooo320-m12
%define ooodir openoffice.org
%define ooobuilddir %ooobuild-%ooover/build/%oootag
%define src_url http://download.go-oo.org

%define with_lang ru de fr uk pt-BR es

%def_enable smp_build
%def_enable kde
%def_enable kde4

Name: openoffice.org
Version: %ooover
Release: alt0.M51.1
Summary: OpenOffice.org office suite
License: LGPL
Group: Office
URL: http://go-oo.org/

Packager: Valery Inozemtsev <shrek@altlinux.ru>

Provides: openoffice.org2
Obsoletes: openoffice.org2 < %version-%release
Requires: java xdg-utils hunspell-en hyphen-en mythes-en
Requires: gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad gst-ffmpeg

Source0: %src_url/OOO320/ooo-build-%ooover.tar.gz
Source1000: %src_url/OOO320/%oootag-artwork.tar.bz2
Source1001: %src_url/OOO320/%oootag-base.tar.bz2
Source1002: %src_url/OOO320/%oootag-bootstrap.tar.bz2
Source1003: %src_url/OOO320/%oootag-calc.tar.bz2
Source1004: %src_url/OOO320/%oootag-components.tar.bz2
Source1005: %src_url/OOO320/%oootag-extensions.tar.bz2
Source1006: %src_url/OOO320/%oootag-extras.tar.bz2
Source1007: %src_url/OOO320/%oootag-filters.tar.bz2
Source1008: %src_url/OOO320/%oootag-help.tar.bz2
Source1009: %src_url/OOO320/%oootag-impress.tar.bz2
Source1025: %src_url/OOO320/%oootag-l10n.tar.bz2
Source1010: %src_url/OOO320/%oootag-libs-core.tar.bz2
Source1011: %src_url/OOO320/%oootag-libs-extern-sys.tar.bz2
Source1012: %src_url/OOO320/%oootag-libs-extern.tar.bz2
Source1013: %src_url/OOO320/%oootag-libs-gui.tar.bz2
Source1014: %src_url/OOO320/%oootag-postprocess.tar.bz2
Source1015: %src_url/OOO320/%oootag-sdk.tar.bz2
Source1016: %src_url/OOO320/%oootag-testing.tar.bz2
Source1017: %src_url/OOO320/%oootag-ure.tar.bz2
Source1018: %src_url/OOO320/%oootag-writer.tar.bz2
Source1019: %src_url/SRC680/libwps-0.1.2.tar.gz
Source1020: %src_url/SRC680/cairo-1.4.10.tar.gz
Source1021: %src_url/SRC680/biblio.tar.bz2
Source1022: %src_url/SRC680/extras-3.tar.bz2
Source1023: %src_url/SRC680/mdbtools-0.6pre1.tar.gz
Source1024: %src_url/DEV300/ooo_oxygen_images-2009-06-17.tar.gz

Source1: soffice3.sh
Source2: %name.config
Source3: ooo-wrappers.tar.bz2
Source5: ooo-tango-icons.tar.bz2
Source6: ooo-freedesktop-menu.tar.bz2
Source7: ooo-tango-apps-res.tar.bz2
Source8: ooo-kde-templates.tar.bz2
Source10: ooointro.bmp
Source302: ooo-mimelnk-application.tar.bz2

Source500: extras_ru.tar.bz2
Source501: extras-templates.tar.bz2

Patch1: ooo-build-3.2.0.4-altlinux.diff

Patch10: openoffice.org-2.4.0.7-alt-gstreamer-url-syslocale.patch
Patch11: openoffice.org-2.4.0-alt15443-sc-crach.patch
Patch12: openoffice.org-3.2.0-alt-pyuno-link.patch
Patch14: openoffice.org-2.3.0-alt-helpcontent2-default-css.patch
Patch15: openoffice.org-2.3.1.1-alt-helpcontent2-default-css.patch
Patch16: openoffice.org-3.1.1-alt-qstart-menu.patch

Patch20: openoffice.org-3.1.0-alt-env-i-ant.patch
Patch21: openoffice.org-3.2.0-alt-sysuserconfigdir.patch
Patch22: openoffice.org-3.2.0-alt-disable-old-excel-word.patch
Patch23: openoffice.org-3.2.0-alt-apache-commons.patch
Patch24: openoffice.org-3.2.0-alt-basic-cur.diff
Patch25: openoffice.org-3.2.0-alt-kde-kab-i18n.patch

Patch30: ooo-build-3.2.0.4-alt-kde-build.patch
Patch33: ooo-build-3.2.0.1-alt-kde-kab.diff

Patch40: openoffice.org-3.2.0-alt-sysui.patch
Patch41: ooo-build-3.2.0.2-alt-ooxmlexport.patch
Patch42: openoffice.org-3.2.0-alt-xmlhelp.patch
Patch43: openoffice.org-3.2.0-alt-xdg-config-home.patch

Patch100: openoffice.org-3.1.0.ooo61927.sw.ww6.unicodefontencoding.patch

AutoReqProv: yes, noshell, nopython

BuildRequires: /proc wget xdg-utils
BuildRequires: java-devel >= 1.6.0 libdbus-glib-devel gst-plugins-devel postgresql-devel libncursesw-devel GConf
BuildRequires: ant ant-jakarta-regexp boost-devel flex gcc-c++ gperf fontconfig-devel libfreetype-devel libcups-devel
BuildRequires: libGConf-devel libicu-devel libcurl-devel libexpat-devel libgtk+2-devel libjpeg-devel libneon-devel
BuildRequires: libpam0-devel libpng-devel libsane-devel libreadline-devel libwpd-devel libxslt-devel libxml2-devel
BuildRequires: gnome-vfs-devel perl-Archive-Zip perl-libnet python-dev tcsh unzip xorg-devel libbonobo-devel zip
BuildRequires: zlib-devel xsltproc xulrunner-devel libldap-devel libdb4-devel libdb4_cxx-devel libpoppler-devel
BuildRequires: libssl-devel libnss-devel libnspr-devel libhunspell-devel libhyphen-devel libwpg-devel libgio-devel
BuildRequires: libunixODBC-devel gvfs-devel
%if_enabled kde
BuildRequires: kdelibs-devel libqt3-devel
%endif
%if_enabled kde4
BuildRequires: kde4libs-devel kde4pimlibs-devel libqt4-devel
%endif

%description
OpenOffice.org office suite

%package kde
Summary: KDE Extensions for OpenOffice.org
Group: Office
Requires: %name = %version-%release
Provides: openoffice.org2-kde
Obsoletes: openoffice.org2-kde < %version-%release

%description kde
This pakage contains some KDE extensions for OpenOffice.org

%package kde4
Summary: KDE4 Extensions for OpenOffice.org
Group: Office
Requires: %name = %version-%release

%description kde4
This pakage contains some KDE4 extensions for OpenOffice.org

%package gnome
Summary: GNOME Extensions for OpenOffice.org
Group: Office
Requires: %name = %version-%release
Provides: openoffice.org2-gnome
Obsoletes: openoffice.org2-gnome < %version-%release

%description gnome
This package contains some GNOME extensions for OpenOffice.org

%package langpack-ru
Summary: Language-specific files, Russian
Group: Office
Requires: %name = %version-%release hunspell-ru hyphen-ru mythes-ru
Provides: %name-ru = %version-%release
Obsoletes: %name-ru
Provides: openoffice.org2-langpack-ru
Obsoletes: openoffice.org2-langpack-ru < %version-%release

%description langpack-ru
OpenOffice.org language-specific files, Russian

%package langpack-de
Summary: Language-specific files, German
Group: Office
Requires: %name = %version-%release hunspell-de hyphen-de mythes-de
Provides: openoffice.org2-langpack-de
Obsoletes: openoffice.org2-langpack-de < %version-%release

%description langpack-de
OpenOffice.org language-specific files, German

%package langpack-fr
Summary: Language-specific files, French
Group: Office
Requires: %name = %version-%release hunspell-fr hyphen-fr mythes-fr
Provides: openoffice.org2-langpack-fr
Obsoletes: openoffice.org2-langpack-fr < %version-%release

%description langpack-fr
OpenOffice.org language-specific files, French

%package langpack-uk
Summary: Language-specific files, Ukrainian
Group: Office
Requires: %name-langpack-ru = %version-%release hunspell-uk hyphen-uk mythes-uk
Provides: openoffice.org2-langpack-uk
Obsoletes: openoffice.org2-langpack-uk < %version-%release

%description langpack-uk
OpenOffice.org language-specific files, Ukrainian

%package langpack-tt
Summary: Language-specific files, Tatarian
Group: Office
Requires: %name-langpack-ru = %version-%release hunspell-tt hyphen-tt

%description langpack-tt
OpenOffice.org language-specific files, Tatarian

%package langpack-pt-BR
Summary: Language-specific files, Brazil Portuguese
Group: Office
Requires: hunspell-pt hyphen-pt mythes-pt

%description langpack-pt-BR
OpenOffice.org language-specific files, Brazil Portuguese

%package langpack-es
Summary: Language-specific files, Spanish
Group: Office
Requires: hunspell-es hyphen-es mythes-es

%description langpack-es
OpenOffice.org language-specific files, Spanish


%add_findreq_skiplist %_libdir/%ooodir/basis%ver_major/share/config/webcast/*
%add_findreq_skiplist %_libdir/%ooodir/basis%ver_major/program/*open-url
%set_verify_elf_method unresolved=relaxed

%prep
%setup -q -n %ooobuild-%ooover
%patch1 -p1 -b .altlinux

touch ChangeLog
mkdir m4
%autoreconf
./configure \
	--with-distro=ALTLinux \
	--disable-odk \
	--disable-mono \
	--with-system-libwpg \
	--with-system-libwpd \
	--with-lang="en-US %with_lang" \
	--with-tag=%oootag \
	--with-srcdir=%_sourcedir
#./download
%make

cd %_builddir/%ooobuilddir

%patch10 -p1
%patch11 -p1
%patch12 -p0
%patch14 -p0
%patch15 -p0
%patch16 -p0

%patch20 -p1
%patch21 -p0
%patch22 -p0
%patch23 -p1
%patch24 -p0
%patch25 -p0

%patch30 -p1 -b .alt-kde-build
%patch33 -p1 -b .alt-kde-kab

%patch40 -p1
%patch41 -p0
%patch42 -p0
%patch43 -p1 -b .alt-xdg

%patch100 -p1

tar -xjf %SOURCE5 -C sysui/desktop/icons/
tar -xjf %SOURCE7 -C ooo_custom_images/tango/

tar -xjf %SOURCE500
tar -xjf %SOURCE501

# optlevel
subst "s|^\(LINKFLAGSOPTIMIZE\*\=\).*|\1-Wl,-Os|" solenv/inc/unxlng*.mk
# gcc4.1
subst "s|^\(LINKFLAGSDEFS\*=\).*|\1|" solenv/inc/unxlng*.mk

# localize prepare
find -name localize.sdf -exec chmod +w {} \;

%build
%define _optlevel s
cd %_builddir/%ooobuilddir
autoconf
%configure \
	--with-vendor="ALT Linux Team" \
	--disable-epm \
	--disable-qadevooo \
	--disable-fontooo \
	--disable-odk \
	--disable-mono \
	--enable-gio \
	--disable-layout \
	--disable-binfilter \
	--without-fonts \
	--without-afms \
	--without-agfa-monotype-fonts \
	--without-agg \
	--without-myspell-dicts \
	%{subst_enable kde} \
	%{subst_enable kde4} \
	--enable-vba \
	--enable-evolution2 \
	--enable-lockdown \
	--enable-opengl \
	--enable-ogltrans \
	--enable-dbus \
	--enable-pam-link \
	--enable-xrender-link \
	--enable-cairo \
	--disable-gnome-vfs \
	--enable-wiki-publisher \
	--enable-pdfimport \
	--enable-report-builder \
	--with-alloc=system \
	--with-vba-package-format="builtin" \
	--with-openldap \
	--with-system-mozilla=mozilla \
	--with-system-db \
	--with-system-stdlibs \
	--with-system-zlib \
	--with-system-jpeg \
	--with-system-expat \
	--with-system-libwpd \
	--with-system_libwpg \
	--with-system-libxml \
	--with-system-python \
	--with-system-libxslt \
	--with-system-curl \
	--with-system-boost \
	--with-system-neon \
	--with-system-icu \
	--with-system-cairo \
	--with-system-openssl \
	--with-system-hunspell \
	--with-system-poppler \
	--with-system-sane-headers \
	--with-system-xrender-headers \
	--with-system-mesa-headers \
	--with-system-odbc-headers \
	--with-ant-home=%_datadir/java/ant \
	--with-intro-bitmaps=%SOURCE10 \
	--with-system-dicts \
	--with-external-dict-dir=%_datadir/myspell \
	--with-external-hyph-dir=%_datadir/hyphen \
	--with-external-thes-dir=%_datadir/mythes \
	--with-lang="en-US %with_lang"

./bootstrap
subst "s|-L%_libdir ||" Linux*Env.Set.sh
source Linux*Env.Set.sh
unset DEFAULT_TO_ENGLISH_FOR_PACKING

%if_enabled smp_build
SMP_MFLAGS=%_smp_mflags
if [ -n "$SMP_MFLAGS" ]; then
	SMP_MFLAGS=-P$[${SMP_MFLAGS/-j/}]
else
	SMP_MFLAGS=""
fi

cd transex3/prj
if ! build --dlv_switch -link --all $SMP_MFLAGS -- $SMP_MFLAGS -s; then
	build --dlv_switch -link --all
fi
deliver -link

for l in %with_lang; do
	localize -m -x -l $l -f %_builddir/%ooobuild-%ooover/po/ooo-build-$l.sdf
done

cd ../../instsetoo_native/util
if ! build --dlv_switch -link --all $SMP_MFLAGS -- $SMP_MFLAGS -s; then
	rm -fr %_builddir/%ooobuilddir/oox/$INPATH
	build --dlv_switch -link --all
fi
%else
dmake
%endif

%install
cd %_builddir/%ooobuilddir
source Linux*Env.Set.sh
unset DEFAULT_TO_ENGLISH_FOR_PACKING
cd %_builddir/%ooobuilddir/instsetoo_native/util
export PKGFORMATSWITCH="-simple %buildroot%_libdir/%ooodir"
dmake openoffice_en-US

# install extensions
export LD_LIBRARY_PATH=%buildroot%_libdir/%ooodir/ure/lib:%buildroot%_libdir/%ooodir/basis%ver_major/program
%buildroot%_libdir/%ooodir/program/unopkg add --shared --log-file %_builddir/%ooobuilddir/unopkg.log \
	%_builddir/%ooobuilddir/connectivity/$INPATH/lib/postgresql-sdbc-0.7.6.zip ||:
for f in `find %_builddir/%ooobuilddir/solver/ -name \*.oxt`; do
	%buildroot%_libdir/%ooodir/program/unopkg add --shared --log-file %_builddir/%ooobuilddir/unopkg.log $f ||:
done

rm -f %buildroot%_libdir/%ooodir/share/extension/install/*.oxt
rm -f %buildroot%_libdir/%ooodir/share/xdg/extension.desktop
rm -fr %buildroot%_libdir/%ooodir/readmes
rm -fr %buildroot%_libdir/%ooodir/share/readme

find %buildroot%_libdir/%ooodir -type d | sed "s,^,%dir ," > %_builddir/%ooobuilddir/openoffice.files
find %buildroot%_libdir/%ooodir -type f -o -type l | \
	grep -v "share/psprint/driver\|cde\|kde\|libkab\|gtk\|gnome\|qstart\|gconf\|gvfs\|gio\|eggtray\|images_[chiot].*.zip" >> %_builddir/%ooobuilddir/openoffice.files
subst "s|%buildroot||" %_builddir/%ooobuilddir/openoffice.files

# fixed uk_UA files
cd $SOLARVER/$INPATH/pck
for z in *_ru.zip; do
	[ -f ${z/_ru.zip/_uk.zip} ] || cp $z ${z/_ru.zip/_uk.zip}
done

cd %_builddir/%ooobuilddir/instsetoo_native/util
for l in %with_lang; do
	export PKGFORMATSWITCH="-simple %buildroot%_libdir/%ooodir.$l"
	dmake ooolanguagepack_$l
	find %buildroot%_libdir/%ooodir.$l -type d | sed "s,^,%dir ," > %_builddir/%ooobuilddir/openoffice.$l.files
	find %buildroot%_libdir/%ooodir.$l -type f -o -type l >> %_builddir/%ooobuilddir/openoffice.$l.files
	cp -a %buildroot%_libdir/%ooodir.$l/* %buildroot%_libdir/%ooodir/
	rm -fr %buildroot%_libdir/%ooodir.$l
	subst "s,%buildroot%_libdir/%ooodir.$l,%_libdir/%ooodir," %_builddir/%ooobuilddir/openoffice.$l.files
done

# uk_UA help link to ru_RU
subst "/\/usr\/li.*\/%ooodir\/basis%ver_major\/help\/uk.*/d" %_builddir/%ooobuilddir/openoffice.uk.files
subst "/\/usr\/li.*\/%ooodir\/basis%ver_major\/presets\/config\/.*_ru\..*/d" %_builddir/%ooobuilddir/openoffice.uk.files
rm -fr %buildroot%_libdir/%ooodir/basis%ver_major/help/uk
ln -s ru %buildroot%_libdir/%ooodir/basis%ver_major/help/uk

find %_builddir/%ooobuilddir/sysui/desktop/icons/hicolor -depth -type d -name CVS -exec rm -rf {} \;
mkdir -p %buildroot%_iconsdir
cp -r %_builddir/%ooobuilddir/sysui/desktop/icons/hicolor %buildroot%_iconsdir/
rm -fr %buildroot%_iconsdir/hicolor/128x128
find %buildroot%_iconsdir -name startcenter.png -delete
for f in $(find %buildroot%_iconsdir/hicolor/*/apps -type f); do
	mv $f ${f//apps\//apps\/openoffice.org-}
done
find %buildroot%_iconsdir -type f -exec chmod 644 {} \;

tar -xjf %SOURCE3 -C %buildroot/
subst "s|@OOODIR@|%_libdir/%ooodir|" %buildroot%_bindir/oo*

tar -xjf %SOURCE6 -C %buildroot%_datadir/
subst "s|@OOODIR@|%_libdir/%ooodir|" %buildroot%_desktopdir/*.desktop

install -m755 %SOURCE1 %buildroot%_libdir/%ooodir/program/soffice
subst "s|@OOODIR@|%_libdir/%ooodir|" %buildroot%_libdir/%ooodir/program/soffice
install -pD -m644 %SOURCE2 %buildroot%_sysconfdir/sysconfig/%name

# disable logo
subst 's|^\(Logo\).*|\1=0|' %buildroot%_libdir/%ooodir/program/sofficerc
# fix progress bar
subst 's|^\(ProgressPosition\).*|\1=14,260|' %buildroot%_libdir/%ooodir/program/sofficerc

rm -f %buildroot%_libdir/%ooodir/share/xdg/[bcdimpsw]*.desktop
for f in %buildroot%_desktopdir/*.desktop; do
	cp $f %buildroot%_libdir/%ooodir/share/xdg/${f//*openoffice.org-/}
done
subst "s|@OOODIR@|%_libdir/%ooodir|" %buildroot%_libdir/%ooodir/share/xdg/qstart.desktop
rm -f %buildroot%_desktopdir/openoffice.org-printeradmin.desktop

mkdir -p %buildroot%_datadir/mime-info
install -m644  %_builddir/%ooobuilddir/sysui/$INPATH/misc/openoffice.org/openoffice.keys %buildroot%_datadir/mime-info/
subst 's|^\(.*icon_filename=\)openofficeorg3-\(.*\)|\1\2|' %buildroot%_datadir/mime-info/*.keys

mkdir -p %buildroot%_datadir/kde4
%if_enabled kde
tar -xjf %SOURCE8 -C %buildroot%_datadir/
mkdir -p %buildroot%_datadir/mimelnk
tar -xjf %SOURCE302 -C %buildroot%_datadir/mimelnk/
%endif
%if_enabled kde4
tar -xjf %SOURCE8 -C %buildroot%_datadir/kde4
%endif

# XDG open
ln -sf /usr/bin/xdg-open %buildroot%_libdir/%ooodir/basis%ver_major/program/open-url
ln -sf open-url %buildroot%_libdir/%ooodir/basis%ver_major/program/kde-open-url

unset RPM_PYTHON

%files -f %_builddir/%ooobuilddir/openoffice.files
%doc AUTHORS NEWS README TODO
%config(noreplace) %_sysconfdir/sysconfig/%name
%_bindir/oo*
%_libdir/%ooodir/basis%ver_major/program/kde-open-url
%_libdir/%ooodir/basis%ver_major/program/libkab1.so
%_libdir/%ooodir/basis%ver_major/share/psprint/driver/ADISTILL.PS
%_libdir/%ooodir/basis%ver_major/share/psprint/driver/SGENPRT.PS
%_libdir/%ooodir/basis%ver_major/share/config/images_classic.zip
%_libdir/%ooodir/basis%ver_major/share/config/images_hicontrast.zip
%_desktopdir/*.desktop
%_iconsdir/hicolor/*/*/*.*
%_datadir/mime-info/*.keys

%if_enabled kde
%files kde
%_libdir/%ooodir/program/kdefilepicker
%dir %_libdir/%ooodir/basis%ver_major/program
%_libdir/%ooodir/basis%ver_major/program/libkabdrv1.so
%_libdir/%ooodir/basis%ver_major/program/kdebe1.uno.so
%_libdir/%ooodir/basis%ver_major/program/fps_kde.uno.so
%_libdir/%ooodir/basis%ver_major/program/libvclplug_kdel*.so
%dir %_libdir/%ooodir/basis%ver_major
%dir %_libdir/%ooodir/basis%ver_major/share
%dir %_libdir/%ooodir/basis%ver_major/share/config
%_libdir/%ooodir/basis%ver_major/share/config/images_crystal.zip
%_datadir/mimelnk/application/*.desktop
%_datadir/templates/.source/*
%_datadir/templates/*.desktop
%endif

%if_enabled kde4
%files kde4
%dir %_libdir/%ooodir/basis%ver_major/program
%_libdir/%ooodir/basis%ver_major/program/libkab4drv1.so
%_libdir/%ooodir/basis%ver_major/program/kde4be1.uno.so
%_libdir/%ooodir/basis%ver_major/program/fps_kde4.uno.so
%_libdir/%ooodir/basis%ver_major/program/libvclplug_kde4l*.so
%dir %_libdir/%ooodir/basis%ver_major
%dir %_libdir/%ooodir/basis%ver_major/share
%dir %_libdir/%ooodir/basis%ver_major/share/config
%_libdir/%ooodir/basis%ver_major/share/config/images_oxygen.zip
%_datadir/kde4/templates/.source/*
%_datadir/kde4/templates/*.desktop
%endif

%files gnome
%dir %_libdir/%ooodir/basis%ver_major/program
%_libdir/%ooodir/basis%ver_major/program/gnome*
%_libdir/%ooodir/basis%ver_major/program/fps_gnome.uno.so
%_libdir/%ooodir/basis%ver_major/program/ucpgio1.uno.so
%dir %_libdir/%ooodir/basis%ver_major
%dir %_libdir/%ooodir/basis%ver_major/share
%dir %_libdir/%ooodir/basis%ver_major/share/registry
%dir %_libdir/%ooodir/basis%ver_major/share/registry/modules
%dir %_libdir/%ooodir/basis%ver_major/share/registry/modules/org
%dir %_libdir/%ooodir/basis%ver_major/share/registry/modules/org/openoffice
%dir %_libdir/%ooodir/basis%ver_major/share/registry/modules/org/openoffice/ucb
%dir %_libdir/%ooodir/basis%ver_major/share/registry/modules/org/openoffice/ucb/Configuration
#%_libdir/%ooodir/basis%ver_major/share/registry/modules/org/openoffice/ucb/Configuration/Configuration-gio.xcu
%_libdir/%ooodir/basis%ver_major/program/gconfbe1.uno.so
%_libdir/%ooodir/basis%ver_major/program/libvclplug_gtkl*.so
%_libdir/%ooodir/basis%ver_major/program/libqstart_gtkl*.so
%_libdir/%ooodir/basis%ver_major/program/libeggtrayl*.so
%_libdir/%ooodir/share/xdg/qstart.desktop
%dir %_libdir/%ooodir/basis%ver_major/share/config
%_libdir/%ooodir/basis%ver_major/share/config/images_industrial.zip
%_libdir/%ooodir/basis%ver_major/share/config/images_tango.zip

%files langpack-ru -f %_builddir/%ooobuilddir/openoffice.ru.files

%files langpack-de -f %_builddir/%ooobuilddir/openoffice.de.files

%files langpack-fr -f %_builddir/%ooobuilddir/openoffice.fr.files

%files langpack-uk -f %_builddir/%ooobuilddir/openoffice.uk.files
%_libdir/%ooodir/basis%ver_major/help/uk

%files langpack-pt-BR -f %_builddir/%ooobuilddir/openoffice.pt-BR.files

%files langpack-es -f %_builddir/%ooobuilddir/openoffice.es.files

%changelog
* Mon Mar 01 2010 Valery Inozemtsev <shrek@altlinux.ru> 3.2.0.7-alt0.M51.1
- gnome: dont't packaging gio config:
  + closes: #22951
  + closes: #23009

* Thu Feb 25 2010 Valery Inozemtsev <shrek@altlinux.ru> 3.2.0.7-alt1
- 3.2.0.7 (3.2 bugfix release)

* Sun Feb 21 2010 Valery Inozemtsev <shrek@altlinux.ru> 3.2.0.6-alt0.M51.1
- build for branch 5.1

* Fri Feb 19 2010 Valery Inozemtsev <shrek@altlinux.ru> 3.2.0.6-alt1
- 3.2.0 release

* Thu Feb 04 2010 Valery Inozemtsev <shrek@altlinux.ru> 3.2.0.5-alt1
- 3.2.0 RC5

* Tue Feb 02 2010 Valery Inozemtsev <shrek@altlinux.ru> 3.1.1.5-alt2
- updated ooo-build-3.1.1.5-next.patch (3bc4182025cfd840c2420b5534d6a1e7e38fd9a2)
- added qstart.desktop (closes: #22757)
- updated icons

* Sat Nov 28 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.1.5-alt1
- 3.1.1.5

* Sat Nov 21 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.1.4-alt3
- disabled gnome-vfs

* Tue Nov 03 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.1.4-alt2
- fixed crash on startup (closes: #22127)

* Tue Oct 27 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.1.4-alt1
- 3.1.1.4
- reenabled logo (closes: #22045)

* Wed Oct 07 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.1.3-alt1
- 3.1.1.3

* Mon Sep 28 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.1.2-alt2
- drop kde4_.*_fixes.diff (closes: #21679)

* Fri Sep 25 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.1.2-alt1
- 3.1.1.2

* Tue Sep 22 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.1.1-alt4
- removed "Sun Report Builder" extension (closes: #20627)
- fixed KDE4 integration

* Tue Sep 15 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.1.1-alt3
- rebuild with poppler-0.12.0

* Thu Sep 10 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.1.1-alt2
- fixed apps path (closes: #21417)

* Mon Aug 31 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.1.1-alt1
- 3.1.1.1

* Fri Jul 24 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.0.6-alt6
- disabled KDE4 filepicker (closes: #20488)
- open-url replace to xdg-open (closes: #20718)

* Sat Jun 20 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.0.6-alt5
- fixed segfault at start from KDE4

* Wed Jun 17 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.0.6-alt4
- added KDE4 filepicker

* Mon Jun 15 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.0.6-alt3
- new subpackage openoffice.org-kde4
- fixed KDE4 autodetect

* Sun Jun 14 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.0.6-alt2
- fixed build KDE address book driver

* Thu Jun 11 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.0.6-alt1
- 3.1.0.6
- fixed KDE4 vcl plugin (closes: #20086)
- disabled legacy binary file formats filters

* Tue May 26 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.0.5-alt1
- 3.1.0.5

* Sun May 24 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.0.4-alt1
- 3.1.0.4

* Sat May 16 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.0.2-alt1
- 3.1.0.2

* Sat May 16 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.0.1-alt1
- 3.1.0.1

* Wed May 13 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.0.0-alt2
- disabled oosplash

* Fri May 08 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.1.0.0-alt1
- 3.1.0.0

* Sun Mar 22 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.0.1.3-alt3
- build Spanish langpack

* Wed Mar 18 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.0.1.3-alt2
- switch back from GIO to gnome-vfs

* Tue Mar 10 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.0.1.3-alt1
- 3.0.1.3

* Thu Jan 29 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.0.1.2-alt1
- 3.0.1.2

* Wed Jan 28 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.0.1.1-alt1
- 3.0.1

* Sun Jan 25 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.13-alt1
- 3.0.0.13

* Sun Jan 10 2009 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.11-alt1
- 3.0.0.11

* Fri Dec 19 2008 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.10-alt2
- build Brazil Portuguese langpack

* Mon Dec 08 2008 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.10-alt1
- 3.0.0.10

* Fri Nov 21 2008 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.9-alt1
- 3.0.0.9
- enabled wiki publisher extension

* Wed Nov 12 2008 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.8-alt3
- disabled wiki publisher extension
- added requires gstreamer
- calc: fixed sheets dialogs
- updated russian translation

* Sat Nov 08 2008 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.8-alt2
- rebuild with libXaw.so.7

* Thu Nov 06 2008 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.8-alt1
- 3.0.0.8
- disabled gnome-vfs, enabled gio

* Fri Oct 24 2008 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.7-alt1
- 3.0.0.7

* Tue Oct 21 2008 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.6-alt2
- 3.0.0 release

* Fri Oct 10 2008 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.6-alt1
- 3.0.0 RC4

* Tue Oct 07 2008 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.5-alt3
- ooo300-m9/ooo-build-3.0.0.3.4

* Thu Oct 02 2008 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.5-alt2
- 3.0.0 RC3

* Sat Sep 27 2008 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.5-alt1
- 3.0.0.5

* Thu Sep 25 2008 Valery Inozemtsev <shrek@altlinux.ru> 3.0.0.3.2-alt1
- 3.0.0 RC2

* Sun Sep 21 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.1.10-alt1
- 2.4.1.10

* Wed Sep 03 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.1.9-alt3
- rebuild with libhunspell-1.2.7
- added templates for KDE (close #16991)

* Tue Aug 19 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.1.9-alt2
- added config file (close #14738)
- fixed desktop files (close #16674)

* Sat Aug 16 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.1.9-alt1
- 2.4.1.9

* Fri Aug 15 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.1.7-alt3
- update tatarian UI translation

* Fri Aug 08 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.1.7-alt1.M41.1
- build for branch 4.1

* Sun Jul 06 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.1.7-alt2
- build with java-1.6.0-openjdk

* Wed Jun 25 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.1.7-alt1
- 2.4.1.7
- fixed WebDAV crash (close #15309)

* Tue Jun 24 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.1.6-alt2
- rebuild with libneon.so.27

* Sat Jun 21 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.1.6-alt1
- 2.4.1.6
- added requires hunspell-tt, hyphen-tt for openoffice.org-langpack-tt

* Mon Jun 09 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.1.5-alt2
- added tatarian UI translation

* Sun Jun 08 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.1.5-alt1
- 2.4.1 RC2
- drop cyrtools

* Tue May 20 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.12-alt1
- 2.4.0.12

* Sun May 18 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.11-alt2
- merged some i-rs patches (close #15511)

* Fri May 16 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.11-alt1
- 2.4.0.11

* Sun May 11 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.10-alt1
- 2.4.0.10

* Sat May 03 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.9-alt1
- 2.4.0.9

* Sun Apr 27 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.8-alt1
- 2.4.0.8
- fixed calc crach on exit (close #15443)

* Tue Apr 22 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.7-alt2
- fixed play audio/video if path contains non ASCII symbols (close #15425)

* Fri Apr 18 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.7-alt1
- 2.4.0.7

* Fri Apr 04 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.6-alt1
- 2.4.0.6
- fixed desktop files (close #15205)

* Fri Mar 28 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.5-alt1
- 2.4.0.5

* Thu Mar 27 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.4-alt1
- 2.4.0 release

* Thu Mar 13 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.3-alt1
- 2.4 RC5

* Wed Mar 12 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.2-alt2
- 2.4 RC4

* Fri Mar 07 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.2-alt1
- 2.4 RC3

* Tue Mar 04 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.4.0.1-alt1
- 2.4 RC2

* Wed Feb 13 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.3.1.1-alt6
- rebuild with python-2.5
- fixed build with system hyphen

* Tue Jan 15 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.3.1.1-alt5
- fixed search system hyphenation rules

* Tue Jan 15 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.3.1.1-alt4
- build with internal hyphen
- build with system libwpg
- ooo84684.vcl.fixfontconfig.diff

* Tue Jan 01 2008 Valery Inozemtsev <shrek@altlinux.ru> 2.3.1.1-alt3
- enable build evolution 2 addressbook connectivity
- added requires gstreamer plugins 

* Sat Dec 29 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.3.1.1-alt2
- build with system hyphen

* Mon Dec 24 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.3.1.1-alt1
- go-oo version of OpenOffice.org
- enable vba
- fixed typo in ooimpress.desktop

* Wed Dec 05 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.3.1-alt1
- 2.3.1:
  + fixed CVE-2007-4575

* Tue Nov 20 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.3.0-alt6
- added russian thesaurus dictionary (close #13471)
- added support OpenXML

* Mon Oct 22 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.3.0-alt5
- merged patches from http://go-oo.org/

* Fri Oct 05 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.3.0-alt4
- fixed mouse left click in calc
- added openoffice.org-2.3.0-fpicker-kde-non-utf8.patch

* Thu Sep 27 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.3.0-alt3
- replace jmf/jffmpeg to gstreamer

* Tue Sep 25 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.3.0-alt2
- added support ffmpeg
- added MDB SDBC Driver

* Sat Sep 15 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.3.0-alt1
- 2.3.0
- added PostgreSQL SDBC Driver
- drop SVG Import Filter, see http://www.ipd.uka.de/~hauma/svg-import/

* Tue Jul 24 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.1-alt3
- build with system hunspell (close #12396)
- added %%update_menus in %%post (close #12116)

* Wed Jun 20 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.1-alt2
- fixed build for %%ix86

* Wed Jun 20 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.1-alt1.M40
- build for branch 4.0

* Mon Jun 18 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.1-alt1
- 2.2.1

* Fri Jun 15 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.1-alt0.2rc3
- added kdefilepicker (close #5770)

* Thu Jun 08 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.1-alt0.1rc3
- 2.2.1RC3

* Wed May 23 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.0-alt8
- fixed file associate for thunderbird

* Fri May 11 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.0-alt7
- added SVG import extension for Draw from http://www.ipd.uka.de/~hauma/svg-import/
- fixed text invisible when editing notes in Calc (close #11729)
- added "export LIBXCB_ALLOW_SLOPPY_LOCK=1"

* Tue May 08 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.0-alt6
- set default Tango icons for KDE

* Sat Apr 28 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.0-alt5
- new subpackage %name-langpack-uk

* Fri Apr 27 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.0-alt4
- disabled "Printing Empty Pages" and "Print all Sheets" in Calc (close #11623)
- fixed problem creating tables with the PostgreSQL SDBC driver

* Sat Apr 14 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.0-alt3
- build with gcj
- disabled startup wizard (close #8766)
- fixed detect mozilla certificates
- replace zoom dialog to combobox

* Sun Apr 08 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.0-alt2
- removes Postscript Printer definition files
- disabled export for old excel&word formats (close #9524)
- build with system xmlsec

* Sat Mar 31 2007 Valery Inozemtsev <shrek@altlinux.ru> 2.2.0-alt1
- 2.2.0
- build without nas (close #11217)
- fixed #10849

* Thu Dec 28 2006 Valery Inozemtsev <shrek@altlinux.ru> 2.1.0-alt3
- added RH patches:
	openoffice.org.2.0.3-ooo66018.cppuhelper.dangerousvisibility.patch
	openoffice.org-2.1.0.ooo72505.vcl.wrongrole.patch
	openoffice.org-2.0.4.ooo70835.vcl.minimizealerts.patch
	openoffice.org-2.0.4.ooo71285.tools.ulongmax.patch
	openoffice.org-2.0.4.ooo71039.svx.purevirtual.patch
	openoffice.org-2.0.4.ooo71562.svx.64bitcrash.patch
	openoffice.org-2.0.4.ooo71076.dtrans.64bitdragdrop.patch
	openoffice.org-2.0.4.rh213710.vba.patch
	openoffice.org-2.0.4.ooo71077.sc.purevirtual.patch
- build with system libdb4

* Mon Dec 18 2006 Valery Inozemtsev <shrek@altlinux.ru> 2.1.0-alt2
- to setup right working directory use kde or gnome backend
  otherwise $HOME by default (#10437)
- not requires gtk/gnome libraries for %name

* Tue Dec 12 2006 Valery Inozemtsev <shrek@altlinux.ru> 2.1.0-alt1
- 2.1.0
- build with internal libdb-4.2

* Sat Nov 11 2006 Valery Inozemtsev <shrek@altlinux.ru> 2.0.4-alt2
- rebuild with libicu-3.6
- rename packages openoffice.org2* to openoffice.org*
- removed numeral "2" from icons, desktop files and programs names

* Sat Oct 14 2006 Valery Inozemtsev <shrek@altlinux.ru> 2.0.4-alt1
- 2.0.4

* Sat Jul 01 2006 Valery Inozemtsev <shrek@altlinux.ru> 2.0.3-alt1
- 2.0.3
- fixed build for x86_64
- build with openldap, xmlsec1, firefox

* Thu Jun 01 2006 Valery Inozemtsev <shrek@altlinux.ru> 2.0.2-alt2
- rebuild with gcc4.1, freetype-2.2.1, agg-2.4

* Thu Mar 09 2006 Valery Inozemtsev <shrek@altlinux.ru> 2.0.2-alt1
- 2.0.2 release

* Sun Feb 26 2006 Valery Inozemtsev <shrek@altlinux.ru> 2.0.1-alt3
- rebuild with libneon-0.25

* Fri Feb 24 2006 Valery Inozemtsev <shrek@altlinux.ru> 2.0.1-alt2
- fixed menu categories (#8754)
- rebuild with j2se1.5-sun

* Thu Dec 22 2005 Valery Inozemtsev <shrek@altlinux.ru> 2.0.1-alt1
- 2.0.1 release
- move to freedesktop menu
- added ukrainian dictionaries
- replace ru_RU dictionaries to ru_RU_yo

* Tue Oct 20 2005 Valery Inozemtsev <shrek@altlinux.ru> 2.0.0-alt3
- 2.0.0 release
- Default documents directory is ~/Documents (#3570)

* Sat Oct 08 2005 Valery Inozemtsev <shrek@altlinux.ru> 2.0.0-alt2
- 2.0.0rc2
- rename subpackage %name-ru to %name-langpack-ru
- build subpackage %name-langpack-{uk,de,fr}
- fixed start ooffice2 if not install %name-{kde,gnome} packages

* Fri Sep 30 2005 Valery Inozemtsev <shrek@altlinux.ru> 2.0.0-alt1
- 2.0.0rc1
- build with system libdb4.3

* Tue Sep 27 2005 Valery Inozemtsev <shrek@altlinux.ru> 1.9.125-alt1
- 2.0beta2

* Fri Sep 16 2005 Valery Inozemtsev <shrek@altlinux.ru> 1.1.5-alt1
- 1.1.5

* Fri Apr 22 2005 Alexander Kotelnikov <sacha@altlinux.org> 1.1.4-alt5
- Security update. http://www.securityfocus.com/archive/1/395516

* Sat Mar 12 2005 Alexander Kotelnikov <sacha@altlinux.org> 1.1.4-alt4
- Rebuild after sisyphus repository changed somehow.

* Thu Feb 17 2005 Alexander Kotelnikov <sacha@altlinux.org> 1.1.4-alt3
- Rebuild with fixed BuildPreReq.

* Tue Jan 25 2005 Alexander Kotelnikov <sacha@altlinux.org> 1.1.4-alt2
- Requires fix (openoffice.org to openoffice.org-lang with the same 
  version-release.
- System menu fix.
- Build with java 1.4.2.

* Thu Dec 30 2004 Alexander Kotelnikov <sacha@altlinux.org> 1.1.4-alt1
- New upstream version.
- Updated translations.

* Thu Oct 07 2004 Alexander Kotelnikov <sacha@altlinux.org> 1.1.3-alt1
- New upstream version.

* Sun Sep 12 2004 Alexander Kotelnikov <sacha@altlinux.org> 1.1.2-alt5
- Java and rsh dependacies removed.

* Tue Sep 07 2004 Alexander Kotelnikov <sacha@altlinux.org> 1.1.2-alt4
- Python dependancies fix.

* Sat Sep 04 2004 Alexander Kotelnikov <sacha@altlinux.org> 1.1.2-alt3
- Upgrde from 1.1.2-alt2 fix (problem with 
  %_libdir/OpenOffice.org/program/instdb.ins)
- AutoReq is 'yes' now

* Tue Aug 31 2004 Alexander Kotelnikov <sacha@altlinux.org> 1.1.2-alt2
- Build against several system libraries.
- User upgrade 1.1.1 to 1.1.2 fixed.
- Automatic user install/upgrade

* Tue Jul 27 2004 Alexander Kotelnikov <sacha@altlinux.org> 1.1.2-alt1
- New upstream version.
- Menu file fixed. 
- Latest translation included.
- GUI language switching is available now. Supported languages are Russian
  and English. Read /usr/share/openoffice.org/README.ALT for details.
- Default documents directory is ~/Documents now.
- http://www.openoffice.org/nonav/issues/showattachment.cgi/15350/OOo_1.1.1_i18npool_russian_StartDayOfWeek.patch applied.
- Disabled font substitution for printing by default.

* Wed Apr 07 2004 Alexander Kotelnikov <sacha@altlinux.org> 1.1.1-alt2
- Rebuild in hasher.
- 2.6.x kernel related patch. 

* Mon Apr 05 2004 Alexander Kotelnikov <sacha@altlinux.org> 1.1.1-alt1
- New upstream version

* Thu Mar 18 2004 Alexander Kotelnikov <sacha@altlinux.org> 1.1.0-alt3
- New translation.
- KDE/GNOME/CDE fixes.
- Package build changes.

* Fri Feb 27 2004 Alexander Kotelnikov <sacha@altlinux.org> 1.1.0-alt2
- Russian translation and menu fixes.

* Fri Jan 17 2004 Alexander Kotelnikov <sacha@altlinux.org> 1.1.0-alt1
- Initial test release.