View | Details | Raw Unified | Return to bug 35171
Collapse All | Expand All

(-)a/libreoffice.spec (-5 / +42 lines)
Lines 5-10 Link Here
5
%def_without fetch
5
%def_without fetch
6
%def_without lto
6
%def_without lto
7
7
8
%ifarch mipsel
9
%def_disable coinmp
10
%def_without java
11
%def_disable kde4
12
%else
13
%def_enable coinmp
14
%def_with java
15
%def_enable kde4
16
%endif
17
%def_disable mergelibs
18
19
8
Name: LibreOffice
20
Name: LibreOffice
9
%define hversion 6.0
21
%define hversion 6.0
10
%define urelease 5.1
22
%define urelease 5.1
Lines 75-91 Patch403: alt-002-tmpdir.patch Link Here
75
87
76
# Automatically added by buildreq on Mon Nov 10 2014
88
# Automatically added by buildreq on Mon Nov 10 2014
77
# optimized out: ant-testutil apache-commons-codec apache-commons-logging boost-devel boost-devel-headers boost-interprocess-devel boost-intrusive-devel cppunit flute fontconfig fontconfig-devel fonts-type1-xorg glib2-devel gstreamer1.0-devel icu-utils java java-devel jpackage-utils junit4 kde4libs libGL-devel libGLU-devel libICE-devel libSM-devel libX11-devel libXext-devel libXinerama-devel libXrandr-devel libXrender-devel libXt-devel libatk-devel libcairo-devel libcairo-gobject libcairo-gobject-devel libcloog-isl4 libclucene-contribs-lib libclucene-core libclucene-shared libcurl-devel libdbus-devel libdbus-glib libfreetype-devel libgdk-pixbuf libgdk-pixbuf-devel libgdk-pixbuf-xlib libgio-devel libgpg-error libgraphite2-devel libgst-plugins1.0 libharfbuzz-icu libicu-devel libnspr-devel libpango-devel libpng-devel libpoppler-devel libpq-devel libqt4-core libqt4-devel libqt4-gui libqt4-network librasqal-devel librevenge-devel libsasl2-3 libssl-devel libstdc++-devel libunixODBC-devel libwayland-client libwayland-server libxml2-devel pentaho-libxml perl-Compress-Raw-Zlib pkg-config poppler-data python-base python-devel python-modules python3 python3-base raptor2-devel sac tzdata tzdata-java xerces-j2 xml-common xml-commons-jaxp-1.4-apis xml-utils xorg-kbproto-devel xorg-randrproto-devel xorg-renderproto-devel xorg-xextproto-devel xorg-xproto-devel xsltproc xz zlib-devel
89
# optimized out: ant-testutil apache-commons-codec apache-commons-logging boost-devel boost-devel-headers boost-interprocess-devel boost-intrusive-devel cppunit flute fontconfig fontconfig-devel fonts-type1-xorg glib2-devel gstreamer1.0-devel icu-utils java java-devel jpackage-utils junit4 kde4libs libGL-devel libGLU-devel libICE-devel libSM-devel libX11-devel libXext-devel libXinerama-devel libXrandr-devel libXrender-devel libXt-devel libatk-devel libcairo-devel libcairo-gobject libcairo-gobject-devel libcloog-isl4 libclucene-contribs-lib libclucene-core libclucene-shared libcurl-devel libdbus-devel libdbus-glib libfreetype-devel libgdk-pixbuf libgdk-pixbuf-devel libgdk-pixbuf-xlib libgio-devel libgpg-error libgraphite2-devel libgst-plugins1.0 libharfbuzz-icu libicu-devel libnspr-devel libpango-devel libpng-devel libpoppler-devel libpq-devel libqt4-core libqt4-devel libqt4-gui libqt4-network librasqal-devel librevenge-devel libsasl2-3 libssl-devel libstdc++-devel libunixODBC-devel libwayland-client libwayland-server libxml2-devel pentaho-libxml perl-Compress-Raw-Zlib pkg-config poppler-data python-base python-devel python-modules python3 python3-base raptor2-devel sac tzdata tzdata-java xerces-j2 xml-common xml-commons-jaxp-1.4-apis xml-utils xorg-kbproto-devel xorg-randrproto-devel xorg-renderproto-devel xorg-xextproto-devel xorg-xproto-devel xsltproc xz zlib-devel
78
BuildRequires: ant apache-commons-httpclient apache-commons-lang bsh cppunit-devel flex fonts-ttf-liberation gcc-c++ git-core gperf gst-plugins1.0-devel hunspell-en imake kde4libs-devel libGConf-devel libGLEW-devel libabw-devel libbluez-devel libcdr-devel libclucene-core-devel libcmis-devel libcups-devel libdbus-glib-devel libetonyek-devel libexpat-devel libexttextcat-devel libfreehand-devel libglm-devel libgtk+2-devel libgtk+3-devel libharfbuzz-devel libhunspell-devel libhyphen-devel libjpeg-devel liblangtag-devel liblcms2-devel libldap-devel liblpsolve-devel libmspub-devel libmwaw-devel libmythes-devel libneon-devel libnss-devel libodfgen-devel liborcus-devel libpoppler-cpp-devel libredland-devel libsane-devel libvigra-devel libvisio-devel libwpd10-devel libwpg-devel libwps-devel libxslt-devel mdds-devel pentaho-reporting-flow-engine perl-Archive-Zip postgresql-devel python3-dev unzip xorg-cf-files zip
90
BuildRequires: ant apache-commons-httpclient apache-commons-lang bsh cppunit-devel flex fonts-ttf-liberation gcc-c++ git-core gperf gst-plugins1.0-devel hunspell-en imake libGConf-devel libGLEW-devel libabw-devel libbluez-devel libcdr-devel libclucene-core-devel libcmis-devel libcups-devel libdbus-glib-devel libetonyek-devel libexpat-devel libexttextcat-devel libfreehand-devel libglm-devel libgtk+2-devel libgtk+3-devel libharfbuzz-devel libhunspell-devel libhyphen-devel libjpeg-devel liblangtag-devel liblcms2-devel libldap-devel liblpsolve-devel libmspub-devel libmwaw-devel libmythes-devel libneon-devel libnss-devel libodfgen-devel liborcus-devel libpoppler-cpp-devel libredland-devel libsane-devel libvigra-devel libvisio-devel libwpd10-devel libwpg-devel libwps-devel libxslt-devel mdds-devel pentaho-reporting-flow-engine perl-Archive-Zip postgresql-devel unzip xorg-cf-files zip
91
92
# Requirements that were previously brought in by kde4libs-devel
93
BuildRequires: libunixODBC-devel
94
BuildRequires: libX11-devel libXext-devel libXinerama-devel libXrandr-devel libXrender-devel libXt-devel
95
BuildRequires: libssl-devel
96
97
%if_enabled kde4
98
BuildRequires: kde4libs-devel
99
%endif
79
100
80
# 4.4
101
# 4.4
81
BuildRequires: libavahi-devel libpagemaker-devel boost-signals-devel
102
BuildRequires: libavahi-devel libpagemaker-devel boost-signals-devel
82
BuildRequires: libe-book-devel
103
BuildRequires: libe-book-devel
83
# 5.1
104
# 5.1
84
BuildRequires: junit xsltproc java-1.8.0-openjdk-devel
105
BuildRequires: xsltproc
106
%if_with java
107
BuildRequires: junit java-1.8.0-openjdk-devel
108
%endif
85
# 5.1.2
109
# 5.1.2
86
BuildRequires: libgtk+3-gir-devel
110
BuildRequires: libgtk+3-gir-devel
87
# 5.2.0
111
# 5.2.0
112
%if_enabled coinmp
88
BuildRequires: libCoinMP-devel
113
BuildRequires: libCoinMP-devel
114
%endif
89
# 5.3.0
115
# 5.3.0
90
BuildRequires: libzmf-devel libstaroffice-devel libepoxy-devel libmysqlcppconn-devel libmysqlclient-devel libtelepathy-devel
116
BuildRequires: libzmf-devel libstaroffice-devel libepoxy-devel libmysqlcppconn-devel libmysqlclient-devel libtelepathy-devel
91
# 5.3.3
117
# 5.3.3
Lines 151-156 Requires: %name-common = %EVR Link Here
151
%description qt5
177
%description qt5
152
qt5 extensions for %name
178
qt5 extensions for %name
153
179
180
%if_enabled kde4
154
%package kde4
181
%package kde4
155
Summary: KDE4 Extensions for %name
182
Summary: KDE4 Extensions for %name
156
Group:  Office
183
Group:  Office
Lines 159-164 Requires: %name-common = %EVR Link Here
159
Obsoletes: LibreOffice4-kde4
186
Obsoletes: LibreOffice4-kde4
160
%description kde4
187
%description kde4
161
KDE4 extensions for %name
188
KDE4 extensions for %name
189
%endif
162
190
163
%package -n libreofficekit
191
%package -n libreofficekit
164
Summary: A library providing access to LibreOffice functionality
192
Summary: A library providing access to LibreOffice functionality
Lines 308-325 test -r %conffile && . %conffile ||: Link Here
308
%build
336
%build
309
export CC=%_target_platform-gcc
337
export CC=%_target_platform-gcc
310
export CXX=%_target_platform-g++
338
export CXX=%_target_platform-g++
339
%ifarch mipsel
340
export CFLAGS="-Os --param ggc-min-expand=20 --param ggc-min-heapsize=32768 -g0"
341
export CXXFLAGS="$CFLAGS"
342
%endif
343
311
./autogen.sh \
344
./autogen.sh \
312
	--prefix=%_prefix \
345
	--prefix=%_prefix \
313
	--libdir=%_libdir \
346
	--libdir=%_libdir \
314
	--disable-lto \
347
	--disable-lto \
315
        --with-vendor="ALT Linux Team" \
348
        --with-vendor="ALT Linux Team" \
349
        %{subst_enable mergelibs} \
316
        --enable-odk \
350
        --enable-odk \
317
        --enable-systray \
351
        --enable-systray \
318
	--disable-firebird-sdbc \
352
	--disable-firebird-sdbc \
319
	--enable-coinmp \
353
        %{subst_enable coinmp} \
320
        --enable-dbus \
354
        --enable-dbus \
321
        --enable-evolution2 \
355
        --enable-evolution2 \
322
        --enable-gio \
356
        --enable-gio \
357
        %{subst_with java} \
323
        --with-alloc=system \
358
        --with-alloc=system \
324
        --without-fonts \
359
        --without-fonts \
325
        --without-myspell-dicts \
360
        --without-myspell-dicts \
Lines 340-346 export CXX=%_target_platform-g++ Link Here
340
	--enable-release-build \
375
	--enable-release-build \
341
	--with-help \
376
	--with-help \
342
  \
377
  \
343
	--enable-kde4 \
378
	%{subst_enable kde4} \
344
	--enable-qt5 \
379
	--enable-qt5 \
345
	--enable-gtk3 \
380
	--enable-gtk3 \
346
	--disable-gstreamer-0-10 \
381
	--disable-gstreamer-0-10 \
Lines 391-397 export LD_PRELOAD=`pwd`/forky.so Link Here
391
%make build-nocheck || { tail -100 $HOME/forky.log; head -1 $HOME/forky.log; wc $HOME/forky.log; false; }
426
%make build-nocheck || { tail -100 $HOME/forky.log; head -1 $HOME/forky.log; wc $HOME/forky.log; false; }
392
test -r $HOME/forky.log && echo "Fork() was `wc -l $HOME/forky.log` times delayed" || :
427
test -r $HOME/forky.log && echo "Fork() was `wc -l $HOME/forky.log` times delayed" || :
393
%else
428
%else
394
%make build-nocheck
429
%make verbose=true build-nocheck
395
%endif
430
%endif
396
431
397
# Generate typelib files
432
# Generate typelib files
Lines 501-507 install -p include/LibreOfficeKit/* %{buildroot}%{_includedir}/LibreOfficeKit Link Here
501
536
502
%files gtk3 -f files.gtk3
537
%files gtk3 -f files.gtk3
503
538
539
%if_enabled kde4
504
%files kde4 -f files.kde4
540
%files kde4 -f files.kde4
541
%endif
505
542
506
%files qt5 -f files.qt5
543
%files qt5 -f files.qt5
507
544

Return to bug 35171