%define qt3_version 3.3.8
%define qt3_docdir %{_docdir}/qt-devel-%{qt3_version}
%define kde_major_version 3
%define apidocs 0
Summary: KDE 3 Libraries
Summary(ja): KDE 3 ライブラリ
Name: kdelibs3
Version: 3.5.10
Release: 11%{?_dist_release}
License: LGPLv2
URL: http://www.kde.org/
Group: System Environment/Libraries
Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdelibs-%{version}.tar.bz2
# Source1, 2 isn't installed now. replaced by kde-settings
Source1: kde.sh
Source2: kde.csh
Source3: devices.protocol
Patch1: kdelibs-3.5.1-xdg-menu.patch
Patch2: kdelibs-3.0.0-ndebug.patch
Patch4: kdelibs-3.0.4-ksyscoca.patch
Patch5: kdelibs-3.5.10-openssl.patch
Patch15: kdelibs-3.4.91-buildroot.patch
Patch32: kdelibs-3.2.3-cups.patch
Patch33: kdelibs-3.3.2-ppc.patch
Patch34: kdelibs-3.4.0-qtdoc.patch
Patch35: kdelibs-3.4.92-inttype.patch
Patch37: kdelibs-3.5.2-kdebug-kmail-quiet.patch
Patch38: kdelibs-3.5.2-cupsdconf2-group.patch
Patch39: kdelibs-3.5.4-kabc-make.patch
Patch40: kdelibs-3.5.4-kdeprint-utf8.patch
Patch41: kdelibs-3.5.6-utempter.patch
Patch43: kdelibs-3.5.6-lang.patch
Patch45: kdelibs-3.5.7-autostart.patch
Patch46: kdelibs-3.5.8-kate-vhdl.patch
Patch48: kdelibs-3.5.8-kspell-hunspell.patch
Patch49: kdelibs-3.5.8-kspell2-enchant.patch
Patch50: kdelibs-3.5.8-kspell2-no-ispell.patch
Patch51: kdelibs-3.5.9-cupsserverbin.patch
# initial support for (Only|Not)ShowIn=KDE3
Patch52: kdelibs-3.5.9-KDE3.patch
# use /usr/libexec/kde4/drkonqi in KCrash (#453243)
Patch53: kdelibs-3.5.9-drkonqi-kde4.patch
# use inotify_* functions which are defined in glibc-header
Patch54: kdelibs-3.5.10-inotify.patch
# update the KatePart latex.xml syntax definition to the version from Kile 2.0.3
Patch55: kdelibs-3.5.10-latex-syntax-kile-2.0.3.patch
# fix ftbfs (#631195)
Patch56: kdelibs-3.5.10-qcolor_gcc_ftbfs.patch
# fix FTBFS (cups-util.c must include stdio.h, #714133)
Patch57: kdelibs-3.5.10-cups-util-missing-header.patch
# fix FTBFS with CUPS 2.0 due to bad CUPS_VERSION_MAJOR checks
Patch58: kdelibs-3.5.10-cups20.patch
# Other patches
# use /etc/kde in addition to /usr/share/config, borrowed from debian
Patch100: kdelibs-3.5.5-kstandarddirs.patch
# http://bugs.kde.org/93359, alternative to export libltdl_cv_shlibext=".so" hack.
Patch101: kde-3.5-libtool-shlibext.patch
# kget ignores simultaneous download limit (kde #101956)
Patch103: kdelibs-3.5.0-101956.patch
Patch104: kdelibs-3.5.10-gcc44.patch
Patch105: kdelibs-3.5.10-ossl-1.x.patch
Patch106: kdelibs-3.5.10-kio.patch
Patch107: kdelibs-3.5.10-assert.patch
Patch108: kdelibs-3.5.10-dtoa.patch
Patch109: kdelibs-3.5.10-kabc.patch
Patch110: arts-acinclude.patch
# kde4.4 backport
Patch111: kdelibs-3.5.10-kde-config_kde-version.patch
# Japanese patches
Patch120: kzip.cpp.diff
# RH patches (do we need this patch in KDE3 environment like Vine Linux 4.x?)
Patch121: kdelibs-3.4.0-menu.patch
## Trinity backports
# build fix for CUPS 1.6 by Timothy Pearson, backported by Kevin Kofler
# http://git.trinitydesktop.org/cgit/tdelibs/commit?id=9bc0d2cd9d38750658770e69bf0445dc5162beb7
# http://git.trinitydesktop.org/cgit/tdelibs/commit?id=91bf63b43bf4cc9ff640bd3c11549644cef05e6e
Patch150: kdelibs-3.5.10-cups16.patch
## security fixes
# fix CVE-2009-2537 - select length DoS
Patch200: kdelibs-3.5.10-cve-2009-2537-select-length.patch
# fix CVE-2009-1725 - crash, possible ACE in numeric character references
Patch201: kdelibs-3.5.10-cve-2009-1725.patch
# fix CVE-2009-1690 - crash, possible ACE in KHTML (
use-after-free)
Patch202: kdelibs-3.5.4-CVE-2009-1687.patch
# fix CVE-2009-1687 - possible ACE in KJS (FIXME: still crashes?)
Patch203: kdelibs-3.5.4-CVE-2009-1690.patch
# fix CVE-2009-1698 - crash, possible ACE in CSS style attribute handling
Patch204: kdelibs-3.5.10-cve-2009-1698.patch
# fix CVE-2009-2702 - ssl incorrect verification of SSL certificate with NUL in subjectAltName
Patch205: kdelibs-3.5.10-CVE-2009-2702.patch
# fix oCERT-2009-015 - unrestricted XMLHttpRequest access to local URLs
Patch206: kdelibs-3.5.10-oCERT-2009-015-xmlhttprequest.patch
# CVE-2009-3736, libltdl may load and execute code from a library in the current directory
Patch207: libltdl-CVE-2009-3736.patch
# CVE-2011-3365, input validation failure in KSSL
Patch208: kdelibs-3.5.x-CVE-2011-3365.patch
# CVE-2013-2074, prints passwords contained in HTTP URLs in error messages
Patch209: kdelibs-3.5.10-CVE-2013-2074.patch
# fix CVE-2006-4811 (former Patch2)
Patch220: kdelibs-3.5.5-khtml-overflow-CVE-2006-4811.patch
## fixes to common KDE 3 autotools machinery
# tweak autoconfigury so that it builds with autoconf 2.64 or 2.65
Patch300: kde3-acinclude.patch
# remove flawed and obsolete automake version check in admin/cvs.sh
Patch301: kde3-automake-version.patch
# fix build failure with automake 1.13: add the --add-missing --copy flags
# also add --force-missing to get aarch64 support (#925029/#925627)
Patch302: kde3-automake-add-missing.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: cups-devel >= 1.1.12
BuildRequires: qt-devel >= 3.3.2
BuildRequires: arts-devel >= 1:1.5.0
BuildRequires: flex >= 2.5.4a-13
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel >= 1.0.9
BuildRequires: libart_lgpl-devel >= 2.3.8
BuildRequires: doxygen sgml-common openjade
BuildRequires: texlive-common
BuildRequires: docbook-dtds docbook-style-dsssl docbook-utils
BuildRequires: perl-SGMLSpm pcre-devel
BuildRequires: jasper-devel
BuildRequires: bzip2-devel
BuildRequires: zlib-devel
BuildRequires: gettext
BuildRequires: openssl-devel
BuildRequires: libpng-devel >= 1.2.5
BuildRequires: libtiff-devel
BuildRequires: libidn-devel
BuildRequires: OpenEXR-devel
BuildRequires: alsa-lib-devel
BuildRequires: avahi-devel
BuildRequires: enchant-devel
BuildRequires: sudo
%if %{?_dist_release} != "vl4"
BuildRequires: libICE-devel libSM-devel
BuildRequires: libX11-devel libXext-devel libXft-devel libXrender-devel
BuildRequires: krb5-devel
BuildRequires: libutempter-devel
BuildRequires: libacl-devel libattr-devel
%else
# Vine Linux 4.x
BuildRequires: XOrg-devel
%endif
Requires: hicolor-icon-theme
#Requires: kde-settings
Requires: kdelibs-common
Requires: vine-menus
Requires: shadow-utils
Requires: sudo
Provides: crystalsvg-icon-theme = %{version}-%{release}
Obsoletes: kdesupport
Obsoletes: %{name}2 kdelibs-sound
Obsoletes: kdelibs < %{version}-%{release}
Provides: kdelibs = %{version}-%{release}
%description
Libraries for KDE 3:
KDE Libraries included: kdecore (KDE core library), kdeui (user interface),
kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking),
kspell (spelling checker), jscript (javascript), kab (addressbook),
kimgio (image manipulation).
%description -l ja
KDE 3 用ライブラリ:
KDE ライブラリは以下のものを含みます: kdecore (KDE コアライブラリ),kdeui
(ユーザインタフェース),kfm (ファイルマネージャ),khtmlw (HTML ウィジェット),
kio (入出力, ネットワーク),kspell (スペルチェッカー),jscript (javascript),
kab (アドレス帳),kimgio (イメージ操作)
%package devel
Summary: Header files for compiling KDE 3 applications.
Summary(ja): KDE 3 アプリケーションをコンパイルするためのヘッダーファイル
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: qt-devel >= 3.3.2
Requires: openssl-devel
Requires: arts-devel
Obsoletes: kdelibs-devel < %{version}-%{release}
Provides: kdelibs-devel = %{version}-%{release}
%description devel
This package includes the header files you will need to compile
applications for KDE.
%description devel -l ja
このパッケージは KDE 3 アプリケーションのコンパイルに必要なヘッダフ
ァイルを含んでいます.
%package apidocs
Summary: KDE 3 API documentation.
Summary(ja): KDE 3 API ドキュメント
Group: Documentation
Requires: %{name}-devel = %{version}-%{release}
Obsoletes: kdelibs-apidocs < %{version}-%{release}
Provides: kdelibs-apidocs = %{version}-%{release}
%description apidocs
This package includes the KDE 3 API documentation in HTML
format for easy browsing
%description -l ja apidocs
このパッケージは読みやすい HTML フォーマットによる、KDE 3 API
ドキュメントを含んでいます.
%prep
%setup -q -n kdelibs-%{version}
%patch1 -p1 -b .xdg-menu
%patch2 -p1 -b .debug
%patch4 -p1 -b .ksyscoca
%patch5 -p1 -b .openssl
%patch15 -p1 -b .buildroot
%patch32 -p1 -b .cups
%patch33 -p1 -b .ppc
%patch34 -p1 -b .qtdoc
%patch35 -p1 -b .inttype
%patch37 -p1 -b .kdebug-kmail-quiet
%patch38 -p1 -b .cupsdconf2-group
%patch39 -p1 -b .kabc-make
%patch40 -p1 -b .kdeprint-utf8
%patch41 -p1 -b .utempter
%patch43 -p1 -b .lang
%patch45 -p1 -b .xdg-autostart
%patch46 -p1 -b .kate-vhdl
%patch48 -p1 -b .kspell
%patch49 -p1 -b .kspell2
%patch50 -p1 -b .no-ispell
%patch51 -p1 -b .cupsserverbin
%patch52 -p1 -b .KDE3
%patch53 -p1 -b .drkonqi-kde4
%patch54 -p1 -b .inotify
%patch55 -p1 -b .latex-syntax
%patch56 -p1 -b .qcolor_gcc_ftbfs
%patch57 -p1 -b .cups-util
%patch58 -p1 -b .cups20
%patch100 -p1 -b .kstandarddirs
%patch101 -p1 -b .libtool-shlibext
%patch104 -p1 -b .gcc44
%patch105 -p1 -b .ossl-1.x
%patch106 -p1 -b .kio
%patch107 -p1 -b .assert
%patch108 -p1 -b .alias
%patch109 -p1 -b .kabc
#patch110 -p1 -b .autoconf
%patch111 -p1 -b .kde-config_kde-version
pushd kio/kio
%patch120 -p0
popd
#patch121 -p1
%patch150 -p1 -b .cups16
# security fixes
%patch200 -p1 -b .cve-2009-2537
%patch201 -p0 -b .cve-2009-1725
%patch202 -p1 -b .cve-2009-1687
%patch203 -p1 -b .cve-2009-1690
%patch204 -p1 -b .cve-2009-1698
%patch205 -p1 -b .cve-2009-2702
%patch206 -p0 -b .oCERT-2009-015-xmlhttprequest
%patch207 -p1 -b .CVE-2009-3736
%patch208 -p1 -b .CVE-2011-3365
%patch209 -p1 -b .CVE-2013-2074
%patch220 -p1 -b .CVE-2006-4811
%patch300 -p1 -b .acinclude
%patch301 -p1 -b .automake-version
%patch302 -p1 -b .automake-add-missing
make -f admin/Makefile.common cvs
%build
unset QTDIR || : ; . /etc/profile.d/qt.sh
export QTDOC=%{qt3_docdir}
if [ -x /etc/profile.d/krb5.sh ]; then
. /etc/profile.d/krb5.sh
elif ! echo ${PATH} | grep -q /usr/kerberos/bin ; then
export PATH=/usr/kerberos/bin:${PATH}
fi
export DO_NOT_COMPILE="libkscreensaver"
%configure \
--includedir=%{_includedir}/kde \
--disable-rpath \
--enable-new-ldflags \
--disable-dependency-tracking \
--disable-debug --disable-warnings --enable-final \
--disable-fast-malloc \
%if "%{_lib}" == "lib64"
--enable-libsuffix="64" \
%endif
--with-qt-libraries=$QTDIR/lib \
--with-extra-includes=%{_includedir}/avahi-compat-libdns_sd \
--enable-cups \
--enable-mitshm \
--enable-pie \
--enable-sendfile \
--enable-dnotify \
--enable-inotify \
--disable-libfam \
--with-acl \
--with-alsa \
--with-utempter \
--without-lua \
--with-libidn \
--with-libart \
--with-jasper \
--with-openexr \
--with-tiff \
--without-aspell \
--without-hspell \
--with-distribution="$(cat /etc/vine-release 2>/dev/null)"
# kill rpath harder, inspired by https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Removing_Rpath
# other more standard variants didnt work or caused other problems
sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' libtool
%if %{apidocs}
# make KDE API documentation
doxygen -s -u admin/Doxyfile.global
make %{?_smp_mflags} apidox
%endif
make %{?_smp_mflags} LDFLAGS="-L$QTDIR/lib"
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
# create/own, see http://bugzilla.redhat.com/483318
mkdir -p $RPM_BUILD_ROOT%{_libdir}/kconf_update_bin
chmod a+x $RPM_BUILD_ROOT%{_libdir}/*
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/services/devices.protocol
%if %{apidocs}
pushd $RPM_BUILD_ROOT%{_docdir}
ln -sf HTML/en/kdelibs-apidocs %{name}-devel-%{kde_major_version}
popd
%endif
# Make symlinks relative
pushd $RPM_BUILD_ROOT%{_datadir}/doc/HTML/en
for i in *; do
if [ -d $i -a -L $i/common ]; then
rm -f $i/common
ln -sf ../common $i
fi
done
popd
#install -p -m 644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/kde.sh
#install -p -m 644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/kde.csh
# for xdg-menu
#if !%{vine3}
# pushd $RPM_BUILD_ROOT/etc/xdg/menus/
# mv applications.menu kde-applications.menu
# ln -s applications-merged kde-applications-merged
# popd
#endif
# Use hicolor-icon-theme rpm/pkg instead (#178319)
rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/
# ghost'd files
touch $RPM_BUILD_ROOT%{_datadir}/services/ksycoca
# remove references to extraneous/optional libraries in .la files (#170602)
# fam, libart_lgpl, pcre, libidn, libpng, libjpeg, libdns_sd, libacl/libattr, alsa-lib/asound
find $RPM_BUILD_ROOT%{_libdir} -name "*.la" | xargs \
sed -i \
-e "s@-lfam@@g" \
-e "s@%{_libdir}/libfam.la@@g" \
-e "s@-lart_lgpl_2@@g" \
-e "s@%{_libdir}/libpcreposix.la@@g" \
-e "s@-lpcreposix@@g" \
-e "s@-lpcre@@g" \
-e "s@-lidn@@g" \
-e "s@%{_libdir}/libidn.la@@g" \
-e "s@-lpng@@g" \
-e "s@-ljpeg@@g" \
-e "s@%{_libdir}/libjpeg.la@@g" \
-e "s@-ldns_sd@@g" \
-e "s@-lacl@@g" \
-e "s@%{_libdir}/libacl.la@@g" \
-e "s@/%{_lib}/libacl.la@@g" \
-e "s@-lattr@@g" \
-e "s@%{_libdir}/libattr.la@@g" \
-e "s@/%{_lib}/libattr.la@@g" \
-e "s@-lasound@@g" \
-e "s@-lutempter@@g"
# libkdnssd bits
rm -f $RPM_BUILD_ROOT%{_libdir}/libkdnssd.la
%{?libkdnssd:rm -rf $RPM_BUILD_ROOT{%{_libdir}/libkdnssd.*,%{_includedir}/kde/dnssd}}
# remove conflicts with kdelibs-4
rm -f %{buildroot}%{_bindir}/checkXML
rm -f %{buildroot}%{_bindir}/kmailservice
rm -f %{buildroot}%{_bindir}/ksvgtopng
rm -f %{buildroot}%{_bindir}/ktelnetservice
rm -f %{buildroot}%{_bindir}/kunittestmodrunner
rm -f %{buildroot}%{_datadir}/config/kdebug.areas
rm -f %{buildroot}%{_datadir}/config/kdebugrc
rm -f %{buildroot}%{_datadir}/config/ui/ui_standards.rc
rm -f %{buildroot}%{_docdir}/HTML/en/common/1.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/10.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/2.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/3.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/4.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/5.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/6.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/7.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/8.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/9.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/artistic-license.html
rm -f %{buildroot}%{_docdir}/HTML/en/common/bottom-left.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/bottom-middle.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/bottom-right.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/bsd-license.html
rm -f %{buildroot}%{_docdir}/HTML/en/common/doxygen.css
rm -f %{buildroot}%{_docdir}/HTML/en/common/favicon.ico
rm -f %{buildroot}%{_docdir}/HTML/en/common/fdl-license
rm -f %{buildroot}%{_docdir}/HTML/en/common/fdl-license.html
rm -f %{buildroot}%{_docdir}/HTML/en/common/fdl-notice.html
rm -f %{buildroot}%{_docdir}/HTML/en/common/footer.html
rm -f %{buildroot}%{_docdir}/HTML/en/common/gpl-license
rm -f %{buildroot}%{_docdir}/HTML/en/common/gpl-license.html
rm -f %{buildroot}%{_docdir}/HTML/en/common/header.html
rm -f %{buildroot}%{_docdir}/HTML/en/common/kde-default.css
rm -f %{buildroot}%{_docdir}/HTML/en/common/kde_logo_bg.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/lgpl-license
rm -f %{buildroot}%{_docdir}/HTML/en/common/lgpl-license.html
rm -f %{buildroot}%{_docdir}/HTML/en/common/mainfooter.html
rm -f %{buildroot}%{_docdir}/HTML/en/common/mainheader.html
rm -f %{buildroot}%{_docdir}/HTML/en/common/qpl-license.html
rm -f %{buildroot}%{_docdir}/HTML/en/common/top-left.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/top-middle.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/top-right-konqueror.png
rm -f %{buildroot}%{_docdir}/HTML/en/common/top-right.jpg
rm -f %{buildroot}%{_docdir}/HTML/en/common/x11-license.html
rm -f %{buildroot}%{_docdir}/HTML/en/common/xml.dcl
rm -rf %{buildroot}%{_datadir}/locale/all_languages
rm -rf %{buildroot}%{_sysconfdir}/xdg/menus/
rm -rf %{buildroot}%{_datadir}/autostart/
rm -f %{buildroot}%{_datadir}/config/colors/40.colors
rm -f %{buildroot}%{_datadir}/config/colors/Rainbow.colors
rm -f %{buildroot}%{_datadir}/config/colors/Royal.colors
rm -f %{buildroot}%{_datadir}/config/colors/Web.colors
rm -f %{buildroot}%{_datadir}/config/ksslcalist
rm -f %{buildroot}%{_bindir}/preparetips
# don't show kresources
sed -i -e "s,^OnlyShowIn=KDE;,OnlyShowIn=KDE3;," $RPM_BUILD_ROOT%{_datadir}/applications/kde/kresources.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg 2> /dev/null || :
%{_bindir}/update-desktop-database > /dev/null 2>&1 || :
%postun
/sbin/ldconfig
touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg 2> /dev/null || :
%{_bindir}/update-desktop-database > /dev/null 2>&1 || :
%files
%defattr(-,root,root)
%doc README COPYING.LIB
#config(noreplace) %{_sysconfdir}/profile.d/*
%{_bindir}/artsmessage
%{_bindir}/cupsdconf
%{_bindir}/cupsdoprint
%{_bindir}/dcop
%{_bindir}/dcopclient
%{_bindir}/dcopfind
%{_bindir}/dcopobject
%{_bindir}/dcopquit
%{_bindir}/dcopref
%{_bindir}/dcopserver
%{_bindir}/dcopserver_shutdown
%{_bindir}/dcopstart
%{_bindir}/filesharelist
%{_bindir}/fileshareset
%{_bindir}/imagetops
%{_bindir}/kab2kabc
%{_bindir}/kaddprinterwizard
%{_bindir}/kbuildsycoca
%{_bindir}/kcmshell
%{_bindir}/kconf_update
%{_bindir}/kcookiejar
%{_bindir}/kde-config
%{_bindir}/kde-menu
%{_bindir}/kded
%{_bindir}/kdeinit
%{_bindir}/kdeinit_shutdown
%{_bindir}/kdeinit_wrapper
%{_bindir}/kdesu_stub
%{_bindir}/kdontchangethehostname
%{_bindir}/kdostartupconfig
%{_bindir}/kfile
%{_bindir}/kfmexec
%{_bindir}/khotnewstuff
%{_bindir}/kinstalltheme
%{_bindir}/kio_http_cache_cleaner
%{_bindir}/kio_uiserver
%{_bindir}/kioexec
%{_bindir}/kioslave
%{_bindir}/klauncher
%attr(4755,root,root) %{_bindir}/kpac_dhcp_helper
%{_bindir}/ksendbugmail
%{_bindir}/kshell
%{_bindir}/kstartupconfig
%{_bindir}/ktradertest
%{_bindir}/kwrapper
%{_bindir}/lnusertemp
%{_bindir}/make_driver_db_cups
%{_bindir}/make_driver_db_lpr
%{_bindir}/meinproc
%{_bindir}/start_kdeinit
%{_bindir}/start_kdeinit_wrapper
%attr(4755,root,root) %{_bindir}/kgrantpty
%{_libdir}/lib*.so.*
%{_libdir}/libkdeinit_*.so
%{_libdir}/lib*.la
%{_libdir}/kconf_update_bin
%{_libdir}/kde3
%{_datadir}/applications
%{_datadir}/apps
%exclude %{_datadir}/apps/ksgmltools2
%config(noreplace) %{_datadir}/config/*
%{_datadir}/emoticons
%{_datadir}/icons/default.kde
%{_datadir}/icons/crystalsvg
%{_datadir}/locale
%{_datadir}/mimelnk
%{_datadir}/services/*
%{_datadir}/servicetypes/*
%ghost %{_datadir}/services/ksycoca
%doc %{_datadir}/doc/HTML/en/common
%doc %{_datadir}/doc/HTML/en/kspell
%files devel
%defattr(-,root,root)
%{_bindir}/dcopidl*
%{_bindir}/kconfig_compiler
%{_bindir}/makekdewidgets
%{_datadir}/apps/ksgmltools2
%{_includedir}/kde
%{_libdir}/lib*.so
%{_libdir}/lib*.a
%exclude %{_libdir}/libkdeinit_*.so
%if %{apidocs}
%files apidocs
%defattr(-,root,root,-)
%{_docdir}/%{name}-devel-%{kde_major_version}
%{_docdir}/HTML/en/kdelibs*
%endif
%changelog
* Thu Jun 30 2016 Yoji TOYODA 3.5.10-11
- rebuild with gcc-5.4.0
- add BuildRequires: texlive-common
- remove BuildRequires: jadetex
* Thu Dec 18 2014 Ryoichi INAGAKI 3.5.10-10
- rebuilt with OpenEXR 2.2.0
- added Patch58 from Fedora to built with cups 2.0.0
* Tue Nov 25 2014 Kevin Kofler 3.5.10-65
- fix FTBFS with CUPS 2.0 due to bad CUPS_VERSION_MAJOR checks
* Mon Oct 27 2014 Ryoichi INAGAKI 3.5.10-9
- omit %{_bindir}/kmailservice and %{_bindir}/ktelnetservice
* Wed Oct 1 2014 Ryoichi INAGAKI 3.5.10-8
- added BR: libtiff-devel, zlib-devel and sudo
- removed unnecessary dependencies
* Tue Sep 30 2014 Ryoichi INAGAKI 3.5.10-7
- rebuilt on current VineSeed
- added Patch 56, 57, 150, 208, 209, 300, 301 and 302 from FC
- updated Patch54 from FC
- dropt apidocs subpackage
- removed kde-settings dependency
* Thu Mar 24 2011 Ryoichi INAGAKI 3.5.10-6
- rebuilt with openssl-1.0.0d, krb5-libs-1.8.2 and cups-1.4.6
- added R: kdelibs-common
* Sat Sep 4 2010 Ryoichi INAGAKI 3.5.10-5
- updated summary
- changed apidocs Group to Documentation
* Sun Jul 18 2010 Ryoichi INAGAKI 3.5.10-4
- rebuilt for VineSeed
* Tue Jul 13 2010 Ryoichi INAGAKI 3.5.10-3vl5
- added BR: libutempter-devel, libacl-devel, libattr-devel, enchant-devel
- added --with-extra-includes=%%{_includedir}/avahi-compat-libdns_sd
- removed --with-xinerama, --disable-fam from configure
- removed BR: openldap-devel
* Sat Mar 20 2010 Ryoichi INAGAKI 3.5.10-1
- updated to 3.5.10 based on FC (includes the following security fixes)
* Mon Dec 07 2009 Than Ngo - 3.5.10-21
- fix security issues in libltdl bundle within kdelibs CVE-2009-3736
* Mon Nov 2 2009 Lukáš Tinkl - 3.5.10-20
- fix unrestricted XMLHttpRequest access to local URLs (oCERT-2009-015), #532428
* Fri Sep 04 2009 Than Ngo - 3.5.10-15
- fix for CVE-2009-2702
* Sun Jul 26 2009 Kevin Kofler - 3.5.10-13
- fix CVE-2009-2537 - select length DoS
- fix CVE-2009-1725 - crash, possible ACE in numeric character references
- fix CVE-2009-1690 - crash, possible ACE in KHTML ( use-after-free)
- fix CVE-2009-1687 - possible ACE in KJS (FIXME: still crashes?)
- fix CVE-2009-1698 - crash, possible ACE in CSS style attribute handling
- moved Patch2 to Patch220, Patch20 to Patch120
- built with new toolchain
- Requires: kde-settings for /etc/profile.d/kde.{sh,csh}
* Sun Aug 30 2009 Ryoichi INAGAKI 3.5.8-3
- renamed kdelibs3
- split apidoc sub-package
* Fri May 8 2009 Ryoichi INAGAKI 3.5.8-2
- added SOURCE1-3
- added Patch54 from Fedora
* Fri Aug 22 2008 Kevin Kofler 3.5.9-18
- fix build against Rawhide kernel headers (fix flock and flock64 redefinition)
- fixed %%files section based on Fedora
* Sun Sep 14 2008 Ryoichi INAGAKI 3.5.8-1
- applied new versioning policy
- defined %%{vine3}, %%{vine5} macro instead of %%{vine4} macro
- redefined %%__libtoolize
- omitted extraneous .la file references
* Mon Nov 26 2007 AKIYAMA Kazuhito 3.5.8-0vl4
- rebuild for VineSeed
* Mon Nov 26 2007 AKIYAMA Kazuhito 3.5.8-0vl3
- add Patch20 (BTS:561)
* Tue Oct 16 2007 AKIYAMA Kazuhito 3.5.8-0vl2
- rebuild for VineSeed
* Tue Oct 16 2007 AKIYAMA Kazuhito 3.5.8-0vl1
- new upstream release
- drop Patch3
- add Patch4 (bug #150809, #150904)
- add Patch5 (post 3.5.8 zoom fix)
* Thu Aug 16 2007 AKIYAMA Kazuhito 3.5.7-0vl3
- add Patch3 (CVE-2007-4225)
* Wed Jun 20 2007 AKIYAMA Kazuhito 3.5.7-0vl2
- rebuild for VineSeed
* Mon Jun 18 2007 AKIYAMA Kazuhito 3.5.7-0vl1
- new upstream release
- drop Patch1
- add Patch100 to support kdnssd-avahi
- add Requires: nss-mdns
* Tue Jan 16 2007 Ryoichi INAGAKI 3.5.5-0vl8
- rebuild with jasper 1.900.0
* Tue Oct 24 2006 AKIYAMA Kazuhito 3.5.5-0vl7
- rebuild for VineSeed
* Tue Oct 24 2006 AKIYAMA Kazuhito 3.5.5-0vl6
- add Patch2 (CVE-2006-4811)
* Sat Oct 14 2006 NAKAMURA Kenta 3.5.5-0vl5
- added --with-qt-libraries and --enable-libsuffix option
- removed --libdir=%%{_libdir} option
* Thu Oct 12 2006 AKIYAMA Kazuhito 3.5.5-0vl4
- rebuild for VineSeed
* Thu Oct 12 2006 AKIYAMA Kazuhito 3.5.5-0vl3
- add Patch1 (https://bugs.kde.org/show_bug.cgi?id=135409)
* Tue Oct 3 2006 AKIYAMA Kazuhito 3.5.5-0vl2
- rebuild for VineSeed
* Tue Oct 3 2006 AKIYAMA Kazuhito 3.5.5-0vl1
- new upstream release
* Tue Sep 05 2006 NAKAMURA Kenta 3.5.4-0vl4
- added --libdir=%%{_libdir} configure option
* Sun Aug 27 2006 NAKAMURA Kenta 3.5.4-0vl3
- rebuilt with openldap-2.3.27-0vl1
* Tue Jul 25 2006 AKIYAMA Kazuhito 3.5.4-0vl2
- rebuild for VineSeed
* Tue Jul 25 2006 AKIYAMA Kazuhito 3.5.4-0vl1
- new upstream release
* Wed Jun 14 2006 MATSUBAYASHI Kohji 3.5.3-0vl3
- rebuilt with gamin-devel in place of fam-devel
* Wed May 24 2006 AKIYAMA Kazuhito 3.5.3-0vl2
- rebuild for VineSeed
* Wed May 24 2006 AKIYAMA Kazuhito 3.5.3-0vl1
- new upstream release
* Wed Mar 22 2006 AKIYAMA Kazuhito 3.5.2-0vl2
- rebuild for VineSeed
* Wed Mar 22 2006 AKIYAMA Kazuhito 3.5.2-0vl1
- new upstream release
- drop Patch20
- change xdg-menu and Requires: vine-menus for VineSeed
* Fri Mar 17 2006 AKIYAMA Kazuhito 3.5.1-0vl3
- add Patch20 to fix warning of 'meinproc -v'
* Tue Jan 24 2006 AKIYAMA Kazuhito 3.5.1-0vl2
- rebuild for VineSeed
* Tue Jan 24 2006 AKIYAMA Kazuhito 3.5.1-0vl1
- new upstream release
- drop Patch1
* Wed Jan 11 2006 AKIYAMA Kazuhito 3.5.0-0vl4
- rebuild for VineSeed
* Wed Jan 11 2006 AKIYAMA Kazuhito 3.5.0-0vl3
- add Patch1 (http://www.kde.org/info/security/advisory-20060119-1.txt)
* Thu Dec 8 2005 AKIYAMA Kazuhito 3.5.0-0vl2
- rebuild for VineSeed
* Mon Nov 28 2005 AKIYAMA Kazuhito 3.5.0-0vl1
- new upstream release
* Fri Nov 11 2005 AKIYAMA Kazuhito 3.5.0-0vl0.rc1
- new upstream release
* Thu Oct 13 2005 AKIYAMA Kazuhito 3.4.92-0vl1
- new upstream release
* Mon Sep 12 2005 AKIYAMA Kazuhito 3.4.91-0vl1
- new upstream release
* Fri Jul 22 2005 AKIYAMA Kazuhito 3.4.2-0vl2
- build for VineSeed (with_gnome_menus 1, alsa 1)
* Fri Jul 22 2005 AKIYAMA Kazuhito 3.4.2-0vl1
- new upstream release
- build for Vine3.1 (with_gnome_menus 0, alsa 0)
* Thu Jun 30 2005 AKIYAMA Kazuhito 3.4.1-0vl2
- build for VineSeed (with_gnome_menus 1)
- add --disable-rpath --with-alsa to configure option
- add alsa support
* Wed Jun 1 2005 AKIYAMA Kazuhito 3.4.1-0vl1
- new upstream release
- build for Vine3.1 (with_gnome_menus 0)
- remove patch1
- use %%{?_smp_mflags} for make option
* Fri May 6 2005 AKIYAMA Kazuhito 3.4.0-0vl7
- build for VineSeed
- revised source1
* Wed May 4 2005 AKIYAMA Kazuhito 3.4.0-0vl6
- update patch1 (http://www.kde.org/info/security/advisory-20050504-1.txt)
* Tue Apr 19 2005 AKIYAMA Kazuhito 3.4.0-0vl5
- rebuild for VineSeed
* Tue Apr 19 2005 AKIYAMA Kazuhito 3.4.0-0vl4
- add patch1: CAN-2005-1046
* Tue Apr 12 2005 AKIYAMA Kazuhito 3.4.0-0vl3
- add patch10: arrange *.menu to use applications.menu from gnome-menus
- add BuildPrereq: fam-devel and remove --disable-fam from configure
- re-number patches
- add translated descriptions (thanks to spec file translation project)
* Wed Mar 16 2005 AKIYAMA Kazuhito 3.4.0-0vl2
- rebuild for VineSeed
* Thu Mar 10 2005 AKIYAMA Kazuhito 3.4.0-0vl1
- new upstream release
* Tue Mar 1 2005 AKIYAMA Kazuhito 3.4.0-0vl0.rc1
- new upstream release (3.4.0-rc1)
- update %%files
* Mon Feb 7 2005 AKIYAMA Kazuhito 3.3.92-0vl1
- new upstream release
- remove Patch0
* Tue Jan 25 2005 AKIYAMA Kazuhito 3.3.91-0vl1
- new upstream release
- remove Patch1
* Thu Jan 6 2005 AKIYAMA Kazuhito 3.3.2-0vl4
- rebuild for VineSeed
* Thu Jan 6 2005 AKIYAMA Kazuhito 3.3.2-0vl3
- add patch2 (http://www.kde.org/info/security/advisory-20050101-1.txt)
* Sat Dec 18 2004 AKIYAMA Kazuhito 3.3.2-0vl2
- rebuild for VineSeed
* Sat Dec 18 2004 AKIYAMA Kazuhito 3.3.2-0vl1
- source upgrade
- build for Vine Linux 3.1
- add patch0 (http://www.kde.org/info/security/advisory-20041209-1.txt)
- add patch1 (http://www.kde.org/info/security/advisory-20041213-1.txt)
- add BuildPrereq: libidn-devel and Requires: libidn
* Tue Dec 14 2004 Satoshi MACHINO 3.3.1-0vl2
- build on jasper-devel-1.701.0-0vl1
* Sat Oct 9 2004 AKIYAMA Kazuhito 3.3.1-0vl1
- source upgrade
- set cups default (remove option for cups)
- refine %%files
* Sun Sep 5 2004 AKIYAMA Kazuhito 3.3.0-0vl1
- source upgrade
- remove patch0
- add BuildPrerep: aspell-devel
* Tue Aug 10 2004 AKIYAMA Kazuhito 3.2.3-0vl2
- rebuild with qt32
- add Patch0 from kde.org
- add BuildPrereq: gettext openssh-devel
- remove /usr/share/icons/hicolor/index.theme
* Fri Jun 4 2004 AKIYAMA Kazuhito 3.2.3-0vl1
- remove all patches
- add BuildPrereq: bzip2-devel
- remove lines about vine26
* Mon May 17 2004 AKIYAMA Kazuhito 3.2.2-0vl2
- add patch1 and patch2 from kde-packager ML
* Fri Apr 30 2004 AKIYAMA Kazuhito 3.2.2-0vl1
- source upgrade
- add patch0 from kde-packager ML
* Fri Mar 26 2004 AKIYAMA Kazuhito 3.2.1-0vl2
- rebuild with openssl-0.9.7d
* Mon Mar 8 2004 AKIYAMA Kazuhito 3.2.1-0vl1
- source upgrade
* Sun Feb 1 2004 AKIYAMA Kazuhito 3.2.0-0vl1
- source upgrade
- add BuildPrereq: jasper-devel
- add Requires: pcre cyrus-sasl libogg libvorbis jasper openssl
- add --sysconfdir=%%{_sysconfdir} to configure option
- enable cups support
* Sat Jan 17 2004 AKIYAMA Kazuhito 3.1.5-0vl2
- rebuild for VineSeedPlus
* Sat Jan 10 2004 AKIYAMA Kazuhito 3.1.5-0vl1
- source upgrade
- build for VinePlus/2.6
- (VinePlus/2.6) BuildPrereq: autoconf258
* Mon Dec 29 2003 AKIYAMA Kazuhito 3.1.4-0vl4
- install KDE API documentation
* Sun Dec 21 2003 AKIYAMA Kazuhito 3.1.4-0vl3
- build for VineSeed with new toolchain and qt-3.2.3
* Sun Oct 19 2003 AKIYAMA Kazuhito 3.1.4-0.26vl2
- rebuild with qt-3.2.1-0.26vl3
* Sun Oct 19 2003 AKIYAMA Kazuhito 3.1.4-0vl2
- rebuild with qt-3.2.1-0vl3
* Wed Sep 17 2003 AKIYAMA Kazuhito 3.1.4-0vl1
- source upgrade
- remove Patch0
- build with gcc-3.2.3
* Sat Aug 9 2003 AKIYAMA Kazuhito 3.1.3-0vl2
- add patch0 from kde-packager ML
* Wed Jul 23 2003 AKIYAMA Kazuhito 3.1.3-0vl1
- source upgrade
- add BuildPrereq: openldap-devel and Requires: openldap
* Sat Jul 5 2003 AKIYAMA Kazuhito 3.1.2-0vl3
- change spec to build with gcc295
- change make option for SMP and add script
* Thu Jun 19 2003 AKIYAMA Kazuhito 3.1.2-0vl2
- add CFLAGS and CXXFLAGS
- change spec to build with g++-2.95.3
* Sat May 10 2003 AKIYAMA Kazuhito 3.1.2-0vl1
- source upgrade
- Requires: arts >= 1:1.1.2 and BuildPrereq: arts-devel >= 1:1.1.2
* Mon Apr 21 2003 AKIYAMA Kazuhito 3.1.1a-0vl3
- revised description
- clean up files section
* Mon Apr 21 2003 AKIYAMA Kazuhito 3.1.1a-0vl2
- add BuildPrereq: libjpeg-devel libmng-devel libtiff-devel
- rebuilt with libpng >= 1.2.5 when %%{vine26} is set to 0 (ie VineSeedPlus)
* Thu Apr 10 2003 AKIYAMA Kazuhito 3.1.1a-0vl1
- security release
- remove patch0 and patch1 (included in this source)
* Sun Mar 23 2003 AKIYAMA Kazuhito 3.1.1-0vl1
- source upgrade
- renumber patch0 to patch800
- add patch0 from kde.org (Bug #55571)
- add patch1 (http://lists.kde.org/?l=kde-core-devel&m=104221693026288&w=2)
* Tue Feb 25 2003 Tomoya TAKA 3.1-0vl5
- fix handling of %%patch0
* Mon Feb 24 2003 AKIYAMA Kazuhito 3.1-0vl4
- rebuild with qt-3.1.1-0vl3
* Tue Feb 18 2003 AKIYAMA Kazuhito 3.1-0vl3
- add Patch for fix KHTML
* Tue Feb 11 2003 AKIYAMA Kazuhito 3.1-0vl2
- change spec to build both VineSeed and Vine2.5/2.6
* Thu Jan 30 2003 AKIYAMA Kazuhito 3.1-0vl1
- source upgrade to 3.1-stable
* Thu Jan 23 2003 AKIYAMA Kazuhito 3.1-0.rc7vl3
- source upgrade to 3.1rc7 of Jan 23 tarball
* Wed Jan 22 2003 AKIYAMA Kazuhito 3.1-0.rc7vl2
- source upgrade to 3.1rc7 of Jan 21 tarball
* Sun Jan 19 2003 AKIYAMA Kazuhito 3.1-0.rc7vl1
- source upgrade to 3.1rc7
* Sun Jan 12 2003 AKIYAMA Kazuhito 3.1-0.rc6vl1
- source upgrade to 3.1rc6
- stop using objprelink2, it does not work with gcc3
- delete all patches
- add BuildPrereq: libart_lgpl-devel >= 2.3.8
- update %%files section
- change configure option
* Sun Nov 17 2002 AKIYAMA Kazuhito 3.0.4-0vl3
- add Patch0 (security patch)
- add export PATH=`pwd`:$PATH to %%build and %%install section
* Wed Oct 16 2002 AKIYAMA Kazuhito 3.0.4-0vl2
- objprelink2 support only i386 (add %%ifarch i386 ... again)
* Thu Oct 10 2002 AKIYAMA Kazuhito 3.0.4-0vl1
- source upgrade
- delete patch0
- BuildPrereq: arts-devel >= 1:1.0.4 and Requires: arts >= 1:1.0.4
* Tue Oct 8 2002 AKIYAMA Kazuhito 3.0.3-0vl3
- rebuild with qt-3.0.5-0vl1
- BuildPrereq: autoconf253 automake15 objprelink2
* Wed Sep 11 2002 AKIYAMA Kazuhito 3.0.3-0vl2
- add patch0 to fix for cross side scripting domain check
* Tue Aug 20 2002 AKIYAMA Kazuhito 3.0.3-0vl1
- source upgrade
* Tue Jul 9 2002 AKIYAMA Kazuhito 3.0.2-0vl1
- source upgrade
- delete patch1
* Fri Jun 7 2002 AKIYAMA Kazuhito 3.0.1-0vl1
- source upgrade to 3.0.1
- add patch1 from kde.org (security patch)
* Mon Apr 15 2002 AKIYAMA Kazuhito 3.0-1vl2
- source upgrade to 3.0
- add patch800 from kde.gr.jp
- add patch900 from http://pc.2ch.net/test/read.cgi/linux/1007375984/332
* Sat Mar 30 2002 AKIYAMA Kazuhito 3.0-1vl1
- source update to cvs-20020329
- delete all patches
- merged with rawhide 3.0.0-0.cvs20020319.1
- add BuildPrereq: doxygen autoconf252 automake15
- There is Vine's previous changes, hacked for Vine
-- Sat Mar 16 2002 AKIYAMA Kazuhito 2.2.2-0vl1
- update to 2.2.2
- build with qt-2.3.1-6vl5
- cleanup spec
- update patch100 and 101
-- Mon Dec 31 2001 AKIYAMA Kazuhito 2.2.1-1vl4
- rebuild with qt-2.3.1-6vl3
-- Tue Nov 27 2001 AKIYAMA Kazuhito 2.2.1-1vl3
- Change optimize flag to "-O2"
- Add objprelink option (i386 only)
-- Tue Oct 16 2001 AKIYAMA Kazuhito 2.2.1-1vl1
- Build for VineSeed
- Delete Epoch
- Add Requires and BuildPrereq
* Tue Mar 19 2002 Bernhard Rosenkraenzer 3.0.0-0.cvs20020319.1
- switch to doxygen for building docs
* Thu Mar 14 2002 Bernhard Rosenkraenzer 3.0-0.cvs20020314.1
- s/qDebug/kdDebug/
* Mon Mar 11 2002 Bernhard Rosenkraenzer 3.0-0.cvs20020311.1
- Reduce debug spewage
* Fri Mar 1 2002 Bernhard Rosenkraenzer 3.0-0.cvs20020301.1
- Update
* Fri Feb 15 2002 Bernhard Rosenkraenzer 3.0-0.cvs20020215.1
- Update
- arts is no longer part of kdelibs
* Mon Feb 11 2002 Bernhard Rosenkraenzer 3.0-0.cvs20020211.1
- Update
- Build with Xinerama support
* Mon Jan 28 2002 Bernhard Rosenkraenzer 3.0-0.cvs20020128.3
- Rebuild from a fresh CVS checkout
* Mon Jan 28 2002 Bernhard Rosenkraenzer 3.0-0.cvs20020128.1
- KABC::AddressBook::reload() added
* Sat Jan 26 2002 Bernhard Rosenkraenzer 3.0-0.cvs20020126.1
- Update to get API changes
- Build with CUPS support
* Thu Jan 17 2002 Bernhard Rosenkraenzer 3.0-0.cvs20020117.1
- Update
* Wed Jan 9 2002 Bernhard Rosenkraenzer 3.0-0.cvs20020109.1
- Stop excluding alpha, gcc has been fixed
- Fix generation of API docs
- Fix up SSL support
* Mon Jan 7 2002 Bernhard Rosenkraenzer 3.0-0.cvs20020107.1
- arts-devel provides kdelibs-sound-devel for backwards compatibility
- Update, rebuild with gcc 3.1-0.15
* Fri Jan 4 2002 Bernhard Rosenkraenzer 3.0-0.cvs20020104.1
- Update
- Make sure we aren't built with gcc 3.1 prior to -0.14
- Remove -O0 hack, no longer needed with gcc 3.1-0.14
- Adapt spec file to base changes (good-bye, libkfile, libkssl and libksycoca!)
* Sat Dec 29 2001 Bernhard Rosenkraenzer 3.0-0.cvs20011229.1
- Update
- stop excluding alpha
* Fri Dec 14 2001 Bernhard Rosenkraenzer 3.0-0.cvs20011214.1
- Update
- Update Japanese patches
- Temporarily exclude alpha (compiler bugs)
- Add workaround for gcc bug #57502
* Sun Nov 11 2001 Bernhard Rosenkraenzer 3.0-0.cvs20011111.1
- Get rid of kdelibs-sound, kdelibs-sound-devel; add arts-devel. Makes more
sense.
* Thu Oct 18 2001 Bernhard Rosenkraenzer 3.0-0.cvs20011018.1
- Various 3.0 related fixes
* Thu Aug 2 2001 Bernhard Rosenkraenzer 2.2-0.cvs20010802.1
- Remove the japanese khtml patches, they break too many non-japanese web
pages
* Mon Jul 30 2001 Bernhard Rosenkraenzer 2.2-0.cvs20010730.1
- Update, fixes