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

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

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

revision 819788 by tv, Tue Mar 3 18:27:52 2015 UTC revision 819789 by tv, Tue Apr 7 05:57:35 2015 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.4.1  %define libo_version 4.4.2
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 74  BuildRequires: automake Line 74  BuildRequires: automake
74  BuildRequires: bc  BuildRequires: bc
75  BuildRequires: binutils  BuildRequires: binutils
76  BuildRequires: bison  BuildRequires: bison
77    %if 0%{?rhel} && 0%{?rhel} < 7
78    BuildRequires: chrpath
79    %endif
80  BuildRequires: desktop-file-utils  BuildRequires: desktop-file-utils
81  BuildRequires: doxygen  BuildRequires: doxygen
82  BuildRequires: findutils  BuildRequires: findutils
# Line 85  BuildRequires: icu Line 88  BuildRequires: icu
88  BuildRequires: make  BuildRequires: make
89  BuildRequires: perl(Archive::Zip)  BuildRequires: perl(Archive::Zip)
90  BuildRequires: perl(Digest::MD5)  BuildRequires: perl(Digest::MD5)
91    BuildRequires: libappstream-glib-devel
92  BuildRequires: ucpp  BuildRequires: ucpp
93  # (tv) for xmllint:  # (tv) for xmllint:
94  BuildRequires: libxml2-utils  BuildRequires: libxml2-utils
# Line 226  Patch17: 0001-Resolves-fdo-37559-revert- Line 230  Patch17: 0001-Resolves-fdo-37559-revert-
230  Patch18: 0001-radio-check-top-center-bottom-alignment-for-table-ce.patch  Patch18: 0001-radio-check-top-center-bottom-alignment-for-table-ce.patch
231  Patch19: 0001-allow-comparing-documents-which-only-differ-by-frame.patch  Patch19: 0001-allow-comparing-documents-which-only-differ-by-frame.patch
232  Patch20: 0001-Use-the-same-advanced-Ellipse-and-Rectangle-shapes-i.patch  Patch20: 0001-Use-the-same-advanced-Ellipse-and-Rectangle-shapes-i.patch
233  Patch21: 0001-fix-linker-error.patch  Patch21: 0001-add-accel.-to-switch-monitors-to-pres.-console.patch
234  Patch22: 0001-Resolves-rhbz-1193971-clear-hard-coded-char-props-in.patch  Patch22: 0001-build-libetonyek-with-no-strict-aliasing.patch
235    Patch23: 0002-propagate-user-set-CFLAGS-to-build.patch
236    Patch24: 0001-gdk-pixbuf-xlib-2.0-gdk-pixbuf-2.0.patch
237    Patch25: 0001-Resolves-rhbz-1204244-group-sdb-windows-together-as-.patch
238    Patch26: 0001-Resolves-tdf-90256-repair-invalid-docking-positions.patch
239    Patch27: 0001-gnome-745909-grab-ungrab-keyboard-for-menus.patch
240    
241  #Mageia Patches  #Mageia Patches
242  #Patch1000: disable-tests.diff  #Patch1000: disable-tests.diff
# Line 679  AutoReqProv: 0 Line 688  AutoReqProv: 0
688  %description gdb-debug-support  %description gdb-debug-support
689  This package provides gdb pretty printers for package %{name}.  This package provides gdb pretty printers for package %{name}.
690    
691    # Update the screenshot shown in the software center
692    #
693    # NOTE: It would be *awesome* if this file was pushed upstream.
694    #
695    # See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details.
696    #
697    appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/libreoffice-writer.appdata.xml \
698      https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-writer/a.png \
699      https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-writer/b.png
700    appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/libreoffice-calc.appdata.xml \
701      https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-calc/a.png
702    appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/libreoffice-draw.appdata.xml \
703      https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-draw/a.png
704    appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/libreoffice-impress.appdata.xml \
705      https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-impress/a.png
706    
707  %files gdb-debug-support  %files gdb-debug-support
708  %{_datadir}/gdb/auto-load%{baseinstdir}  %{_datadir}/gdb/auto-load%{baseinstdir}
# Line 970  git commit -q -a -m 'add Red Hat colors Line 994  git commit -q -a -m 'add Red Hat colors
994  # apply patches  # apply patches
995  git am %{patches}  git am %{patches}
996    
 # disable failing tests  
 %if 0%{?rhel}  
 sed -i -e /CppunitTest_sw_ooxmlsdrexport/d sw/Module_sw.mk  
 git commit -am 'disable failing tests on rhel'  
 %endif  
 sed -i -e /CppunitTest_sw_ooxmlimport/d sw/Module_sw.mk  
 git commit -am 'disable failing tests'  
   
997  # Seeing .git dir makes some of the build tools change their behavior.  # Seeing .git dir makes some of the build tools change their behavior.
998  # We do not want that. Note: it is still possible to use  # We do not want that. Note: it is still possible to use
999  # git --git-dir=.git-rpm  # git --git-dir=.git-rpm

Legend:
Removed from v.819788  
changed lines
  Added in v.819789

  ViewVC Help
Powered by ViewVC 1.1.26