Sophie

Sophie

distrib > Mageia > 2 > x86_64 > media > core-release-src > by-pkgid > 71f52a1caad5b55830cde47f6d0a5a37 > files > 13

qt4-4.8.1-2.mga2.src.rpm

%define _default_patch_fuzz 1
%define _disable_exceptions 1
%define with_webkit 0
%define build_bootstrap 0
%{?_with_bootstrap: %{expand: %%global build_bootstrap 1}}

%bcond_without postgres
%bcond_without mysql
%bcond_without sqlite
%bcond_without tds
%bcond_without cups
%bcond_without qvfb
%bcond_without docs

%bcond_with odbc
%bcond_with debug
%bcond_with ibase
%if %{build_bootstrap}
%bcond_without local_phonon_package
%else
%bcond_with local_phonon_package
%endif
#git clone git://gitorious.org/+kde-developers/qt/kde-qt.git
#cd kde-qt
#git archive --format=tar --prefix=kde-qt-everywhere-opensource-src-4.6.2/ master | bzip2 >/tmp/kde-qt-everywhere-opensource-src-4.6.2.tar.bz2
%define with_kde_qt 0
%define kdeqttarballdir kde-qt-everywhere-opensource-src-%{qtversion} 
%define with_qt_snapshot 0

%define qtmajor 4
%define qtminor 8
%define qtsubminor 1
%define rel 2

%define qtversion %{qtmajor}.%{qtminor}.%{qtsubminor}

%define libqt %mklibname qt %qtmajor
%define libqtdevel %mklibname qt %qtmajor -d
%define libqt3support %mklibname qt3support %qtmajor
%define libqtcore %mklibname qtcore %qtmajor
%define libqtdesigner %mklibname qtdesigner %qtmajor
%define libqtgui %mklibname qtgui %qtmajor
%define libqtnetwork %mklibname qtnetwork %qtmajor
%define libqtopengl %mklibname qtopengl %qtmajor
%define libqtsql %mklibname qtsql %qtmajor
%define libqtxml %mklibname qtxml %qtmajor
%define libqtscripttools %mklibname qtscripttools %qtmajor
%define libqtxmlpatterns %mklibname qtxmlpatterns %qtmajor
%define libqtsvg %mklibname qtsvg %qtmajor
%define libqttest %mklibname qttest %qtmajor
%define libqdbus %mklibname qtdbus %qtmajor
%define libqtscript %mklibname qtscript %qtmajor
%define libqtclucene %mklibname qtclucene %qtmajor
%define libqthelp %mklibname qthelp %qtmajor
%define libqtwebkit %mklibname qtwebkit %qtmajor
%define libqtmultimedia %mklibname qtmultimedia %qtmajor
%define libphonon %mklibname phonon %qtmajor
%define libqtdeclarative %mklibname qtdeclarative %qtmajor

%define _qt4_prefix %{_libdir}/qt4
%define _qt4_datadir %{_qt4_prefix}
%define _qt4_bindir %{_qt4_prefix}/bin
%define _qt4_docdir %{_docdir}/qt4
%define _qt4_libdir %{_libdir}
%define _qt4_includedir %{_includedir}
%define _qt4_plugindir %{_qt4_prefix}/plugins
%define _qt4_demosdir %{_qt4_prefix}/demos
%define _qt4_examplesdir %{_qt4_prefix}/examples
%define _qt4_importdir %{_qt4_prefix}/imports
%define _qt4_translationdir %{_datadir}/qt4/translations
%define _qt4_sysconfigdir %{_sysconfdir}

%if %with_kde_qt
%define qttarballdir kde-qt-everywhere-opensource-src-%{qtversion}
%else
%define qttarballdir qt-everywhere-opensource-src-%{qtversion}
%endif

Name: qt4
Version: %{qtversion}
Release: %mkrel %{rel}
Epoch: 4
Summary: Qt GUI toolkit
Group: Development/KDE and Qt
License: LGPLv2 with exceptions or GPLv3 with exceptions and GFDL
URL:     http://qt.nokia.com/
%if %with_kde_qt
Source0: http://get.qt.nokia.com/qt/source/%{kdeqttarballdir}.tar.bz2
Source6: qt-everywhere-opensource-src-doc-4.6.2.tar.bz2
%else
Source0: http://get.qt.nokia.com/qt/source/%{qttarballdir}.tar.gz
%endif
Source2: qt4.macros
Source3: mageia-designer-qt4.desktop 
Source4: mageia-assistant-qt4.desktop 
Source5: mageia-linguist-qt4.desktop

#Branch Patchs
Patch100: qt-everywhere-opensource-src-4.8.0-QTBUG-19804-fix-qvfb-build.patch
Patch101: qt-everywhere-opensource-src-4.8.1-QTBUG-24718-Fix-crash-in-cursorTox.patch

#Trunk Patchs


#Patch from Mageia
Patch301: qt-everywhere-opensource-src-4.7.4-workaround-QTBUG-22829.patch

#Patch from Mandriva/Fedora/Gentoo/Arch/Debian/whatelse ;o)
Patch400: qt-everywhere-opensource-src-4.8.0-tp-qtreeview-kpackagekit-crash.patch
Patch401: qt-everywhere-opensource-src-4.8.0-QTBUG-21900.patch
Patch402: qt-everywhere-opensource-src-4.8.0-QTBUG-22037.patch
# https://bugs.webkit.org/show_bug.cgi?id=63941
# -Wall + -Werror = fail
Patch403: qt-4.8.1-webkit-no_Werror.patch

BuildRequires: pkgconfig(xtst)
BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(gl)
BuildRequires: mesa-common-devel
BuildRequires: pkgconfig(zlib) 
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(libpng) 
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: libmng-devel
BuildRequires: pkgconfig(lcms)
BuildRequires: cups-devel
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(fontconfig)
BuildRequires: expat-devel
BuildRequires: pkgconfig(dbus-1) >= 0.92
BuildRequires: termcap-devel
BuildRequires: libpam-devel
BuildRequires: readline-devel
BuildRequires: perl
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libxml-2.0)
#BuildRequires: pkgconfig(icu-i18n)
BuildRequires: binutils >= 2.18 
# For qtgtk style 
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: rsync

%description
Qt is a GUI software toolkit which simplifies the task of writing and
maintaining GUI (Graphical User Interface) applications for the X
Window System. Qt is written in C++ and is fully object-oriented.

This package contains the shared library needed to run Qt
applications, as well as the README files for Qt.

#------------------------------------------------------------------------------

%package common
Summary: Qt%{qtmajor} Config and Language Files
Group: Development/KDE and Qt

%description common
Qt is a GUI software toolkit which simplifies the task of writing and
maintaining GUI (Graphical User Interface) applications for the X
Window System. Qt is written in C++ and is fully object-oriented.

Configuration and language files for Qt%{qtmajor}.

%files common
%attr(0755,root,root) %{_sysconfdir}/profile.d/*
%dir %{_qt4_datadir}
%dir %{_qt4_bindir}
%dir %{_qt4_plugindir}
%dir %{_qt4_importdir}
%{_qt4_datadir}/phrasebooks
%if %with docs
%dir %{_qt4_translationdir}
%lang(ar) %{_qt4_translationdir}/qt_ar.qm
%lang(cs) %{_qt4_translationdir}/qt_cs.qm
%lang(da) %{_qt4_translationdir}/qt_da.qm
%lang(de) %{_qt4_translationdir}/qt_de.qm
%lang(es) %{_qt4_translationdir}/qt_es.qm
%lang(fa) %{_qt4_translationdir}/qt_fa.qm
%lang(fr) %{_qt4_translationdir}/qt_fr.qm
%lang(gl) %{_qt4_translationdir}/qt_gl.qm
%lang(he) %{_qt4_translationdir}/qt_he.qm
%lang(lt) %{_qt4_translationdir}/qt_lt.qm
%lang(cs) %{_qt4_translationdir}/qt_help_cs.qm
%lang(da) %{_qt4_translationdir}/qt_help_da.qm
%lang(de) %{_qt4_translationdir}/qt_help_de.qm
%lang(fr) %{_qt4_translationdir}/qt_help_fr.qm
%lang(gl) %{_qt4_translationdir}/qt_help_gl.qm
%lang(hu) %{_qt4_translationdir}/qt_help_hu.qm
%lang(ja) %{_qt4_translationdir}/qt_help_ja.qm
%lang(ko) %{_qt4_translationdir}/qt_help_ko.qm
%lang(pl) %{_qt4_translationdir}/qt_help_pl.qm
%lang(ru) %{_qt4_translationdir}/qt_help_ru.qm
%lang(sl) %{_qt4_translationdir}/qt_help_sl.qm
%lang(uk) %{_qt4_translationdir}/qt_help_uk.qm
%lang(zh_CN) %{_qt4_translationdir}/qt_help_zh_CN.qm
%lang(zh_TW) %{_qt4_translationdir}/qt_help_zh_TW.qm
%lang(hu) %{_qt4_translationdir}/qt_hu.qm
%lang(ja) %{_qt4_translationdir}/qt_ja.qm
%lang(ko) %{_qt4_translationdir}/qt_ko.qm
%lang(pl) %{_qt4_translationdir}/qt_pl.qm
%lang(pt) %{_qt4_translationdir}/qt_pt.qm
%lang(ru) %{_qt4_translationdir}/qt_ru.qm
%lang(sk) %{_qt4_translationdir}/qt_sk.qm
%lang(sl) %{_qt4_translationdir}/qt_sl.qm
%lang(sv) %{_qt4_translationdir}/qt_sv.qm
%lang(uk) %{_qt4_translationdir}/qt_uk.qm
%lang(zh_CN) %{_qt4_translationdir}/qt_zh_CN.qm
%lang(zh_TW) %{_qt4_translationdir}/qt_zh_TW.qm

%endif

#------------------------------------------------------------------------------
# CORE QT LIBRARIES
#------------------------------------------------------------------------------

%package -n %{libqtxml}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides:      qtxmllib = %{epoch}:%{version}

%description -n %{libqtxml}
Qt%{qtmajor} Component Library.

The QtXml module provides a stream reader and writer for XML documents,
and C++ implementations of SAX and DOM.

%files -n %{libqtxml}
%{_qt4_libdir}/libQtXml.so.%{qtmajor}*

#------------------------------------------------------------------------------

%package -n %{libqtscripttools}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides: qtscripttoolslib = %{epoch}:%{version}

%description -n %{libqtscripttools}
Qt%{qtmajor} Component Library.

The QtScriptTools module provides additional components for applications
that use Qt Script.

%files -n %{libqtscripttools}
%{_qt4_libdir}/libQtScriptTools.so.%{qtmajor}*

#------------------------------------------------------------------------------

%package -n %{libqtxmlpatterns}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Requires: %{name}-xmlpatterns = %{epoch}:%{version}

%description -n %{libqtxmlpatterns}
Qt%{qtmajor} Component Library.

The QtXmlPatterns module provides support for XPath, XQuery, XSLT and 
XML Schema validation.

%files -n %{libqtxmlpatterns}
%{_qt4_libdir}/libQtXmlPatterns.so.%{qtmajor}*

#------------------------------------------------------------------------------

%package -n %{libqtsql}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides:       qtsqllib = %{epoch}:%{version} 

%description -n %{libqtsql}
Qt%{qtmajor} Component Library.

%files -n %{libqtsql}
%{_qt4_libdir}/libQtSql.so.%{qtmajor}*

#------------------------------------------------------------------------------

%package -n %{libqtnetwork}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides: qtnetworklib = %{epoch}:%{version}

%description -n %{libqtnetwork}
Qt%{qtmajor} Component Library.

The QtNetwork module provides classes to make network programming easier
and portable.

%files -n %{libqtnetwork}
%{_qt4_libdir}/libQtNetwork.so.%{qtmajor}*

#------------------------------------------------------------------------------

%package -n %{libqtscript}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides: libqtscript = %{epoch}:%{version}

%description -n %{libqtscript}
Qt%{qtmajor} Component Library.

The QtScript module provides classes for making Qt applications 
scriptable.

%files -n %{libqtscript}
%{_qt4_libdir}/libQtScript.so.%{qtmajor}*
%{_qt4_plugindir}/script

#------------------------------------------------------------------------------

%package -n %{libqtgui}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides: qtguilib = %{epoch}:%{version}

%description -n %{libqtgui}
Qt%{qtmajor} Component Library.

The QtGui module extends QtCore with GUI functionality.

%files -n %{libqtgui}
%{_qt4_libdir}/libQtGui.so.%{qtmajor}*
%{_qt4_plugindir}/imageformats/
%{_qt4_plugindir}/inputmethods/

#------------------------------------------------------------------------------

%package -n %{libqtsvg}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides: qtsvglib = %{epoch}:%{version}

%description -n %{libqtsvg}
Qt%{qtmajor} Component Library.

The QtSvg module provides classes for displaying and creating SVG files.

%files -n %{libqtsvg}
%{_qt4_libdir}/libQtSvg.so.%{qtmajor}*
%{_qt4_plugindir}/iconengines/

#------------------------------------------------------------------------------

%package -n %{libqttest}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides: qttestlib = %{epoch}:%{version}

%description -n %{libqttest}
Qt%{qtmajor} Component Library.

The QtTest module provides classes for unit testing Qt applications and
libraries.

%files -n %{libqttest}
%{_qt4_libdir}/libQtTest.so.%{qtmajor}*

#------------------------------------------------------------------------------

%if %with_webkit
%package -n %{libqtwebkit}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides: qtwebkitlib = %{epoch}:%{version}

%description -n %{libqtwebkit}
Qt%{qtmajor} Component Library.

The QtWebKit module provides a web browser engine as well as classes to 
render and interact with web content. 

%files -n %{libqtwebkit}
%{_qt4_libdir}/libQtWebKit.so.%{qtmajor}*
%endif

#------------------------------------------------------------------------------

%package -n %{libqthelp}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides: qthelplib = %{epoch}:%{version}

%description -n %{libqthelp}
Qt%{qtmajor} Component Library.

The QtHelp module provides classes for integrating online documentation
in applications.

%files -n %{libqthelp}
%{_qt4_libdir}/libQtHelp.so.%{qtmajor}*

#------------------------------------------------------------------------------

%package -n %{libqtclucene}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides: qtclucenelib = %{epoch}:%{version}

%description -n %{libqtclucene}
Qt%{qtmajor} Component Library.

%files -n %{libqtclucene}
%{_qt4_libdir}/libQtCLucene.so.%{qtmajor}*

#------------------------------------------------------------------------------

%package -n %{libqtcore}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides: qtcorelib = %{epoch}:%{version}

%description -n %{libqtcore}
Qt%{qtmajor} Component Library.

The QtCore module contains core non-GUI functionality.

%files -n %{libqtcore}
%{_qt4_libdir}/libQtCore.so.%{qtmajor}*
%{_qt4_plugindir}/codecs/

#------------------------------------------------------------------------------

%package -n %{libqt3support}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides: qt3supportlib = %{epoch}:%{version}

%description -n %{libqt3support}
Qt%{qtmajor} Component Library.

The Qt3Support module provides classes that ease porting from Qt 3 to 
Qt 4.

%files -n %{libqt3support}
%{_qt4_libdir}/libQt3Support.so.%{qtmajor}*

#------------------------------------------------------------------------------

%package -n %{libqtopengl}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides: qtopengllib = %{epoch}:%{version}

%description -n %{libqtopengl}
Qt%{qtmajor} Component Library.

The QtOpenGL module offers classes that make it easy to use OpenGL in 
Qt applications.

%files -n %{libqtopengl}
%{_qt4_libdir}/libQtOpenGL.so.%{qtmajor}*

#------------------------------------------------------------------------------

%package -n %{libqtdesigner}
Summary: Qt%{qtmajor} Component Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides: qtdesignerlib = %{epoch}:%{version}

%description -n %{libqtdesigner}
Qt%{qtmajor} Component Library.

The QtDesigner module provides classes that allow you to create your own
custom widget plugins for Qt Designer, and classes that enable you to 
access Qt Designer's components.

%files -n %{libqtdesigner}
%{_qt4_libdir}/libQtDesigner.so.%{qtmajor}*
%{_qt4_libdir}/libQtDesignerComponents.so.%{qtmajor}*

#------------------------------------------------------------------------------

%package -n %{libqdbus}
Summary: QT Dbus Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}
Provides: qdbuslib = %{epoch}:%{version}

%description -n %{libqdbus}
QT Dbus Library.

The QtDBus module is a Unix-only library that you can use to perform 
Inter-Process Communication using the D-Bus protocol.

%files -n %{libqdbus}
%{_qt4_libdir}/libQtDBus.so.%{qtmajor}*

#------------------------------------------------------------------------------

%package -n %{libqtmultimedia}
Summary: Qt%{qtmajor} Multimedia Lib
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}

%description -n %{libqtmultimedia}
Qt%{qtmajor} Multimedia Lib.

The QtMultimedia module provides low-level multimedia functionality.

%files -n %{libqtmultimedia}
%{_qt4_libdir}/libQtMultimedia.so.%{qtmajor}*

#------------------------------------------------------------------------------

%if %with local_phonon_package

%package -n %{libphonon}
Summary:  Qt%{qtmajor} Phonon Library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}

%description -n %{libphonon}
Qt%{qtmajor} Phonon Library.

%files -n %{libphonon}
%{_qt4_libdir}/libphonon.so.%{qtmajor}*

#------------------------------------------------------------------------------

%package -n phonon-gstreamer
Summary:  Qt%{qtmajor} honon gstreamer backend
Group: System/Libraries
Provides: phonon-backend = %{epoch}:%{version}
BuildRequires: pkgconfig(gstreamer-0.10)
BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
Requires: gstreamer0.10-plugins-good
Requires: gstreamer0.10-pulse
Suggests: gstreamer0.10-ffmpeg
Suggests: gstreamer0.10-soup

%description -n phonon-gstreamer
Qt%{qtmajor} phonon library.

%files -n phonon-gstreamer
%{_qt4_plugindir}/phonon_backend/libphonon_gstreamer.so

#------------------------------------------------------------------------------

%package designer-plugin-phonon
Summary: Designer Plugin for phonon Qt%{qtmajor} support
Group: Development/KDE and Qt

%description designer-plugin-phonon
Designer Plugin for phonon Qt%{qtmajor} support.

%files designer-plugin-phonon
%{_qt4_plugindir}/designer/libphononwidgets.so

%endif

#------------------------------------------------------------------------------

%package qtdbus
Summary:  Qt%{qtmajor} Dbus Binary
Group: Development/KDE and Qt


%description qtdbus
Qt%{qtmajor} Dbus Binary.

The QtDBus module is a Unix-only library that you can use to perform 
Inter-Process Communication using the D-Bus protocol.

%files qtdbus
%{_qt4_bindir}/qdbus
%{_qt4_bindir}/qdbusviewer

#------------------------------------------------------------------------------

%package -n %{libqtdeclarative}
Summary: Qt%{qtmajor} Declarative library
Group: System/Libraries
Requires(pre): %{name}-common = %{epoch}:%{version}

%description -n %{libqtdeclarative}
Qt%{qtmajor} Declarative library.

The Qt Declarative module provides a declarative framework for building
highly dynamic, custom user interfaces.

%files -n %{libqtdeclarative}
%{_qt4_libdir}/libQtDeclarative.so.%{qtmajor}*

#------------------------------------------------------------------------------

%package qmlviewer
Summary: Qt%{qtmajor} Qmlviewer Utility
Group: Development/KDE and Qt

%description qmlviewer
Qt%{qtmajor} Qmlviewer Utility.

This a tool for loading QML documents that makes it easy to quickly 
develop and debug QML applications.

%files qmlviewer
%{_qt4_bindir}/qmlviewer
%{_qt4_importdir}/Qt
%if %with_webkit
%{_qt4_importdir}/QtWebKit/libqmlwebkitplugin.so
%{_qt4_importdir}/QtWebKit/qmldir
%endif
%{_qt4_plugindir}/bearer/libqgenericbearer.so
%{_qt4_plugindir}/bearer/libqnmbearer.so
%{_qt4_plugindir}/bearer/libqconnmanbearer.so
%{_qt4_plugindir}/designer/libqdeclarativeview.so
%{_qt4_plugindir}/qmltooling/libqmldbg_tcp.so
%{_qt4_plugindir}/qmltooling/libqmldbg_inspector.so

#------------------------------------------------------------------------------

# make a devel private subpkg or not?
%define private 1

%package -n %{libqtdevel}
Summary:   Development files for the Qt%{qtmajor} GUI toolkit
Group:     Development/KDE and Qt
Requires:  %{name}-common = %{epoch}:%{version}
Requires:  qt4-qtconfig
Provides:  qt4-devel = %{epoch}:%{version}-%release
Provides:  libqt4-devel = %{epoch}:%{version}-%release
Requires:  %{libqtdeclarative} = %{epoch}:%{version}
Requires:  %{libqtdesigner} = %{epoch}:%{version}
Requires:  %{libqtnetwork} = %{epoch}:%{version}
Requires:  %{libqtopengl} = %{epoch}:%{version}
Requires:  %{libqtsql} = %{epoch}:%{version}
Requires:  %{libqtscripttools} = %{epoch}:%{version}
Requires:  %{libqtsvg} = %{epoch}:%{version}
Requires:  %{libqtclucene} = %{epoch}:%{version}
Requires:  %{libqttest} = %{epoch}:%{version}
%if %with_webkit
Requires:  %{libqtwebkit} = %{epoch}:%{version}
Requires:  qt4-designer-plugin-webkit = %{epoch}:%{version}
%endif
Requires:  %{libqtscript} = %{epoch}:%{version}
Requires:  %{libqthelp} = %{epoch}:%{version}
Requires:  %{libqtmultimedia} = %{epoch}:%{version}
%if %with local_phonon_package
Requires:  %{libphonon} = %{epoch}:%{version}
Requires:  qt4-designer-plugin-phonon = %{epoch}:%{version}
%else
Requires:  phonon-devel
%endif
Requires:  qt4-qtdbus = %{epoch}:%{version}
Requires:  qt4-designer-plugin-qt3support = %{epoch}:%{version}
Requires:  pkgconfig(glu) 
Requires:  pkgconfig(libpng)
Requires:  jpeg-devel
Requires:  make

%description -n %{libqtdevel}
The %{name}-devel package contains the files necessary to develop
applications using the Qt GUI toolkit: the header files, the Qt
meta object compiler, and the static libraries.  See the address
http://qt.nokia.com/ for more information about Qt%{qtmajor}.

Install %{name}-devel if you want to develop GUI applications using the
Qt toolkit.

%post -n %{libqtdevel}
update-alternatives --install %{_bindir}/qmake qmake %{_qt4_bindir}/qmake 20

%postun -n %{libqtdevel}
if ! [ -e %{_qt4_bindir}/qmake ]; then
  update-alternatives --remove qmake %{_qt4_bindir}/qmake
fi

%files -n %{libqtdevel}
%{_sysconfdir}/rpm/macros.d/qt4.macros
%{_qt4_bindir}/pixeltool
%{_qt4_bindir}/lrelease
%{_qt4_bindir}/lupdate
%{_qt4_bindir}/moc
%{_qt4_bindir}/qdbusxml2cpp
%{_qt4_bindir}/qdbuscpp2xml
%{_qt4_bindir}/qmake
%{_qt4_bindir}/qmlplugindump
%{_qt4_bindir}/qt3to4
%{_qt4_bindir}/qttracereplay
%{_qt4_bindir}/rcc
%{_qt4_bindir}/uic
%{_qt4_bindir}/uic3
%{_qt4_bindir}/xmlpatternsvalidator
%if "%{_qt4_includedir}" != "%{_includedir}"
%dir %{_qt4_includedir}
%endif
%dir %{_qt4_includedir}/Qt/
%{_qt4_includedir}/Qt/*.h
%{_qt4_includedir}/Qt/Qt3Support
%{_qt4_includedir}/Qt/QtCore
%{_qt4_includedir}/Qt/QtDBus
%{_qt4_includedir}/Qt/QtDeclarative
%{_qt4_includedir}/Qt/QtGui
%{_qt4_includedir}/Qt/QtHelp
%{_qt4_includedir}/Qt/QtMultimedia
%{_qt4_includedir}/Qt/QtNetwork
%{_qt4_includedir}/Qt/QtOpenGL
%{_qt4_includedir}/Qt/QtScript
%{_qt4_includedir}/Qt/QtScriptTools
%{_qt4_includedir}/Qt/QtSql
%{_qt4_includedir}/Qt/QtSvg
%{_qt4_includedir}/Qt/QtTest
%{_qt4_includedir}/Qt/QtXml
%{_qt4_includedir}/Qt/QtXmlPatterns
%{_qt4_includedir}/Qt3Support
%{_qt4_includedir}/QtCore/
%{_qt4_includedir}/QtDBus/
%{_qt4_includedir}/QtDeclarative/
%{_qt4_includedir}/QtDesigner/
%{_qt4_includedir}/QtGui/
%{_qt4_includedir}/QtHelp/
%{_qt4_includedir}/QtMultimedia/
%{_qt4_includedir}/QtNetwork/
%{_qt4_includedir}/QtOpenGL/
%{_qt4_includedir}/QtScript/
%{_qt4_includedir}/QtScriptTools/
%{_qt4_includedir}/QtSql/
%{_qt4_includedir}/QtSvg/
%{_qt4_includedir}/QtTest/
%{_qt4_includedir}/QtXml/
%{_qt4_includedir}/QtXmlPatterns/
%{_qt4_includedir}/QtUiTools/
%{_qt4_datadir}/mkspecs
%{_qt4_datadir}/q3porting.xml
%{_qt4_libdir}/libQt3Support.prl
%{_qt4_libdir}/libQt3Support.so
%{_qt4_libdir}/libQtCLucene.prl
%{_qt4_libdir}/libQtCLucene.so
%{_qt4_libdir}/libQtCore.prl
%{_qt4_libdir}/libQtCore.so
%{_qt4_libdir}/libQtDBus.prl
%{_qt4_libdir}/libQtDBus.so
%{_qt4_libdir}/libQtDeclarative.prl
%{_qt4_libdir}/libQtDeclarative.so
%{_qt4_libdir}/libQtDesigner.prl
%{_qt4_libdir}/libQtDesigner.so
%{_qt4_libdir}/libQtDesignerComponents.prl
%{_qt4_libdir}/libQtDesignerComponents.so
%{_qt4_libdir}/libQtGui.prl
%{_qt4_libdir}/libQtGui.so
%{_qt4_libdir}/libQtHelp.prl
%{_qt4_libdir}/libQtHelp.so
%{_qt4_libdir}/libQtMultimedia.prl
%{_qt4_libdir}/libQtMultimedia.so
%{_qt4_libdir}/libQtNetwork.prl
%{_qt4_libdir}/libQtNetwork.so
%{_qt4_libdir}/libQtOpenGL.prl
%{_qt4_libdir}/libQtOpenGL.so
%{_qt4_libdir}/libQtScript.prl
%{_qt4_libdir}/libQtScript.so
%{_qt4_libdir}/libQtScriptTools.prl
%{_qt4_libdir}/libQtScriptTools.so
%{_qt4_libdir}/libQtSql.prl
%{_qt4_libdir}/libQtSql.so
%{_qt4_libdir}/libQtSvg.prl
%{_qt4_libdir}/libQtSvg.so
%{_qt4_libdir}/libQtTest.prl
%{_qt4_libdir}/libQtTest.so
%{_qt4_libdir}/libQtUiTools.a
%{_qt4_libdir}/libQtUiTools.prl
%{_qt4_libdir}/libQtXml.prl
%{_qt4_libdir}/libQtXml.so
%{_qt4_libdir}/libQtXmlPatterns.prl
%{_qt4_libdir}/libQtXmlPatterns.so
%{_qt4_libdir}/pkgconfig/Qt3Support.pc
%{_qt4_libdir}/pkgconfig/QtCLucene.pc
%{_qt4_libdir}/pkgconfig/QtCore.pc
%{_qt4_libdir}/pkgconfig/QtDBus.pc
%{_qt4_libdir}/pkgconfig/QtDeclarative.pc
%{_qt4_libdir}/pkgconfig/QtDesigner.pc
%{_qt4_libdir}/pkgconfig/QtDesignerComponents.pc
%{_qt4_libdir}/pkgconfig/QtGui.pc
%{_qt4_libdir}/pkgconfig/QtHelp.pc
%{_qt4_libdir}/pkgconfig/QtMultimedia.pc
%{_qt4_libdir}/pkgconfig/QtNetwork.pc
%{_qt4_libdir}/pkgconfig/QtOpenGL.pc
%{_qt4_libdir}/pkgconfig/QtScript.pc
%{_qt4_libdir}/pkgconfig/QtScriptTools.pc
%{_qt4_libdir}/pkgconfig/QtSql.pc
%{_qt4_libdir}/pkgconfig/QtSvg.pc
%{_qt4_libdir}/pkgconfig/QtTest.pc
%{_qt4_libdir}/pkgconfig/QtUiTools.pc
%{_qt4_libdir}/pkgconfig/QtXml.pc
%{_qt4_libdir}/pkgconfig/QtXmlPatterns.pc
%if %with_webkit
%{_qt4_includedir}/Qt/QtWebKit
%{_qt4_includedir}/QtWebKit/
%{_qt4_libdir}/pkgconfig/QtWebKit.pc
%{_qt4_libdir}/libQtWebKit.prl
%{_qt4_libdir}/libQtWebKit.so
%endif
%if 0%{?private}
%exclude %{_qt4_includedir}/*/private/
%endif

#------------------------------------------------------------------------------

%if 0%{?private}
%package devel-private
Summary: Private headers for Qt toolkit 
Group: Development/KDE and Qt
Requires: qt4-devel = %{?epoch:%{epoch}:}%{version}-%{release}
BuildArch: noarch
%description devel-private
%{summary}.

%files devel-private
%{_qt4_includedir}/QtCore/private/
%{_qt4_includedir}/QtDeclarative/private/
%{_qt4_includedir}/QtGui/private/
%{_qt4_includedir}/QtScript/private/
%{_qt4_includedir}/../src/corelib/
%{_qt4_includedir}/../src/declarative/
%{_qt4_includedir}/../src/gui/
%{_qt4_includedir}/../src/script/
%endif

#------------------------------------------------------------------------------

%package xmlpatterns
Summary: Qt%{qtmajor} Xmlpatterns Utility
Group: Development/KDE and Qt

%description xmlpatterns
Qt%{qtmajor} Xmlpatterns Utility.

The QtXmlPatterns module provides support for XPath, XQuery, XSLT and 
XML Schema validation.

%files xmlpatterns
%{_qt4_bindir}/xmlpatterns

#------------------------------------------------------------------------------

%package qtconfig
Summary: Qt%{qtmajor} Configuration Utility
Group: Development/KDE and Qt

%description qtconfig
Main Qt%{qtmajor} Configuration Utility.

The qtconfig tool allows users to customize the default settings for Qt
applications on a per-user basis, enabling features such as the widget 
style to be changed without requiring applications to be recompiled.

%post qtconfig
update-alternatives --install %{_bindir}/qtconfig qtconfig %{_qt4_bindir}/qtconfig 20

%postun qtconfig
if ! [ -e %{_qt4_bindir}/qtconfig ]; then
  update-alternatives --remove qtconfig %{_qt4_bindir}/qtconfig 
fi

%files qtconfig

%{_qt4_bindir}/qtconf*
%if %with docs
%{_qt4_translationdir}/qtconfig*
%endif

#------------------------------------------------------------------------------

%if %with docs

%package doc
Summary: HTML Documentation for Qt%{qtmajor}
Group: Books/Computer books
BuildArch: noarch

%description doc
HTML documentation for the Qt toolkit. To view the documentation,
please load up the file %_qt4_docdir/html/index.html in your
favourite browser.

%post doc
# Remove old qt4 doc directories
find %_docdir -maxdepth 1 -type d -name qt-4.\* -exec rm -rf {} \;

%files doc
%{_qt4_docdir}/html
%{_qt4_docdir}/qch
%{_qt4_docdir}/src

#------------------------------------------------------------------------------

%package demos
Summary: Demonstration applications with Qt%{qtmajor}
Group: Books/Computer books
Obsoletes: %{name}-demos < 4:4.7.0-3

%description demos
Demonstration applications with Qt%{qtmajor}.

%files demos
%{_qt4_bindir}/qtdemo
%{_qt4_demosdir}
%{_qt4_plugindir}/designer/libarthurplugin.so

#------------------------------------------------------------------------------

%package examples
Summary: Example programs made with Qt%{qtmajor}
Group: Books/Computer books

%description examples
Example programs made with Qt%{qtmajor}.

%files examples
%{_qt4_examplesdir}
%{_qt4_plugindir}/designer/libcontainerextension.so
%{_qt4_plugindir}/designer/libcustomwidgetplugin.so
%{_qt4_plugindir}/designer/libtaskmenuextension.so
%{_qt4_plugindir}/designer/libworldtimeclockplugin.so

%endif

#------------------------------------------------------------------------------

%package linguist
Summary: Qt%{qtmajor} linguist translation utility
Group: Books/Computer books
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils

%description linguist
Qt Linguist provides easy translation of Qt GUIs to different.
languages.

%files linguist
%{_qt4_bindir}/lingu*
%{_qt4_bindir}/lconvert*
%{_datadir}/applications/*linguist*.desktop
%if %with docs
%{_qt4_translationdir}/linguist*
%endif

#------------------------------------------------------------------------------

%package assistant
Summary: Qt%{qtmajor} Assistant Doc Utility
Group: Books/Computer books
Requires: qt4-database-plugin-sqlite
Suggests: qt4-doc
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils

%description assistant
Qt Assistant provides a documentation Browser.

%files assistant
%{_qt4_bindir}/assistant*
%{_qt4_bindir}/qcollectiongen*
%{_qt4_bindir}/qhelpconv*
%{_qt4_bindir}/qhelpgen*
%{_datadir}/applications/*assistant*.desktop
%if %with docs
%{_qt4_translationdir}/assistant*
%endif

#------------------------------------------------------------------------------

%if ! %without odbc

%package database-plugin-odbc
Summary: Qt%{qtmajor} Database ODBC Database Plugin
Group: Databases
BuildRequires: unixODBC-devel
 
%description database-plugin-odbc
The QODBC driver allows you to connect to an ODBC (Open Database 
Connectivity) driver manager and access the available data sources.

%files database-plugin-odbc
%{_qt4_plugindir}/sqldrivers/libqsqlodbc.so

%endif

#------------------------------------------------------------------------------

%if ! %without mysql

%package database-plugin-mysql
Summary: Qt%{qtmajor} MYSQL Database Plugin
Group: Databases
BuildRequires: mysql-devel

%description database-plugin-mysql
Database plugin for mysql Qt support.

%files database-plugin-mysql
%{_qt4_plugindir}/sqldrivers/libqsqlmysql.so

%endif

#------------------------------------------------------------------------------

%if ! %without sqlite

%package database-plugin-sqlite
Summary: Qt%{qtmajor} SQLITE Database Plugin
Group: Databases
BuildRequires: sqlite3-devel

%description database-plugin-sqlite
The Qt SQLite plugin makes it possible to access SQLite databases.

%files database-plugin-sqlite
%{_qt4_plugindir}/sqldrivers/libqsqlite.so
%endif

#------------------------------------------------------------------------------

%if ! %without tds

%package database-plugin-tds
Summary: Qt%{qtmajor} FREETDS Database Plugin
Group: Databases
BuildRequires: freetds-devel

%description database-plugin-tds
Database plugin for freetds Qt support.

%files database-plugin-tds
%{_qt4_plugindir}/sqldrivers/libqsqltds.so

%endif

#------------------------------------------------------------------------------

%if %with ibase

%package database-plugin-ibase
Summary: Qt%{qtmajor} Interbase Database Plugin
Group: Databases
BuildRequires: firebird-devel

%description database-plugin-ibase
Database plugin for interbase Qt support.

%files database-plugin-ibase
%{_qt4_plugindir}/sqldrivers/libqsqlibase.so

%endif

#------------------------------------------------------------------------------

%if ! %without postgres

%package database-plugin-pgsql
Summary: Qt%{qtmajor} PGSQL Database Plugin
Group: Databases
BuildRequires: postgresql-devel
BuildRequires: libpq-devel

%description database-plugin-pgsql
Database plugin for pgsql Qt support.

%files database-plugin-pgsql
%{_qt4_plugindir}/sqldrivers/libqsqlpsql.so

%endif

#------------------------------------------------------------------------------

%package graphicssystems-plugin
Summary: Qt%{qtmajor} Graphicssystems Plugins 
Group: Development/KDE and Qt

%description graphicssystems-plugin
Graphicssystems plugins for Qt%{qtmajor}.

%files graphicssystems-plugin
%{_qt4_plugindir}/graphicssystems/

#------------------------------------------------------------------------------

%package accessibility-plugin
Summary: Qt%{qtmajor} Accessibility Plugins 
Group: Development/KDE and Qt

%description accessibility-plugin
Acessibility plugins for Qt%{qtmajor}.

%files accessibility-plugin
%{_qt4_plugindir}/accessible/

#------------------------------------------------------------------------------

%package designer
Summary: %{name} Visual Design Tool
Group: Development/KDE and Qt
Requires: %{libqtdevel} = %{epoch}:%{version}

%description designer
The Qt Designer is a visual design tool that makes designing and
implementing user interfaces a lot easier.

%files designer
%{_qt4_bindir}/design*
%{_datadir}/applications/*designer*.desktop
%if %with docs
%{_qt4_translationdir}/designer_*
%endif

#------------------------------------------------------------------------------

%if %with_webkit

%package designer-plugin-webkit
Summary: designer plugin for webkit Qt%{qtmajor} support
Group: Development/KDE and Qt

%description designer-plugin-webkit
designer plugin for webkit Qt%{qtmajor} support.

%files designer-plugin-webkit
%{_qt4_plugindir}/designer/libqwebview.so

%endif

#------------------------------------------------------------------------------

%package designer-plugin-qt3support
Summary: designer plugin for qt3support Qt%{qtmajor} support
Group: Development/KDE and Qt

%description designer-plugin-qt3support
designer plugin for qt3support Qt%{qtmajor} support.

%files designer-plugin-qt3support
%{_qt4_plugindir}/designer/libqt3supportwidgets.so

#------------------------------------------------------------------------------

%if %{with qvfb}

%package qvfb
Summary: Qt%{qtmajor} Embedded Virtual Terminal
Group: Development/KDE and Qt

%description qvfb
Embedded Virtual Terminal for Qt%{qtmajor}.

%files qvfb
%{_qt4_bindir}/qvf*
%if %with docs
%{_qt4_translationdir}/qvfb*
%endif

%endif

#------------------------------------------------------------------------------


%package qdoc3
Summary: Qt%{qtmajor} Documentation Generator
Group: Development/KDE and Qt

%description qdoc3
Documentation Generator for Qt%{qtmajor}.

%files qdoc3
%{_qt4_bindir}/qdoc3
 
#------------------------------------------------------------------------------

%prep
%if %with_kde_qt 
%setup -q -n qt 
%else
%setup -q -n %{qttarballdir}
%endif

%apply_patches

# Unlike Fedora, we don't modify the installed mkspecs to contain our flags,
# which would have the side effect that plain 'qmake' would use them as well
# (i.e. even when not building an rpm), which is not really wanted. Our
# packages are built with %%qmake_qt4 (qt4.macros) which already overrides the
# flags, so altering qmake default configuration for that is unnecessary.
# Since the Qt configure script doesn't support defining custom flags, we
# still have to temporarily override the flags below - they are restored in
# %%install. -Anssi
cp mkspecs/linux-g++/qmake.conf mkspecs/linux-g++/qmake.conf.upstream
cat >> mkspecs/linux-g++/qmake.conf <<EOF
QMAKE_CFLAGS   = %{optflags}
QMAKE_CXXFLAGS = %{optflags}
QMAKE_LFLAGS   = %{ldflags}
QMAKE_STRIP    =
# Note that setting QMAKE_LFLAGS_PLUGIN here would do no good, as it would
# just get appended to $QMAKE_LFLAGS instead of replacing it.
EOF

# set correct lib path (from fedora)
if [ "%{_lib}" == "lib64" ] ; then
    sed -i -e "s,/usr/lib /lib,/usr/%{_lib} /%{_lib},g" config.tests/{unix,x11}/*.test
    sed -i -e "s,/lib /usr/lib,/%{_lib} /usr/%{_lib},g" config.tests/{unix,x11}/*.test
fi

%build
export QTDIR=`/bin/pwd`
export PATH=$QTDIR/bin:$PATH

# Don't include headers or link with /usr/X11R6/{include,lib}
perl -pi -e 's@/X11R6/@/@' mkspecs/linux-*/qmake.conf mkspecs/common/linux.conf

#------------------------------------------------------------------------------

./configure \
    -confirm-license \
    -opensource \
    -optimized-qmake \
    -prefix %{_qt4_prefix} \
    -bindir %{_qt4_bindir} \
    -datadir %{_qt4_datadir} \
    -demosdir %{_qt4_demosdir} \
    -docdir %{_qt4_docdir} \
    -examplesdir %{_qt4_examplesdir} \
    -headerdir %{_qt4_includedir} \
    -importdir %{_qt4_importdir} \
    -libdir %{_qt4_libdir} \
    -plugindir %{_qt4_plugindir} \
    -sysconfdir %{_qt4_sysconfigdir} \
    -translationdir %{_qt4_translationdir} \
%if %with debug
    -debug \
    -verbose \
%else
    -release \
    -silent \
%endif
    -shared \
    -no-separate-debug-info \
    -no-rpath \
    -no-pch \
    -reduce-relocations \
    -openssl-linked \
    -dbus-linked \
%if %{with qvfb}   
   -qvfb \
%endif
    -no-webkit\
    -gtkstyle \
    -xmlpatterns \
    -opengl desktop \
    -platform linux-g++ \
    -sm \
    -stl \
    -system-libmng \
    -system-libpng \
    -system-libjpeg \
    -system-libtiff \
    -system-zlib \
    -xinput \
    -xcursor \
    -xfixes \
    -xinerama \
    -xshape \
    -xrandr \
    -xkb \
    -glib \
%if ! %{with_cups}
    -no-cups \
%endif
%if ! %with local_phonon_package
     -no-phonon \
     -no-phonon-backend \
%endif
%if ! %without postgres
    -plugin-sql-psql \
%endif
%if ! %without mysql
    -plugin-sql-mysql \
%else
    -no-sql-mysql \
%endif
%if %with ibase
    -plugin-sql-ibase \
%else
    -no-sql-ibase \
%endif
%if ! %without sqlite
    -plugin-sql-sqlite \
    -system-sqlite \
    -no-sql-sqlite2 \
%else
    -no-sql-sqlite \
    -no-sql-sqlite2 \
%endif
%if ! %without odbc
    -plugin-sql-odbc \
%else
    -no-sql-odbc \
%endif
%if %without docs
    -nomake docs \
    -nomake demos \
    -nomake examples
%endif

%make

%if  %{with qvfb}
    make -C tools/qvfb
%endif

%install
install -d %{buildroot}/%{_bindir}
install -d %{buildroot}/%{_qt4_docdir}
install -d %{buildroot}/%{_sysconfdir}
install -d %{buildroot}/%{_sysconfdir}/profile.d

# recreate .qm files

LD_LIBRARY_PATH=`pwd`/lib bin/lrelease translations/*.ts

make INSTALL_ROOT=%{buildroot} install

%if 0%{?private}
# install private headers
# using rsync -R as easy way to preserve relative path names
# we're cheating and using %%_prefix (/usr) directly here
rsync -aR \
  include/Qt{Core,Declarative,Gui,Script}/private \
  src/{corelib,declarative,gui,script}/*/*_p.h \
  %{buildroot}%{_prefix}/
%endif

%if %{with qvfb}
    # Install qvfb
    %make -C tools/qvfb INSTALL_ROOT=%{buildroot} install
%else
rm -f %{buildroot}%{_qt4_translationdir}/qvfb*.qm
%endif

mkdir -p %{buildroot}/%{_datadir}/applications
install -m 644 %SOURCE3 %{buildroot}/%{_datadir}/applications
install -m 644 %SOURCE4 %{buildroot}/%{_datadir}/applications
install -m 644 %SOURCE5 %{buildroot}/%{_datadir}/applications

# Fix mkspec link
pushd  %{buildroot}/%{_qt4_datadir}/mkspecs
rm -f default
ln -sf %{_qt4_datadir}/mkspecs/linux-g++ default
popd

# Restore qmake.conf to the upstream version which was backed up in %%prep
mv %{buildroot}%{_qt4_datadir}/mkspecs/linux-g++/qmake.conf.upstream %{buildroot}%{_qt4_datadir}/mkspecs/linux-g++/qmake.conf

# Fix all buildroot paths
find %{buildroot}/%{_qt4_libdir} -type f -name '*prl' -exec perl -pi -e "s, -L%{_builddir}/\S+,,g" {} \;
find %{buildroot}/%{_qt4_libdir} -type f -name '*prl' -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" {} \;
find %{buildroot}/%{_qt4_libdir} -type f -name '*la' -print -exec perl -pi -e "s, -L%{_builddir}/?\S+,,g" {} \;
find %{buildroot}/%{_qt4_libdir} -type f -name '*la' -print -exec sed -i -e "s, -L%{_builddir}/?\S+,,g" -e "s,-L../JavaScriptCore/release,,g" -e "s,-ljscore,,g" {} \;
find %{buildroot}/%{_qt4_datadir}/mkspecs -name 'qmake.conf' -exec chmod -x -- {} \;
find %{buildroot}/%{_qt4_datadir}/mkspecs -name Info.plist.app -exec chmod -x -- {} \;

# Don't reference builddir neither /usr(/X11R6)?/ in .pc files.
perl -pi -e '\
s@-L/usr/X11R6/%{_lib} @@g;\
s@-I/usr/X11R6/include @@g;\
s@-L/%{_builddir}\S+@@g'\
    `find . -name \*.pc`

# Install rpm macros
mkdir -p %{buildroot}/%{_sysconfdir}/rpm/macros.d
install -m 0644 %SOURCE2 %{buildroot}/%{_sysconfdir}/rpm/macros.d

# Profiles
cat > %{buildroot}/%{_sysconfdir}/profile.d/60qt4.sh << EOF
#!/bin/bash

# Qt4 is the main Qt on system
export QTDIR=%{_qt4_datadir}

[ -z \$QT4DOCDIR ] && export QT4DOCDIR=%{_qt4_docdir}

if [ -z \$(echo \$PATH | grep "%{_qt4_bindir}") ]; then
    PATH=\${PATH}:%{_qt4_bindir}
    export PATH
fi

EOF

# Remove webkit files since we're using qtwebkit2.2 as standalone
%if ! %with_webkit
rm -rf %{buildroot}/%{_qt4_includedir}/QtWebKit/
rm -rf %{buildroot}/%{_qt4_includedir}/Qt/qgraphicswebview.h
rm -rf %{buildroot}/%{_qt4_includedir}/Qt/qweb*.h
rm -rf %{buildroot}/%{_qt4_libdir}/pkgconfig/QtWebKit.pc
rm -rf %{buildroot}/%{_qt4_libdir}/libQtWebKit.*
rm -rf %{buildroot}/%{_qt4_includedir}/Qt/QtWebKit
rm -rf %{buildroot}/%{_qt4_datadir}/mkspecs/modules/qt_webkit_version.pri 
rm -rf %{buildroot}/%{_qt4_plugindir}/designer/libqwebview.so
rm -rf %{buildroot}/%{_qt4_importdir}/QtWebKit/
%endif

# .la files, die, die, die.
rm -f %{buildroot}%{_libdir}/lib*.la


%changelog

* Sun Apr 08 2012 mikala <mikala> 4:4.8.1-2.mga2
+ Revision: 229606
- Add patch101 from branch to fix a crash in QTextCursor (QTBUG-24718) needed for calligra 2.4

* Fri Mar 30 2012 mikala <mikala> 4:4.8.1-1.mga2
+ Revision: 227597
- New version 4.8.1

* Fri Feb 03 2012 anssi <anssi> 4:4.8.0-2.mga2
+ Revision: 204244
- fix build to use our optflags
- do not alter installed mkspecs to contain our optflags that made
  qmake to use our flags by default even when not building an rpm
  (we have %%qmake_qt4 which overrides the flags)
- override QMAKE_STRIP in %%qmake_qt4 to keep debug packages working
  after the above change

* Tue Jan 24 2012 fwang <fwang> 4:4.8.0-1.mga2
+ Revision: 200558
- comply chnages regarding mkspecs

  + mikala <mikala>
    - Enable patch402 (fix a crash introduced by a change in qDeleteAll)
    - Add patch404 to fix CVE 2011-3922 from fedora (Stack-based buffer overflow in embedded harfbuzz code)
    - Update tarball to Qt 4.8.0
    - fix qt4_prefix macro ( from fedora)
    - Change patch order & number (use of %%apply_patches, order patch by branch/trunk/distrib patch)
       - rediff patch2,5 to allow apply with -p1 & rename them to 301,302
       - drop patch9,10,11 (merged upstream)
       - rename patch12 to 304 (workaround for parse_error @ BOOST_JOIN cf QTBUG-22829)
       - drop patch1 (webkit is a standalone package now)
       - drop patch4 (prevent build)
       - drop patch not applied ( patch0,6,7,8)
    - Add patch 100 to fix build of qvfb ( QTBUG-19804)
    - Add patch400 from fedora to fix a kpackagekit crash
    - Add patch401 from fedora to fix QTBUG-21900 (Mouse clicks are nonfunctional when running under gnome-shell in Qt 4.8)
    - Add patch403 from fedora to restore qt-4.7-compatible behavior to QUrl.toLocalFile
    - Cosmetic changes in spec ( use %%with instead of ! %%without)
    - Update license tag
    - sync configure part with fedora's spec

  + anssi <anssi>
    - drop hardcoded -DPIC -fPIC from %%qmake_qt4 and %%cmake_qt4, they should
      be set automatically by qmake/cmake when needed (when building shared
      objects)
    - drop setting $CPPFLAGS in %%qmake_qt4 and %%cmake_qt4 since $CFLAGS and
      $CXXFLAGS are already set
    - use the standard %%cmake macro for common parts of %%cmake_qt4

  + lmenut <lmenut>
    - fix old macros
    - use _qt4_sysconfigdir in configure

* Mon Dec 26 2011 dmorgan <dmorgan> 4:4.7.4-11.mga2
+ Revision: 187980
- More fixes for new include path

* Mon Dec 26 2011 dmorgan <dmorgan> 4:4.7.4-10.mga2
+ Revision: 187892
- Fix deps in the devel package

* Mon Dec 26 2011 dmorgan <dmorgan> 4:4.7.4-9.mga2
+ Revision: 187821
- Fix configure
- Re enable private devel
- Fix macros too
- Install qt headers in /usr/include/
- qt-creator/QmlDesigner requires qt private headers (rhbz #657498) ( Fedora)

* Fri Dec 23 2011 fwang <fwang> 4:4.7.4-8.mga2
+ Revision: 186389
- br tiff

* Sat Dec 17 2011 mikala <mikala> 4:4.7.4-7.mga2
+ Revision: 183010
- define bindir,datadir,importdir in configure
- Disable packaging of webkit 2.0
- use lang() for qt translation as suggested by Anssi
- remove redundant requires in -devel packages (thoses are provided by autoreq from rpm)
- Add an option to handle the build of qtwebkit as standalone
- Add patch11 to remove a runtime warning related to libpng
- Add patch12 to workaround a crash of qt moc triggered by boost 1.48

* Mon Oct 31 2011 mikala <mikala> 4:4.7.4-5.mga2
+ Revision: 160627
- Reverse most of zemo commits & restart from the last spec to try to fix (mga #3162)
 - keep the new qt4 macros ( since thoses macros come from fedora, let's use the same name for the demo/examples related macros) and use them in the spec.
 - remove %%defattr()
 - Update various summary/description
 - remove requires when there's a autoreq by rpm (qtdbus)
 - remove old obsoletes/conflicts from mandriva 2009.0 and olders
 - fix some rpmlint warnings(space & tabs, commented out macro )
 - switch to pkgconfig() for BR
 - fix sha1sum tarball in sha1.lst
 - add patch9 to fix CVE-2010-1822
 - add patch10 to add a warning to QLABEL about sanitizing input

* Tue Sep 13 2011 dlucio <dlucio> 4:4.7.4-4.mga2
+ Revision: 143013
- compile against new libpng

* Sat Sep 10 2011 fwang <fwang> 4:4.7.4-3.mga2
+ Revision: 142103
- rebuild for new libpng

* Thu Sep 01 2011 fwang <fwang> 4:4.7.4-2.mga2
+ Revision: 137675
- rebuild for missing packages

* Thu Sep 01 2011 fwang <fwang> 4:4.7.4-1.mga2
+ Revision: 137666
- update file list
- update file list
- new version 4.7.4

  + ze <ze>
    - proper way to build/install docs,demos and examples (currently only copied
      demos and examples source code into the install directory)
    - proper way to handle build/install FREETDS Database Plugin
    - proper way to build and install (translations are not docs conditional),
      this way it only installs what is built avoiding incorrect ugly hacks
    - fix typo
    - add missing translation build (its docs conditional)
    - clean some useless macros
    - arrange and clean spec
    - enter qt4 macros with correct naming (keep old ones to avoid breakages)
    - fix summaries and dexcriptions
    - remove requires that are already exist by default
    - set dependencies with versioning
    - fix provides to release
    - Remove (pre) in requires since theres no pre(un) scriptlets
    - avoid use of %%without,instead use !%%with (as stated in rpm)
    - remove demos duplicated files
    - qtdemo binary only builds with docs enabled
    - proper phonon remove
    - use native rpm macros
    - install missing image files in documentation
    - remove clean section (done by default)

  + dmorgan <dmorgan>
    - Fix .la files removal
    - Remove .la files ( From fedora)

* Mon May 09 2011 dmorgan <dmorgan> 4:4.7.3-1.mga1
+ Revision: 96613
- New version 4.7.3

* Sat Apr 30 2011 mikala <mikala> 4:4.7.2-3.mga1
+ Revision: 93653
- Remove BuildRoot tag
- Fix creation of qt translation files (qt_*.qm where empty) fixing mga #969

* Tue Apr 12 2011 mikala <mikala> 4:4.7.2-2.mga1
+ Revision: 83946
- Add patch9 to fix qtbug #18338
- Drop jscore link flag from libtool archive (from fwang)

* Mon Mar 28 2011 mikala <mikala> 4:4.7.2-1.mga1
+ Revision: 78210
- Update tarball to 4.7.2
- Rediff patch2
- Drop patch9 & patch10 merged upstream
- Fix files list

  + colin <colin>
    - Don't build the phonon Qt designer plugin. It's shipped in Phonon 4.5.0 now

* Thu Mar 24 2011 dmorgan <dmorgan> 4:4.7.1-10.mga1
+ Revision: 76767
- Rebuild against new mysql

  + ahmad <ahmad>
    - split the demos in a separate package and install qtdemo binary

* Sat Jan 15 2011 ahmad <ahmad> 4:4.7.1-8.mga1
+ Revision: 19870
- disable the phonon boostrap now that kde phonon is available

* Fri Jan 14 2011 dmorgan <dmorgan> 4:4.7.1-7.mga1
+ Revision: 17404
- Bump release
- Fix bootstrap
- Fix bootstrap
- bootstrap phonon

  + blino <blino>
    - bump release
    - remove old version check
    - remove unneeded distro name in comment

  + mikala <mikala>
    - imported package qt4


* Thu Jan 13 2011 John Balcaen <balcaen.john@gmail.com> 4:4.7.1-5mga1
- Rediff source 2,3,5 to remove mandriva information
- add patch10 to fix Qt #15857 (crash in Lokalize)

* Sun Jan 09 2011 Funda Wang <fwang@mandriva.org> 4:4.7.1-4mdv2011.0
+ Revision: 630700
- add upstream change per requested by kdepim

* Sat Jan 01 2011 Oden Eriksson <oeriksson@mandriva.com> 4:4.7.1-3mdv2011.0
+ Revision: 627019
- rebuilt against mysql-5.5.8 libs, again

* Tue Dec 28 2010 Oden Eriksson <oeriksson@mandriva.com> 4:4.7.1-2mdv2011.0
+ Revision: 625580
- rebuilt against mysql-5.5.8 libs

* Thu Nov 11 2010 Funda Wang <fwang@mandriva.org> 4:4.7.1-1mdv2011.0
+ Revision: 595924
- update file list
- fix str fmt
- new version 4.7.1
- drop rpath removal for qt4, there are some libs requireing rpath

* Thu Oct 14 2010 Funda Wang <fwang@mandriva.org> 4:4.7.0-5mdv2011.0
+ Revision: 585563
- force gb18030 for gb2312 and gbk
- skip rpath for cmake_qt4
- BR openssl

* Wed Oct 06 2010 Funda Wang <fwang@mandriva.org> 4:4.7.0-4mdv2011.0
+ Revision: 583678
- BR asound and pulse backends for multimedia
  link to openssl and dbus rather than dlopen them

* Tue Sep 28 2010 Funda Wang <fwang@mandriva.org> 4:4.7.0-3mdv2011.0
+ Revision: 581595
- examples are not noarch package

* Wed Sep 22 2010 Funda Wang <fwang@mandriva.org> 4:4.7.0-2mdv2011.0
+ Revision: 580457
- reenalbe docs
- drop unused pathes (merged upstream)
- specify plugins ldflags also in g++.conf

* Tue Sep 21 2010 Funda Wang <fwang@mandriva.org> 4:4.7.0-1mdv2011.0
+ Revision: 580411
- 4.7.0 final

* Tue Aug 31 2010 Thierry Vignaud <tv@mandriva.org> 4:4.7.0-0.6mdv2011.0
+ Revision: 574915
- let the examples subpackage be noarch

* Tue Aug 31 2010 Thierry Vignaud <tv@mandriva.org> 4:4.7.0-0.5mdv2011.0
+ Revision: 574913
- let the doc subpackage be noarch

* Fri Aug 27 2010 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.7.0-0.4mdv2011.0
+ Revision: 573464
- Fix file list
- Really disable ODBC
- Do not build ocdb support for now sqlcli.h is missing
- Change release
- Qt 4.7.0 Rc1

* Tue Aug 24 2010 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.7.0-0.2mdv2011.0
+ Revision: 572950
- Fix file list
- Fix file list
- Fix %%setup
- New snapshot

  + Funda Wang <fwang@mandriva.org>
    - promote libsuff in qmake

* Thu Jul 22 2010 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.7.0-0.1mdv2011.0
+ Revision: 556769
- Add missing files
- fix install on x86_64
- Update to qt 4.7.0 git snapshot

* Thu May 06 2010 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.2-9mdv2010.1
+ Revision: 543060
- Add make as requires of devel package

* Tue Apr 27 2010 Christophe Fergeau <cfergeau@mandriva.com> 4:4.6.2-8mdv2010.1
+ Revision: 539581
- rebuild so that shared libraries are properly stripped again

* Tue Apr 20 2010 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.2-7mdv2010.1
+ Revision: 537085
- Add qt patch to fix paper size issues

* Wed Apr 07 2010 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.2-6mdv2010.1
+ Revision: 532848
- Rebuild against openssl

* Mon Mar 22 2010 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.2-5mdv2010.1
+ Revision: 526306
- Add upstream patch fixing crashes ( annoying in amarok )
  Thanks helio for pointing out this patch

* Fri Mar 19 2010 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.2-4mdv2010.1
+ Revision: 525288
- Disable patch6 for test purpose

* Thu Feb 18 2010 Oden Eriksson <oeriksson@mandriva.com> 4:4.6.2-3mdv2010.1
+ Revision: 507459
- rebuild

  + Nicolas Lécureuil <nlecureuil@mandriva.com>
    - Add back translations
    - Add docs

* Mon Feb 15 2010 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.2-2mdv2010.1
+ Revision: 506207
- use back kde-qt branch

  + Funda Wang <fwang@mandriva.org>
    - update url and license
    - New version 4.6.2

* Thu Feb 11 2010 Arthur Renato Mello <arthur@mandriva.com> 4:4.6.1-4mdv2010.1
+ Revision: 504215
- Update Qt4 for last version from kde-qt

* Mon Feb 08 2010 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.1-3mdv2010.1
+ Revision: 502257
- Add kde-qt patch fixing cups support
- picked up 2 kubuntu patches, fixing Bold fonts (Bug #57426)

* Thu Jan 28 2010 Funda Wang <fwang@mandriva.org> 4:4.6.1-2mdv2010.1
+ Revision: 497497
- rebuild

  + Nicolas Lécureuil <nlecureuil@mandriva.com>
    - Fix file list
    - Do not build doc for now
    - rediff doc3 patch
    - Remove merged patches
    - Update to qt 4.6.1

* Fri Jan 15 2010 Funda Wang <fwang@mandriva.org> 4:4.6.0-6mdv2010.1
+ Revision: 491796
- fix QT_REQUIRE_VERSION macro declaration

* Mon Jan 11 2010 Funda Wang <fwang@mandriva.org> 4:4.6.0-5mdv2010.1
+ Revision: 489452
- rebuild for new libjpegv8

  + Nicolas Lécureuil <nlecureuil@mandriva.com>
    - Tell the world how to do the qt tarballs from git
    - Fix Requires in the devel package

* Sat Dec 26 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.0-4mdv2010.1
+ Revision: 482457
- Optimize  BuildRequires

* Tue Dec 08 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.0-3mdv2010.1
+ Revision: 474688
- build qdoc3 again
- Build translations
  Do not package qdoc3
  Remove wrong provide

* Wed Dec 02 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.0-2mdv2010.1
+ Revision: 472654
- Add upstream patch to fix a crash between plasma and QGraphicsView

* Tue Dec 01 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.0-1mdv2010.1
+ Revision: 472214
- Update to Qt 4.6.0 final

* Sat Nov 28 2009 Funda Wang <fwang@mandriva.org> 4:4.6.0-0.rc1.2mdv2010.1
+ Revision: 470756
- update summary
- add missing requires

* Thu Nov 19 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.0-0.rc1.1mdv2010.1
+ Revision: 467335
- For the moment do not build docs, this will be fix in the next package
- Comment qdoc3 for now
- Remove non existing make option
- Update to 4.6Rc1

* Tue Nov 10 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.0-0.beta1.6mdv2010.1
+ Revision: 464250
- Disable doc for now, i will investigate the build pb
- Build with -no-pch option
- enable docs
- Update to latest qt 4.6 snapshot

* Sun Nov 08 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.0-0.beta1.3mdv2010.1
+ Revision: 463100
- Rebuild for missing debug packages

* Fri Nov 06 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.6.0-0.beta1.2mdv2010.1
+ Revision: 460550
- Bump release
- Update to qt 4.6 beta1 ( tks to helio )

* Thu Oct 29 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.5.3-3mdv2010.0
+ Revision: 459913
- Rebuild because of missing debug packages

* Wed Oct 07 2009 Helio Chissini de Castro <helio@mandriva.com> 4:4.5.3-2mdv2010.0
+ Revision: 455575
- Upgrade kde-qt patches. Aded shm fix patch to avoid git patch generation linearity breakage

* Thu Oct 01 2009 Helio Chissini de Castro <helio@mandriva.com> 4:4.5.3-1mdv2010.0
+ Revision: 452388
- New upstream version
- Removed already applied patches

* Wed Sep 09 2009 Helio Chissini de Castro <helio@mandriva.com> 4:4.5.2-12mdv2010.0
+ Revision: 436054
- Added current set of kde-qt patches.
- Moved CVE patch to proper place in the spec order

* Tue Sep 08 2009 Oden Eriksson <oeriksson@mandriva.com> 4:4.5.2-11mdv2010.0
+ Revision: 433610
- P1021: security fix for CVE-2009-2700

* Tue Sep 01 2009 Helio Chissini de Castro <helio@mandriva.com> 4:4.5.2-10mdv2010.0
+ Revision: 423639
- Conflicts with designer plugins and qt-devel

* Mon Aug 24 2009 Helio Chissini de Castro <helio@mandriva.com> 4:4.5.2-9mdv2010.0
+ Revision: 420554
- Revert phonon situation to still validate usage against kde support package
- Prepare to use Qt official phonon.
- Designer plugins are splitted in own packages. They are required in runtime
  only if QUiTools are used. Further usage we will need add explicit requires in
  the subsequent package.

* Mon Aug 17 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 4:4.5.2-7mdv2010.0
+ Revision: 417432
- Rebuild

  + Funda Wang <fwang@mandriva.org>
    - specify libdir also

  + Helio Chissini de Castro <helio@mandriva.com>
    - qtdbus need be required by devel package

* Tue Aug 04 2009 Helio Chissini de Castro <helio@mandriva.com> 4:4.5.2-5mdv2010.0
+ Revision: 409345
- Raise release and recompile...
- qt4 now using the new kde-qt git repository. Patches are automatically
  generated from 4.5.2-patched branch, replaceing the old qt-copy usage in kde
  source tree.

* Sat Jul 11 2009 Helio Chissini de Castro <helio@mandriva.com> 3:4.5.2-2mdv2010.0
+ Revision: 394346
- Added full X.org multimedia key support
- Fixed wformat qmake error

* Thu Jun 25 2009 Helio Chissini de Castro <helio@mandriva.com> 3:4.5.2-1mdv2010.0
+ Revision: 389134
- Upstream bugfix release 4.5.2

  + Nicolas Lécureuil <nlecureuil@mandriva.com>
    - Add patch 282 to fix memleak in QPixmap

* Tue Apr 28 2009 Helio Chissini de Castro <helio@mandriva.com> 3:4.5.1-1mdv2010.0
+ Revision: 369117
- Update to upstream bugfix release 4.5.1
- Added qt-copy patches, including svg regression on 4.5.1
- Removed odbc and randr detect patches not needed ( odbc replaced by qt-copy patch )

* Mon Apr 13 2009 Helio Chissini de Castro <helio@mandriva.com> 3:4.5.0-3mdv2009.1
+ Revision: 366830
- We not require anymore a specific config. Is a legacy from the early qt4 mandriva packages. Solve the Mandriva bug 49652

* Fri Mar 20 2009 Helio Chissini de Castro <helio@mandriva.com> 3:4.5.0-2mdv2009.1
+ Revision: 359153
- Added gtk2+ devel requires to enable qgtkstyle ( reported by aapgorila )
- Finally foud the reason behing not having pch headers ( loose configure option )
- Added reduced-relocation to compilation, thanks to our new ld
- Added freetds db plugin support
- Forc opengl to use OpenGL 1.x  2.x spec ( desktop )

* Tue Mar 03 2009 Helio Chissini de Castro <helio@mandriva.com> 3:4.5.0-1mdv2009.1
+ Revision: 348014
- Revert patch for new odbc
- New upstream final release 4.5.0
- Removed already applied patches ( including 272 from qt-copy for iconvcodec )
- Added suggests for qt4-doc in qt-assistant

  + Nicolas Lécureuil <nlecureuil@mandriva.com>
    - Fix patch 0272

* Mon Feb 23 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 3:4.5.0-0.rc1.9mdv2009.1
+ Revision: 344022
- Add a requires in devel package (required by QtOpenGL/qgl.h)

* Sat Feb 21 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 3:4.5.0-0.rc1.8mdv2009.1
+ Revision: 343772
- Add copy patch to fix qt4.5 regression

* Thu Feb 19 2009 Per Øyvind Karlsen <peroyvind@mandriva.org> 3:4.5.0-0.rc1.6mdv2009.1
+ Revision: 342766
- compile and link with the appropriate flags as one *should* (fixes -debug
  package amongst other things..)

  + Nicolas Lécureuil <nlecureuil@mandriva.com>
    - Rebuild
    - Fix URL

  + Helio Chissini de Castro <helio@mandriva.com>
    - Phonon headers must come from phonon package.

* Thu Feb 12 2009 Helio Chissini de Castro <helio@mandriva.com> 3:4.5.0-0.rc1.4mdv2009.1
+ Revision: 339868
- Added relevant current qt-copy patches
- Created qdoc3 subpackge ( required by qt-creator build )

* Wed Feb 11 2009 Helio Chissini de Castro <helio@mandriva.com> 3:4.5.0-0.rc1.3mdv2009.1
+ Revision: 339466
- Qt 4.5.0 rc1 arriving

* Wed Feb 04 2009 Funda Wang <fwang@mandriva.org> 3:4.4.3-19mdv2009.1
+ Revision: 337451
- require all the libs

* Mon Feb 02 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 3:4.4.3-18mdv2009.1
+ Revision: 336718
- Rebuild for missing debug package
- Rebuild because of missing debug package
- Activate the second patch

* Sat Jan 31 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 3:4.4.3-15mdv2009.1
+ Revision: 335722
- Try only the qt-copy systray patch for now
- Sync with qt-copy patches ( systray fixes)
- Add a switch for qt copy patches

* Sun Jan 25 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 3:4.4.3-13mdv2009.1
+ Revision: 333457
- try qt4 w/o patch1
- Fix Qt4 apps looking at the wrong place ( Bug #46977)

* Tue Jan 20 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 3:4.4.3-12mdv2009.1
+ Revision: 331801
- Use qt-copy patches instead of hand-made patch

* Tue Jan 20 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 3:4.4.3-11mdv2009.1
+ Revision: 331771
- remove debug patch
- Add patch from Qt to fix a crash in QGraphicsScene ( annoying in folderview)

* Tue Jan 20 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 3:4.4.3-10mdv2009.1
+ Revision: 331493
- Fix ODBC support on x86_64

* Tue Jan 20 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 3:4.4.3-9mdv2009.1
+ Revision: 331477
- Disable odbc support for now, we need to fix the build
- Sync with qt-copy

* Thu Jan 08 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 3:4.4.3-8mdv2009.1
+ Revision: 327178
- Fix build with -Werror=format-security
- Update to qt-copy

  + Funda Wang <fwang@mandriva.org>
    - define CMAKE_MODULE_LINKER_FLAGS so that linking modules won't fail

* Wed Dec 10 2008 Adam Williamson <awilliamson@mandriva.org> 3:4.4.3-7mdv2009.1
+ Revision: 312413
- add firebird.patch: fix linking when building with firebird support (debian)

  + Funda Wang <fwang@mandriva.org>
    - rebuild for new mysql

* Fri Nov 07 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.3-5mdv2009.1
+ Revision: 300736
- Update current qt-copy patches

* Sun Nov 02 2008 Funda Wang <fwang@mandriva.org> 3:4.4.3-4mdv2009.1
+ Revision: 299271
- add a patch from opensuse: delay IME initializing
  https://bugzilla.novell.com/show_bug.cgi?id=398526

* Wed Oct 22 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.3-3mdv2009.1
+ Revision: 296601
- Move lupdate and lrelease to devel package

* Tue Oct 21 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.3-2mdv2009.1
+ Revision: 296176
- Cleanup environment

* Mon Sep 29 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.3-1mdv2009.0
+ Revision: 289161
- Official Qt rebranding with new licenses and graphics. Trolltech Qt now is Qt Software. This update is rebrand only, no fixes or code change

* Thu Sep 18 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.2-1mdv2009.0
+ Revision: 285741
- New upstream bugfix release

* Tue Sep 09 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.1-6mdv2009.0
+ Revision: 283304
- Latest qt-copy patches, randr and spellchecker fixes

* Thu Aug 07 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.1-5mdv2009.0
+ Revision: 266508
- Fix expanding test issue

* Thu Aug 07 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.1-4mdv2009.0
+ Revision: 266225
- Fix profile

* Tue Aug 05 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.1-2mdv2009.0
+ Revision: 263837
- Revert Qt4 regression preventing systray to work. The solution is not final yet, since need to have kde upstream agreement that this will be the best approach.
- Revert Qt4 regression preventing systray to work. The solution is not final yet, since need to have kde upstream agreement that this will be the best approach.

  + Funda Wang <fwang@mandriva.org>
    - specify flags through qmake macro
    - use new compile flags

* Thu Jul 31 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.1-1mdv2009.0
+ Revision: 258517
- Update for latest bugfix upstream release 4.4.1. some qt-copy patches are removed due to been lready applied or not match current code.

* Tue Jul 22 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.0-19mdv2009.0
+ Revision: 240944
- Updated for latest qt-copy patch fixes, including local printer

* Tue Jul 08 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.0-18mdv2009.0
+ Revision: 232856
- Updated qt-copy patches.
- And we're back for 5 years ago.. Patching qt conf to remove STRIP as same way we did 5 years
  ago and fedora do now. This should solve the complainings about beug info and at same time not
  remove tehe -release optimization of Qt.

* Thu Jun 26 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.0-16mdv2009.0
+ Revision: 229366
- We need requires the plugin, no need specific version and release
- We don't need anymore specify the arch, since all plugins provide a generic name.

* Thu Jun 26 2008 Gustavo Pichorim Boiko <boiko@mandriva.com> 3:4.4.0-14mdv2009.0
+ Revision: 229362
- Qt Assistant needs the sqlite database driver in order to work.

* Wed Jun 18 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.0-12mdv2009.0
+ Revision: 225547
- Long time heritage of no-exceptions are prevent xmlpatterns to be built
- Added dot on all descriptions that are missing

* Tue Jun 17 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.0-11mdv2009.0
+ Revision: 223147
- Added provides, instead of obsoletes on qt4 plugins
- Moved codecs for qtcore to stay as default, and obsoleted plugin package.
  This will solve some issues when using  non latin like languages,

* Tue Jun 17 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.0-10mdv2009.0
+ Revision: 222714
- Get rid of internal sqlite
- Anssi proposal of back to -debug packages are reasonable, so reverting the revert again
- Since we're putting back -debug packages, moving to -release mode is possible
- Reverting last change. People assuming that is wrong for him is not used for anyone else and have no reason. And usually not care to ask.

  + Anssi Hannula <anssi@mandriva.org>
    - always use -no-separate-debug-info and let rpm separate the debug
      symbols instead (fixes debug packages, now they actually contain the
      debugging info)
    - fix underlinking (libQtGui.so has to be linked with glib2.0) and
      re-enable buildrequires on glib2-devel

  + Pixel <pixel@mandriva.com>
    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas

* Wed Jun 11 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.0-9mdv2009.0
+ Revision: 218038
- If you don't understand what you are doing, you should not touch the package that break all kde4 compilations...

* Tue Jun 10 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.0-8mdv2009.0
+ Revision: 217694
- Missing qtscript in devel requires

* Tue Jun 10 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.0-7mdv2009.0
+ Revision: 217566
- Update with current qt-copy patches

  + Funda Wang <fwang@mandriva.org>
    - obsoletes old qtwebkit

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

  + Paulo Andrade <pcpa@mandriva.com.br>
    - Don't reference /usr/X11R6/{include,lib} files, neither advertise them
      in pkg-config .pc files. Also don't add %%{_builddir} to .pc files.

* Tue May 27 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.0-4mdv2009.0
+ Revision: 211766
- As suggested by pixel, libraries now sit under _libdir. To join the movement, plugins gone now to _libdir/qt4/plugins, which made a cleaner solution for install both plugins and libs for i586 and x86_64

* Mon May 12 2008 Nicolas Lécureuil <nlecureuil@mandriva.com> 3:4.4.0-3mdv2009.0
+ Revision: 206088
- Sync with kde qt-copy patches

* Wed May 07 2008 Funda Wang <fwang@mandriva.org> 3:4.4.0-2mdv2009.0
+ Revision: 202734
- disable glib2 support for now
- BR glib2
- devel should require webkit

* Mon May 05 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.0-1mdv2009.0
+ Revision: 201522
- Added script splugin in libqtscript
- Compile with debug by default
- Qt 4.4.0 final
- Added -g in flags to make compilation usefull for mandriva debug style

* Mon May 05 2008 Nicolas Lécureuil <nlecureuil@mandriva.com> 3:4.4.0-0.2.rc1mdv2009.0
+ Revision: 201270
- Fix release and upload for missing package
- Fix release and upload for missing package

* Sun May 04 2008 Helio Chissini de Castro <helio@mandriva.com> 3:4.4.0-0.1.rc1mdv2009.0
+ Revision: 201209
- Added qt-copy safe patches
- Push rc1 to prepare to forthcoming final release next week
- Fixed variable definitions during compilation
- Added macro qmake_qt4 as suggested in bug https://qa.mandriva.com/show_bug.cgi?id=40456
- Chmaged for CPPFLAGS only and added -DPIC on flags
- Fixed placement of examples and demos
- Fixed qch install, enabling indexing using assistant
- Missing source
- Starting to push new infrastructure for devel KDE 4.1. KDE 4 will be on / now. KDE is dead. Long live KDE vi kdenetwork4/SPECS/kdenetwork4.spec ;-)

* Fri Mar 28 2008 Anssi Hannula <anssi@mandriva.org> 2:4.3.4-6mdv2008.1
+ Revision: 190803
- add conflicts to -devel package to ease upgrades due to .prl move

* Tue Mar 25 2008 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.4-5mdv2008.1
+ Revision: 190062
- Fix for bug https://qa.mandriva.com/show_bug.cgi?id=39352

* Sun Mar 09 2008 Anssi Hannula <anssi@mandriva.org> 2:4.3.4-4mdv2008.1
+ Revision: 182731
- fix major of libqassistant and libqtdesigner (was 1, correct is 4)
- ensure major correctness in the future
- add 32-bit library path to ld.so search path on lib64 systems as well
  (fixes running 32-bit QT4 applications on 64-bit systems, #34590)

* Fri Mar 07 2008 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.4-3mdv2008.1
+ Revision: 181542
- Is good always folow the proper directions and orientations. QUiTools must be static. Thanks Thiago Macieira
- .prl files suppose to be in devel, not lib files

* Thu Feb 28 2008 Oden Eriksson <oeriksson@mandriva.com> 2:4.3.4-2mdv2008.1
+ Revision: 175992
- rebuilt due to package loss

* Tue Feb 26 2008 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.4-1mdv2008.1
+ Revision: 175219
- Installation is pulling qt4-common due libqtcore4 necessity. The inclusion of qtconfig in common package, which still have qt3support code, was pulling many of the qt4 libraries, which was not necessary since we need qtcore4 and qtgui4. As recomended by Trolltech staff, qtconfig survive in a different package now
- Update to latest bugfix release 4.3.4
- Removed qt-copy applied upstream patches
- Added qt4-doc requires for assistant

* Thu Feb 21 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 2:4.3.3-7mdv2008.1
+ Revision: 173690
- fix patch 2

* Thu Feb 21 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 2:4.3.3-6mdv2008.1
+ Revision: 173443
- really apply patch 2 :-(

* Wed Feb 20 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 2:4.3.3-5mdv2008.1
+ Revision: 173335
- Patch2: Qt4 tries to resolve OpenSSL library by the libssl.so which is only existsts when libopenssl-devel package is installed on the system. This is an upstream bug #185864 which should be fixed for Qt 4.4.x

  + Nicolas Lécureuil <nlecureuil@mandriva.com>
    - Put translation files in the right package

* Thu Feb 07 2008 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.3-4mdv2008.1
+ Revision: 163800
- Qt4 fix for bug http://qa.mandriva.com/show_bug.cgi?id=36015

* Thu Feb 07 2008 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.3-3mdv2008.1
+ Revision: 163744
- Update lates qt-copy patches

* Thu Jan 17 2008 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.3-2mdv2008.1
+ Revision: 154390
- Updated current qt-copy patches. Included:
  	XRandr prefered support over xinerama. Solves some issues related to ne xrandr bases
  	speedup pixmap fill drawings

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request

* Wed Dec 12 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.3-1mdv2008.1
+ Revision: 117745
- Updated and removed patches from qt-copy to match kde development
- Updated to latest qt 4.3.3 upstream
- Qt 4 now is the standard devel environment for Qt applications. If both qt3 and qt4 packages are installed, qt4 have the priority.
  If you want have qt3 as main devel environment, use update-alternative --config qmake having both devel packages installed, and for config use update-alternatives --config qtconfig. As usual, if you point QTDIR for right place, system will use it, including package building.
- Added latest qt-copy patches
- Added alternatives system to match recent qt3 modifications
- Removed designer wrapper, not needed anymore

* Fri Oct 26 2007 Funda Wang <fwang@mandriva.org> 2:4.3.2-1mdv2008.1
+ Revision: 102377
- New version 4.3.2

  + Thierry Vignaud <tv@mandriva.org>
    - fix summary-ended-with-dot

* Sat Sep 15 2007 Nicolas Lécureuil <nlecureuil@mandriva.com> 2:4.3.1-12mdv2008.0
+ Revision: 86233
- Bump release due to BS fail
- Fix CVE-2007-4137

  + Helio Chissini de Castro <helio@mandriva.com>
    - Patch 0190 from qt-copy. utfdecoder.

* Thu Sep 13 2007 Nicolas Lécureuil <nlecureuil@mandriva.com> 2:4.3.1-9mdv2008.0
+ Revision: 85352
- [BUGFIX] Add menu entry for qt4-designer (Bug #33553)'
- Remove Validation errors  on desktop files

* Thu Sep 13 2007 Gustavo Pichorim Boiko <boiko@mandriva.com> 2:4.3.1-8mdv2008.0
+ Revision: 85286
- Split qt dbus binaries from the lib package. Thanks Colin Guthrie for the fix.

* Fri Aug 31 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.1-7mdv2008.0
+ Revision: 77053
- Added current patches
- Clearlooks as default eidget set for Qt4

* Thu Aug 16 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.1-5mdv2008.0
+ Revision: 64575
- Updated patches from qt-copy ( safe ones )
- Added qt4bin on macros

* Mon Aug 13 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.1-4mdv2008.0
+ Revision: 62570
- Recompile to fix mirror breakage

* Fri Aug 10 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.1-3mdv2008.0
+ Revision: 61633
- Removed non applied patches
- Added moc patch to fix qca2 plugins build, which will be provided later and is waiting on my
  sandbox to be submitted
- Added the KDE_QT_COPY reference

* Thu Aug 09 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.1-2mdv2008.0
+ Revision: 60590
- Proper conflicts

* Wed Aug 08 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.1-1mdv2008.0
+ Revision: 60589
- New upstream version 3.4.1

* Tue Jul 31 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.0-16mdv2008.0
+ Revision: 57221
- Added -fPIC on flags
- Added patch 186 from qt-copy

* Mon Jul 16 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.0-14mdv2008.0
+ Revision: 52665
- Added new string qt-copy patch

* Wed Jul 11 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.0-12mdv2008.0
+ Revision: 51376
- Added qt-copy patch 0184
- Fixed qt4env

* Thu Jul 05 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.0-11mdv2008.0
+ Revision: 48537
- Update patch for transparency and added cmake macros

* Thu Jun 28 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.0-10mdv2008.0
+ Revision: 45517
- Get rid of debug files

* Thu Jun 28 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.0-9mdv2008.0
+ Revision: 45435
- blino catch the good one issue about runnig dbus over kde4. QDbus tool was in devel package. ( Yes Andreas, i added the conflicts :) )
- New qprocess pach from qt-copy tree

* Tue Jun 26 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.0-7mdv2008.0
+ Revision: 44384
- Update with latest qt-copy patches

* Mon Jun 18 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.0-6mdv2008.0
+ Revision: 40885
- Added latest qt-copy patches, drag and drop for oxygen and kwin window rolw setting

* Fri Jun 15 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.0-5mdv2008.0
+ Revision: 40080
- Update latest safe qt-copy patches

* Thu Jun 07 2007 Anssi Hannula <anssi@mandriva.org> 2:4.3.0-3mdv2008.0
+ Revision: 36195
- rebuild with correct optflags

  + Helio Chissini de Castro <helio@mandriva.com>
    - Install proper macros, not a desktop dir

* Wed May 30 2007 Helio Chissini de Castro <helio@mandriva.com> 2:4.3.0-1mdv2008.0
+ Revision: 32936
- New upstream qt 4.3.0
- Added KDE 4 qt-cpoy current patches
- Moved desktop files as a source instead if inline in spec
- Created conflicts for linguist and assistant packages. Qt3 package will be created after and moved
  away from devel. Assistant and linguist have same behavior on both versions, so there's no excuse
  to have both installed at same time
- Added qt4.sh profile, with proper PKG_CONFIG_DATADIR. With this, we can aboid move pkgconfig files
  during install and make easy maintenace of package
- Added qt4env function on qt4.sh profile. This function make local environment ready with qtdir and
  bin dir pointing for qt4. Usefull for development

* Wed May 09 2007 Laurent Montel <lmontel@mandriva.org> 2:4.3-0.rc1.1mdv2008.0
+ Revision: 25414
- qt4.3 rc1

* Tue Apr 24 2007 Laurent Montel <lmontel@mandriva.org> 2:4.3-0.beta1.5mdv2008.0
+ Revision: 17750
- Update qt3 snapshot

* Mon Apr 23 2007 Laurent Montel <lmontel@mandriva.org> 2:4.3-0.beta1.4mdv2008.0
+ Revision: 17204
- Fix miscompile in qlocale

* Fri Apr 20 2007 Laurent Montel <lmontel@mandriva.org> 2:4.3-0.beta1.3mdv2008.0
+ Revision: 15542
- Fix pkgconfig

* Tue Apr 17 2007 Laurent Montel <lmontel@mandriva.org> 2:4.3-0.beta1.2mdv2008.0
+ Revision: 13604
- New version need by new kdelibs snapshot


* Tue Mar 27 2007 Laurent Montel <lmontel@mandriva.com> 4.3-0.beta1.1mdv2007.1
+ Revision: 148810
- Disable for the moment use/generate pch file
- Time to use qt4.3

* Tue Mar 20 2007 Laurent Montel <lmontel@mandriva.com> 2:4.2.3-3mdv2007.1
+ Revision: 147012
- Fix init var

* Sat Mar 17 2007 Laurent Montel <lmontel@mandriva.com> 2:4.2.3-2mdv2007.1
+ Revision: 145648
- Fix bug #153635

* Thu Mar 08 2007 Laurent Montel <lmontel@mandriva.com> 2:4.2.3-1mdv2007.1
+ Revision: 138414
- 4.2.3

  + Helio Chissini de Castro <helio@mandriva.com>
    - Modifed doc dir as same way did in qt3 package. Instead of have multiple old versionated doc
      dirs, we have only one qt4 docdir installed

* Mon Feb 12 2007 Laurent Montel <lmontel@mandriva.com> 2:4.2.2-11mdv2007.1
+ Revision: 119897
- Fix compile (Patch from Gb)

* Mon Feb 12 2007 Laurent Montel <lmontel@mandriva.com> 2:4.2.2-10mdv2007.1
+ Revision: 118870
- Bug found by gb

* Tue Jan 23 2007 Laurent Montel <lmontel@mandriva.com> 2:4.2.2-9mdv2007.1
+ Revision: 112279
- Fix mem leak
- Fix group
- Use Requires(pre)

* Fri Dec 22 2006 Laurent Montel <lmontel@mandriva.com> 2:4.2.2-8mdv2007.1
+ Revision: 101835
- Rebuild for missing x86_64 package

* Thu Dec 21 2006 Laurent Montel <lmontel@mandriva.com> 2:4.2.2-7mdv2007.1
+ Revision: 101064
- Fix qt4
- Add provides

* Mon Dec 18 2006 Laurent Montel <lmontel@mandriva.com> 2:4.2.2-5mdv2007.1
+ Revision: 98531
- Fix desktop file categorie (bug #27730)

* Tue Dec 12 2006 Helio Chissini de Castro <helio@mandriva.com> 2:4.2.2-4mdv2007.1
+ Revision: 95940
- Added qvfb subpackage

* Fri Dec 01 2006 Helio Chissini de Castro <helio@mandriva.com> 2:4.2.2-3mdv2007.1
+ Revision: 89866
- QtCore should not have X and QtGui dependencies. Thanks to Thiago Macieira

* Fri Dec 01 2006 Laurent Montel <lmontel@mandriva.com> 2:4.2.2-2mdv2007.1
+ Revision: 89852
- 4.2.2
- Fix group
- Patch from titi to fix group

* Wed Oct 25 2006 Laurent Montel <lmontel@mandriva.com> 2:4.2.1-1mdv2007.1
+ Revision: 72260
- 4.2.1
- Be sure to compile qdbus
- Fix overflow

* Thu Oct 05 2006 Helio Chissini de Castro <helio@mandriva.com> 2:4.2.0-2mdv2007.1
+ Revision: 62853
- Added missing provides
- Fixed groups
- Fixed assistant.patch
- Fix new debug style libraries
- Added qtdbus tools and library
- Recompile to avoid missing packages on release

  + Laurent Montel <lmontel@mandriva.com>
    - New package (2006-10-04 4.2.0-1mdv)
      New release 4.2.0
    - Readd sources
      Add missing build requires
    - e
    - f
    - Fix
    - New package (13mdv 2006-09-06)
      Rebuild against new mysql package

* Tue Aug 15 2006 Helio Chissini de Castro <helio@mandriva.com> 2:4.1.4-12mdv2007.0
+ Revision: 56029
- Qt 4.1.4 is stable, KDE 4 development use Qt 4.2 now, so we can drop debug
  packages to release in Mandriva 2007
- Added qt4 rpm macros as same in qt3 package

  + Laurent Montel <lmontel@mandriva.com>
    - qt4 doesn't support %%make

* Sat Jul 22 2006 Laurent Montel <lmontel@mandriva.com> 2:4.1.4-11mdv2007.0
+ Revision: 41802
- Fix menu on mdk <= 2006
- Disable temporary compile static lib which breaks
  designer-qt4 until we fix it
- Adapt patch from  cris at beebgames dot com to
  cleanup configure
- 4.1.4
- Use macro
  Rebuild
- Rebuild qt4 with new libpng
- remove Obsolete to fix upgrade
- Fix place of buildrequires (bug found by Boiko)
- Add missing buildrequires
- use %%make
- This directory doesn't exit into 4.1.3 version
- 4.1.3
- Fix buildrequires
- Adapt to new xdg menu
- Qt4.1.2 doesn't support parallele compile :(
- Fix compile when we unselect plugins.
  it's a bug into qt
  I send a bug report.
- 4.1.2
- Fix spec file
- 4.1.1
- Fix menuentry and generate them
- Increment release version
- 4.1.0 release
- qt4.1.0-rc1
- Compile with debug and not debug
- Fix menu
- Fix requires
  Remove requires on qt-devel which is defined into qt
  Add menu entry

  + Helio Chissini de Castro <helio@mandriva.com>
    - Increase release to recompile
    - Fixed pkgconfig bad paths.
    - Devel package need requires for libraries to avoid broke symlinks
    - qt4 is on main repository now. Shoud not compile against contrib packages. In
     this case, firebird is the one. My fault. :-(
    - Rearrange build requires.
    - Add missing firebird-devel build requires for ibase plugin
    - Fix Provides, Requires and Obsoletes
    - QtUiTools have 4 as soname
    - Examples and demos now installed clean, without all build object files
     - Make plugins multi-arch enabled
     - Make uitools lib shared
     - Renamed accessibility and database plugins to match arch
    - Increase release
    - Making _debug library packages by default on cooker release
    - Enabled acessibility plugin
    - Added interbase database plugin package ( disabled by default )
    - Finally a decent package with proper lib separation and fully working on x86_64
      archs
    - 4.1 will take some time so already provided static libraries, as requested.
      It's suppose to be working, but since is first try, probably some features on
      static library could be not available like in shared ones , due to lack of
      static devel libs on Mandriva ( i.e. postgres, mysql, unixodbc, etc.. )
    - Moved post install pkgconfig files to proper dir on system
    - Fixed fontconfig,sqlite on x86_64
    - Updated for 20050822 qt-copy with patches enabled
    - Moved assistant for a separated package. This makes qt4-doc not depends of any
      binary package anymore
    - Back release for a regular format, 1mdk.
    - Fixed library placement on x86_64
    - New upstream Qt 4.0.1 from kde-copy
    - Applied kde-copy patches
    - Removed separated debug packages. What seenn to be a good idea on the beggining makes bad since core
      will always made provides for both debug and release. so now just release is compiled, old _debug packages
      will be obsoleted and id compiled with debug, debug libs go with release libraries.
    - Fix wronh version caused by a subversion conflict in spec
    - Added current qt-copy snapshot
    - Adopted Laurent solution for release, since this isn't an official 4.0.1 yet (
      my mess )
    - Adopted Nick Brown request to add rpm build switch for mysql Reference:
      http://qa.mandriva.com/twiki/bin/view/Main/SpecfilesSwitch
    - Fixed dependency bug for qtcore4-debug ( missing epoch )
    - Changed to 4.0.0.1 since isn't 4.0.1 official
      Thanks to Thierry Vignaud
    - Fix pkgconfig placement
    - No parallel building
    - Updated from qt-copy to 4.0.1 snapshot
    - Splitted debug andregular libraries
    - Added new pkgconfig files
    - Again, missed point correct lib64 libraries
    - fixed build requires for lib64
    - Fixed lib64 lib placement
    - Qt 4 GPL final release. ( Do the qt4dance :)
    - Added desktop menu item for designer-qt4
    - Based on qt-copy from KDE, updated by Simon Hausmann
    - Updated new RC1 from qt-copy
    - Renabled core libraries
    - Still on debug mode
    - Uploading package ./qt4

  + Andreas Hasenack <andreas@mandriva.com>
    - renamed mdv to packages because mdv is too generic and it's hosting only packages anyway