/[packages]/cauldron/libreoffice/pristine/SPECS/libreoffice.spec
ViewVC logotype

Diff of /cauldron/libreoffice/pristine/SPECS/libreoffice.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 632807 by fwang, Wed Jun 4 06:42:03 2014 UTC revision 658499 by tv, Thu Jul 31 10:36:01 2014 UTC
# Line 1  Line 1 
1  # download path contains version without the last (fourth) digit  # download path contains version without the last (fourth) digit
2  %define libo_version 4.2.4  %define libo_version 4.3.0
3  # Should contain .alphaX / .betaX, if this is pre-release (actually  # Should contain .alphaX / .betaX, if this is pre-release (actually
4  # pre-RC) version. The pre-release string is part of tarball file names,  # pre-RC) version. The pre-release string is part of tarball file names,
5  # so we need a way to define it easily at one place.  # so we need a way to define it easily at one place.
# Line 15  Line 15 
15  %define external_url http://dev-www.libreoffice.org/src/  %define external_url http://dev-www.libreoffice.org/src/
16    
17  # get english only and no-langpacks for a faster smoketest build  # get english only and no-langpacks for a faster smoketest build
18    # fedpkg compile/install/local/mockbuild does not handle --without ATM,
19    # so it is necessary to change this to bcond_with to achieve the same
20    # effect
21  %bcond_without langpacks  %bcond_without langpacks
22    
23  %define system_boost 1  # remove workdir at the end of %%build, to allow build on space-constrained machines
24    %ifarch s390 s390x
25    %bcond_without smallbuild
26    %else
27    %bcond_with smallbuild
28    %endif
29    
30  # generated by %%langpack definitions  # generated by %%langpack definitions
31  %global langpack_langs %{nil}  %global langpack_langs %{nil}
32    
33    %global bundling_options %{nil}
34    
35  %global build_gtk3 1  %global build_gtk3 1
36  %global build_kde 1  %global build_kde 1
37    %define system_boost 1
38    
39  %define with_mergedlibs 0  %define with_mergedlibs 0
40  %define _requires_exceptions libjawt.so\\|libmyspell.so\\|libstlport_gcc.so\\|libmono.so\\|mono\\|devel(libstlport_gcc)\\|libxmlreader.so\\|libcomphelp4gcc3.so\\|devel(libreglo)\\|devel(libxmlreaderlo)\\|devel(libreglo(64bit))\\|devel(libxmlreaderlo(64bit))\\|devel(libunoidllo)\\|devel(libunoidllo(64bit))  %define _requires_exceptions libjawt.so\\|libmyspell.so\\|libstlport_gcc.so\\|libmono.so\\|mono\\|devel(libstlport_gcc)\\|libxmlreader.so\\|libcomphelp4gcc3.so\\|devel(libreglo)\\|devel(libxmlreaderlo)\\|devel(libreglo(64bit))\\|devel(libxmlreaderlo(64bit))\\|devel(libunoidllo)\\|devel(libunoidllo(64bit))
# Line 33  Line 44 
44  %define _enable_debug_packages 0  %define _enable_debug_packages 0
45    
46  Name:           libreoffice  Name:           libreoffice
47  Version:        %{libo_version}.2  Version:        %{libo_version}.4
48  Release:        %mkrel 6%{?libo_prerelease}  Release:        %mkrel 1%{?libo_prerelease}
49  Summary:        Free Software Productivity Suite  Summary:        Free Software Productivity Suite
50  License:        (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0  License:        (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0
51  Group:          Office/Suite  Group:          Office/Suite
# Line 45  Source1:        %{source_url}/libreoffic Line 56  Source1:        %{source_url}/libreoffic
56  Source2:        %{source_url}/libreoffice-translations-%{version}%{?libo_prerelease}.tar.xz  Source2:        %{source_url}/libreoffice-translations-%{version}%{?libo_prerelease}.tar.xz
57  Source3:        http://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll  Source3:        http://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll
58  Source4:        libreoffice-multiliblauncher.sh  Source4:        libreoffice-multiliblauncher.sh
59  Source5:        %{external_url}/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz  Source5:        %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
60  Source6:        %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip  Source6:        %{external_url}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz
61  Source7:        %{external_url}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz  Source7:        %{external_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
62  Source8:        %{external_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip  Source8:        %{external_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
63  Source9:        %{external_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip  
64  #Unfortunately later versions of hsqldb changed the file format, so if we use a later version we loose  #Unfortunately later versions of hsqldb changed the file format, so if we use a later version we loose
65  #backwards compatability.  #backwards compatability.
66  Source10:       %{external_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip  Source9:        %{external_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
 Source28:       %{external_url}/f02578f5218f217a9f20e9c30e119c6a-boost_1_44_0.tar.bz2  
67    
68  # build tools  # build tools
69  BuildRequires: autoconf  BuildRequires: autoconf
# Line 72  BuildRequires: icu Line 82  BuildRequires: icu
82  BuildRequires: make  BuildRequires: make
83  BuildRequires: perl(Archive::Zip)  BuildRequires: perl(Archive::Zip)
84  BuildRequires: perl(Digest::MD5)  BuildRequires: perl(Digest::MD5)
85    BuildRequires: ucpp
86  # (tv) for xmllint:  # (tv) for xmllint:
87  BuildRequires: libxml2-utils  BuildRequires: libxml2-utils
88  BuildRequires: zip  BuildRequires: zip
89    
90  # libs / headers  # libs / headers - common
 BuildRequires: pkgconfig(gconf-2.0)  
 BuildRequires: pkgconfig(bluez)  
 %if 0%{?system_boost}  
 BuildRequires: boost-devel  
 %endif  
 BuildRequires: pkgconfig(libclucene-core)  
 BuildRequires: pkgconfig(cppunit)  
91  BuildRequires: cups-devel  BuildRequires: cups-devel
 BuildRequires: pkgconfig(dbus-glib-1)  
 BuildRequires: pkgconfig(evolution-data-server-1.2)  
92  BuildRequires: pkgconfig(expat)  BuildRequires: pkgconfig(expat)
 BuildRequires: firebird-devel  
 BuildRequires: firebird-server-common  
93  BuildRequires: fontpackages-devel  BuildRequires: fontpackages-devel
94    BuildRequires: hyphen-devel
95    BuildRequires: libicu-devel
96    BuildRequires: lpsolve-devel
97    BuildRequires: openldap-devel
98    BuildRequires: pam-devel
99    BuildRequires: pkgconfig(cppunit)
100    BuildRequires: pkgconfig(dbus-glib-1)
101    BuildRequires: pkgconfig(evolution-data-server-1.2)
102  BuildRequires: pkgconfig(freetype2)  BuildRequires: pkgconfig(freetype2)
 BuildRequires: pkgconfig(graphite2)  
 BuildRequires: pkgconfig(gstreamer-1.0)  
103  %if %{build_gtk3}  %if %{build_gtk3}
104  BuildRequires: gtk+3-devel  BuildRequires: gtk+3-devel
105  %endif  %endif
106  BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)  BuildRequires: pkgconfig(gconf-2.0)
107  BuildRequires: pkgconfig(harfbuzz)  BuildRequires: pkgconfig(glu)
108  BuildRequires: pkgconfig(gtk+-2.0)  BuildRequires: pkgconfig(gtk+-2.0)
109  BuildRequires: pkgconfig(hunspell)  BuildRequires: pkgconfig(hunspell)
 BuildRequires: hyphen-devel  
110  %if %{build_kde}  %if %{build_kde}
111  BuildRequires: kdelibs4-devel  BuildRequires: kdelibs4-devel
112  %endif  %endif
113  BuildRequires: pkgconfig(glu)  BuildRequires: pkgconfig(glu)
114  BuildRequires: pkgconfig(ice)  BuildRequires: pkgconfig(ice)
115    BuildRequires: pkgconfig(libcurl)
116    BuildRequires: pkgconfig(libidn)
117    BuildRequires: pkgconfig(libxml-2.0)
118    BuildRequires: pkgconfig(libxslt)
119    BuildRequires: pkgconfig(neon)
120    BuildRequires: pkgconfig(nss)
121    BuildRequires: pkgconfig(poppler)
122    BuildRequires: pkgconfig(redland)
123    BuildRequires: pkgconfig(sane-backends)
124  BuildRequires: pkgconfig(xext)  BuildRequires: pkgconfig(xext)
125    BuildRequires: pkgconfig(xinerama)
126  BuildRequires: pkgconfig(xt)  BuildRequires: pkgconfig(xt)
127    BuildRequires: pkgconfig(zlib)
128    BuildRequires: unixODBC-devel
129    BuildRequires: vigra-devel
130    
131  BuildRequires: pkgconfig(libcdr-0.0)  BuildRequires: pkgconfig(libcdr-0.0)
132  BuildRequires: pkgconfig(libabw-0.0)  # libs / headers - conditional
133    BuildRequires: firebird-devel
134    BuildRequires: firebird-server-common
135    BuildRequires: glm-devel
136    BuildRequires: kdelibs4-devel
137    BuildRequires: pkgconfig(glew)
138    BuildRequires: pkgconfig(libabw-0.1)
139    BuildRequires: pkgconfig(libcdr-0.1)
140  BuildRequires: pkgconfig(libcmis-0.4)  BuildRequires: pkgconfig(libcmis-0.4)
141  BuildRequires: pkgconfig(libe-book-0.0)  BuildRequires: pkgconfig(libe-book-0.1)
142  BuildRequires: pkgconfig(libeot)  BuildRequires: pkgconfig(libeot)
143  BuildRequires: pkgconfig(libetonyek-0.0)  BuildRequires: pkgconfig(libetonyek-0.1)
144  BuildRequires: pkgconfig(libfreehand-0.0)  BuildRequires: pkgconfig(libfreehand-0.1)
145  BuildRequires: pkgconfig(libmwaw-0.2)  BuildRequires: pkgconfig(libmspub-0.1)
146  BuildRequires: pkgconfig(libodfgen-0.0)  BuildRequires: pkgconfig(libmwaw-0.3)
147    BuildRequires: pkgconfig(libodfgen-0.1)
148    BuildRequires: pkgconfig(liborcus-0.8)
149    BuildRequires: pkgconfig(librevenge-0.0)
150    BuildRequires: pkgconfig(libvisio-0.1)
151    BuildRequires: pkgconfig(libwpd-0.10)
152    BuildRequires: pkgconfig(libwpg-0.3)
153    BuildRequires: pkgconfig(libwps-0.3)
154  BuildRequires: pkgconfig(mdds)  BuildRequires: pkgconfig(mdds)
155  BuildRequires: pkgconfig(libcurl)  
156    %if 0%{?system_boost}
157    BuildRequires: boost-devel
158    %endif
159    BuildRequires: pkgconfig(graphite2)
160    BuildRequires: pkgconfig(harfbuzz)
161    BuildRequires: pkgconfig(lcms2)
162    BuildRequires: pkgconfig(libclucene-core)
163  BuildRequires: pkgconfig(libexttextcat)  BuildRequires: pkgconfig(libexttextcat)
 BuildRequires: pkgconfig(icu-lx)  
 BuildRequires: pkgconfig(libidn)  
 BuildRequires: libjpeg-devel  
164  BuildRequires: pkgconfig(liblangtag)  BuildRequires: pkgconfig(liblangtag)
 BuildRequires: pkgconfig(libmspub-0.0)  
 BuildRequires: pkgconfig(liborcus-0.6)  
 BuildRequires: pkgconfig(libvisio-0.0)  
 BuildRequires: pkgconfig(libwpd-0.9)  
 BuildRequires: pkgconfig(libwpg-0.2)  
 BuildRequires: pkgconfig(libwps-0.2)  
 BuildRequires: pkgconfig(libxml-2.0)  
 BuildRequires: pkgconfig(libxslt)  
 BuildRequires: lpsolve-devel  
165  BuildRequires: pkgconfig(mythes)  BuildRequires: pkgconfig(mythes)
 BuildRequires: pkgconfig(neon)  
 BuildRequires: pkgconfig(nss)  
 BuildRequires: openldap-devel  
 BuildRequires: pam-devel  
166  BuildRequires: pkgconfig(poppler-cpp)  BuildRequires: pkgconfig(poppler-cpp)
167    BuildRequires: postgresql-devel
168    
169    # libs / headers - special cases
170    BuildRequires: pkgconfig(gstreamer-1.0)
171    BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
172    
173    BuildRequires: libjpeg-devel
174    
175    BuildRequires: pkgconfig(bluez)
176  BuildRequires: pkgconfig(poppler)  BuildRequires: pkgconfig(poppler)
177  BuildRequires: pkgconfig(python3)  BuildRequires: pkgconfig(python3)
 BuildRequires: pkgconfig(redland)  
178  BuildRequires: rsync  BuildRequires: rsync
 BuildRequires: pkgconfig(sane-backends)  
 BuildRequires: unixODBC-devel  
 BuildRequires: vigra-devel  
 BuildRequires: pkgconfig(zlib)  
179    
180  # java stuff  # java stuff
181  BuildRequires: ant  BuildRequires: ant
# Line 176  Requires: %{name}-writer = %{version} Line 204  Requires: %{name}-writer = %{version}
204  Provides:  openoffice.org = 1:%{version}-%{release}  Provides:  openoffice.org = 1:%{version}-%{release}
205    
206  # Fedora patches  # Fedora patches
207  Patch1:  openoffice.org-2.0.2.rh188467.printingdefaults.patch  # not upstreamed
208  Patch2:  openoffice.org-2.4.0.ooo86080.unopkg.bodge.patch  Patch0:  openoffice.org-2.4.0.ooo86080.unopkg.bodge.patch
209  Patch3:  openoffice.org-3.0.0.ooo88341.sc.verticalboxes.patch  # not upstreamed
210  Patch4:  openoffice.org-3.1.0.oooXXXXX.solenv.allowmissing.patch  Patch1:  openoffice.org-3.1.0.oooXXXXX.solenv.allowmissing.patch
211  Patch5:  openoffice.org-3.1.0.ooo101274.opening-a-directory.patch  # not upstreamed
212  Patch6:  libreoffice-installfix.patch  Patch2:  libreoffice-installfix.patch
213  # patches 7-11 are RHEL specific @RH/FC  # patches 7-11 are RHEL specific @RH/FC
214  Patch12: 0001-Related-rhbz-1032774-bodge-around-reported-NULL-valu.patch  # not upstreamed
215  Patch13: 0001-Resolves-rhbz-1035092-no-shortcut-key-for-Italian-To.patch  Patch10: 0001-Resolves-rhbz-1035092-no-shortcut-key-for-Italian-To.patch
216  Patch14: 0001-Resolves-rhbz-912529-Kerkis-SmallCaps-shown-instead-.patch  # not upstreamed
217  Patch15: 0001-disable-firebird-unit-test.patch  Patch11: 0001-disable-firebird-unit-test.patch
218  Patch16: 0001-never-run-autogen.sh.patch  # not upstreamed
219  Patch17: 0001-Related-rhbz-1065807-rework-i66157-for-multiple-writ.patch  Patch12: 0001-never-run-autogen.sh.patch
220  Patch18: 0001-Resolves-rhbz-1065807-use-xdg-Templates-for-default-.patch  # not upstreamed
221  Patch19: 0001-rhbz-1057977-avoid-use-of-invalidated-pointers.patch  Patch13: 0001-add-X-TryExec-entries-to-desktop-files.patch
222  Patch20: 0001-KDE-don-t-throw-on-TemplatePathVariable.patch  # not upstreamed
223  Patch21: 0001-Wizards-should-look-for-templates-in-Template_intern.patch  Patch14: 0001-disable-PSD-import-test-which-deadlocks-on-ARM.patch
224  Patch22: 0001-actively-search-for-wizards-dir-in-all-internal-temp.patch  Patch15: 0001-rhbz-1111216-allow-to-export-an-empty-sheet-to-PDF.patch
225  Patch23: 0001-Change-SDK-javaodc-from-static-Package-to-dynamic-Ge.patch  Patch16: 0001-allow-build-with-icu-4.2.patch
226  Patch24: 0001-Package-GeneratedPackage-fixup.patch  Patch17: 0001-avoid-problems-detecting-HTML-files-with-.xls-ext.patch
227  Patch25: 0001-Related-rhbz-1075951-abrt-crash-in-MSWordExportBase-.patch  Patch18: 0001-scrolling-very-slow-in-calc.patch
228  Patch26: 0001-drop-OnlyShowIn-from-.desktop-files.patch  Patch19: 0001-Related-rhbz-1117853-nStartPara-of-EE_PARA_NOT_FOUND.patch
229  Patch27: 0001-Resolves-rhbz-1081176-don-t-jump-to-cursor-pos-when.patch  Patch20: 0001-Resolves-fdo-81487-pasting-into-outline-view-crashes.patch
230  Patch28: 0001-prevent-KDE-Qt-from-interfering-with-the-session-man.patch  Patch21: 0001-fdo-81113-always-run-the-actual-detection.patch
231  Patch29: 0001-Resolves-fdo-36815-enable-printing-WYSIWYG-sidewindo.patch  Patch22: 0001-Resolves-i125289-do-apply-possible-changed-GraphicSt.patch
232  Patch30: 0001-Related-fdo-36815-print-the-text-highlight-range-as-.patch  Patch23: 0001-rhbz-1121254-reload-font-list-from-shell-on-change.patch
 Patch31: 0001-Resolves-rhbz-1086714-overlarge-pixmap.patch  
 Patch32: 0001-Resolves-rhbz-1089377-crash-on-loading-a-specific-rt.patch  
 Patch33: 0001-add-a-format-all-comments-feature.patch  
 Patch34: 0001-Resolves-fdo-37130-use-10pt-Default-style-font-for-c.patch  
 Patch35: 0001-Related-fdo-36815-center-scaled-comment-page-vertica.patch  
 Patch36: 0001-Resolves-fdo-78128-go-back-to-using-an-interim-metaf.patch  
 Patch37: 0001-Related-rhbz-1032774-slide-restarter-should-disable-.patch  
 Patch38: 0001-add-X-TryExec-entries-to-desktop-files.patch  
 Patch39: 0001-resolved-fdo-78294-default-null-date-for-document-im.patch  
 Patch40: 0001-Related-fdo-36815-clip-overlarge-comment-contents.patch  
233    
234  #Mageia Patch  #Mageia Patch
235  # fix build with icu-5.3:  # fix build with icu-5.3:
# Line 831  Rules for auto-correcting common %{langn Line 849  Rules for auto-correcting common %{langn
849  %langpack -l bg -n Bulgarian -F -H -Y -M -A -T -X -o bg_BG -V -w bg_BG  %langpack -l bg -n Bulgarian -F -H -Y -M -A -T -X -o bg_BG -V -w bg_BG
850  %langpack -l bn -n Bengali -F -H -Y -T -O -v bn_IN -W  %langpack -l bn -n Bengali -F -H -Y -T -O -v bn_IN -W
851  %langpack -l br -n Breton -F -H -T  %langpack -l br -n Breton -F -H -T
852  %langpack -l ca -n Catalan -F -H -Y -M -A -T -o ca_ES -V -w ca_ES  %langpack -l ca -n Catalan -F -H -Y -M -A -T -o ca_ES -V -w ca_ES -X
853  %langpack -l cs -n Czech -F -H -Y -M -A -T -X -o cs_CZ -V -w cs_CZ  %langpack -l cs -n Czech -F -H -Y -M -A -T -X -o cs_CZ -V -w cs_CZ
854  %langpack -l cy -n Welsh -F -H -Y -o cy_GB -V -w cy_GB  %langpack -l cy -n Welsh -F -H -Y -o cy_GB -V -w cy_GB
855  %langpack -l da -n Danish -F -H -Y -M -A -T -X -o da_DK -V -w da_DK  %langpack -l da -n Danish -F -H -Y -M -A -T -X -o da_DK -V -w da_DK
# Line 841  Rules for auto-correcting common %{langn Line 859  Rules for auto-correcting common %{langn
859  %langpack -l es -n Spanish -F -H -Y -M -A -T -X -O -W  %langpack -l es -n Spanish -F -H -Y -M -A -T -X -O -W
860  %langpack -l et -n Estonian -F -H -Y -T -o et_EE -V -w et_EE  %langpack -l et -n Estonian -F -H -Y -T -o et_EE -V -w et_EE
861  %langpack -l eu -n Basque -F -H -Y -T -o eu_ES -V -w eu_ES  %langpack -l eu -n Basque -F -H -Y -T -o eu_ES -V -w eu_ES
862  %langpack -l fa -n Farsi -A -H -Y -s ctl  %langpack -l fa -n Farsi -A -H -Y -s ctl -X
863  %langpack -l fi -n Finnish -F -r libreoffice-voikko -A -T -o fi_FI -V -w fi_FI  %langpack -l fi -n Finnish -F -r libreoffice-voikko -A -T -o fi_FI -V -w fi_FI -X
864  %langpack -l fr -n French -F -H -Y -M -A -T -X -O -W  %langpack -l fr -n French -F -H -Y -M -A -T -X -O -W
865  %langpack -l ga -n Irish -F -H -Y -M -A -o ga_IE -w ga_IE  %langpack -l ga -n Irish -F -H -Y -M -A -o ga_IE -w ga_IE
866  %langpack -l gl -n Galician -F -H -Y -T -o gl_ES -V -w gl_ES  %langpack -l gl -n Galician -F -H -Y -T -o gl_ES -V -w gl_ES
867  %langpack -l gu -n Gujarati -F -H -Y -s ctl -o gu_IN -w gu_IN -T  %langpack -l gu -n Gujarati -F -H -Y -s ctl -o gu_IN -w gu_IN -T
868  %langpack -l he -n Hebrew -F -H -s ctl -o he_IL -V -w he_IL -T  %langpack -l he -n Hebrew -F -H -s ctl -o he_IL -V -w he_IL -T
869  %langpack -l hi -n Hindi -F -H -Y -s ctl -T -o hi_IN -v hi-IN -w hi_IN  %langpack -l hi -n Hindi -F -H -Y -s ctl -T -o hi_IN -v hi-IN -w hi_IN -X
870  %langpack -l hr -n Croatian -F -H -Y -A -o hr_HR -V -w hr_HR -T  %langpack -l hr -n Croatian -F -H -Y -A -o hr_HR -V -w hr_HR -T -X
871  %langpack -l hu -n Hungarian -F -H -Y -M -A -T -X -o hu_HU -V -w hu_HU  %langpack -l hu -n Hungarian -F -H -Y -M -A -T -X -o hu_HU -V -w hu_HU
872  %langpack -l it -n Italian -F -H -Y -M -A -T -X -O -W  %langpack -l it -n Italian -F -H -Y -M -A -T -X -O -W
873  %langpack -l ja -n Japanese -F -A -s cjk -T -X -o ja_JP -V -w ja_JP  %langpack -l ja -n Japanese -F -A -s cjk -T -X -o ja_JP -V -w ja_JP
874  %langpack -l kk -n Kazakh -F -H  %langpack -l kk -n Kazakh -F -H
875  %langpack -l kn -n Kannada -F -H -Y -o kn_IN -w ka_IN  %langpack -l kn -n Kannada -F -H -Y -o kn_IN -w ka_IN
876  %langpack -l ko -n Korean -F -H -A -s cjk -T -c korea -X -o ko_KR -V -w ko_KR  %langpack -l ko -n Korean -F -H -A -s cjk -T -c korea -X -o ko_KR -V -w ko_KR
877  %langpack -l lt -n Lithuanian -F -H -Y -A -o lt_LT -V -w lt_LT  %langpack -l lt -n Lithuanian -F -H -Y -A -o lt_LT -V -w lt_LT -X
878  %langpack -l lv -n Latvian -F -H -Y -M  %langpack -l lv -n Latvian -F -H -Y -M
879  %langpack -l mai -n Maithili -F -o mai_IN  %langpack -l mai -n Maithili -F -o mai_IN
880  %langpack -l ml -n Malayalam -F -H -Y -o ml_IN -w ml_IN  %langpack -l ml -n Malayalam -F -H -Y -o ml_IN -w ml_IN
# Line 874  Rules for auto-correcting common %{langn Line 892  Rules for auto-correcting common %{langn
892  %define langpack_lang Brazilian Portuguese  %define langpack_lang Brazilian Portuguese
893  %langpack -l pt_BR -n %{langpack_lang} -f pt -h pt -y pt -m pt -a pt -p pt_BR -T -X -o pt_BR -V -w pt_BR -L pt-BR -u pt  %langpack -l pt_BR -n %{langpack_lang} -f pt -h pt -y pt -m pt -a pt -p pt_BR -T -X -o pt_BR -V -w pt_BR -L pt-BR -u pt
894  %langpack -l pt -n Portuguese -f pt -h pt -y pt -m pt -a pt -p pt_PT -T -L pt -X -u pt -o pt_PT -v pt -W  %langpack -l pt -n Portuguese -f pt -h pt -y pt -m pt -a pt -p pt_PT -T -L pt -X -u pt -o pt_PT -v pt -W
895  %langpack -l ro -n Romanian -A -F -H -Y -M -O  %langpack -l ro -n Romanian -A -F -H -Y -M -O -X
896  %langpack -l ru -n Russian -F -H -Y -M -A -T -X -O -W  %langpack -l ru -n Russian -F -H -Y -M -A -T -X -O -W
897  %langpack -l si -n Sinhalese -F -H -S ctl -T -O  %langpack -l si -n Sinhalese -F -H -S ctl -T -O
898  %langpack -l sk -n Slovak -F -H -Y -M -A -T -X -o sk_SK -V -w sk_SK  %langpack -l sk -n Slovak -F -H -Y -M -A -T -X -o sk_SK -V -w sk_SK
# Line 1017  export FFLAGS="$(echo $FFLAGS | sed -e ' Line 1035  export FFLAGS="$(echo $FFLAGS | sed -e '
1035  %define with_lang --with-lang='%{langpack_langs}'  %define with_lang --with-lang='%{langpack_langs}'
1036  %endif  %endif
1037    
1038    aclocal -I m4
1039    autoconf
1040    
1041    # TODO: enable gltf?
1042    # TODO: enable coinmp?
1043  # avoid running autogen.sh on make  # avoid running autogen.sh on make
1044  touch autogen.lastrun  touch autogen.lastrun
1045    
# Line 1024  touch autogen.lastrun Line 1047  touch autogen.lastrun
1047   %vendoroption \   %vendoroption \
1048   %{?_smp_mflags:--with-parallelism="`getconf _NPROCESSORS_ONLN`"} \   %{?_smp_mflags:--with-parallelism="`getconf _NPROCESSORS_ONLN`"} \
1049   %{?with_lang} \   %{?with_lang} \
1050     --disable-coinmp \
1051   --disable-fetch-external \   --disable-fetch-external \
1052     --disable-gltf \
1053   --disable-gnome-vfs \   --disable-gnome-vfs \
1054   --disable-openssl \   --disable-openssl \
1055   --enable-dbus \   --enable-dbus \
# Line 1044  touch autogen.lastrun Line 1069  touch autogen.lastrun
1069   --with-help \   --with-help \
1070   --with-system-dicts  \   --with-system-dicts  \
1071   --with-system-libs \   --with-system-libs \
1072   --without-afms \   --with-system-ucpp \
1073   --without-fonts \   --without-fonts \
1074   --without-ppds \   --without-ppds \
1075   --without-system-npapi-headers \   --without-system-npapi-headers \
# Line 1070  export GNOME_MIME_THEME=hicolor Line 1095  export GNOME_MIME_THEME=hicolor
1095  # TODO use empty variables? Should make the renaming hacks in %%install  # TODO use empty variables? Should make the renaming hacks in %%install
1096  # unnecessary.  # unnecessary.
1097  . ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION WORKDIR  . ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION WORKDIR
1098  cd $WORKDIR/CustomTarget/sysui/share/libreoffice  pushd $WORKDIR/CustomTarget/sysui/share/libreoffice
1099  ./create_tree.sh  ./create_tree.sh
1100    popd
1101    mkdir $WORKDIR/os-integration
1102    cp -pr $WORKDIR/CustomTarget/sysui/share/output/usr/share/* $WORKDIR/os-integration
1103    
1104    %if %{with smallbuild}
1105    # remove the biggest offenders
1106    # NOTE: not removing complete LinkTarget, as some libs are needed for smoketest
1107    rm -rf $WORKDIR/CxxObject $WORKDIR/GenCxxObject $WORKDIR/HelpTarget $WORKDIR/LinkTarget/CppunitTest
1108    %endif
1109    
1110  echo build end time is `date`, diskspace: `df -h . | tail -n 1`  echo build end time is `date`, diskspace: `df -h . | tail -n 1`
1111    
# Line 1310  for app in base calc draw impress math w Line 1344  for app in base calc draw impress math w
1344          sed -i -e "s/Icon=$app/Icon=libreoffice-$app/g" %{buildroot}%_datadir/applications/%name-${app}.desktop          sed -i -e "s/Icon=$app/Icon=libreoffice-$app/g" %{buildroot}%_datadir/applications/%name-${app}.desktop
1345  done  done
1346    
1347  pushd $WORKDIR/CustomTarget/sysui/share/output/usr/share  pushd $WORKDIR/os-integration
1348  #get rid of the gnome icons and other unneeded files  #get rid of the gnome icons and other unneeded files
1349  rm -rf icons/gnome applications application-registry  rm -rf icons/gnome applications application-registry
1350    
# Line 1332  rm -rf %{buildroot}%{baseinstdir}/readme Line 1366  rm -rf %{buildroot}%{baseinstdir}/readme
1366  rm -rf %{buildroot}%{baseinstdir}/licenses  rm -rf %{buildroot}%{baseinstdir}/licenses
1367    
1368  mkdir -p %{buildroot}%{baseinstdir}/share/psprint/driver  mkdir -p %{buildroot}%{baseinstdir}/share/psprint/driver
1369  cp -p psprint_config/configuration/ppds/SGENPRT.PS %{buildroot}%{baseinstdir}/share/psprint/driver/SGENPRT.PS  cp -p vcl/unx/generic/printer/configuration/ppds/SGENPRT.PS %{buildroot}%{baseinstdir}/share/psprint/driver/SGENPRT.PS
1370    
1371  # rhbz#452385 to auto have postgres in classpath if subsequently installed  # rhbz#452385 to auto have postgres in classpath if subsequently installed
1372  sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/postgresql-jdbc.jar#" %{buildroot}%{baseinstdir}/program/fundamentalrc  sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/postgresql-jdbc.jar#" %{buildroot}%{baseinstdir}/program/fundamentalrc
# Line 1421  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI Line 1455  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI
1455  %{baseinstdir}/program/libdeploymentgui.so  %{baseinstdir}/program/libdeploymentgui.so
1456  %{baseinstdir}/program/libdlgprovlo.so  %{baseinstdir}/program/libdlgprovlo.so
1457  %{baseinstdir}/program/libexpwraplo.so  %{baseinstdir}/program/libexpwraplo.so
 %{baseinstdir}/program/libfastsaxlo.so  
1458  %{baseinstdir}/program/flat_logo.svg  %{baseinstdir}/program/flat_logo.svg
1459  %{baseinstdir}/program/libfps_officelo.so  %{baseinstdir}/program/libfps_officelo.so
1460  %{baseinstdir}/program/gdbtrace  %{baseinstdir}/program/gdbtrace
# Line 1429  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI Line 1462  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI
1462  %{baseinstdir}/program/gengal.bin  %{baseinstdir}/program/gengal.bin
1463  %{baseinstdir}/program/gnome-open-url  %{baseinstdir}/program/gnome-open-url
1464  %{baseinstdir}/program/gnome-open-url.bin  %{baseinstdir}/program/gnome-open-url.bin
 %{baseinstdir}/program/libhatchwindowfactorylo.so  
1465  %{baseinstdir}/program/libi18nsearchlo.so  %{baseinstdir}/program/libi18nsearchlo.so
1466  %{baseinstdir}/program/libldapbe2lo.so  %{baseinstdir}/program/libldapbe2lo.so
1467  %{baseinstdir}/program/libacclo.so  %{baseinstdir}/program/libacclo.so
# Line 1505  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI Line 1537  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI
1537  %{baseinstdir}/program/libmtfrendererlo.so  %{baseinstdir}/program/libmtfrendererlo.so
1538  %{baseinstdir}/program/libmysqllo.so  %{baseinstdir}/program/libmysqllo.so
1539  %{baseinstdir}/program/libodbclo.so  %{baseinstdir}/program/libodbclo.so
 %{baseinstdir}/program/libodbcbaselo.so  
1540  %{baseinstdir}/program/liboglcanvaslo.so  %{baseinstdir}/program/liboglcanvaslo.so
1541  %{baseinstdir}/program/liboffacclo.so  %{baseinstdir}/program/liboffacclo.so
1542  %{baseinstdir}/program/libooxlo.so  %{baseinstdir}/program/libooxlo.so
# Line 1525  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI Line 1556  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI
1556  %{baseinstdir}/program/libsdbtlo.so  %{baseinstdir}/program/libsdbtlo.so
1557  %{baseinstdir}/program/libsddlo.so  %{baseinstdir}/program/libsddlo.so
1558  %{baseinstdir}/program/libsduilo.so  %{baseinstdir}/program/libsduilo.so
 %{baseinstdir}/program/libspalo.so  
1559  %{baseinstdir}/program/libspelllo.so  %{baseinstdir}/program/libspelllo.so
1560  %{baseinstdir}/program/libsrtrs1.so  %{baseinstdir}/program/libsrtrs1.so
1561    %{baseinstdir}/program/libstoragefdlo.so
1562  %{baseinstdir}/program/libsvgiolo.so  %{baseinstdir}/program/libsvgiolo.so
1563  %{baseinstdir}/program/libsvxlo.so  %{baseinstdir}/program/libsvxlo.so
1564  %{baseinstdir}/program/libsvxcorelo.so  %{baseinstdir}/program/libsvxcorelo.so
# Line 1536  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI Line 1567  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI
1567  %{baseinstdir}/program/libtextconv_dict.so  %{baseinstdir}/program/libtextconv_dict.so
1568  %{baseinstdir}/program/libtextconversiondlgslo.so  %{baseinstdir}/program/libtextconversiondlgslo.so
1569  %{baseinstdir}/program/libtextfdlo.so  %{baseinstdir}/program/libtextfdlo.so
 %{baseinstdir}/program/libtvhlp1.so  
1570  %{baseinstdir}/program/libodfflatxmllo.so  %{baseinstdir}/program/libodfflatxmllo.so
1571  # TODO: shouldn't it have lo suffix?  # TODO: shouldn't it have lo suffix?
1572  %{baseinstdir}/program/libucbhelper.so  %{baseinstdir}/program/libucbhelper.so
# Line 1603  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI Line 1633  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI
1633  %{baseinstdir}/program/resource/scnen-US.res  %{baseinstdir}/program/resource/scnen-US.res
1634  %{baseinstdir}/program/resource/sden-US.res  %{baseinstdir}/program/resource/sden-US.res
1635  %{baseinstdir}/program/resource/sfxen-US.res  %{baseinstdir}/program/resource/sfxen-US.res
 %{baseinstdir}/program/resource/spaen-US.res  
1636  %{baseinstdir}/program/resource/sdbten-US.res  %{baseinstdir}/program/resource/sdbten-US.res
1637  %{baseinstdir}/program/resource/svlen-US.res  %{baseinstdir}/program/resource/svlen-US.res
1638  %{baseinstdir}/program/resource/svten-US.res  %{baseinstdir}/program/resource/svten-US.res
1639  %{baseinstdir}/program/resource/svxen-US.res  %{baseinstdir}/program/resource/svxen-US.res
1640  %{baseinstdir}/program/resource/swen-US.res  %{baseinstdir}/program/resource/swen-US.res
 %{baseinstdir}/program/resource/textconversiondlgsen-US.res  
1641  %{baseinstdir}/program/resource/tplen-US.res  %{baseinstdir}/program/resource/tplen-US.res
1642  %{baseinstdir}/program/resource/uuien-US.res  %{baseinstdir}/program/resource/uuien-US.res
1643  %{baseinstdir}/program/resource/upden-US.res  %{baseinstdir}/program/resource/upden-US.res
# Line 1623  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI Line 1651  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI
1651  %{baseinstdir}/program/libsimplecanvaslo.so  %{baseinstdir}/program/libsimplecanvaslo.so
1652  %{baseinstdir}/program/libslideshowlo.so  %{baseinstdir}/program/libslideshowlo.so
1653  %{baseinstdir}/program/libsofficeapp.so  %{baseinstdir}/program/libsofficeapp.so
 %{baseinstdir}/program/spadmin.bin  
1654  %{baseinstdir}/program/libstringresourcelo.so  %{baseinstdir}/program/libstringresourcelo.so
1655  %{baseinstdir}/program/libsysshlo.so  %{baseinstdir}/program/libsysshlo.so
1656  %{baseinstdir}/program/libucpcmis1lo.so  %{baseinstdir}/program/libucpcmis1lo.so
# Line 1647  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI Line 1674  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI
1674  %dir %{baseinstdir}/share/config  %dir %{baseinstdir}/share/config
1675  %{baseinstdir}/share/config/images.zip  %{baseinstdir}/share/config/images.zip
1676  %{baseinstdir}/share/config/images_crystal.zip  %{baseinstdir}/share/config/images_crystal.zip
1677    %{baseinstdir}/share/config/images_galaxy.zip
1678  %{baseinstdir}/share/config/images_hicontrast.zip  %{baseinstdir}/share/config/images_hicontrast.zip
1679  %{baseinstdir}/share/config/images_oxygen.zip  %{baseinstdir}/share/config/images_oxygen.zip
1680  %{baseinstdir}/share/config/images_sifr.zip  %{baseinstdir}/share/config/images_sifr.zip
1681  %{baseinstdir}/share/config/images_tango.zip  %{baseinstdir}/share/config/images_tango.zip
 %{baseinstdir}/share/config/psetup.xpm  
 %{baseinstdir}/share/config/psetupl.xpm  
1682  %dir %{baseinstdir}/share/config/soffice.cfg  %dir %{baseinstdir}/share/config/soffice.cfg
1683  %{baseinstdir}/share/config/soffice.cfg/modules  %{baseinstdir}/share/config/soffice.cfg/modules
1684  %if %{with langpacks}  %if %{with langpacks}
# Line 1694  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI Line 1720  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI
1720  %{baseinstdir}/share/wordbook/en-GB.dic  %{baseinstdir}/share/wordbook/en-GB.dic
1721  %{baseinstdir}/share/wordbook/en-US.dic  %{baseinstdir}/share/wordbook/en-US.dic
1722  %{baseinstdir}/share/wordbook/technical.dic  %{baseinstdir}/share/wordbook/technical.dic
 %dir %{baseinstdir}/share/xslt  
 %{baseinstdir}/share/xslt/common  
 %dir %{baseinstdir}/share/xslt/export  
 %{baseinstdir}/share/xslt/export/common  
 %{baseinstdir}/share/xslt/export/spreadsheetml  
 %{baseinstdir}/share/xslt/export/wordml  
 %dir %{baseinstdir}/share/xslt/import  
 %{baseinstdir}/share/xslt/import/common  
 %{baseinstdir}/share/xslt/import/spreadsheetml  
 %{baseinstdir}/share/xslt/import/wordml  
1723  %{baseinstdir}/program/liblnthlo.so  %{baseinstdir}/program/liblnthlo.so
1724  %{_bindir}/unopkg  %{_bindir}/unopkg
1725  %{_mandir}/man1/unopkg.1*  %{_mandir}/man1/unopkg.1*
# Line 1733  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI Line 1749  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI
1749  %{baseinstdir}/program/libsfxlo.so  %{baseinstdir}/program/libsfxlo.so
1750  %{baseinstdir}/program/libsotlo.so  %{baseinstdir}/program/libsotlo.so
1751  %{baseinstdir}/program/libspllo.so  %{baseinstdir}/program/libspllo.so
 %{baseinstdir}/program/libspl_unxlo.so  
1752  %{baseinstdir}/program/libsvllo.so  %{baseinstdir}/program/libsvllo.so
1753  %{baseinstdir}/program/libsvtlo.so  %{baseinstdir}/program/libsvtlo.so
1754  %{baseinstdir}/program/libtklo.so  %{baseinstdir}/program/libtklo.so
# Line 1742  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI Line 1757  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI
1757  %{baseinstdir}/program/libucpfile1.so  %{baseinstdir}/program/libucpfile1.so
1758  %{baseinstdir}/program/libutllo.so  %{baseinstdir}/program/libutllo.so
1759  %{baseinstdir}/program/libvcllo.so  %{baseinstdir}/program/libvcllo.so
1760    %{baseinstdir}/program/libvclopengllo.so
1761    %{baseinstdir}/program/libwriterperfectlo.so
1762  %{baseinstdir}/program/libxmlscriptlo.so  %{baseinstdir}/program/libxmlscriptlo.so
1763  %{baseinstdir}/program/libxolo.so  %{baseinstdir}/program/libxolo.so
1764  %{baseinstdir}/program/liblocalebe1lo.so  %{baseinstdir}/program/liblocalebe1lo.so
# Line 1767  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI Line 1784  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI
1784  %{baseinstdir}/program/soffice  %{baseinstdir}/program/soffice
1785  %{baseinstdir}/program/soffice.bin  %{baseinstdir}/program/soffice.bin
1786  %{baseinstdir}/program/sofficerc  %{baseinstdir}/program/sofficerc
 %{baseinstdir}/program/spadmin  
1787  %{baseinstdir}/program/unoinfo  %{baseinstdir}/program/unoinfo
1788  %{baseinstdir}/program/libnpsoplugin.so  %{baseinstdir}/program/libnpsoplugin.so
1789  %{baseinstdir}/program/oosplash  %{baseinstdir}/program/oosplash
1790  %{baseinstdir}/program/shell/  %{baseinstdir}/program/shell/
1791    %dir %{baseinstdir}/share/filter
1792    %{baseinstdir}/share/filter/oox-drawingml-adj-names
1793    %{baseinstdir}/share/filter/oox-drawingml-cs-presets
1794    %{baseinstdir}/share/filter/vml-shape-types
1795  %{baseinstdir}/share/xdg/  %{baseinstdir}/share/xdg/
1796  %{baseinstdir}/program/redirectrc  %{baseinstdir}/program/redirectrc
1797  %{_datadir}/applications/libreoffice-startcenter.desktop  %{_datadir}/applications/libreoffice-startcenter.desktop
# Line 1882  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI Line 1902  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI
1902  %{baseinstdir}/program/libscopencllo.so  %{baseinstdir}/program/libscopencllo.so
1903  %{baseinstdir}/program/libscuilo.so  %{baseinstdir}/program/libscuilo.so
1904  %{baseinstdir}/program/libsolverlo.so  %{baseinstdir}/program/libsolverlo.so
1905    %{baseinstdir}/program/libwpftcalclo.so
1906  %{baseinstdir}/program/resource/analysisen-US.res  %{baseinstdir}/program/resource/analysisen-US.res
1907  %{baseinstdir}/program/resource/dateen-US.res  %{baseinstdir}/program/resource/dateen-US.res
1908  %{baseinstdir}/program/resource/foren-US.res  %{baseinstdir}/program/resource/foren-US.res
# Line 1967  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI Line 1988  export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBI
1988  %{baseinstdir}/share/registry/graphicfilter.xcd  %{baseinstdir}/share/registry/graphicfilter.xcd
1989    
1990  %files xsltfilter  %files xsltfilter
1991  %dir %{baseinstdir}/share/xslt  %{baseinstdir}/share/xslt
 %{baseinstdir}/share/xslt/docbook  
 %dir %{baseinstdir}/share/xslt/export  
 %{baseinstdir}/share/xslt/export/uof  
 %{baseinstdir}/share/xslt/export/xhtml  
 %dir %{baseinstdir}/share/xslt/import  
 %{baseinstdir}/share/xslt/import/uof  
1992  %{baseinstdir}/share/registry/xsltfilter.xcd  %{baseinstdir}/share/registry/xsltfilter.xcd
1993  %{_datadir}/applications/libreoffice-xsltfilter.desktop  %{_datadir}/applications/libreoffice-xsltfilter.desktop
1994    

Legend:
Removed from v.632807  
changed lines
  Added in v.658499

  ViewVC Help
Powered by ViewVC 1.1.30