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
17 %define ooobver 1.1.57
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-md5: 91333259893ffc5c01114df35448561a
33 Source1: http://ooo.ximian.com/packages/OOO_%{dfullver}/OOO_%{dfullver}.tar.bz2
34 # Source1-md5: 550381bc429fbbda54cb84758f14e010
35 Source2: http://ooo.ximian.com/packages/ooo-icons-OOO_1_1-9.tar.gz
36 # Source2-md5: 32a0e62f89ef36a91437fc705fbe6440
37 Source3: http://kde.openoffice.org/files/documents/159/1785/ooo-KDE_icons-OOO_1_1-0.1.tar.gz
38 # Source3-md5: 5157d4453d17cae586ce24989d34357a
39 Source10: http://ep09.pld-linux.org/~adgor/pld/%{name}-desktopfiles-0.2.tar.bz2
40 # Source10-md5: 78ae3bef3e98f711b1afe9fb5717b42e
42 # we keep these in ooo-build repository
44 #Source20: %{name}-about.bmp
45 #Source21: %{name}-intro.bmp
47 %define cftp http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib
50 Source400: %{cftp}/helpcontent/helpcontent_01_unix.tgz
51 # Source400-md5: 7da2aff674c2c84aba8b21ac2ab16bb6
52 Source401: %{cftp}/helpcontent/helpcontent_31_unix.tgz
53 # Source401-md5: c7e618e2d9b8bd25cae12954ef2548c9
54 Source402: %{cftp}/helpcontent/helpcontent_33_unix.tgz
55 # Source402-md5: 68d58bc30b485a77c0a0fba08af3aee3
56 Source403: %{cftp}/helpcontent/helpcontent_34_unix.tgz
57 # Source403-md5: 8696bbee3dc4d5b6fd60218123016e29
58 Source404: %{cftp}/helpcontent/helpcontent_39_unix.tgz
59 # Source404-md5: c2ae86d02f462d2b663d621190f5ef34
60 Source405: %{cftp}/helpcontent/helpcontent_46_unix.tgz
61 # Source405-md5: 7b013981edce2fabe4a8751ff64a8d58
62 Source406: %{cftp}/helpcontent/helpcontent_49_unix.tgz
63 # Source406-md5: a39f44ec40f452c963a4a187f31d1acb
64 Source407: %{cftp}/helpcontent/helpcontent_81_unix.tgz
65 # Source407-md5: 81b705057a0e14ebcbf02fac4762781a
66 Source408: %{cftp}/helpcontent/helpcontent_82_unix.tgz
67 # Source408-md5: 3121fbd251176d7c7b6e33ecec744c65
68 Source409: %{cftp}/helpcontent/helpcontent_86_unix.tgz
69 # Source409-md5: aee37935139c5ccd4b6d8abdd2037c66
70 Source410: %{cftp}/helpcontent/helpcontent_88_unix.tgz
71 # Source410-md5: 3b00571318e45965dee0545d86306d65
73 Patch0: %{name}-rh-disable-spellcheck-all-langs.patch
74 Patch1: %{name}-pld-config.patch
75 Patch2: %{name}-pld-posix-sh.patch
77 URL: http://www.openoffice.org/
78 BuildRequires: ImageMagick
79 BuildRequires: STLport-devel >= 4.5.3-6
80 BuildRequires: XFree86-devel
81 BuildRequires: XFree86-static
82 BuildRequires: autoconf
83 BuildRequires: automake
84 BuildRequires: bison >= 1.875-4
85 BuildRequires: cups-devel
86 BuildRequires: curl-devel
87 BuildRequires: db-cxx-devel
88 BuildRequires: db-devel
89 BuildRequires: /usr/bin/getopt
91 BuildRequires: db-java >= 4.2.52-4
95 BuildRequires: libxslt-progs
98 BuildRequires: fontconfig-devel >= 1.0.1
99 BuildRequires: freetype-devel >= 2.1
100 BuildRequires: libart_lgpl-devel
101 BuildRequires: libstdc++-devel >= 3.2.1
102 BuildRequires: nas-devel
103 BuildRequires: pam-devel
104 BuildRequires: perl-base
105 BuildRequires: pkgconfig
106 BuildRequires: python-devel
107 BuildRequires: sane-backends-devel
108 BuildRequires: startup-notification-devel
110 BuildRequires: unixODBC-devel
113 BuildRequires: zlib-devel
114 BuildRequires: qt-devel
115 BuildRequires: kdelibs-devel
116 BuildRequires: gtk+2-devel
117 BuildConflicts: java-sun = 1.4.2
118 Requires(post,postun): fontpostinst
119 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
120 Requires: %{name}-i18n-en = %{epoch}:%{version}-%{release}
124 Requires: libstdc++ >= 3.2.1
125 Requires: startup-notification
126 ExclusiveArch: %{ix86} sparc ppc
127 #Suggested: chkfontpath
128 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
131 OpenOffice.org is an open-source project sponsored by Sun Microsystems
132 and hosted by CollabNet. In October of 2000, Sun released the source
133 code of its popular StarOfficeTM productivity suite under open-source
134 licenses. The aim of the OpenOffice.org project is to create, using
135 open-source methods, the next generation of open-network productivity
136 services, including the establishment of open, XML-based standards for
137 office productivity file formats and language-independent bindings to
140 Features of OpenOffice.org include:
141 - Downloadable source code,
143 - Infrastructure for community involvement, including guidelines and
147 OpenOffice.org jest projektem open-source sponsorowanym przez Sun
148 Microsystems i przechowywanym przez CollabNet. W pa¼dzierniku 2000
149 roku Sun udostêpni³ kod ¼ród³owy popularnego pakietu biurowego
150 StarOfficeTM na zasadach licencji open-source. G³ównym celem
151 OpenOffice.org jest stworzenie sieciowego pakietu biurowego nastêpnej
152 generacji, wykorzystuj±c open-source'owe metody pracy.
154 Do zalet OpenOffice.org mo¿na zaliczyæ:
155 - dostêpny ca³y czas kod ¼ród³owy,
157 - infrastruktura s³u¿±ca do komunikowania siê w ramach projektu.
160 Summary: OpenOffice.org shared libraries
161 Summary(pl): Biblioteki dzielone OpenOffice.org
163 Requires: %{name}-libs-interface = %{epoch}:%{version}-%{release}
166 OpenOffice.org productivity suite - shared libraries.
168 %description libs -l pl
169 Pakiet biurowy OpenOffice.org - biblioteki.
172 Summary: OpenOffice.org KDE Interface
173 Summary(pl): Interfejs KDE dla OpenOffice.org
175 Provides: %{name}-libs-interface = %{epoch}:%{version}-%{release}
176 Provides: libvcl%{subver}li.so
177 Obsoletes: %{name}-libs-gtk
178 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
179 Requires(post,preun): %{name}-libs = %{epoch}:%{version}-%{release}
181 %description libs-kde
182 OpenOffice.org productivity suite - KDE Interface.
184 %description libs-kde -l pl
185 Pakiet biurowy OpenOffice.org - Interfejs KDE.
188 Summary: OpenOffice.org GTK Interface
189 Summary(pl): Interfejs GTK dla OpenOffice.org
191 Provides: %{name}-libs-interface = %{epoch}:%{version}-%{release}
192 Provides: libvcl%{subver}li.so
193 Obsoletes: %{name}-libs-kde
194 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
195 Requires(post,preun): %{name}-libs = %{epoch}:%{version}-%{release}
197 %description libs-gtk
198 OpenOffice.org productivity suite - GTK Interface.
200 %description libs-gtk -l pl
201 Pakiet biurowy OpenOffice.org - Interfejs GTK.
204 Summary: OpenOffice.org mimelinks
205 Summary(pl): Dowi±zania MIME dla OpenOffice.org
206 Group: X11/Applications
207 Requires: %{name} = %{epoch}:%{version}-%{release}
209 Conflicts: kdelibs >= 9:3.1.9
211 %description mimelinks
212 OpenOffice.org mimelinks for KDE versions <= 3.1.5.
214 %description mimelinks -l pl
215 Dowi±zania MIME OpenOffice.org dla wersji KDE <= 3.1.5.
218 Summary: OpenOffice.org - interface in Afrikaans language
219 Summary(pl): OpenOffice.org - interfejs w jêzyku afrykanerskim
220 Group: Applications/Office
221 Requires: %{name} = %{epoch}:%{version}-%{release}
224 This package provides resources containing menus and dialogs in
227 %description i18n-af -l pl
228 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
231 #%files i18n-af -f af.lang
234 Summary: OpenOffice.org - interface in Arabic language
235 Summary(pl): OpenOffice.org - interfejs w jêzyku arabskim
236 Group: Applications/Office
237 Requires: %{name} = %{epoch}:%{version}-%{release}
240 This package provides resources containing menus and dialogs in
243 %description i18n-ar -l pl
244 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
247 %files i18n-ar -f ar.lang
250 Summary: OpenOffice.org - interface in Bulgarian language
251 Summary(pl): OpenOffice.org - interfejs w jêzyku bu³garskim
252 Group: Applications/Office
253 Requires: %{name} = %{epoch}:%{version}-%{release}
256 This package provides resources containing menus and dialogs in
259 %description i18n-bg -l pl
260 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
263 #%files i18n-bg -f bg.lang
266 Summary: OpenOffice.org - interface in Catalan language
267 Summary(pl): OpenOffice.org - interfejs w jêzyku kataloñskim
268 Group: Applications/Office
269 Requires: %{name} = %{epoch}:%{version}-%{release}
272 This package provides resources containing menus and dialogs in
275 %description i18n-ca -l pl
276 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
279 %files i18n-ca -f ca.lang
282 Summary: OpenOffice.org - interface in Czech language
283 Summary(pl): OpenOffice.org - interfejs w jêzyku czeskim
284 Group: Applications/Office
285 Requires: %{name} = %{epoch}:%{version}-%{release}
288 This package provides resources containing menus and dialogs in
291 %description i18n-cs -l pl
292 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
295 %files i18n-cs -f cs.lang
298 Summary: OpenOffice.org - interface in Cymraeg language
299 Summary(pl): OpenOffice.org - interfejs w jêzyku walijskim
300 Group: Applications/Office
301 Requires: %{name} = %{epoch}:%{version}-%{release}
304 This package provides resources containing menus and dialogs in
307 %description i18n-cy -l pl
308 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
311 #%files i18n-cy -f cy.lang
314 Summary: OpenOffice.org - interface in Danish language
315 Summary(pl): OpenOffice.org - interfejs w jêzyku duñskim
316 Group: Applications/Office
317 Requires: %{name} = %{epoch}:%{version}-%{release}
320 This package provides resources containing menus and dialogs in
323 %description i18n-da -l pl
324 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
327 %files i18n-da -f da.lang
330 Summary: OpenOffice.org - interface in German language
331 Summary(pl): OpenOffice.org - interfejs w jêzyku niemieckim
332 Group: Applications/Office
333 Requires: %{name} = %{epoch}:%{version}-%{release}
336 This package provides resources containing menus and dialogs in
339 %description i18n-de -l pl
340 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
343 %files i18n-de -f de.lang
346 Summary: OpenOffice.org - interface in Greek language
347 Summary(pl): OpenOffice.org - interfejs w jêzyku greckim
348 Group: Applications/Office
349 Requires: %{name} = %{epoch}:%{version}-%{release}
352 This package provides resources containing menus and dialogs in
355 %description i18n-el -l pl
356 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
359 %files i18n-el -f el.lang
362 Summary: OpenOffice.org - interface in English language
363 Summary(pl): OpenOffice.org - interfejs w jêzyku angielskim
364 Group: Applications/Office
365 Requires: %{name} = %{epoch}:%{version}-%{release}
368 This package provides resources containing menus and dialogs in
371 %description i18n-en -l pl
372 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
375 %files i18n-en -f en.lang
378 Summary: OpenOffice.org - interface in Spanish language
379 Summary(pl): OpenOffice.org - interfejs w jêzyku hiszpañskim
380 Group: Applications/Office
381 Requires: %{name} = %{epoch}:%{version}-%{release}
384 This package provides resources containing menus and dialogs in
387 %description i18n-es -l pl
388 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
391 %files i18n-es -f es.lang
394 Summary: OpenOffice.org - interface in Estonian language
395 Summary(pl): OpenOffice.org - interfejs w jêzyku estoñskim
396 Group: Applications/Office
397 Requires: %{name} = %{epoch}:%{version}-%{release}
400 This package provides resources containing menus and dialogs in
403 %description i18n-et -l pl
404 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
407 %files i18n-et -f et.lang
410 Summary: OpenOffice.org - interface in Finnish language
411 Summary(pl): OpenOffice.org - interfejs w jêzyku fiñskim
412 Group: Applications/Office
413 Requires: %{name} = %{epoch}:%{version}-%{release}
416 This package provides resources containing menus and dialogs in
419 %description i18n-fi -l pl
420 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
423 %files i18n-fi -f fi.lang
426 Summary: OpenOffice.org - interface in Faroese language
427 Summary(pl): OpenOffice.org - interfejs w jêzyku farerskim
428 Group: Applications/Office
429 Requires: %{name} = %{epoch}:%{version}-%{release}
432 This package provides resources containing menus and dialogs in
435 %description i18n-fo -l pl
436 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
439 #%files i18n-fo -f fo.lang
442 Summary: OpenOffice.org - interface in French language
443 Summary(pl): OpenOffice.org - interfejs w jêzyku francuskim
444 Group: Applications/Office
445 Requires: %{name} = %{epoch}:%{version}-%{release}
448 This package provides resources containing menus and dialogs in
451 %description i18n-fr -l pl
452 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
455 %files i18n-fr -f fr.lang
458 Summary: OpenOffice.org - interface in Irish language
459 Summary(pl): OpenOffice.org - interfejs w jêzyku irlandzkim
460 Group: Applications/Office
461 Requires: %{name} = %{epoch}:%{version}-%{release}
464 This package provides resources containing menus and dialogs in
467 %description i18n-ga -l pl
468 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
471 #%files i18n-ga -f ga.lang
474 Summary: OpenOffice.org - interface in Galician language
475 Summary(pl): OpenOffice.org - interfejs w jêzyku galicyjskim
476 Group: Applications/Office
477 Requires: %{name} = %{epoch}:%{version}-%{release}
480 This package provides resources containing menus and dialogs in
483 %description i18n-gl -l pl
484 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
487 #%files i18n-gl -f gl.lang
490 Summary: OpenOffice.org - interface in Croatian language
491 Summary(pl): OpenOffice.org - interfejs w jêzyku chorwackim
492 Group: Applications/Office
493 Requires: %{name} = %{epoch}:%{version}-%{release}
496 This package provides resources containing menus and dialogs in
499 %description i18n-hr -l pl
500 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
503 #%files i18n-hr -f hr.lang
506 Summary: OpenOffice.org - interface in Hungarian language
507 Summary(pl): OpenOffice.org - interfejs w jêzyku wêgierskim
508 Group: Applications/Office
509 Requires: %{name} = %{epoch}:%{version}-%{release}
512 This package provides resources containing menus and dialogs in
515 %description i18n-hu -l pl
516 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
519 %files i18n-hu -f hu.lang
522 Summary: OpenOffice.org - interface in Interlingua language
523 Summary(pl): OpenOffice.org - interfejs w jêzyku interlingua
524 Group: Applications/Office
525 Requires: %{name} = %{epoch}:%{version}-%{release}
528 This package provides resources containing menus and dialogs in
529 Interlingua language.
531 %description i18n-ia -l pl
532 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
535 #%files i18n-ia -f ia.lang
538 Summary: OpenOffice.org - interface in Indonesian language
539 Summary(pl): OpenOffice.org - interfejs w jêzyku indonezyjskim
540 Group: Applications/Office
541 Requires: %{name} = %{epoch}:%{version}-%{release}
544 This package provides resources containing menus and dialogs in
547 %description i18n-id -l pl
548 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
551 #%files i18n-id -f id.lang
554 Summary: OpenOffice.org - interface in Italian language
555 Summary(pl): OpenOffice.org - interfejs w jêzyku w³oskim
556 Group: Applications/Office
557 Requires: %{name} = %{epoch}:%{version}-%{release}
560 This package provides resources containing menus and dialogs in
563 %description i18n-it -l pl
564 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
567 %files i18n-it -f it.lang
570 Summary: OpenOffice.org - interface in Japan language
571 Summary(pl): OpenOffice.org - interfejs w jêzyku japoñskim
572 Group: Applications/Office
573 Requires: %{name} = %{epoch}:%{version}-%{release}
576 This package provides resources containing menus and dialogs in
579 %description i18n-ja -l pl
580 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
583 %files i18n-ja -f ja.lang
586 Summary: OpenOffice.org - interface in Korean language
587 Summary(pl): OpenOffice.org - interfejs w jêzyku koreañskim
588 Group: Applications/Office
589 Requires: %{name} = %{epoch}:%{version}-%{release}
592 This package provides resources containing menus and dialogs in
595 %description i18n-ko -l pl
596 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
599 %files i18n-ko -f ko.lang
602 Summary: OpenOffice.org - interface in Latin language
603 Summary(pl): OpenOffice.org - interfejs w jêzyku ³aciñskim
604 Group: Applications/Office
605 Requires: %{name} = %{epoch}:%{version}-%{release}
608 This package provides resources containing menus and dialogs in
611 %description i18n-la -l pl
612 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
615 #%files i18n-la -f la.lang
618 Summary: OpenOffice.org - interface in Lithuanian language
619 Summary(pl): OpenOffice.org - interfejs w jêzyku litewskim
620 Group: Applications/Office
621 Requires: %{name} = %{epoch}:%{version}-%{release}
624 This package provides resources containing menus and dialogs in
627 %description i18n-lt -l pl
628 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
631 #%files i18n-lt -f lt.lang
634 Summary: OpenOffice.org - interface in Melpa language
635 Summary(pl): OpenOffice.org - interfejs w jêzyku melpa
636 Group: Applications/Office
637 Requires: %{name} = %{epoch}:%{version}-%{release}
639 %description i18n-med
640 This package provides resources containing menus and dialogs in
643 %description i18n-med -l pl
644 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
647 #%files i18n-med -f med.lang
650 Summary: OpenOffice.org - interface in Maori language
651 Summary(pl): OpenOffice.org - interfejs w jêzyku maoryjskim
652 Group: Applications/Office
653 Requires: %{name} = %{epoch}:%{version}-%{release}
656 This package provides resources containing menus and dialogs in
659 %description i18n-mi -l pl
660 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
663 #%files i18n-mi -f mi.lang
666 Summary: OpenOffice.org - interface in Malay language
667 Summary(pl): OpenOffice.org - interfejs w jêzyku malajskim
668 Group: Applications/Office
669 Requires: %{name} = %{epoch}:%{version}-%{release}
672 This package provides resources containing menus and dialogs in
675 %description i18n-ms -l pl
676 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
679 #%files i18n-ms -f ms.lang
682 Summary: OpenOffice.org - interface in Norwegian Bokmaal language
683 Summary(pl): OpenOffice.org - interfejs w jêzyku norweskim (odmiana Bokmaal)
684 Group: Applications/Office
685 Requires: %{name} = %{epoch}:%{version}-%{release}
688 This package provides resources containing menus and dialogs in
689 Norwegian Bokmaal language.
691 %description i18n-nb -l pl
692 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
693 norweskim w odmianie Bokmaal.
695 #%files i18n-nb -f nb.lang
698 Summary: OpenOffice.org - interface in Dutch language
699 Summary(pl): OpenOffice.org - interfejs w jêzyku holenderskim
700 Group: Applications/Office
701 Requires: %{name} = %{epoch}:%{version}-%{release}
704 This package provides resources containing menus and dialogs in
707 %description i18n-nl -l pl
708 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
711 %files i18n-nl -f nl.lang
714 Summary: OpenOffice.org - interface in Polish language
715 Summary(pl): OpenOffice.org - interfejs w jêzyku polskim
716 Group: Applications/Office
717 Requires: %{name} = %{epoch}:%{version}-%{release}
720 This package provides resources containing menus and dialogs in
723 %description i18n-pl -l pl
724 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
727 %files i18n-pl -f pl.lang
730 Summary: OpenOffice.org - interface in Portuguese language
731 Summary(pl): OpenOffice.org - interfejs w jêzyku portugalskim
732 Group: Applications/Office
733 Requires: %{name} = %{epoch}:%{version}-%{release}
736 This package provides resources containing menus and dialogs in
739 %description i18n-pt -l pl
740 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
743 %files i18n-pt -f pt.lang
746 Summary: OpenOffice.org - interface in Romanian language
747 Summary(pl): OpenOffice.org - interfejs w jêzyku rumuñskim
748 Group: Applications/Office
749 Requires: %{name} = %{epoch}:%{version}-%{release}
752 This package provides resources containing menus and dialogs in
755 %description i18n-ro -l pl
756 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
759 #%files i18n-ro -f ro.lang
762 Summary: OpenOffice.org - interface in Russian language
763 Summary(pl): OpenOffice.org - interfejs w jêzyku rosyjskim
764 Group: Applications/Office
765 Requires: %{name} = %{epoch}:%{version}-%{release}
768 This package provides resources containing menus and dialogs in
771 %description i18n-ru -l pl
772 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
775 %files i18n-ru -f ru.lang
778 Summary: OpenOffice.org - interface in Slovak language
779 Summary(pl): OpenOffice.org - interfejs w jêzyku s³owackim
780 Group: Applications/Office
781 Requires: %{name} = %{epoch}:%{version}-%{release}
784 This package provides resources containing menus and dialogs in
787 %description i18n-sk -l pl
788 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
791 %files i18n-sk -f sk.lang
794 Summary: OpenOffice.org - interface in Slovenian language
795 Summary(pl): OpenOffice.org - interfejs w jêzyku s³oweñskim
796 Group: Applications/Office
797 Requires: %{name} = %{epoch}:%{version}-%{release}
800 This package provides resources containing menus and dialogs in
803 %description i18n-sl -l pl
804 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
807 %files i18n-sl -f sl.lang
810 Summary: OpenOffice.org - interface in Swedish language
811 Summary(pl): OpenOffice.org - interfejs w jêzyku szwedzkim
812 Group: Applications/Office
813 Requires: %{name} = %{epoch}:%{version}-%{release}
816 This package provides resources containing menus and dialogs in
819 %description i18n-sv -l pl
820 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
823 %files i18n-sv -f sv.lang
826 Summary: OpenOffice.org - interface in Turkish language
827 Summary(pl): OpenOffice.org - interfejs w jêzyku tureckim
828 Group: Applications/Office
829 Requires: %{name} = %{epoch}:%{version}-%{release}
832 This package provides resources containing menus and dialogs in
835 %description i18n-tr -l pl
836 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
839 %files i18n-tr -f tr.lang
842 Summary: OpenOffice.org - interface in Ukrainian language
843 Summary(pl): OpenOffice.org - interfejs w jêzyku ukraiñskim
844 Group: Applications/Office
845 Requires: %{name} = %{epoch}:%{version}-%{release}
848 This package provides resources containing menus and dialogs in
851 %description i18n-uk -l pl
852 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
855 #%files i18n-uk -f uk.lang
858 Summary: OpenOffice.org - interface in Chinese language
859 Summary(pl): OpenOffice.org - interfejs w jêzyku chiñskim
860 Group: Applications/Office
861 Requires: %{name} = %{epoch}:%{version}-%{release}
864 This package provides resources containing menus and dialogs in
867 %description i18n-zh -l pl
868 Ten pakiet dostarcza zasoby zawieraj±ce menu i okna dialogowe w jêzyku
871 %files i18n-zh -f zh.lang
874 %setup -q -n ooo-build-%{ooobver}
880 ln -s %{SOURCE1} src/
881 ln -s %{SOURCE2} src/
882 ln -s %{SOURCE3} src/
884 # we keep these in ooo-build repository
885 #ln -s %{SOURCE20} src/openabout_pld.bmp
886 #ln -s %{SOURCE21} src/openintro_pld.bmp
889 # Make sure we have /proc mounted - otherwise idlc will fail later.
890 if [ ! -r /proc/version ]; then
891 echo "You need to have /proc mounted in order to build this package!"
897 ENVCFLAGS="%{rpmcflags}"
898 ENVCFLAGSCXX="%{rpmcflags}"
899 DESTDIR=$RPM_BUILD_ROOT
900 IGNORE_MANIFEST_CHANGES=1
901 export CC CXX ENVCFLAGS ENVCFLAGSCXX DESTDIR IGNORE_MANIFEST_CHANGES
905 JAVA_HOME="/usr/lib/java"
906 DB_JAR="%{_javadir}/db.jar"
907 export JAVA_HOME DB_JAR GCJ
910 # parallel build is broken above 4 NCPUS so use 4 as max
911 RPM_BUILD_NR_THREADS="%(echo "%{__make}" | sed -e 's#.*-j\([[:space:]]*[0-9]\+\)#\1#g' | xargs)"
912 [ "$RPM_BUILD_NR_THREADS" != "%{__make}" -a "$RPM_BUILD_NR_THREADS" -gt 4 ] && RPM_BUILD_NR_THREADS=4 || RPM_BUILD_NR_THREADS=1
915 --with-ccache-allowed \
918 --with-system-sane-headers \
919 --with-system-x11-extensions-headers \
920 --with-system-unixodbc-headers \
923 --with-system-freetype \
925 --with-vendor="PLD" \
926 --with-distro="PLD" \
927 %if %{with icons_ximian}
928 --with-icons="Ximian" \
932 --with-widgetset=kde \
933 --with-installed-ooo-dirname=%{name} \
936 --with-jdk-home=$JAVA_HOME \
940 --with-python=%{_bindir}/python \
941 --with-stlport4-home=/usr \
945 --enable-fontconfig \
951 --enable-crashdump=yes \
952 --enable-symbols=FULL \
954 --enable-crashdump=no \
957 --with-num-cpus=$RPM_BUILD_NR_THREADS
961 #[ -x ./autogen.sh ] && ./autogen.sh $CONFOPTS
963 # build-ooo script will pickup these
964 CONFIGURE_OPTIONS="$CONFOPTS"; export CONFIGURE_OPTIONS
969 # this limits processing some files but doesn't limit parallel build
970 # processes of main OOo build (since OOo uses it's own build system)
973 # hack for parallel build
974 if [ "$RPM_BUILD_NCPUS" -gt 1 ]; then
976 while [ "$doit" -eq 1 ]; do
977 echo "Waiting one more time..."
978 FCH=$(nice -n 20 find . -type f ! -mmin +3 -print 2> /dev/null | wc -l)
979 [ "$FCH" -eq 0 ] && doit=0 || sleep 30
984 cd build/OOO_%{dfullver}
987 cp -a Linux*Env.Set* vcl.kde
988 sed -i -e "s#\(.*WITH_WIDGETSET.*\)\".*\"\(.*\)#\1\"gtk\"\2#g" Linux*Env.Set*
989 sed -i -e "s#\(.*WIDGETSET_CFLAGS.*\)\".*\"\(.*\)#\1\"`pkg-config --cflags gtk+-2.0 gdk-pixbuf-xlib-2.0` -DWIDGETSET_GTK\"\2#g" Linux*Env.Set*
990 sed -i -e "s#\(.*WIDGETSET_LIBS.*\)\".*\"\(.*\)#\1\"`pkg-config --libs gtk+-2.0 gdk-pixbuf-xlib-2.0`\"\2#g" Linux*Env.Set*
1001 rm -rf $RPM_BUILD_ROOT
1003 DESTDIR=$RPM_BUILD_ROOT; export DESTDIR
1004 TMP="%{tmpdir}"; export TMP
1005 TEMP="%{tmpdir}"; export TEMP
1008 DESTDIR=$RPM_BUILD_ROOT
1010 mv $RPM_BUILD_ROOT%{_libdir}/%{name}/program/libvcl%{subver}li.so \
1011 $RPM_BUILD_ROOT%{_libdir}/%{name}/program/libvcl%{subver}li-kde.so
1013 install -m755 build/OOO_%{dfullver}/vcl.gtk/unxlngi4.pro/lib/libvcl%{subver}li.so \
1014 $RPM_BUILD_ROOT%{_libdir}/%{name}/program/libvcl%{subver}li-gtk.so
1015 install -m755 build/OOO_%{dfullver}/vcl.gtk/unxlngi4.pro/bin/*-gnome \
1016 $RPM_BUILD_ROOT%{_libdir}/%{name}/program/
1018 install -d helptmp && cd helptmp || exit 1
1020 %{SOURCE400} %{SOURCE401} %{SOURCE402} %{SOURCE403} %{SOURCE404} %{SOURCE405} \
1021 %{SOURCE406} %{SOURCE407} %{SOURCE408} %{SOURCE409} %{SOURCE410}; do
1023 nr=$(echo "$file" | sed -e 's#.*_\(.*\)_.*#\1#g')
1024 lang=$(../bin/openoffice-xlate-lang -i "$nr")
1025 if [ -z "$lang" ]; then
1026 echo "Languge not found for [$file]"
1030 for ifile in s*.zip; do
1031 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/help/${lang}
1032 unzip -q -d $RPM_BUILD_ROOT%{_libdir}/%{name}/help/${lang} -o "$ifile"
1037 sed -e 's#DESTINATIONPATH=.*#DESTINATIONPATH=<home>/.openoffice#g' etc/redhat-autoresponse.conf > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/autoresponse.conf
1039 install -d $RPM_BUILD_ROOT%{_desktopdir}
1040 bzip2 -dc %{SOURCE10} | tar xf - -C $RPM_BUILD_ROOT%{_desktopdir}
1042 # Add in the regcomp tool since some people need it for 3rd party add-ons
1043 cp -f build/OOO_%{dfullver}/solver/%{subver}/unxlng*.pro/bin/regcomp $RPM_BUILD_ROOT%{_libdir}/%{name}/program
1046 install -d $RPM_BUILD_ROOT{%{_datadir}/mimelnk/application,%{_pixmapsdir}}
1048 cp -a build/OOO_%{dfullver}/sysui/desktop/gnome/icons/*/*.png $RPM_BUILD_ROOT%{_pixmapsdir}
1049 cp -a build/OOO_%{dfullver}/sysui/desktop/gnome/icons/*.png $RPM_BUILD_ROOT%{_pixmapsdir}
1050 cp -a build/OOO_%{dfullver}/sysui/desktop/kde/vnd*.desktop $RPM_BUILD_ROOT%{_datadir}/mimelnk/application
1052 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/share/kde
1053 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/share/cde
1054 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/share/gnome
1055 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/share/icons
1056 rm -rf $RPM_BUILD_ROOT%{_datadir}/applnk
1057 rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome
1059 # Remove dictionaries (in separate pkg)
1060 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/share/dict/ooo/*
1061 touch $RPM_BUILD_ROOT%{_libdir}/%{name}/share/dict/ooo/dictionary.lst
1063 # OOo should not install the Vera fonts, they are Required: now
1064 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/share/fonts/truetype/*
1066 # Copy fixed OpenSymbol to correct location
1067 install -d $RPM_BUILD_ROOT%{_datadir}/fonts/openoffice
1068 cp fonts/opens___.ttf $RPM_BUILD_ROOT%{_datadir}/fonts/openoffice
1069 # %%ghost the fonts.cache-1 file
1070 touch $RPM_BUILD_ROOT%{_datadir}/fonts/openoffice/fonts.cache-1
1072 # We don't need spadmin (gtk) or the setup application
1073 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/setup
1074 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/program/crash_report.bin
1075 rm -f $RPM_BUILD_ROOT%{_datadir}/applications/openoffice-setup.desktop
1076 rm -f $RPM_BUILD_ROOT%{_datadir}/applications/openoffice-printeradmin.desktop
1078 # Remove some python cruft
1079 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/program/python-core-*/lib/test
1081 rm -rf $RPM_BUILD_ROOT%{_datadir}/applnk
1082 rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome
1084 #rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/program/gnomeint
1086 # some libs creep in somehow
1087 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/program/filter/libfreetype.so*
1088 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/program/libstl*.so*
1090 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/program/sopatchlevel.sh
1091 perl -pi -e 's/^[ ]*LD_LIBRARY_PATH/# LD_LIBRARY_PATH/;s/export LD_LIBRARY_PATH/# export LD_LIBRARY_PATH/' \
1092 $RPM_BUILD_ROOT%{_libdir}/%{name}/program/setup
1095 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/program/setup.log
1097 # Remove copied system libraries
1098 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/program/libgcc_s.so* \
1099 $RPM_BUILD_ROOT%{_libdir}/%{name}/program/libstdc++*so*
1104 for lang in $RPM_BUILD_ROOT%{_libdir}/%{name}/share/registry/res/*; do
1105 [ ! -d "$lang" ] && continue
1106 langlist="$langlist $(echo "$lang" | sed -e 's#.*/\(.*\)#\1#g')"
1108 for lang in $RPM_BUILD_ROOT%{_libdir}/%{name}/help/*; do
1109 [ ! -d "$lang" ] && continue
1110 langlist="$langlist $(echo "$lang" | sed -e 's#.*/\(.*\)#\1#g')"
1112 langlist=$(echo "$langlist" | tr ' ' '\n' | sort | uniq)
1113 slanglist=$(echo "$langlist" | awk -F_ ' { print $1 } ' | awk -F- ' { print $1 } ' | sort | uniq | xargs)
1115 for lang in $slanglist; do
1116 echo "%%defattr(644,root,root,755)" >> ${lang}.lang
1119 if (ls $RPM_BUILD_ROOT%{_libdir}/%{name}/help/*${lang}* 2> /dev/null); then
1120 echo "%{_libdir}/%{name}/help/*${lang}*" >> ${lang}.lang
1121 perl -pi -e "s#.*%{_libdir}/%{name}/help/.*${lang}.*##g" build/lang_*_list.txt
1125 if (ls $RPM_BUILD_ROOT%{_libdir}/%{name}/share/registry/res/*${lang}* 2> /dev/null); then
1126 echo "%{_libdir}/%{name}/share/registry/res/*${lang}*" >> ${lang}.lang
1127 perl -pi -e "s#.*%{_libdir}/%{name}/share/registry/res/.*${lang}.*##g" build/lang_*_list.txt
1130 # files from lang_*_list.txt
1131 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
1135 # things not catched by automation above
1136 echo "%{_libdir}/%{name}/program/resource/*%{subver}01.res" >> en.lang
1137 echo "%{_libdir}/%{name}/share/wordbook/english" >> en.lang
1138 echo "%{_libdir}/%{name}/share/autocorr/acor1033.dat" >> en.lang
1139 echo "%{_libdir}/%{name}/share/autocorr/acor2057.dat" >> en.lang
1141 find $RPM_BUILD_ROOT -type f -name '*.so' -exec chmod 755 "{}" ";"
1142 chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/program/*
1145 rm -rf $RPM_BUILD_ROOT
1148 fontpostinst TTF %{_fontsdir}/%{name}
1151 fontpostinst TTF %{_fontsdir}/%{name}
1154 if [ -f %{_libdir}/%{name}/program/libvcl%{subver}li-kde.so ]; then
1155 ln -sf libvcl%{subver}li-kde.so %{_libdir}/%{name}/program/libvcl%{subver}li.so
1157 if [ -f %{_libdir}/%{name}/program/libvcl%{subver}li-gtk.so ]; then
1158 ln -sf libvcl%{subver}li-gtk.so %{_libdir}/%{name}/program/libvcl%{subver}li.so
1162 rm -f %{_libdir}/%{name}/program/libvcl%{subver}li.so
1165 ln -sf libvcl%{subver}li-kde.so %{_libdir}/%{name}/program/libvcl%{subver}li.so
1168 rm -f %{_libdir}/%{name}/program/libvcl%{subver}li.so
1171 ln -sf libvcl%{subver}li-gtk.so %{_libdir}/%{name}/program/libvcl%{subver}li.so
1174 %defattr(644,root,root,755)
1175 %doc %{_libdir}/%{name}/LICENSE*
1176 %doc %{_libdir}/%{name}/*README*
1178 %dir %{_sysconfdir}/openoffice
1179 %config %{_sysconfdir}/openoffice/autoresponse.conf
1181 %{_desktopdir}/*.desktop
1182 %{_pixmapsdir}/*.png
1184 %attr(755,root,root) %{_libdir}/%{name}/install-dict
1186 %{_libdir}/%{name}/program/*.rdb
1187 %{_libdir}/%{name}/program/*.bmp
1188 %{_libdir}/%{name}/program/user_registry.xsl
1189 %{_libdir}/%{name}/program/sofficerc
1190 %{_libdir}/%{name}/program/unorc
1191 %{_libdir}/%{name}/program/bootstraprc
1192 %{_libdir}/%{name}/program/configmgrrc
1193 %{_libdir}/%{name}/program/instdb.ins
1195 %dir %{_libdir}/%{name}/program/resource
1197 %dir %{_libdir}/%{name}/help
1198 %{_libdir}/%{name}/help/en
1199 %{_libdir}/%{name}/help/main_transform.xsl
1201 %dir %{_libdir}/%{name}/share
1202 %dir %{_libdir}/%{name}/share/autocorr
1203 %dir %{_libdir}/%{name}/share/autotext
1204 %{_libdir}/%{name}/share/basic
1205 %{_libdir}/%{name}/share/config
1206 %dir %{_libdir}/%{name}/share/dict
1207 %dir %{_libdir}/%{name}/share/dict/ooo
1208 %{_libdir}/%{name}/share/dtd
1209 %{_libdir}/%{name}/share/fonts
1210 %{_libdir}/%{name}/share/gallery
1211 %{_libdir}/%{name}/share/psprint
1212 %{_libdir}/%{name}/share/samples
1213 %dir %{_libdir}/%{name}/share/template
1214 %dir %{_libdir}/%{name}/share/wordbook
1215 %{_libdir}/%{name}/share/readme
1217 %dir %{_libdir}/%{name}/share/registry
1218 %dir %{_libdir}/%{name}/share/registry/res
1219 %{_libdir}/%{name}/share/registry/data
1220 %{_libdir}/%{name}/share/registry/schema
1222 %{_libdir}/%{name}/share/autotext/english
1223 %{_libdir}/%{name}/share/template/english
1224 %ghost %{_libdir}/%{name}/share/dict/ooo/dictionary.lst
1226 %dir %{_libdir}/%{name}/user
1227 %dir %{_libdir}/%{name}/user/autotext
1228 %{_libdir}/%{name}/user/basic
1229 %{_libdir}/%{name}/user/config
1230 %{_libdir}/%{name}/user/database
1231 %{_libdir}/%{name}/user/gallery
1232 %{_libdir}/%{name}/user/psprint
1234 %{_libdir}/%{name}/user/autotext/english
1237 %attr(755,root,root) %{_bindir}/oo*
1238 %attr(755,root,root) %{_libdir}/%{name}/spadmin
1239 %attr(755,root,root) %{_libdir}/%{name}/program/*.bin
1240 %attr(755,root,root) %{_libdir}/%{name}/program/nswrapper
1241 %attr(755,root,root) %{_libdir}/%{name}/program/ooovirg
1242 %attr(755,root,root) %{_libdir}/%{name}/program/pagein*
1243 %attr(755,root,root) %{_libdir}/%{name}/program/python.sh
1244 %attr(755,root,root) %{_libdir}/%{name}/program/pythonloader.unorc
1245 %attr(755,root,root) %{_libdir}/%{name}/program/pyunorc
1246 %attr(755,root,root) %{_libdir}/%{name}/program/regcomp
1247 %attr(755,root,root) %{_libdir}/%{name}/program/sagenda
1248 %attr(755,root,root) %{_libdir}/%{name}/program/scalc
1249 %attr(755,root,root) %{_libdir}/%{name}/program/sdraw
1250 %attr(755,root,root) %{_libdir}/%{name}/program/setup
1251 %{_libdir}/%{name}/program/setuprc
1252 %attr(755,root,root) %{_libdir}/%{name}/program/sfax
1253 %attr(755,root,root) %{_libdir}/%{name}/program/simpress
1254 %attr(755,root,root) %{_libdir}/%{name}/program/slabel
1255 %attr(755,root,root) %{_libdir}/%{name}/program/sletter
1256 %attr(755,root,root) %{_libdir}/%{name}/program/smaster
1257 %attr(755,root,root) %{_libdir}/%{name}/program/smath
1258 %attr(755,root,root) %{_libdir}/%{name}/program/smemo
1259 %attr(755,root,root) %{_libdir}/%{name}/program/soffice
1260 %attr(755,root,root) %{_libdir}/%{name}/program/spadmin
1261 %attr(755,root,root) %{_libdir}/%{name}/program/svcard
1262 %attr(755,root,root) %{_libdir}/%{name}/program/sweb
1263 %attr(755,root,root) %{_libdir}/%{name}/program/swriter
1264 %attr(755,root,root) %{_libdir}/%{name}/program/*.py
1267 %attr(755,root,root) %{_libdir}/%{name}/program/javaldx
1268 %attr(755,root,root) %{_libdir}/%{name}/program/jvmsetup
1269 %{_libdir}/%{name}/program/classes
1270 %{_libdir}/%{name}/share/xslt
1274 %defattr(644,root,root,755)
1275 %dir %{_libdir}/%{name}
1276 %dir %{_libdir}/%{name}/program
1277 %dir %{_libdir}/%{name}/program/filter
1279 %attr(755,root,root) %{_libdir}/%{name}/program/*.so
1280 %exclude %{_libdir}/%{name}/program/libvcl*.so
1281 %attr(755,root,root) %{_libdir}/%{name}/program/*.so.*
1282 %attr(755,root,root) %{_libdir}/%{name}/program/filter/*.so
1284 %dir %{_datadir}/fonts/openoffice
1285 %{_datadir}/fonts/openoffice/*.ttf
1286 %ghost %{_datadir}/fonts/openoffice/fonts.cache-1
1289 %defattr(644,root,root,755)
1290 %attr(755,root,root) %{_libdir}/%{name}/program/libvcl*kde.so
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_libdir}/%{name}/program/libvcl*gtk.so
1295 %attr(755,root,root) %{_libdir}/%{name}/program/getstyle-gnome
1296 %attr(755,root,root) %{_libdir}/%{name}/program/msgbox-gnome
1299 %defattr(644,root,root,755)
1300 %{_datadir}/mimelnk/application/*