185 |
Patch5: openoffice.org-3.1.0.ooo101274.opening-a-directory.patch |
Patch5: openoffice.org-3.1.0.ooo101274.opening-a-directory.patch |
186 |
Patch6: libreoffice-installfix.patch |
Patch6: libreoffice-installfix.patch |
187 |
# patches 7-11 are RHEL specific @RH/FC |
# patches 7-11 are RHEL specific @RH/FC |
188 |
Patch11: 0001-Related-rhbz-1032774-bodge-around-reported-NULL-valu.patch |
Patch12: 0001-Related-rhbz-1032774-bodge-around-reported-NULL-valu.patch |
189 |
Patch12: 0001-Resolves-rhbz-1035092-no-shortcut-key-for-Italian-To.patch |
Patch13: 0001-Resolves-rhbz-1035092-no-shortcut-key-for-Italian-To.patch |
190 |
Patch13: 0001-Resolves-rhbz-912529-Kerkis-SmallCaps-shown-instead-.patch |
Patch14: 0001-Resolves-rhbz-912529-Kerkis-SmallCaps-shown-instead-.patch |
191 |
Patch14: 0001-disable-firebird-unit-test.patch |
Patch15: 0001-disable-firebird-unit-test.patch |
192 |
Patch15: 0001-never-run-autogen.sh.patch |
Patch16: 0001-never-run-autogen.sh.patch |
193 |
Patch16: 0001-Related-rhbz-1065807-rework-i66157-for-multiple-writ.patch |
Patch17: 0001-Related-rhbz-1065807-rework-i66157-for-multiple-writ.patch |
194 |
Patch17: 0001-Resolves-rhbz-1065807-use-xdg-Templates-for-default-.patch |
Patch18: 0001-Resolves-rhbz-1065807-use-xdg-Templates-for-default-.patch |
|
Patch18: 0001-explictly-list-common-lang-independant-template-dir.patch |
|
195 |
Patch19: 0001-rhbz-1057977-avoid-use-of-invalidated-pointers.patch |
Patch19: 0001-rhbz-1057977-avoid-use-of-invalidated-pointers.patch |
196 |
Patch20: 0001-KDE-don-t-throw-on-TemplatePathVariable.patch |
Patch20: 0001-KDE-don-t-throw-on-TemplatePathVariable.patch |
197 |
Patch21: 0001-Wizards-should-look-for-templates-in-Template_intern.patch |
Patch21: 0001-Wizards-should-look-for-templates-in-Template_intern.patch |
198 |
Patch22: 0001-actively-search-for-wizards-dir-in-all-internal-temp.patch |
Patch22: 0001-actively-search-for-wizards-dir-in-all-internal-temp.patch |
199 |
Patch23: 0001-Related-rhbz-1076264-intermittent-a11y-crash-in-calc.patch |
Patch23: 0001-Change-SDK-javaodc-from-static-Package-to-dynamic-Ge.patch |
200 |
Patch24: 0001-Resolves-rhbz-1077780-crash-on-loading-.docx.patch |
Patch24: 0001-Package-GeneratedPackage-fixup.patch |
201 |
Patch25: 0001-Change-SDK-javaodc-from-static-Package-to-dynamic-Ge.patch |
Patch25: 0001-Related-rhbz-1075951-abrt-crash-in-MSWordExportBase-.patch |
202 |
Patch26: 0001-Package-GeneratedPackage-fixup.patch |
Patch26: 0001-drop-OnlyShowIn-from-.desktop-files.patch |
203 |
Patch27: 0001-rhbz-1080196-Delete-the-destination-first-then-paste.patch |
Patch27: 0001-Resolves-rhbz-1081176-don-t-jump-to-cursor-pos-when.patch |
204 |
Patch28: 0001-Related-rhbz-1075951-abrt-crash-in-MSWordExportBase-.patch |
Patch28: 0001-prevent-KDE-Qt-from-interfering-with-the-session-man.patch |
205 |
Patch29: 0001-drop-OnlyShowIn-from-.desktop-files.patch |
Patch29: 0001-Resolves-fdo-36815-enable-printing-WYSIWYG-sidewindo.patch |
206 |
Patch30: 0001-Resolves-rhbz-1081176-don-t-jump-to-cursor-pos-when.patch |
Patch30: 0001-Related-fdo-36815-print-the-text-highlight-range-as-.patch |
207 |
Patch31: 0001-prevent-KDE-Qt-from-interfering-with-the-session-man.patch |
Patch31: 0001-Resolves-rhbz-1086714-overlarge-pixmap.patch |
208 |
|
Patch32: 0001-every-even-numbered-print-job-is-reported-as-failed.patch |
209 |
|
Patch33: 0001-Related-rhbz-1088625-PresenterPaintManager-seen-as-N.patch |
210 |
|
Patch34: 0001-table-not-resizing-when-rows-columns-added-to-it.patch |
211 |
|
Patch35: 0001-Fix-fdo-71423-crash-while-editing-Impress-tables.patch |
212 |
|
Patch36: 0001-Resolves-rhbz-1089377-crash-on-loading-a-specific-rt.patch |
213 |
|
Patch37: 0001-add-a-format-all-comments-feature.patch |
214 |
|
Patch38: 0001-Resolves-fdo-37130-use-10pt-Default-style-font-for-c.patch |
215 |
|
Patch39: 0001-Related-fdo-36815-center-scaled-comment-page-vertica.patch |
216 |
|
Patch40: 0001-crash-in-selecting-text-in-comments-midway-in-para.patch |
217 |
|
Patch41: 0001-Resolves-fdo-60040-crash-after-undoing-master-page-a.patch |
218 |
|
Patch42: 0001-Related-rhbz-1032774-slide-restarter-should-disable-.patch |
219 |
|
|
220 |
#Mageia Patch |
#Mageia Patch |
221 |
|
|
905 |
%if %{with langpacks} |
%if %{with langpacks} |
906 |
%autocorr -l af -n Afrikaans |
%autocorr -l af -n Afrikaans |
907 |
%autocorr -l bg -n Bulgarian |
%autocorr -l bg -n Bulgarian |
908 |
%autocorr -l ca -n Catalan -L |
%autocorr -l ca -n Catalan |
909 |
%autocorr -l cs -n Czech |
%autocorr -l cs -n Czech |
910 |
%autocorr -l da -n Danish |
%autocorr -l da -n Danish |
911 |
%autocorr -l de -n German |
%autocorr -l de -n German |
975 |
git am %{patches} |
git am %{patches} |
976 |
|
|
977 |
|
|
978 |
|
# Seeing .git dir makes some of the build tools change their behavior. |
979 |
|
# We do not want that. Note: it is still possible to use |
980 |
|
# git --git-dir=.git-rpm |
981 |
|
mv .git .git-rpm |
982 |
|
|
983 |
%build |
%build |
984 |
echo build start time is `date`, diskspace: `df -h . | tail -n 1` |
echo build start time is `date`, diskspace: `df -h . | tail -n 1` |
985 |
echo building localizations: %{langpack_langs} |
echo building localizations: %{langpack_langs} |
1409 |
cp -p sysui/desktop/appstream-appdata/*.appdata.xml %{buildroot}%{_datadir}/appdata |
cp -p sysui/desktop/appstream-appdata/*.appdata.xml %{buildroot}%{_datadir}/appdata |
1410 |
|
|
1411 |
%if 0%{?_enable_debug_packages} |
%if 0%{?_enable_debug_packages} |
1412 |
|
# install man pages |
1413 |
|
install -m 0755 -d %{buildroot}%{_mandir}/man1 |
1414 |
|
install -m 0644 -p sysui/desktop/man/*.1 %{buildroot}%{_mandir}/man1 |
1415 |
|
for app in oobase oocalc oodraw ooffice ooimpress oomath ooviewdoc oowriter openoffice.org soffice; do |
1416 |
|
echo '.so man1/libreoffice.1' > $app.1 |
1417 |
|
install -m 0644 -p $app.1 %{buildroot}%{_mandir}/man1 |
1418 |
|
done |
1419 |
|
|
1420 |
export DESTDIR=%{buildroot} |
export DESTDIR=%{buildroot} |
1421 |
make cmd cmd="install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb" |
make cmd cmd="install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb" |
1422 |
%endif |
%endif |
1764 |
%{baseinstdir}/share/xslt/import/wordml |
%{baseinstdir}/share/xslt/import/wordml |
1765 |
%{baseinstdir}/program/liblnthlo.so |
%{baseinstdir}/program/liblnthlo.so |
1766 |
%{_bindir}/unopkg |
%{_bindir}/unopkg |
1767 |
|
%{_mandir}/man1/unopkg.1* |
1768 |
#icons and mime |
#icons and mime |
1769 |
%{_datadir}/icons/*/*/*/libreoffice* |
%{_datadir}/icons/*/*/*/libreoffice* |
1770 |
%{_datadir}/mime-info/libreoffice.* |
%{_datadir}/mime-info/libreoffice.* |
1849 |
%exclude %{baseinstdir}/program/classes/query.jar |
%exclude %{baseinstdir}/program/classes/query.jar |
1850 |
%exclude %{baseinstdir}/program/classes/officebean.jar |
%exclude %{baseinstdir}/program/classes/officebean.jar |
1851 |
%exclude %{baseinstdir}/program/classes/report.jar |
%exclude %{baseinstdir}/program/classes/report.jar |
1852 |
|
%{_mandir}/man1/libreoffice.1* |
1853 |
|
%{_mandir}/man1/openoffice.org.1* |
1854 |
|
%{_mandir}/man1/soffice.1* |
1855 |
|
%{_mandir}/man1/ooffice.1* |
1856 |
|
%{_mandir}/man1/ooviewdoc.1* |
1857 |
%exclude %{baseinstdir}/program/classes/ScriptFramework.jar |
%exclude %{baseinstdir}/program/classes/ScriptFramework.jar |
1858 |
%exclude %{baseinstdir}/program/classes/ScriptProviderForJava.jar |
%exclude %{baseinstdir}/program/classes/ScriptProviderForJava.jar |
1859 |
%exclude %{baseinstdir}/program/classes/table.jar |
%exclude %{baseinstdir}/program/classes/table.jar |
1889 |
%{baseinstdir}/program/sbase |
%{baseinstdir}/program/sbase |
1890 |
%{_datadir}/applications/libreoffice-base.desktop |
%{_datadir}/applications/libreoffice-base.desktop |
1891 |
%{_bindir}/oobase |
%{_bindir}/oobase |
1892 |
|
%{_mandir}/man1/oobase.1* |
1893 |
|
|
1894 |
%files bsh |
%files bsh |
1895 |
%{baseinstdir}/program/classes/ScriptProviderForBeanShell.jar |
%{baseinstdir}/program/classes/ScriptProviderForBeanShell.jar |
1953 |
%{baseinstdir}/program/scalc |
%{baseinstdir}/program/scalc |
1954 |
%{_datadir}/applications/libreoffice-calc.desktop |
%{_datadir}/applications/libreoffice-calc.desktop |
1955 |
%{_bindir}/oocalc |
%{_bindir}/oocalc |
1956 |
|
%{_mandir}/man1/oocalc.1* |
1957 |
|
|
1958 |
%files draw |
%files draw |
1959 |
%{baseinstdir}/help/en-US/sdraw.* |
%{baseinstdir}/help/en-US/sdraw.* |
1962 |
%{baseinstdir}/program/sdraw |
%{baseinstdir}/program/sdraw |
1963 |
%{_datadir}/applications/libreoffice-draw.desktop |
%{_datadir}/applications/libreoffice-draw.desktop |
1964 |
%{_bindir}/oodraw |
%{_bindir}/oodraw |
1965 |
|
%{_mandir}/man1/oodraw.1* |
1966 |
|
|
1967 |
%files emailmerge |
%files emailmerge |
1968 |
%{baseinstdir}/program/mailmerge.py* |
%{baseinstdir}/program/mailmerge.py* |
1985 |
%{baseinstdir}/program/swriter |
%{baseinstdir}/program/swriter |
1986 |
%{_datadir}/applications/libreoffice-writer.desktop |
%{_datadir}/applications/libreoffice-writer.desktop |
1987 |
%{_bindir}/oowriter |
%{_bindir}/oowriter |
1988 |
|
%{_mandir}/man1/oowriter.1* |
1989 |
|
|
1990 |
%files impress |
%files impress |
1991 |
%{baseinstdir}/help/en-US/simpress.* |
%{baseinstdir}/help/en-US/simpress.* |
2004 |
%{baseinstdir}/program/simpress |
%{baseinstdir}/program/simpress |
2005 |
%{_datadir}/applications/libreoffice-impress.desktop |
%{_datadir}/applications/libreoffice-impress.desktop |
2006 |
%{_bindir}/ooimpress |
%{_bindir}/ooimpress |
2007 |
|
%{_mandir}/man1/ooimpress.1* |
2008 |
|
|
2009 |
%files math |
%files math |
2010 |
%{baseinstdir}/help/en-US/smath.* |
%{baseinstdir}/help/en-US/smath.* |
2015 |
%{baseinstdir}/program/smath |
%{baseinstdir}/program/smath |
2016 |
%{_datadir}/applications/libreoffice-math.desktop |
%{_datadir}/applications/libreoffice-math.desktop |
2017 |
%{_bindir}/oomath |
%{_bindir}/oomath |
2018 |
|
%{_mandir}/man1/oomath.1* |
2019 |
|
|
2020 |
%files graphicfilter |
%files graphicfilter |
2021 |
%{baseinstdir}/program/libflashlo.so |
%{baseinstdir}/program/libflashlo.so |