|
@@ -5,34 +5,44 @@ URL: http://koffice.kde.org/
|
|
Summary: Integrated office suite for KDE
|
|
Summary: Integrated office suite for KDE
|
|
Summary(ja): KDE 向け統合オフィススイート
|
|
Summary(ja): KDE 向け統合オフィススイート
|
|
Version: 1.6.3
|
|
Version: 1.6.3
|
|
-Release: 2%{?_dist_release}
|
|
+Release: 3%{?_dist_release}
|
|
Epoch: 1
|
|
Epoch: 1
|
|
-Source: ftp://ftp.kde.org/pub/kde/{sourcedir}/%{name}-%{version}.tar.bz2
|
|
|
|
-Source1: %{name}-l10n-ja-%{version}.tar.bz2
|
|
|
|
-Patch0: koffice-xpdf-CVE-2007-3387.diff
|
|
|
|
-Patch1: koffice-1.6.3-xpdf2-CVE-2007-4352-5392-5393.diff
|
|
|
|
Group: Applications/Productivity
|
|
Group: Applications/Productivity
|
|
-Obsoletes: killustrator kivio
|
|
|
|
License: GPL
|
|
License: GPL
|
|
|
|
+Source: ftp://ftp.kde.org/pub/kde/{sourcedir}/%{name}-%{version}.tar.bz2
|
|
|
|
+Source1: %{name}-l10n-ja-%{version}.tar.bz2
|
|
|
|
+Patch0: koffice-1.6.3-gcc43.patch
|
|
|
|
+Patch1: koffice-1.6.3-gcc44-elif.patch
|
|
|
|
+Patch2: koffice-1.6.3-gcc44-glibc210.patch
|
|
|
|
+
|
|
|
|
+# security fix
|
|
|
|
+Patch100: koffice-xpdf-CVE-2007-3387.diff
|
|
|
|
+Patch101: koffice-1.6.3-xpdf2-CVE-2007-4352-5392-5393.diff
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: qt-devel >= 3.3.2, kdelibs-devel >= 3.3, arts-devel >= 1:1.3
|
|
+BuildRequires: qt-devel >= 3.3.2, kdelibs3-devel >= 3.3, arts-devel >= 1:1.3
|
|
BuildRequires: aspell-devel >= 0.50.2, wv2-devel >= 0.1.8
|
|
BuildRequires: aspell-devel >= 0.50.2, wv2-devel >= 0.1.8
|
|
BuildRequires: libjpeg-devel libmng-devel libtiff-devel zlib-devel
|
|
BuildRequires: libjpeg-devel libmng-devel libtiff-devel zlib-devel
|
|
BuildRequires: libxml2-devel libxslt-devel freetype2-devel libart_lgpl-devel
|
|
BuildRequires: libxml2-devel libxslt-devel freetype2-devel libart_lgpl-devel
|
|
BuildRequires: jasper-devel doxygen ImageMagick-devel pkgconfig
|
|
BuildRequires: jasper-devel doxygen ImageMagick-devel pkgconfig
|
|
BuildRequires: libpng-devel libgsf-devel lcms-devel libexif-devel
|
|
BuildRequires: libpng-devel libgsf-devel lcms-devel libexif-devel
|
|
BuildRequires: MySQL-devel postgresql-devel
|
|
BuildRequires: MySQL-devel postgresql-devel
|
|
|
|
+BuildRequires: poppler-qt-devel
|
|
|
|
+BuildRequires: python-devel
|
|
|
|
+BuildRequires: libwpd-devel >= 0.8.0
|
|
#if %{?_dist_release}
|
|
#if %{?_dist_release}
|
|
#BuildConflicts: ruby-devel
|
|
#BuildConflicts: ruby-devel
|
|
#else
|
|
#else
|
|
BuildRequires: libpqxx-devel libtool-ltdl-devel ruby-devel
|
|
BuildRequires: libpqxx-devel libtool-ltdl-devel ruby-devel
|
|
#endif
|
|
#endif
|
|
-Requires: qt >= 3.3.2, kdelibs >= 3.3, arts >= 1:1.3
|
|
+Requires: qt >= 3.3.2, kdelibs3 >= 3.3, arts >= 1:1.3
|
|
Requires: freetype2 libjpeg libtiff libmng libpng
|
|
Requires: freetype2 libjpeg libtiff libmng libpng
|
|
Requires: zlib audiofile libxml2 libxslt
|
|
Requires: zlib audiofile libxml2 libxslt
|
|
Requires: libart_lgpl aspell wv2
|
|
Requires: libart_lgpl aspell wv2
|
|
-Prereq: ldconfig kdelibs
|
|
+Requires(post): kdelibs3
|
|
|
|
+
|
|
|
|
+Obsoletes: killustrator kivio
|
|
|
|
+
|
|
|
|
|
|
%description
|
|
%description
|
|
KOffice is a collection of office applications linked together by a common
|
|
KOffice is a collection of office applications linked together by a common
|
|
@@ -53,8 +63,20 @@ The applications currently included in KOffice are:
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
%setup -q -n %{name}-%{version}
|
|
-%patch0 -p0 -b .CVE-2007-3387
|
|
+%if %{?_dist_release} == "vl6"
|
|
-%patch1 -p0 -b .xpdf
|
|
+%patch0 -p1 -b .gcc43
|
|
|
|
+%patch1 -p1 -b .elif
|
|
|
|
+%patch2 -p3 -b .glibc210
|
|
|
|
+%endif
|
|
|
|
+
|
|
|
|
+%patch100 -p0 -b .CVE-2007-3387
|
|
|
|
+%patch101 -p0 -b .xpdf
|
|
|
|
+
|
|
|
|
+# for Python 2.6
|
|
|
|
+%if %{?_dist_release} == "vl6"
|
|
|
|
+sed -i -e 's|""2\.5""|""2\.6""|g' configure
|
|
|
|
+%endif
|
|
|
|
+
|
|
|
|
|
|
%build
|
|
%build
|
|
#only for beta
|
|
#only for beta
|
|
@@ -63,14 +85,6 @@ The applications currently included in KOffice are:
|
|
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
|
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
|
export KDEDIR=%{_prefix}
|
|
export KDEDIR=%{_prefix}
|
|
|
|
|
|
-#CFLAGS="-D_GNU_SOURCE $RPM_OPT_FLAGS" \
|
|
|
|
-#CXXFLAGS="-D_GNU_SOURCE $RPM_OPT_FLAGS -DNO_DEBUG -DNDEBUG -fno-check-new" \
|
|
|
|
-#./configure --prefix=%{_prefix} \
|
|
|
|
-# --with-qt-libraries=$QTDIR/lib \
|
|
|
|
-# --disable-final \
|
|
|
|
-# --disable-pie \
|
|
|
|
-# --includedir=%{_includedir}/kde \
|
|
|
|
-# --disable-rpath
|
|
|
|
./configure --prefix=%{_prefix} \
|
|
./configure --prefix=%{_prefix} \
|
|
--includedir=%{_includedir}/kde \
|
|
--includedir=%{_includedir}/kde \
|
|
--with-qt-libraries=$QTDIR/lib \
|
|
--with-qt-libraries=$QTDIR/lib \
|
|
@@ -155,6 +169,12 @@ kbuildsycoca &>/dev/null || :
|
|
%{_datadir}/templates
|
|
%{_datadir}/templates
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue May 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.3-3
|
|
|
|
+- rebuilt with new toolchain and ImageMagick-6.6.1.5
|
|
|
|
+- fixed configure for building with python-2.6
|
|
|
|
+- added Patch0-2 for building new toolchain
|
|
|
|
+ (Gentoo#228839, Debian#504870, Gentoo#270960)
|
|
|
|
+
|
|
* Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.3-2
|
|
* Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.3-2
|
|
- added libtiff(-devel) to dependency.
|
|
- added libtiff(-devel) to dependency.
|
|
- rebuilt with MySQL-5.1.34.
|
|
- rebuilt with MySQL-5.1.34.
|