2 # - normal build requires little less than 4GB of disk space
3 # - full debug build requires about 9GB of disk space
5 # - drop requirement on XFree86-static
6 # - drop requirement on nas-devel
7 # - fix locale names and other locale related things
8 # - --with-system-myspell + myspell package as in Debian
9 # - --with-system-neon - check compilation (works with 0.23 but not 0.24)
12 %bcond_with java # Java support
13 %bcond_with icons_ximian # Ximian icons instead of KDE one
19 %define fullver %{ver}.%{rel}
20 %define dfullver %(echo %{fullver} | tr . _)
21 %define specflags -fno-strict-aliasing
23 Summary: OpenOffice - powerful office suite
24 Summary(pl): OpenOffice - potê¿ny pakiet biurowy
30 Group: X11/Applications
31 #Source0: http://ooo.ximian.com/packages/OOO_%{dfullver}/ooo-build-%{ooobver}.tar.gz
32 Source0: http://ooo.ximian.com/packages/snap/ooo-build-%{ooobver}-HEAD-20040716.tar.gz
33 # Source0-md5: 54e7a91fe1a4d07711fa5521e5f127d1
34 Source1: http://ooo.ximian.com/packages/OOO_%{dfullver}/OOO_%{dfullver}.tar.bz2
35 # Source1-md5: 627fbce603598a74f9be03f5a1da6d94
36 Source2: http://ooo.ximian.com/packages/ooo-icons-OOO_1_1-9.tar.gz
37 # Source2-md5: 32a0e62f89ef36a91437fc705fbe6440
38 Source3: http://kde.openoffice.org/files/nidaba/documents/159/1929/ooo-KDE_icons-OOO_1_1-0.2.tar.gz
39 # Source3-md5: 50486f5208ec5ae7af1dbb8f9e77cb12
40 Source10: http://ep09.pld-linux.org/~adgor/pld/%{name}-desktopfiles-0.2.tar.bz2
41 # Source10-md5: 78ae3bef3e98f711b1afe9fb5717b42e
43 # we keep these in ooo-build repository
45 #Source20: %{name}-about.bmp
46 #Source21: %{name}-intro.bmp
48 %define cftp http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib
51 Source400: %{cftp}/helpcontent/helpcontent_01_unix.tgz
52 # Source400-md5: 7da2aff674c2c84aba8b21ac2ab16bb6
53 Source401: %{cftp}/helpcontent/helpcontent_31_unix.tgz
54 # Source401-md5: c7e618e2d9b8bd25cae12954ef2548c9
55 Source402: %{cftp}/helpcontent/helpcontent_33_unix.tgz
56 # Source402-md5: 68d58bc30b485a77c0a0fba08af3aee3
57 Source403: %{cftp}/helpcontent/helpcontent_34_unix.tgz
58 # Source403-md5: 8696bbee3dc4d5b6fd60218123016e29
59 Source404: %{cftp}/helpcontent/helpcontent_39_unix.tgz
60 # Source404-md5: c2ae86d02f462d2b663d621190f5ef34
61 Source405: %{cftp}/helpcontent/helpcontent_46_unix.tgz
62 # Source405-md5: 7b013981edce2fabe4a8751ff64a8d58
63 Source406: %{cftp}/helpcontent/helpcontent_49_unix.tgz
64 # Source406-md5: a39f44ec40f452c963a4a187f31d1acb
65 Source407: %{cftp}/helpcontent/helpcontent_81_unix.tgz
66 # Source407-md5: 81b705057a0e14ebcbf02fac4762781a
67 Source408: %{cftp}/helpcontent/helpcontent_82_unix.tgz
68 # Source408-md5: 3121fbd251176d7c7b6e33ecec744c65
69 Source409: %{cftp}/helpcontent/helpcontent_86_unix.tgz
70 # Source409-md5: aee37935139c5ccd4b6d8abdd2037c66
71 Source410: %{cftp}/helpcontent/helpcontent_88_unix.tgz
72 # Source410-md5: 3b00571318e45965dee0545d86306d65
74 Patch0: %{name}-rh-disable-spellcheck-all-langs.patch
76 URL: http://www.openoffice.org/
77 BuildRequires: ImageMagick
78 BuildRequires: STLport-devel >= 4.5.3-6
79 BuildRequires: XFree86-devel
80 BuildRequires: XFree86-static
81 BuildRequires: autoconf
82 BuildRequires: automake
83 BuildRequires: bison >= 1.875-4
84 BuildRequires: cups-devel
85 BuildRequires: curl-devel
86 BuildRequires: db-cxx-devel
87 BuildRequires: db-devel
88 BuildRequires: /usr/bin/getopt
90 BuildRequires: db-java >= 4.2.52-4
94 BuildRequires: libxslt-progs
97 BuildRequires: fontconfig-devel >= 1.0.1
98 BuildRequires: freetype-devel >= 2.1
99 BuildRequires: libart_lgpl-devel
100 BuildRequires: libstdc++-devel >= 3.2.1
101 BuildRequires: nas-devel
102 BuildRequires: pam-devel
103 BuildRequires: perl-base
104 BuildRequires: pkgconfig
105 BuildRequires: python-devel
106 BuildRequires: sane-backends-devel
107 BuildRequires: startup-notification-devel
109 BuildRequires: unixODBC-devel
112 BuildRequires: zlib-devel
113 BuildRequires: qt-devel
114 BuildRequires: kdelibs-devel
115 BuildRequires: gtk+2-devel
116 BuildConflicts: java-sun = 1.4.2
117 Requires(post,postun): fontpostinst
118 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
119 Requires: %{name}-i18n-en = %{epoch}:%{version}-%{release}
123 Requires: libstdc++ >= 3.2.1
124 Requires: startup-notification
125 ExclusiveArch: %{ix86} sparc ppc
126 #Suggested: chkfontpath
127 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
130 OpenOffice.org is an open-source project sponsored by Sun Microsystems
131 and hosted by CollabNet. In October of 2000, Sun released the source
132 code of its popular StarOfficeTM productivity suite under open-source
133 licenses. The aim of the OpenOffice.org project is to create, using
134 open-source methods, the next generation of open-network productivity
135 services, including the establishment of open, XML-based standards for
136 office productivity file formats and language-independent bindings to
139 Features of OpenOffice.org include:
140 - Downloadable source code,
142 - Infrastructure for community involvement, including guidelines and
146 OpenOffice.org jest projektem open-source sponsorowanym przez Sun
147 Microsystems i przechowywanym przez CollabNet. W pa¼dzierniku 2000
148 roku Sun udostêpni³ kod ¼ród³owy popularnego pakietu biurowego
149 StarOfficeTM na zasadach licencji open-source. G³ównym celem
150 OpenOffice.org jest stworzenie sieciowego pakietu biurowego nastêpnej
151 generacji, wykorzystuj±c open-source'owe metody pracy.
153 Do zalet OpenOffice.org mo¿na zaliczyæ:
154 - dostêpny ca³y czas kod ¼ród³owy,
156 - infrastruktura s³u¿±ca do komunikowania siê w ramach projektu.
159 Summary: OpenOffice.org shared libraries
160 Summary(pl): Biblioteki dzielone OpenOffice.org
162 Requires: %{name}-libs-interface = %{epoch}:%{version}-%{release}
165 OpenOffice.org productivity suite - shared libraries.
167 %description libs -l pl
168 Pakiet biurowy OpenOffice.org - biblioteki.
171 Summary: OpenOffice.org KDE Interface
172 Summary(pl): Interfejs KDE dla OpenOffice.org
174 Provides: %{name}-libs-interface = %{epoch}:%{version}-%{release}
175 Provides: libvcl%{subver}li.so
176 Obsoletes: %{name}-libs-gtk
177 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
178 Requires(post,preun): %{name}-libs = %{epoch}:%{version}-%{release}
180 %description libs-kde
181 OpenOffice.org productivity suite - KDE Interface.
183 %description libs-kde -l pl
184 Pakiet biurowy OpenOffice.org - Interfejs KDE.
187 Summary: OpenOffice.org GTK Interface
188 Summary(pl): Interfejs GTK dla OpenOffice.org
190 Provides: %{name}-libs-interface = %{epoch}:%{version}-%{release}
191 Provides: libvcl%{subver}li.so
192 Obsoletes: %{name}-libs-kde
193 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
194 Requires(post,preun): %{name}-libs = %{epoch}:%{version}-%{release}
196 %description libs-gtk
197 OpenOffice.org productivity suite - GTK Interface.
199 %description libs-gtk -l pl
200 Pakiet biurowy OpenOffice.org - Interfejs GTK.
203 Summary: OpenOffice.org mimelinks
204 Summary(pl): Dowi±zania MIME dla OpenOffice.org
205 Group: X11/Applications
206 Requires: %{name} = %{epoch}:%{version}-%{release}
208 Conflicts: kdelibs >= 9:3.1.9
210 %description mimelinks
211 OpenOffice.org mimelinks for KDE versions <= 3.1.5.
213 %description mimelinks -l pl
214 Dowi±zania MIME OpenOffice.org dla wersji KDE <= 3.1.5.
217 Summary: OpenOffice.org - interface in Afrikaans language
218 Summary(pl): OpenOffice.org - interfejs w jêzyku afrykanerskim
219 Group: Applications/Office
220 Requires: %{name} = %{epoch}:%{version}-%{release}
223 This package provides resources containing menus and dialogs in
226 %description i18n-af -l pl
227 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
230 #%files i18n-af -f af.lang
233 Summary: OpenOffice.org - interface in Arabic language
234 Summary(pl): OpenOffice.org - interfejs w jêzyku arabskim
235 Group: Applications/Office
236 Requires: %{name} = %{epoch}:%{version}-%{release}
239 This package provides resources containing menus and dialogs in
242 %description i18n-ar -l pl
243 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
246 %files i18n-ar -f ar.lang
249 Summary: OpenOffice.org - interface in Bulgarian language
250 Summary(pl): OpenOffice.org - interfejs w jêzyku bu³garskim
251 Group: Applications/Office
252 Requires: %{name} = %{epoch}:%{version}-%{release}
255 This package provides resources containing menus and dialogs in
258 %description i18n-bg -l pl
259 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
262 #%files i18n-bg -f bg.lang
265 Summary: OpenOffice.org - interface in Catalan language
266 Summary(pl): OpenOffice.org - interfejs w jêzyku kataloñskim
267 Group: Applications/Office
268 Requires: %{name} = %{epoch}:%{version}-%{release}
271 This package provides resources containing menus and dialogs in
274 %description i18n-ca -l pl
275 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
278 %files i18n-ca -f ca.lang
281 Summary: OpenOffice.org - interface in Czech language
282 Summary(pl): OpenOffice.org - interfejs w jêzyku czeskim
283 Group: Applications/Office
284 Requires: %{name} = %{epoch}:%{version}-%{release}
287 This package provides resources containing menus and dialogs in
290 %description i18n-cs -l pl
291 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
294 %files i18n-cs -f cs.lang
297 Summary: OpenOffice.org - interface in Cymraeg language
298 Summary(pl): OpenOffice.org - interfejs w jêzyku walijskim
299 Group: Applications/Office
300 Requires: %{name} = %{epoch}:%{version}-%{release}
303 This package provides resources containing menus and dialogs in
306 %description i18n-cy -l pl
307 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
310 #%files i18n-cy -f cy.lang
313 Summary: OpenOffice.org - interface in Danish language
314 Summary(pl): OpenOffice.org - interfejs w jêzyku duñskim
315 Group: Applications/Office
316 Requires: %{name} = %{epoch}:%{version}-%{release}
319 This package provides resources containing menus and dialogs in
322 %description i18n-da -l pl
323 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
326 %files i18n-da -f da.lang
329 Summary: OpenOffice.org - interface in German language
330 Summary(pl): OpenOffice.org - interfejs w jêzyku niemieckim
331 Group: Applications/Office
332 Requires: %{name} = %{epoch}:%{version}-%{release}
335 This package provides resources containing menus and dialogs in
338 %description i18n-de -l pl
339 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
342 %files i18n-de -f de.lang
345 Summary: OpenOffice.org - interface in Greek language
346 Summary(pl): OpenOffice.org - interfejs w jêzyku greckim
347 Group: Applications/Office
348 Requires: %{name} = %{epoch}:%{version}-%{release}
351 This package provides resources containing menus and dialogs in
354 %description i18n-el -l pl
355 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
358 %files i18n-el -f el.lang
361 Summary: OpenOffice.org - interface in English language
362 Summary(pl): OpenOffice.org - interfejs w jêzyku angielskim
363 Group: Applications/Office
364 Requires: %{name} = %{epoch}:%{version}-%{release}
367 This package provides resources containing menus and dialogs in
370 %description i18n-en -l pl
371 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
374 %files i18n-en -f en.lang
377 Summary: OpenOffice.org - interface in Spanish language
378 Summary(pl): OpenOffice.org - interfejs w jêzyku hiszpañskim
379 Group: Applications/Office
380 Requires: %{name} = %{epoch}:%{version}-%{release}
383 This package provides resources containing menus and dialogs in
386 %description i18n-es -l pl
387 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
390 %files i18n-es -f es.lang
393 Summary: OpenOffice.org - interface in Estonian language
394 Summary(pl): OpenOffice.org - interfejs w jêzyku estoñskim
395 Group: Applications/Office
396 Requires: %{name} = %{epoch}:%{version}-%{release}
399 This package provides resources containing menus and dialogs in
402 %description i18n-et -l pl
403 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
406 %files i18n-et -f et.lang
409 Summary: OpenOffice.org - interface in Finnish language
410 Summary(pl): OpenOffice.org - interfejs w jêzyku fiñskim
411 Group: Applications/Office
412 Requires: %{name} = %{epoch}:%{version}-%{release}
415 This package provides resources containing menus and dialogs in
418 %description i18n-fi -l pl
419 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
422 %files i18n-fi -f fi.lang
425 Summary: OpenOffice.org - interface in Faroese language
426 Summary(pl): OpenOffice.org - interfejs w jêzyku farerskim
427 Group: Applications/Office
428 Requires: %{name} = %{epoch}:%{version}-%{release}
431 This package provides resources containing menus and dialogs in
434 %description i18n-fo -l pl
435 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
438 #%files i18n-fo -f fo.lang
441 Summary: OpenOffice.org - interface in French language
442 Summary(pl): OpenOffice.org - interfejs w jêzyku francuskim
443 Group: Applications/Office
444 Requires: %{name} = %{epoch}:%{version}-%{release}
447 This package provides resources containing menus and dialogs in
450 %description i18n-fr -l pl
451 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
454 %files i18n-fr -f fr.lang
457 Summary: OpenOffice.org - interface in Irish language
458 Summary(pl): OpenOffice.org - interfejs w jêzyku irlandzkim
459 Group: Applications/Office
460 Requires: %{name} = %{epoch}:%{version}-%{release}
463 This package provides resources containing menus and dialogs in
466 %description i18n-ga -l pl
467 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
470 #%files i18n-ga -f ga.lang
473 Summary: OpenOffice.org - interface in Galician language
474 Summary(pl): OpenOffice.org - interfejs w jêzyku galicyjskim
475 Group: Applications/Office
476 Requires: %{name} = %{epoch}:%{version}-%{release}
479 This package provides resources containing menus and dialogs in
482 %description i18n-gl -l pl
483 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
486 #%files i18n-gl -f gl.lang
489 Summary: OpenOffice.org - interface in Croatian language
490 Summary(pl): OpenOffice.org - interfejs w jêzyku chorwackim
491 Group: Applications/Office
492 Requires: %{name} = %{epoch}:%{version}-%{release}
495 This package provides resources containing menus and dialogs in
498 %description i18n-hr -l pl
499 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
502 #%files i18n-hr -f hr.lang
505 Summary: OpenOffice.org - interface in Hungarian language
506 Summary(pl): OpenOffice.org - interfejs w jêzyku wêgierskim
507 Group: Applications/Office
508 Requires: %{name} = %{epoch}:%{version}-%{release}
511 This package provides resources containing menus and dialogs in
514 %description i18n-hu -l pl
515 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
518 %files i18n-hu -f hu.lang
521 Summary: OpenOffice.org - interface in Interlingua language
522 Summary(pl): OpenOffice.org - interfejs w jêzyku interlingua
523 Group: Applications/Office
524 Requires: %{name} = %{epoch}:%{version}-%{release}
527 This package provides resources containing menus and dialogs in
528 Interlingua language.
530 %description i18n-ia -l pl
531 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
534 #%files i18n-ia -f ia.lang
537 Summary: OpenOffice.org - interface in Indonesian language
538 Summary(pl): OpenOffice.org - interfejs w jêzyku indonezyjskim
539 Group: Applications/Office
540 Requires: %{name} = %{epoch}:%{version}-%{release}
543 This package provides resources containing menus and dialogs in
546 %description i18n-id -l pl
547 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
550 #%files i18n-id -f id.lang
553 Summary: OpenOffice.org - interface in Italian language
554 Summary(pl): OpenOffice.org - interfejs w jêzyku w³oskim
555 Group: Applications/Office
556 Requires: %{name} = %{epoch}:%{version}-%{release}
559 This package provides resources containing menus and dialogs in
562 %description i18n-it -l pl
563 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
566 %files i18n-it -f it.lang
569 Summary: OpenOffice.org - interface in Japan language
570 Summary(pl): OpenOffice.org - interfejs w jêzyku japoñskim
571 Group: Applications/Office
572 Requires: %{name} = %{epoch}:%{version}-%{release}
575 This package provides resources containing menus and dialogs in
578 %description i18n-ja -l pl
579 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
582 %files i18n-ja -f ja.lang
585 Summary: OpenOffice.org - interface in Korean language
586 Summary(pl): OpenOffice.org - interfejs w jêzyku koreañskim
587 Group: Applications/Office
588 Requires: %{name} = %{epoch}:%{version}-%{release}
591 This package provides resources containing menus and dialogs in
594 %description i18n-ko -l pl
595 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
598 %files i18n-ko -f ko.lang
601 Summary: OpenOffice.org - interface in Latin language
602 Summary(pl): OpenOffice.org - interfejs w jêzyku ³aciñskim
603 Group: Applications/Office
604 Requires: %{name} = %{epoch}:%{version}-%{release}
607 This package provides resources containing menus and dialogs in
610 %description i18n-la -l pl
611 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
614 #%files i18n-la -f la.lang
617 Summary: OpenOffice.org - interface in Lithuanian language
618 Summary(pl): OpenOffice.org - interfejs w jêzyku litewskim
619 Group: Applications/Office
620 Requires: %{name} = %{epoch}:%{version}-%{release}
623 This package provides resources containing menus and dialogs in
626 %description i18n-lt -l pl
627 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
630 #%files i18n-lt -f lt.lang
633 Summary: OpenOffice.org - interface in Melpa language
634 Summary(pl): OpenOffice.org - interfejs w jêzyku melpa
635 Group: Applications/Office
636 Requires: %{name} = %{epoch}:%{version}-%{release}
638 %description i18n-med
639 This package provides resources containing menus and dialogs in
642 %description i18n-med -l pl
643 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
646 #%files i18n-med -f med.lang
649 Summary: OpenOffice.org - interface in Maori language
650 Summary(pl): OpenOffice.org - interfejs w jêzyku maoryjskim
651 Group: Applications/Office
652 Requires: %{name} = %{epoch}:%{version}-%{release}
655 This package provides resources containing menus and dialogs in
658 %description i18n-mi -l pl
659 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
662 #%files i18n-mi -f mi.lang
665 Summary: OpenOffice.org - interface in Malay language
666 Summary(pl): OpenOffice.org - interfejs w jêzyku malajskim
667 Group: Applications/Office
668 Requires: %{name} = %{epoch}:%{version}-%{release}
671 This package provides resources containing menus and dialogs in
674 %description i18n-ms -l pl
675 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
678 #%files i18n-ms -f ms.lang
681 Summary: OpenOffice.org - interface in Norwegian Bokmaal language
682 Summary(pl): OpenOffice.org - interfejs w jêzyku norweskim (odmiana Bokmaal)
683 Group: Applications/Office
684 Requires: %{name} = %{epoch}:%{version}-%{release}
687 This package provides resources containing menus and dialogs in
688 Norwegian Bokmaal language.
690 %description i18n-nb -l pl
691 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
692 norweskim w odmianie Bokmaal.
694 #%files i18n-nb -f nb.lang
697 Summary: OpenOffice.org - interface in Dutch language
698 Summary(pl): OpenOffice.org - interfejs w jêzyku holenderskim
699 Group: Applications/Office
700 Requires: %{name} = %{epoch}:%{version}-%{release}
703 This package provides resources containing menus and dialogs in
706 %description i18n-nl -l pl
707 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
710 %files i18n-nl -f nl.lang
713 Summary: OpenOffice.org - interface in Polish language
714 Summary(pl): OpenOffice.org - interfejs w jêzyku polskim
715 Group: Applications/Office
716 Requires: %{name} = %{epoch}:%{version}-%{release}
719 This package provides resources containing menus and dialogs in
722 %description i18n-pl -l pl
723 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
726 %files i18n-pl -f pl.lang
729 Summary: OpenOffice.org - interface in Portuguese language
730 Summary(pl): OpenOffice.org - interfejs w jêzyku portugalskim
731 Group: Applications/Office
732 Requires: %{name} = %{epoch}:%{version}-%{release}
735 This package provides resources containing menus and dialogs in
738 %description i18n-pt -l pl
739 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
742 %files i18n-pt -f pt.lang
745 Summary: OpenOffice.org - interface in Romanian language
746 Summary(pl): OpenOffice.org - interfejs w jêzyku rumuñskim
747 Group: Applications/Office
748 Requires: %{name} = %{epoch}:%{version}-%{release}
751 This package provides resources containing menus and dialogs in
754 %description i18n-ro -l pl
755 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
758 #%files i18n-ro -f ro.lang
761 Summary: OpenOffice.org - interface in Russian language
762 Summary(pl): OpenOffice.org - interfejs w jêzyku rosyjskim
763 Group: Applications/Office
764 Requires: %{name} = %{epoch}:%{version}-%{release}
767 This package provides resources containing menus and dialogs in
770 %description i18n-ru -l pl
771 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
774 %files i18n-ru -f ru.lang
777 Summary: OpenOffice.org - interface in Slovak language
778 Summary(pl): OpenOffice.org - interfejs w jêzyku s³owackim
779 Group: Applications/Office
780 Requires: %{name} = %{epoch}:%{version}-%{release}
783 This package provides resources containing menus and dialogs in
786 %description i18n-sk -l pl
787 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
790 %files i18n-sk -f sk.lang
793 Summary: OpenOffice.org - interface in Slovenian language
794 Summary(pl): OpenOffice.org - interfejs w jêzyku s³oweñskim
795 Group: Applications/Office
796 Requires: %{name} = %{epoch}:%{version}-%{release}
799 This package provides resources containing menus and dialogs in
802 %description i18n-sl -l pl
803 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
806 %files i18n-sl -f sl.lang
809 Summary: OpenOffice.org - interface in Swedish language
810 Summary(pl): OpenOffice.org - interfejs w jêzyku szwedzkim
811 Group: Applications/Office
812 Requires: %{name} = %{epoch}:%{version}-%{release}
815 This package provides resources containing menus and dialogs in
818 %description i18n-sv -l pl
819 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
822 %files i18n-sv -f sv.lang
825 Summary: OpenOffice.org - interface in Turkish language
826 Summary(pl): OpenOffice.org - interfejs w jêzyku tureckim
827 Group: Applications/Office
828 Requires: %{name} = %{epoch}:%{version}-%{release}
831 This package provides resources containing menus and dialogs in
834 %description i18n-tr -l pl
835 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
838 %files i18n-tr -f tr.lang
841 Summary: OpenOffice.org - interface in Ukrainian language
842 Summary(pl): OpenOffice.org - interfejs w jêzyku ukraiñskim
843 Group: Applications/Office
844 Requires: %{name} = %{epoch}:%{version}-%{release}
847 This package provides resources containing menus and dialogs in
850 %description i18n-uk -l pl
851 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
854 #%files i18n-uk -f uk.lang
857 Summary: OpenOffice.org - interface in Chinese language
858 Summary(pl): OpenOffice.org - interfejs w jêzyku chiñskim
859 Group: Applications/Office
860 Requires: %{name} = %{epoch}:%{version}-%{release}
863 This package provides resources containing menus and dialogs in
866 %description i18n-zh -l pl
867 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
870 %files i18n-zh -f zh.lang
873 %setup -q -n ooo-build-%{ooobver}
877 ln -s %{SOURCE1} src/
878 ln -s %{SOURCE2} src/
879 ln -s %{SOURCE3} src/
881 # we keep these in ooo-build repository
882 #ln -s %{SOURCE20} src/openabout_pld.bmp
883 #ln -s %{SOURCE21} src/openintro_pld.bmp
886 # Make sure we have /proc mounted - otherwise idlc will fail later.
887 if [ ! -r /proc/version ]; then
888 echo "You need to have /proc mounted in order to build this package!"
894 ENVCFLAGS="%{rpmcflags}"
895 ENVCFLAGSCXX="%{rpmcflags}"
896 DESTDIR=$RPM_BUILD_ROOT
897 IGNORE_MANIFEST_CHANGES=1
898 export CC CXX ENVCFLAGS ENVCFLAGSCXX DESTDIR IGNORE_MANIFEST_CHANGES
902 JAVA_HOME="/usr/lib/java"
903 DB_JAR="%{_javadir}/db.jar"
904 export JAVA_HOME DB_JAR GCJ
907 # parallel build is broken above 4 NCPUS so use 4 as max
908 RPM_BUILD_NR_THREADS="%(echo "%{__make}" | sed -e 's#.*-j\([[:space:]]*[0-9]\+\)#\1#g' | xargs)"
909 [ "$RPM_BUILD_NR_THREADS" != "%{__make}" -a "$RPM_BUILD_NR_THREADS" -gt 4 ] && RPM_BUILD_NR_THREADS=4 || RPM_BUILD_NR_THREADS=1
912 --with-tag=OOO_%{dfullver} \
913 --with-ccache-allowed \
917 --with-system-sane-headers \
918 --with-system-x11-extensions-headers \
919 --with-system-unixodbc-headers \
922 --with-system-freetype \
924 --with-system-xrender \
925 --with-vendor="PLD" \
926 --with-distro="PLD" \
927 %if %{with icons_ximian}
928 --with-icons="Ximian" \
934 --with-installed-ooo-dirname=%{name} \
937 --with-jdk-home=$JAVA_HOME \
941 --with-python=%{_bindir}/python \
942 --with-stlport4-home=/usr \
947 --enable-fontconfig \
954 --enable-crashdump=yes \
955 --enable-symbols=FULL \
957 --enable-crashdump=no \
960 --with-num-cpus=$RPM_BUILD_NR_THREADS
964 [ -x ./autogen.sh ] && ./autogen.sh $CONFOPTS
966 # build-ooo script will pickup these
967 CONFIGURE_OPTIONS="$CONFOPTS"; export CONFIGURE_OPTIONS
972 # this limits processing some files but doesn't limit parallel build
973 # processes of main OOo build (since OOo uses it's own build system)
976 # hack for parallel build
977 if [ "$RPM_BUILD_NCPUS" -gt 1 ]; then
979 while [ "$doit" -eq 1 ]; do
980 echo "Waiting one more time..."
981 FCH=$(nice -n 20 find . -type f ! -mmin +3 -print 2> /dev/null | wc -l)
982 [ "$FCH" -eq 0 ] && doit=0 || sleep 30
987 rm -rf $RPM_BUILD_ROOT
989 # limit to single process installation, it's safe at least
990 sed -i -e 's#^BUILD_NCPUS=.*#BUILD_NCPUS=1#g' bin/setup
992 DESTDIR=$RPM_BUILD_ROOT; export DESTDIR
993 TMP="%{tmpdir}"; export TMP
994 TEMP="%{tmpdir}"; export TEMP
997 DESTDIR=$RPM_BUILD_ROOT
999 #mv $RPM_BUILD_ROOT%{_libdir}/%{name}/program/libvcl%{subver}li.so \
1000 # $RPM_BUILD_ROOT%{_libdir}/%{name}/program/libvcl%{subver}li-kde.so
1002 #install -m755 build/OOO_%{dfullver}/vcl.gtk/unxlngi4.pro/lib/libvcl%{subver}li.so \
1003 # $RPM_BUILD_ROOT%{_libdir}/%{name}/program/libvcl%{subver}li-gtk.so
1004 #install -m755 build/OOO_%{dfullver}/vcl.gtk/unxlngi4.pro/bin/*-gnome \
1005 # $RPM_BUILD_ROOT%{_libdir}/%{name}/program/
1007 #install -d helptmp && cd helptmp || exit 1
1009 # %{SOURCE400} %{SOURCE401} %{SOURCE402} %{SOURCE403} %{SOURCE404} %{SOURCE405} \
1010 # %{SOURCE406} %{SOURCE407} %{SOURCE408} %{SOURCE409} %{SOURCE410}; do
1012 # nr=$(echo "$file" | sed -e 's#.*_\(.*\)_.*#\1#g')
1013 # lang=$(../bin/openoffice-xlate-lang -i "$nr")
1014 # if [ -z "$lang" ]; then
1015 # echo "Languge not found for [$file]"
1019 # for ifile in s*.zip; do
1020 # install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/help/${lang}
1021 # unzip -q -d $RPM_BUILD_ROOT%{_libdir}/%{name}/help/${lang} -o "$ifile"
1026 sed -e 's#DESTINATIONPATH=.*#DESTINATIONPATH=<home>/.openoffice#g' etc/redhat-autoresponse.conf > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/autoresponse.conf
1028 install -d $RPM_BUILD_ROOT%{_desktopdir}
1029 bzip2 -dc %{SOURCE10} | tar xf - -C $RPM_BUILD_ROOT%{_desktopdir}
1031 # Add in the regcomp tool since some people need it for 3rd party add-ons
1032 cp -f build/OOO_%{dfullver}/solver/%{subver}/unxlng*.pro/bin/regcomp $RPM_BUILD_ROOT%{_libdir}/%{name}/program
1035 install -d $RPM_BUILD_ROOT{%{_datadir}/mimelnk/application,%{_pixmapsdir}}
1037 cp -a build/OOO_%{dfullver}/sysui/desktop/gnome/icons/*/*.png $RPM_BUILD_ROOT%{_pixmapsdir}
1038 cp -a build/OOO_%{dfullver}/sysui/desktop/gnome/icons/*.png $RPM_BUILD_ROOT%{_pixmapsdir}
1039 cp -a build/OOO_%{dfullver}/sysui/desktop/kde/vnd*.desktop $RPM_BUILD_ROOT%{_datadir}/mimelnk/application
1041 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/share/kde
1042 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/share/cde
1043 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/share/gnome
1044 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/share/icons
1045 rm -rf $RPM_BUILD_ROOT%{_datadir}/applnk
1046 rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome
1048 # Remove dictionaries (in separate pkg)
1049 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/share/dict/ooo/*
1050 touch $RPM_BUILD_ROOT%{_libdir}/%{name}/share/dict/ooo/dictionary.lst
1052 # OOo should not install the Vera fonts, they are Required: now
1053 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/share/fonts/truetype/*
1055 # Copy fixed OpenSymbol to correct location
1056 install -d $RPM_BUILD_ROOT%{_datadir}/fonts/openoffice
1057 cp fonts/opens___.ttf $RPM_BUILD_ROOT%{_datadir}/fonts/openoffice
1058 # %%ghost the fonts.cache-1 file
1059 touch $RPM_BUILD_ROOT%{_datadir}/fonts/openoffice/fonts.cache-1
1061 # We don't need spadmin (gtk) or the setup application
1062 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/setup
1063 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/program/crash_report.bin
1064 rm -f $RPM_BUILD_ROOT%{_datadir}/applications/openoffice-setup.desktop
1065 rm -f $RPM_BUILD_ROOT%{_datadir}/applications/openoffice-printeradmin.desktop
1067 # Remove some python cruft
1068 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/program/python-core-*/lib/test
1070 rm -rf $RPM_BUILD_ROOT%{_datadir}/applnk
1071 rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome
1073 #rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/program/gnomeint
1075 # some libs creep in somehow
1076 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/program/filter/libfreetype.so*
1077 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/program/libstl*.so*
1079 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/program/sopatchlevel.sh
1080 perl -pi -e 's/^[ ]*LD_LIBRARY_PATH/# LD_LIBRARY_PATH/;s/export LD_LIBRARY_PATH/# export LD_LIBRARY_PATH/' \
1081 $RPM_BUILD_ROOT%{_libdir}/%{name}/program/setup
1084 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/program/setup.log
1086 # Remove copied system libraries
1087 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/program/libgcc_s.so* \
1088 $RPM_BUILD_ROOT%{_libdir}/%{name}/program/libstdc++*so*
1093 #for lang in $RPM_BUILD_ROOT%{_libdir}/%{name}/share/registry/res/*; do
1094 # [ ! -d "$lang" ] && continue
1095 # langlist="$langlist $(echo "$lang" | sed -e 's#.*/\(.*\)#\1#g')"
1097 #for lang in $RPM_BUILD_ROOT%{_libdir}/%{name}/help/*; do
1098 # [ ! -d "$lang" ] && continue
1099 # langlist="$langlist $(echo "$lang" | sed -e 's#.*/\(.*\)#\1#g')"
1101 #langlist=$(echo "$langlist" | tr ' ' '\n' | sort | uniq)
1102 #slanglist=$(echo "$langlist" | awk -F_ ' { print $1 } ' | awk -F- ' { print $1 } ' | sort | uniq | xargs)
1104 #for lang in $slanglist; do
1105 # echo "%%defattr(644,root,root,755)" >> ${lang}.lang
1108 # if (ls $RPM_BUILD_ROOT%{_libdir}/%{name}/help/*${lang}* 2> /dev/null); then
1109 # echo "%{_libdir}/%{name}/help/*${lang}*" >> ${lang}.lang
1110 # perl -pi -e "s#.*%{_libdir}/%{name}/help/.*${lang}.*##g" build/lang_*_list.txt
1114 # if (ls $RPM_BUILD_ROOT%{_libdir}/%{name}/share/registry/res/*${lang}* 2> /dev/null); then
1115 # echo "%{_libdir}/%{name}/share/registry/res/*${lang}*" >> ${lang}.lang
1116 # perl -pi -e "s#.*%{_libdir}/%{name}/share/registry/res/.*${lang}.*##g" build/lang_*_list.txt
1119 # # files from lang_*_list.txt
1120 # ls build/lang_${lang}*_list.txt 2> /dev/null && sed -e "s#$RPM_BUILD_ROOT##g" build/lang_${lang}*_list.txt >> ${lang}.lang || /bin/true
1124 # things not catched by automation above
1125 #echo "%{_libdir}/%{name}/program/resource/*%{subver}01.res" >> en.lang
1126 #echo "%{_libdir}/%{name}/share/wordbook/english" >> en.lang
1127 #echo "%{_libdir}/%{name}/share/autocorr/acor1033.dat" >> en.lang
1128 #echo "%{_libdir}/%{name}/share/autocorr/acor2057.dat" >> en.lang
1130 find $RPM_BUILD_ROOT -type f -name '*.so' -exec chmod 755 "{}" ";"
1131 chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/program/*
1134 rm -rf $RPM_BUILD_ROOT
1137 fontpostinst TTF %{_fontsdir}/%{name}
1140 fontpostinst TTF %{_fontsdir}/%{name}
1143 if [ -f %{_libdir}/%{name}/program/libvcl%{subver}li-kde.so ]; then
1144 ln -sf libvcl%{subver}li-kde.so %{_libdir}/%{name}/program/libvcl%{subver}li.so
1146 if [ -f %{_libdir}/%{name}/program/libvcl%{subver}li-gtk.so ]; then
1147 ln -sf libvcl%{subver}li-gtk.so %{_libdir}/%{name}/program/libvcl%{subver}li.so
1151 rm -f %{_libdir}/%{name}/program/libvcl%{subver}li.so
1154 ln -sf libvcl%{subver}li-kde.so %{_libdir}/%{name}/program/libvcl%{subver}li.so
1157 rm -f %{_libdir}/%{name}/program/libvcl%{subver}li.so
1160 ln -sf libvcl%{subver}li-gtk.so %{_libdir}/%{name}/program/libvcl%{subver}li.so
1163 %defattr(644,root,root,755)
1164 %doc %{_libdir}/%{name}/LICENSE*
1165 %doc %{_libdir}/%{name}/*README*
1167 %dir %{_sysconfdir}/openoffice
1168 %config %{_sysconfdir}/openoffice/autoresponse.conf
1170 %{_desktopdir}/*.desktop
1171 %{_pixmapsdir}/*.png
1173 %attr(755,root,root) %{_libdir}/%{name}/install-dict
1175 %{_libdir}/%{name}/program/*.rdb
1176 %{_libdir}/%{name}/program/*.bmp
1177 %{_libdir}/%{name}/program/user_registry.xsl
1178 %{_libdir}/%{name}/program/sofficerc
1179 %{_libdir}/%{name}/program/unorc
1180 %{_libdir}/%{name}/program/bootstraprc
1181 %{_libdir}/%{name}/program/configmgrrc
1182 %{_libdir}/%{name}/program/instdb.ins
1184 %dir %{_libdir}/%{name}/program/resource
1186 %dir %{_libdir}/%{name}/help
1187 %{_libdir}/%{name}/help/en
1188 %{_libdir}/%{name}/help/main_transform.xsl
1190 %dir %{_libdir}/%{name}/share
1191 %dir %{_libdir}/%{name}/share/autocorr
1192 %dir %{_libdir}/%{name}/share/autotext
1193 %{_libdir}/%{name}/share/basic
1194 %{_libdir}/%{name}/share/config
1195 %dir %{_libdir}/%{name}/share/dict
1196 %dir %{_libdir}/%{name}/share/dict/ooo
1197 %{_libdir}/%{name}/share/dtd
1198 %{_libdir}/%{name}/share/fonts
1199 %{_libdir}/%{name}/share/gallery
1200 %{_libdir}/%{name}/share/psprint
1201 %{_libdir}/%{name}/share/samples
1202 %dir %{_libdir}/%{name}/share/template
1203 %dir %{_libdir}/%{name}/share/wordbook
1204 %{_libdir}/%{name}/share/readme
1206 %dir %{_libdir}/%{name}/share/registry
1207 %dir %{_libdir}/%{name}/share/registry/res
1208 %{_libdir}/%{name}/share/registry/data
1209 %{_libdir}/%{name}/share/registry/schema
1211 %{_libdir}/%{name}/share/autotext/english
1212 %{_libdir}/%{name}/share/template/english
1213 %ghost %{_libdir}/%{name}/share/dict/ooo/dictionary.lst
1215 %dir %{_libdir}/%{name}/user
1216 %dir %{_libdir}/%{name}/user/autotext
1217 %{_libdir}/%{name}/user/basic
1218 %{_libdir}/%{name}/user/config
1219 %{_libdir}/%{name}/user/database
1220 %{_libdir}/%{name}/user/gallery
1221 %{_libdir}/%{name}/user/psprint
1223 %{_libdir}/%{name}/user/autotext/english
1226 %attr(755,root,root) %{_bindir}/oo*
1227 %attr(755,root,root) %{_libdir}/%{name}/spadmin
1228 %attr(755,root,root) %{_libdir}/%{name}/program/*.bin
1229 %attr(755,root,root) %{_libdir}/%{name}/program/nswrapper
1230 %attr(755,root,root) %{_libdir}/%{name}/program/ooovirg
1231 %attr(755,root,root) %{_libdir}/%{name}/program/pagein*
1232 %attr(755,root,root) %{_libdir}/%{name}/program/python.sh
1233 %attr(755,root,root) %{_libdir}/%{name}/program/pythonloader.unorc
1234 %attr(755,root,root) %{_libdir}/%{name}/program/pyunorc
1235 %attr(755,root,root) %{_libdir}/%{name}/program/regcomp
1236 %attr(755,root,root) %{_libdir}/%{name}/program/sagenda
1237 %attr(755,root,root) %{_libdir}/%{name}/program/scalc
1238 %attr(755,root,root) %{_libdir}/%{name}/program/sdraw
1239 %attr(755,root,root) %{_libdir}/%{name}/program/setup
1240 %{_libdir}/%{name}/program/setuprc
1241 %attr(755,root,root) %{_libdir}/%{name}/program/sfax
1242 %attr(755,root,root) %{_libdir}/%{name}/program/simpress
1243 %attr(755,root,root) %{_libdir}/%{name}/program/slabel
1244 %attr(755,root,root) %{_libdir}/%{name}/program/sletter
1245 %attr(755,root,root) %{_libdir}/%{name}/program/smaster
1246 %attr(755,root,root) %{_libdir}/%{name}/program/smath
1247 %attr(755,root,root) %{_libdir}/%{name}/program/smemo
1248 %attr(755,root,root) %{_libdir}/%{name}/program/soffice
1249 %attr(755,root,root) %{_libdir}/%{name}/program/spadmin
1250 %attr(755,root,root) %{_libdir}/%{name}/program/svcard
1251 %attr(755,root,root) %{_libdir}/%{name}/program/sweb
1252 %attr(755,root,root) %{_libdir}/%{name}/program/swriter
1253 %attr(755,root,root) %{_libdir}/%{name}/program/*.py
1256 %attr(755,root,root) %{_libdir}/%{name}/program/javaldx
1257 %attr(755,root,root) %{_libdir}/%{name}/program/jvmsetup
1258 %{_libdir}/%{name}/program/classes
1259 %{_libdir}/%{name}/share/xslt
1263 %defattr(644,root,root,755)
1264 %dir %{_libdir}/%{name}
1265 %dir %{_libdir}/%{name}/program
1266 %dir %{_libdir}/%{name}/program/filter
1268 %attr(755,root,root) %{_libdir}/%{name}/program/*.so
1269 %exclude %{_libdir}/%{name}/program/libvcl*.so
1270 %attr(755,root,root) %{_libdir}/%{name}/program/*.so.*
1271 %attr(755,root,root) %{_libdir}/%{name}/program/filter/*.so
1273 %dir %{_datadir}/fonts/openoffice
1274 %{_datadir}/fonts/openoffice/*.ttf
1275 %ghost %{_datadir}/fonts/openoffice/fonts.cache-1
1278 %defattr(644,root,root,755)
1279 %attr(755,root,root) %{_libdir}/%{name}/program/libvcl*kde.so
1282 %defattr(644,root,root,755)
1283 %attr(755,root,root) %{_libdir}/%{name}/program/libvcl*gtk.so
1284 %attr(755,root,root) %{_libdir}/%{name}/program/getstyle-gnome
1285 %attr(755,root,root) %{_libdir}/%{name}/program/msgbox-gnome
1288 %defattr(644,root,root,755)
1289 %{_datadir}/mimelnk/application/*