/[packages]/cauldron/libreoffice/releases/3.3.2.2/1.mga1/SPECS/libreoffice.spec
ViewVC logotype

Diff of /cauldron/libreoffice/releases/3.3.2.2/1.mga1/SPECS/libreoffice.spec

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

revision 42455 by dmorgan, Thu Jan 27 22:52:59 2011 UTC revision 42463 by dmorgan, Thu Jan 27 23:01:00 2011 UTC
# Line 28  Line 28 
28  Summary:        Free Software Productivity Suite  Summary:        Free Software Productivity Suite
29  Name:           libreoffice  Name:           libreoffice
30  Version:        3.3.0.4  Version:        3.3.0.4
31  Release:        1%{?dist}  Release:        %mkrel 1
32  License:        LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and (CDDL or GPLv2) and Public Domain  License:        LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and (CDDL or GPLv2) and Public Domain
33  Group:          Applications/Productivity  Group:          Applications/Productivity
34  URL:            http://www.documentfoundation.org/develop  URL:            http://www.documentfoundation.org/develop
35  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
36  Source0:        http://download.documentfoundation.org/libreoffice/src/libreoffice-artwork-%{version}.tar.bz2  Source0:        http://download.documentfoundation.org/libreoffice/src/libreoffice-artwork-%{version}.tar.bz2
37  Source1:        http://download.documentfoundation.org/libreoffice/src/libreoffice-base-%{version}.tar.bz2  Source1:        http://download.documentfoundation.org/libreoffice/src/libreoffice-base-%{version}.tar.bz2
38  Source2:        http://download.documentfoundation.org/libreoffice/src/libreoffice-bootstrap-%{version}.tar.bz2  Source2:        http://download.documentfoundation.org/libreoffice/src/libreoffice-bootstrap-%{version}.tar.bz2
# Line 64  Source27:       http://hg.services.openo Line 64  Source27:       http://hg.services.openo
64  Source28:       http://hg.services.openoffice.org/binaries/ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip  Source28:       http://hg.services.openoffice.org/binaries/ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip
65  Source29:       http://hg.services.openoffice.org/binaries/18f577b374d60b3c760a3a3350407632-STLport-4.5.tar.gz  Source29:       http://hg.services.openoffice.org/binaries/18f577b374d60b3c760a3a3350407632-STLport-4.5.tar.gz
66  Source30:       http://hg.services.openoffice.org/binaries/cf8a6967f7de535ae257fa411c98eb88-mdds_0.3.0.tar.bz2  Source30:       http://hg.services.openoffice.org/binaries/cf8a6967f7de535ae257fa411c98eb88-mdds_0.3.0.tar.bz2
67  BuildRequires:  zip, findutils, autoconf, flex, bison, icu, gperf, gcc-c++  BuildRequires:  zip
68  BuildRequires:  binutils, java-devel >= 1.6.0, boost-devel, zlib-devel  BuildRequires:  findutils
69  BuildRequires:  python-devel, expat-devel, libxml2-devel, libxslt-devel, bc  BuildRequires:  autoconf
70  BuildRequires:  neon-devel, libcurl-devel, libidn-devel, pam-devel, cups-devel  BuildRequires:  flex
71  BuildRequires:  libXext-devel, libXt-devel, libICE-devel, libjpeg-devel, make  BuildRequires:  bison
72  BuildRequires:  gecko-devel, libwpd-devel, hunspell-devel, unixODBC-devel  BuildRequires:  icu
73  BuildRequires:  db4-devel, sane-backends-devel, libicu-devel, perl-Archive-Zip  BuildRequires:  gperf
74  BuildRequires:  freetype-devel, gtk2-devel, desktop-file-utils, hyphen-devel  BuildRequires:  gcc-c++
75  BuildRequires:  evolution-data-server-devel, libtextcat-devel, nss-devel  BuildRequires:  binutils
76  BuildRequires:  gstreamer-devel, gstreamer-plugins-base-devel, openssl-devel  BuildRequires:  java-devel >= 0:1.6.0
77  BuildRequires:  mdds-devel, lpsolve-devel, hsqldb, bsh, lucene, lucene-contrib  BuildRequires:  boost-devel
78  BuildRequires:  mesa-libGLU-devel, redland-devel, ant, ant-apache-regexp, rsync  BuildRequires:  zlib-devel
79  BuildRequires:  jakarta-commons-codec, jakarta-commons-httpclient, cppunit-devel  BuildRequires:  python-devel
80  BuildRequires:  jakarta-commons-lang, poppler-devel, fontpackages-devel, junit4  BuildRequires:  expat-devel
81  BuildRequires:  pentaho-reporting-flow-engine, libXinerama-devel, mythes-devel  BuildRequires:  libxml2-devel
82  BuildRequires:  silgraphite-devel, libwpg-devel, libwps-devel, vigra-devel  BuildRequires:  libxslt-devel
83    BuildRequires:  bc
84    BuildRequires:  neon-devel
85    BuildRequires:  libcurl-devel
86    BuildRequires:  libidn-devel
87    BuildRequires:  pam-devel
88    BuildRequires:  cups-devel
89    BuildRequires:  libxext-devel
90    BuildRequires:  libxt-devel
91    BuildRequires:  libice-devel
92    BuildRequires:  libjpeg-devel
93    BuildRequires:  make
94    #BuildRequires:  firefox-devel
95    BuildRequires:  libwpd-devel >= 0.9.0
96    BuildRequires:  hunspell-devel
97    BuildRequires:  unixODBC-devel
98    BuildRequires:  db4-devel
99    BuildRequires:  sane-devel
100    BuildRequires:  libicu-devel
101    BuildRequires:  perl(Archive::Zip)
102    BuildRequires:  freetype-devel
103    BuildRequires:  gtk2-devel
104    BuildRequires:  desktop-file-utils
105    BuildRequires:  hyphen-devel
106    BuildRequires:  evolution-data-server-devel
107    BuildRequires:  libtextcat-devel
108    BuildRequires:  nss-devel
109    BuildRequires:  gstreamer0.10-devel
110    BuildRequires:  libgstreamer0.10-plugins-base-devel
111    BuildRequires:  openssl-devel
112    BuildRequires:  mdds-devel
113    BuildRequires:  lpsolve-devel
114    BuildRequires:  hsqldb
115    BuildRequires:  bsh
116    BuildRequires:  lucene >= 0:2.4.1
117    #BuildRequires:  mesa-libGLU-devel
118    BuildRequires:  redland-devel
119    BuildRequires:  ant
120    BuildRequires:  ant-apache-regexp
121    BuildRequires:  rsync
122    BuildRequires:  jakarta-commons-codec
123    BuildRequires:  jakarta-commons-httpclient
124    BuildRequires:  cppunit-devel
125    BuildRequires:  jakarta-commons-lang
126    BuildRequires:  libpoppler-devel
127    #BuildRequires:  fontpackages-devel
128    BuildRequires:  junit4
129    BuildRequires:  pentaho-reporting-flow-engine
130    #BuildRequires:   libXinerama-devel
131    BuildRequires:  mythes-devel
132    BuildRequires:  silgraphite-devel
133    BuildRequires:  lucene-contrib >= 0:2.4.1
134    BuildRequires:  libwpg-devel >= 1:0.2.0
135    BuildRequires:  libwps-devel >= 1:0.2.0
136    BuildRequires:  libvigra-devel
137    
138  # for the KDE subpackage  # for the KDE subpackage
139  BuildRequires:  kdelibs4-devel  BuildRequires:  kdelibs4-devel
# Line 129  Requires: %{name}-ure = %{version}-%{rel Line 183  Requires: %{name}-ure = %{version}-%{rel
183  Requires: liberation-sans-fonts >= 1.0, liberation-serif-fonts >= 1.0, liberation-mono-fonts >= 1.0  Requires: liberation-sans-fonts >= 1.0, liberation-serif-fonts >= 1.0, liberation-mono-fonts >= 1.0
184  Requires: dejavu-sans-fonts, dejavu-serif-fonts, dejavu-sans-mono-fonts  Requires: dejavu-sans-fonts, dejavu-serif-fonts, dejavu-sans-mono-fonts
185  Requires: hunspell-en, hyphen-en, hyphen >= 2.4, autocorr-en  Requires: hunspell-en, hyphen-en, hyphen >= 2.4, autocorr-en
186  Requires: lucene  Requires: lucene >= 0:2.4.1
187  Requires(pre):    gtk2 >= 2.9.4  Requires(pre):    gtk2 >= 2.9.4
188  Requires(post):   gtk2 >= 2.9.4  Requires(post):   gtk2 >= 2.9.4
189  Requires(preun):  gtk2 >= 2.9.4  Requires(preun):  gtk2 >= 2.9.4
# Line 697  for a in */*; do mv `pwd`/$a .; done Line 751  for a in */*; do mv `pwd`/$a .; done
751  #remove "debugging" translations  #remove "debugging" translations
752  rm -rf l10n/source/kid  rm -rf l10n/source/kid
753  #Customize Palette to remove Sun colours and add Red Hat colours  #Customize Palette to remove Sun colours and add Red Hat colours
754    #TODO: have and add mageia colours
755  (head -n -1 extras/source/palettes/standard.soc && \  (head -n -1 extras/source/palettes/standard.soc && \
756   echo -e ' <draw:color draw:name="Red Hat 1" draw:color="#cc0000"/>   echo -e ' <draw:color draw:name="Red Hat 1" draw:color="#cc0000"/>
757   <draw:color draw:name="Red Hat 2" draw:color="#0093d9"/>   <draw:color draw:name="Red Hat 2" draw:color="#0093d9"/>
# Line 708  mv -f redhat.soc extras/source/palettes/ Line 763  mv -f redhat.soc extras/source/palettes/
763  %patch1  -p1 -b .ooo53397.prelinkoptimize.desktop.patch  %patch1  -p1 -b .ooo53397.prelinkoptimize.desktop.patch
764  %patch2  -p1  %patch2  -p1
765  %patch3  -p1 -b .ooo86080.unopkg.bodge.patch  %patch3  -p1 -b .ooo86080.unopkg.bodge.patch
766  %patch4  -p1 -b .ooo88341.sc.verticalboxes.patch  #%patch4  -p1 -b .ooo88341.sc.verticalboxes.patch
767  %patch5  -p0 -b .gccXXXXX.solenv.javaregistration.patch  %patch5  -p0 -b .gccXXXXX.solenv.javaregistration.patch
768  %patch6  -p1 -b .oooXXXXX.solenv.allowmissing.patch  %patch6  -p0 -b .oooXXXXX.solenv.allowmissing.patch
769  %patch7  -p0 -b .ooo101274.opening-a-directory.patch  ##%patch7  -p0 -b .ooo101274.opening-a-directory.patch
770  %patch8  -p0 -b .ooo102061.sc.cellanchoring.patch  ##%patch8  -p0 -b .ooo102061.sc.cellanchoring.patch
771  %patch9  -p0 -b .ooo105784.vcl.sniffscriptforsubs.patch  ##%patch9  -p0 -b .ooo105784.vcl.sniffscriptforsubs.patch
772  %patch10 -p1 -b .ooo108637.sfx2.uisavedir.patch  ##%patch10 -p1 -b .ooo108637.sfx2.uisavedir.patch
773  %patch11 -p0 -b .ooo113273.desktop.resolvelinks.patch  ##%patch11 -p0 -b .ooo113273.desktop.resolvelinks.patch
774  %patch12 -p1 -b .turn-script-providers-into-extensions.patch  ##%patch12 -p1 -b .turn-script-providers-into-extensions.patch
775  %patch13 -p1 -b .libreoffice-installfix.patch  ##%patch13 -p1 -b .libreoffice-installfix.patch
776  %patch14 -p1 -b .don-t-bail-out-on-mislength-records.patch  ##%patch14 -p1 -b .don-t-bail-out-on-mislength-records.patch
777  %patch15 -p1 -b .libreoffice-bootstrap-kde.patch  ##%patch15 -p1 -b .libreoffice-bootstrap-kde.patch
778  %patch16 -p1 -b .don-t-pushback-and-process-a-corrupt-extension.patch  ##%patch16 -p1 -b .don-t-pushback-and-process-a-corrupt-extension.patch
779  %patch17 -p1 -b .free-ctxt-after-taking-lastError-details.patch  ##%patch17 -p1 -b .free-ctxt-after-taking-lastError-details.patch
780  %patch18 -p1 -b .Cursor-on-post-it-now-scrolls-.patch  ##%patch18 -p1 -b .Cursor-on-post-it-now-scrolls-.patch
781    %if 0
782  touch scripting/source/pyprov/delzip  touch scripting/source/pyprov/delzip
783  touch scripting/util/provider/beanshell/delzip  touch scripting/util/provider/beanshell/delzip
784  touch scripting/util/provider/javascript/delzip  touch scripting/util/provider/javascript/delzip
785    %endif
786    
787  %build  %build
788  echo build start time is `date`, diskspace: `df -h . | tail -n 1`  echo build start time is `date`, diskspace: `df -h . | tail -n 1`
# Line 748  export PATH=$QT4DIR/bin:$PATH Line 805  export PATH=$QT4DIR/bin:$PATH
805    
806  autoconf  autoconf
807  %configure \  %configure \
808   --with-vendor="Red Hat, Inc." --with-num-cpus=$NBUILDS --with-max-jobs=$NDMAKES \   --with-vendor="Mageia.org" --with-num-cpus=$NBUILDS --with-max-jobs=$NDMAKES \
809   --with-build-version="Ver: %{version}-%{release}" --with-unix-wrapper=%{name} \   --with-build-version="Ver: %{version}-%{release}" --with-unix-wrapper=%{name} \
810   --disable-ldap --disable-epm --disable-mathmldtd \   --disable-ldap --disable-epm --disable-mathmldtd \
811   --disable-Xaw --disable-gnome-vfs --enable-gio --enable-symbols \   --disable-Xaw --disable-gnome-vfs --enable-gio --enable-symbols \
# Line 763  autoconf Line 820  autoconf
820   --without-fonts --without-agg --without-ppds --without-afms %{stlflags} \   --without-fonts --without-agg --without-ppds --without-afms %{stlflags} \
821   --with-lang="%{langpack_langs}" --with-poor-help-localizations="$POORHELPS" \   --with-lang="%{langpack_langs}" --with-poor-help-localizations="$POORHELPS" \
822   --with-external-tar=`pwd`/ext_sources --with-java-target-version=1.5 \   --with-external-tar=`pwd`/ext_sources --with-java-target-version=1.5 \
823   --enable-kde4 --without-system-mdds   --enable-kde4 --without-system-mdds --without-system-hsqldb --with-ant-home=%{_datadir}/ant/
824    
825  mkdir -p ext_sources  mkdir -p ext_sources
826  cp %{SOURCE20} ext_sources/185d60944ea767075d27247c3162b3bc-unowinreg.dll  cp %{SOURCE20} ext_sources/185d60944ea767075d27247c3162b3bc-unowinreg.dll

Legend:
Removed from v.42455  
changed lines
  Added in v.42463

  ViewVC Help
Powered by ViewVC 1.1.30