#define _default_patch_fuzz 3 %define phonon 0 %define MySQL 1 %define PostgreSQL 1 %define ODBC 1 %define SQLite 1 %define type everywhere-opensource-src %define qtdir %{_libdir}/qt-%{version} %define _qt4_prefix %{_libdir}/qt-%{version} %define _qt4_bindir %{_qt4_prefix}/bin # _qt4_datadir is not multilib clean, and hacks to workaround that breaks stuff. #define _qt4_datadir %{_datadir}/qt4 %define _qt4_datadir %{_qt4_prefix} %define _qt4_demosdir %{_qt4_prefix}/demos %define _qt4_docdir %{_docdir}/qt4 %define _qt4_examplesdir %{_qt4_prefix}/examples %define _qt4_headerdir %{_qt4_prefix}/include %define _qt4_importdir %{_qt4_prefix}/imports %define _qt4_libdir %{_qt4_prefix}/lib %define _qt4_plugindir %{_qt4_prefix}/plugins %define _qt4_sysconfdir %{_sysconfdir} %define _qt4_translationdir %{_datadir}/qt4/translations %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} # enable kde-qt integration/patches %define kde_qt 1 # See http://bugzilla.redhat.com/223663 %define multilib_archs x86_64 %{ix86} ppc64 ppc s390x s390 sparc64 sparcv9 Summary: Qt toolkit Summary(ja): Qt ツールキット Name: qt4 Version: 4.7.2 Release: 4%{?_dist_release} # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details License: (LGPLv2 with exceptions or GPLv3 with exceptions) and ASL 2.0 and BSD and FTL and MIT Group: System Environment/Libraries URL: http://www.qtsoftware.com/ Source: ftp://ftp.qtsoftware.com/qt/source/qt-%{type}-%{version}.tar.gz # default Qt config file Source4: Trolltech.conf # header file to workaround multilib issue Source5: qconfig-multilib.h # desktop files Source20: assistant.desktop.vine Source21: designer.desktop.vine Source22: linguist.desktop.vine Source23: qtdemo.desktop.vine Source24: qtconfig.desktop.vine # upstream qt4-logo, http://trolltech.com/images/products/qt/qt4-logo Source30: hi128-app-qt4-logo.png Source31: hi48-app-qt4-logo.png # set default QMAKE_CFLAGS_RELEASE Patch2: qt-x11-opensource-src-4.2.2-multilib-optflags.patch # get rid of timestamp which causes multilib problem Patch4: qt-everywhere-opensource-src-4.7.0-beta1-uic_multilib.patch # enable ft lcdfilter Patch15: qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch # include kde4 plugin path, http://bugzilla.redhat.com/498809 # omit for now, (seems?) causes unwelcome side-effects -- Rex Patch16: qt-everywhere-opensource-src-4.7.0-beta2-kde4_plugins.patch # phonon gstreamer services Patch19: qt-everywhere-opensource-src-4.7.0-beta2-phonon_servicesfile.patch # may be upstreamable, not sure yet # workaround for gdal/grass crashers wrt glib_eventloop null deref's Patch23: qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck.patch # remove dependency of webkit in assistant Patch24: qt-everywhere-opensource-src-4.7.1-assistant_no_webkit.patch ## upstreamable bits # fix invalid inline assembly in qatomic_{i386,x86_64}.h (de)ref implementations Patch53: qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch # fix invalid assumptions about mysql_config --libs # http://bugzilla.redhat.com/440673 Patch54: qt-everywhere-opensource-src-4.7.0-beta2-mysql_config.patch # http://bugs.kde.org/show_bug.cgi?id=180051#c22 Patch55: qt-everywhere-opensource-src-4.6.2-cups.patch # Add s390x as 64bit and s390 as 31bit bigendian platform Patch56: qt-everywhere-opensource-src-4.7.0-beta1-s390x.patch # qtwebkit to search nspluginwrapper paths too Patch58: qt-everywhere-opensource-src-4.7.0-beta1-qtwebkit_pluginpath.patch # indic incorrect rendering Patch59: qt-4.6.3-bn-rendering-bz562049.patch Patch60: qt-4.6.3-bn-rendering-bz562058.patch Patch61: qt-4.6.3-indic-rendering-bz631732.patch Patch62: qt-4.6.3-indic-rendering-bz636399.patch # fix 24bit color issue Patch63: qt-everywhere-opensource-src-4.7.0-bpp24.patch # Fails to create debug build of Qt projects on mingw (rhbz#653674) Patch64: qt-everywhere-opensource-src-4.7.1-QTBUG-14467.patch # fix QTreeView crash triggered by KPackageKit (patch by David Faure) Patch65: qt-everywhere-opensource-src-4.7.1-qtreeview-kpackagekit-crash.patch # upstream patches # adds debug support to webkit/JavaScriptCore # UPSTREAM ME Patch105: qt-everywhere-opensource-src-4.7.1-webkit_debug_javascriptcore.patch # Fix QNetworkConfigurationManager crash due to null private pointer. (QTBUG-17305, rhbz#682656) Patch106: http://qt.gitorious.org/qt/qt/commit/4d3b9aa83cf7f6d9f9b88d9936e5980629daac2a.patch # kde-qt git patches Patch202: 0002-This-patch-makes-override-redirect-windows-popup-men.patch Patch205: 0005-When-tabs-are-inserted-or-removed-in-a-QTabBar.patch Patch212: 0012-Add-context-to-tr-calls-in-QShortcut.patch # security patches Patch300: qt-everywhere-opensource-src-4.7.0-CVE-2010-1822-crash-svg-image.patch Patch301: qt-ssl-QTBUG-18338.patch # http://qt.gitorious.org/+qt-developers/qt/staging/commit/b87528a71b66e786c11804d7b79e408aae612748 # followup to 301 Patch302: qt-ssl-QTBUG-18338-2.patch # Vine Patches # use system ca-bundle certs, http://bugzilla.redhat.com/521911 Patch1022: qt-everywhere-opensource-src-4.7.2-system_ca_certificates_vine.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: alsa-lib-devel BuildRequires: cups-devel >= 1.1.9 BuildRequires: dbus-devel >= 0.62 BuildRequires: desktop-file-utils BuildRequires: findutils BuildRequires: fontconfig-devel BuildRequires: glib2-devel # -gtk-style BuildRequires: gtk2-devel BuildRequires: libjpeg-devel BuildRequires: libmng-devel BuildRequires: libpng-devel >= 1.2.5 BuildRequires: libtiff-devel BuildRequires: NetworkManager-devel BuildRequires: openssl-devel BuildRequires: pkgconfig BuildRequires: pulseaudio-libs-devel BuildRequires: WebKit-gtk-devel BuildRequires: zlib-devel # X11 dependencies %define x_deps libICE-devel libSM-devel libXcursor-devel libXext-devel libXfixes-devel libXft-devel libXi-devel libXinerama-devel libXrandr-devel libXrender-devel libXt-devel libXv-devel libX11-devel xorg-x11-proto-devel libGL-devel libGLU-devel BuildRequires: %{x_deps} %if %{MySQL} BuildRequires: MySQL-devel %endif %if %{PostgreSQL} BuildRequires: postgresql-devel BuildRequires: krb5-devel libxslt-devel openssl-devel pam-devel BuildRequires: readline-devel zlib-devel %endif %if %{ODBC} BuildRequires: unixODBC-devel %endif %if %{ODBC} BuildRequires: sqlite3-devel %endif Requires: libexpat Requires: libpng >= 1.2.5 Provides: WebKit-qt Obsoletes: qgtkstyle < 0.1 Provides: qgtkstyle = 0.1-1 %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 config Summary: Graphical configuration tool for programs using Qt 4 Group: User Interface/Desktops Requires: %{name} = %{version}-%{release} Requires(post): alternatives Requires(postun): alternatives %description config %{summary}. %package designer Summary: Interface designer (IDE) for the Qt toolkit Summary(ja): Qt ツールキットのインターフェースデザイナ Group: Applications/Development Requires: %{name}-devel = %{version}-%{release} Requires(post): alternatives Requires(postun): alternatives %description designer The qt-designer package contains an User Interface designer tool for the Qt toolkit. %package devel Summary: Development files for the Qt GUI toolkit. Summary(ja): Qt ツールキットの開発用ファイル Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: %{x_deps} Requires: libpng-devel Requires: libjpeg-devel Requires: pkgconfig Requires(post): alternatives Requires(postun): alternatives Provides: WebKit-qt-devel %description devel This package contains the files necessary to develop applications using the Qt toolkit. %package doc Summary: API documentation for Qt4 Summary(ja): Qt4 の API ドキュメント Group: Documentation Requires: %{name} = %{version}-%{release} %description doc %{summary}. %description doc -l ja Qt4 の API ドキュメントです. %package tools Summary: Qt 4 development tools Summary(ja): Qt 4 開発ツール集 Group: Development/Tools Requires: %{name}-devel = %{version}-%{release} Requires: %{name}-sqlite = %{version}-%{release} Requires(post): alternatives Requires(postun): alternatives %description tools This package contains tools used to assist in Qt 4 development. %package MySQL Summary: MySQL drivers for Qt's SQL classes. Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} %description MySQL MySQL driver for Qt's SQL classes (QSQL) %package PostgreSQL Summary: PostgreSQL drivers for Qt's SQL classes. Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} %description PostgreSQL PostgreSQL driver for Qt's SQL classes (QSQL) %package ODBC Summary: ODBC drivers for Qt's SQL classes. Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} %description ODBC ODBC driver for Qt's SQL classes (QSQL) %package sqlite Summary: SQLite driver for Qt's SQL classes Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} %description sqlite SQLite driver for Qt's SQL classes (QSQL) # compat32 %package -n compat32-%{name} Summary: Qt toolkit Summary(ja): Qt ツールキット Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} %description -n compat32-%{name} 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 -n compat32-%{name}-devel Summary: Development files and documentation for the Qt GUI toolkit. Summary(ja): Qt ツールキットの開発用ファイル Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} Requires: compat32-%{name} = %{version}-%{release} %description -n compat32-%{name}-devel This package contains the files necessary to develop applications using the Qt toolkit. %prep %setup -q -n qt-everywhere-opensource-src-%{version} %patch15 -p1 -b .enable_ft_lcdfilter #patch16 -p1 -b .kde4_plugins %patch19 -p1 -b .phonon_servicesfile %patch23 -p1 -b .glib_eventloop_nullcheck ## make -assistant subpkg instead (#660287#9) #patch24 -p1 -b .assistant_no_webkit ## TODO: still worth carrying? if so, upstream it. %patch53 -p1 -b .qatomic-inline-asm ## TODO: upstream me %patch54 -p1 -b .mysql_config %patch55 -p1 -b .cups-1 %patch56 -p1 -b .s390x %patch58 -p1 -b .qtwebkit_pluginpath %patch59 -p1 -b .bn-rendering-bz562049 %patch60 -p1 -b .bn-rendering-bz562058 %patch61 -p1 -b .indic-rendering-bz631732 %patch62 -p1 -b .indic-rendering-bz636399 %patch63 -p1 -b .bpp24 %patch64 -p1 -b .QTBUG-14467 %patch65 -p1 -b .qtreeview-kpackagekit-crash # upstream patches %patch105 -p1 -b .webkit_debug_javascriptcore %patch106 -p1 -b .QNetworkConfigurationManager-null-pointer # kde-qt branch %if 0%{?kde_qt} %patch202 -p1 -b .kde-qt-0002 %patch205 -p1 -b .kde-qt-0005 %patch212 -p1 -b .kde-qt-0012 %endif # security fixes %patch300 -p1 -b .CVE-2010-1822-crash-svg-image %patch301 -p1 -b .ssl-QTBUG-18338 %patch302 -p1 -b .ssl-QTBUG-18338-2 # Patches for Vine %patch1022 -p0 -b .system_ca_certificates # drop -fexceptions from $RPM_OPT_FLAGS RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'` %define platform linux-g++ # some 64bit platforms assume -64 suffix, https://bugzilla.redhat.com/569542 %if "%{?__isa_bits}" == "64" %define platform linux-g++-64 %endif # https://bugzilla.redhat.com/478481 %ifarch x86_64 %define platform linux-g++ %endif # multilib hacks # multilib hacks no longer required %patch2 -p1 -b .multilib # drop backup file(s), else they get installed too, http://bugzilla.redhat.com/639463 rm -fv mkspecs/linux-g++*/qmake.conf.multilib %patch4 -p1 -b .uic_multilib sed -i \ -e "s|-O2|$RPM_OPT_FLAGS|g" \ -e "s|g++.conf|g++-multilib.conf|g" mkspecs/%{platform}/qmake.conf sed -e "s|^QMAKE_CFLAGS_RELEASE|#QMAKE_CFLAGS_RELEASE|g" \ mkspecs/common/g++.conf > mkspecs/common/g++-multilib.conf %if "%{_qt4_libdir}" == "%{_libdir}" sed -i -e "s|^QMAKE_LIBDIR_QT.*=.*|QMAKE_LIBDIR_QT =|" mkspecs/common/linux.conf %endif # set correct lib path 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 # let makefile create missing .qm files, the .qm files should be included in qt upstream for f in translations/*.ts ; do touch ${f%.ts}.qm done # desktop menu sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE20} > assistant.desktop sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE21} > designer.desktop sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE22} > linguist.desktop sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE23} > qtdemo.desktop sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE24} > qtconfig.desktop %build # build shared, threaded (default) libraries ./configure -v \ -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_headerdir} \ -libdir %{_qt4_libdir} \ -plugindir %{_qt4_plugindir} \ -sysconfdir %{_qt4_sysconfdir} \ -translationdir %{_qt4_translationdir} \ -platform %{platform} \ -release \ -shared \ -cups \ -fontconfig \ -largefile \ -gtkstyle \ -qt-gif \ -no-rpath \ -reduce-relocations \ -no-separate-debug-info \ -no-phonon \ -pch \ -no-javascript-jit \ -sm \ -stl \ -system-libmng \ -system-libpng \ -system-libjpeg \ -system-libtiff \ -system-zlib \ -xinput \ -xcursor \ -xfixes \ -xinerama \ -xshape \ -xrandr \ -xrender \ -xkb \ -glib \ -openssl-linked \ -xmlpatterns \ -dbus-linked \ -webkit \ -no-nas-sound \ %if %{MySQL} -plugin-sql-mysql -I/usr/include/mysql \ %else -no-sql-mysql \ %endif %if %{PostgreSQL} -plugin-sql-psql -I/usr/include/pgsql \ %else -no-sql-psql \ %endif %if %{ODBC} -plugin-sql-odbc \ %else -no-sql-odbc \ %endif -system-sqlite \ -nomake demos \ -nomake examples make %{?_smp_mflags} # recreate .qm files LD_LIBRARY_PATH=`pwd`/lib bin/lrelease translations/*.ts %install rm -rf $RPM_BUILD_ROOT make install INSTALL_ROOT=$RPM_BUILD_ROOT ln -s qt-%{version} $RPM_BUILD_ROOT%{_libdir}/qt4 # Add desktop file(s) mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications desktop-file-install \ --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ --vendor="" \ assistant.desktop designer.desktop linguist.desktop qtconfig.desktop ## pkg-config # strip extraneous dirs/libraries # safe ones glib2_libs=$(pkg-config --libs glib-2.0 gobject-2.0 gthread-2.0) ssl_libs=$(pkg-config --libs openssl) for dep in \ -laudio -ldbus-1 -lfreetype -lfontconfig ${glib2_libs} \ -ljpeg -lm -lmng -lpng -lpulse -lpulse-mainloop-glib ${ssl_libs} -lsqlite3 -lz \ -L/usr/X11R6/lib -L/usr/X11R6/%{_lib} -L%{_libdir} ; do sed -i -e "s|$dep ||g" %{buildroot}%{_qt4_libdir}/lib*.la # sed -i -e "s|$dep ||g" %{buildroot}%{_qt4_libdir}/pkgconfig/*.pc sed -i -e "s|$dep ||g" %{buildroot}%{_qt4_libdir}/*.prl done # riskier for dep in -ldl -lphonon -lpthread -lICE -lSM -lX11 -lXcursor -lXext -lXfixes -lXft -lXinerama -lXi -lXrandr -lXrender -lXt ; do sed -i -e "s|$dep ||g" %{buildroot}%{_qt4_libdir}/lib*.la # sed -i -e "s|$dep ||g" %{buildroot}%{_qt4_libdir}/pkgconfig/*.pc sed -i -e "s|$dep ||g" %{buildroot}%{_qt4_libdir}/*.prl done # nuke dangling reference(s) to %buildroot sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" $RPM_BUILD_ROOT%{_qt4_libdir}/*.prl sed -i -e "s|-L%{_builddir}/qt-everywhere-opensource-src-%{version}/lib||g" \ $RPM_BUILD_ROOT%{_qt4_libdir}/pkgconfig/*.pc \ $RPM_BUILD_ROOT%{_qt4_libdir}/*.prl # .la files, die, die, die. rm -f $RPM_BUILD_ROOT%{_qt4_libdir}/lib*.la # let rpm handle binaries conflicts mkdir -p $RPM_BUILD_ROOT%{_bindir} for i in $RPM_BUILD_ROOT%{_qt4_bindir}/*; do ln -s ../%{_lib}/qt-%{version}/bin/`basename $i` $RPM_BUILD_ROOT/%{_bindir} done %ifarch %{multilib_archs} # multilib: qconfig.h mv $RPM_BUILD_ROOT%{_qt4_headerdir}/Qt/qconfig.h $RPM_BUILD_ROOT%{_qt4_headerdir}/QtCore/qconfig-%{_arch}.h install -p -m644 -D %{SOURCE5} $RPM_BUILD_ROOT%{_qt4_headerdir}/QtCore/qconfig-multilib.h ln -sf qconfig-multilib.h $RPM_BUILD_ROOT%{_qt4_headerdir}/QtCore/qconfig.h ln -sf ../QtCore/qconfig.h $RPM_BUILD_ROOT%{_qt4_headerdir}/Qt/qconfig.h %if "%{_qt4_datadir}" != "%{_qt4_prefix}" # multilib: mkspecs hacks, unfortunately, breaks some stuff mkdir $RPM_BUILD_ROOT%{_qt4_prefix}/mkspecs mv $RPM_BUILD_ROOT%{_qt4_datadir}/mkspecs/{default,linux-g++*,qconfig.pri} \ $RPM_BUILD_ROOT%{_qt4_prefix}/mkspecs/ ln -s %{_qt4_datadir}/mkspecs/common $RPM_BUILD_ROOT%{_qt4_prefix}/mkspecs/common %endif %endif %if "%{_qt4_libdir}" != "%{_libdir}" mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d echo "%{_qt4_libdir}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/qt4.conf %if %{build_compat32} echo "%{_qt4_libdir}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/qt4-i386.conf %endif %endif # Trolltech.conf install -p -m644 -D %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/Trolltech.conf mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/{16x16,32x32,48x48,64x64,128x128}/apps # qt4-logo (generic) icons install -p -m644 -D %{SOURCE30} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/qt4-logo.png install -p -m644 -D %{SOURCE31} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/qt4-logo.png # assistant icons install -p -m644 -D tools/assistant/tools/assistant/images/assistant.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/assistant.png install -p -m644 -D tools/assistant/tools/assistant/images/assistant-128.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/assistant.png # designer icons install -p -m644 -D tools/designer/src/designer/images/designer.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/designer.png # linguist icons for icon in tools/linguist/linguist/images/icons/linguist-*-32.png ; do size=$(echo $(basename ${icon}) | cut -d- -f2) install -p -m644 -D ${icon} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps/linguist4.png done # pkg-config files mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig cp $RPM_BUILD_ROOT%{_qt4_libdir}/pkgconfig/*.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig rm -rf $RPM_BUILD_ROOT%{_qt4_libdir}/pkgconfig # Qt.pc cat > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/Qt.pc << EOF prefix=%{_qt4_prefix} bindir=%{_qt4_bindir} datadir=%{_qt4_datadir} demosdir=%{_qt4_demosdir} docdir=%{_qt4_docdir} examplesdir=%{_qt4_examplesdir} headerdir=%{_qt4_headerdir} importdir=%{_qt4_importdir} libdir=%{_qt4_libdir} moc=%{_qt4_bindir}/moc plugindir=%{_qt4_plugindir} qmake=%{_qt4_bindir}/qmake sysconfdir=%{_qt4_sysconfdir} translationdir=%{_qt4_translationdir} Name: Qt Description: Qt Configuration Version: %{version} EOF # rpm macros mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.qt4 << EOF %%_qt4 %{name} %%_qt47 %{version} %%_qt4_version %{version} %%_qt4_prefix %%{_libdir}/qt-%{version} %%_qt4_bindir %%{_qt4_prefix}/bin %%_qt4_datadir %%{_qt4_prefix} %%_qt4_demosdir %%{_qt4_prefix}/demos %%_qt4_docdir %%{_docdir}/qt4 %%_qt4_examples %%{_qt4_prefix}/examples %%_qt4_headerdir %%{_qt4_prefix}/include %%_qt4_importdir %%{_qt4_prefix}/imports %%_qt4_libdir %%{_qt4_prefix}/lib %%_qt4_plugindir %%{_qt4_prefix}/plugins %%_qt4_qmake %%{_qt4_bindir}/qmake %%_qt4_sysconfdir %%{_sysconfdir} %%_qt4_translationdir %%{_datadir}/qt4/translations EOF # /etc/prodile.d mkdir -p $RPM_BUILD_ROOT/etc/profile.d cat > $RPM_BUILD_ROOT/etc/profile.d/qt4.sh < $RPM_BUILD_ROOT/etc/profile.d/qt4.csh < /dev/null ||: %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: %postun /sbin/ldconfig if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: fi # config %post config /sbin/update-alternatives --install \ %{_bindir}/qtconfig qtconfig %{_qt4_bindir}/qtconfig 20 %posttrans config # fix broken symlink if it's there if [ ! -f %{_bindir}/qtconfig ] ; then /sbin/update-alternatives --auto qtconfig fi %postun config if [ $1 -eq 0 ] ; then /sbin/update-alternatives --remove qtconfig %{_qt4_bindir}/qtconfig /sbin/update-alternatives --auto qtconfig fi # designer %post designer touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: /sbin/update-alternatives --install \ %{_bindir}/designer designer %{_qt4_bindir}/designer 20 %posttrans designer gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: # fix broken symlink if it's there if [ ! -f %{_bindir}/designer ] ; then /sbin/update-alternatives --auto designer fi %postun designer if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: /sbin/update-alternatives --remove designer %{_qt4_bindir}/desiner /sbin/update-alternatives --auto designer fi # devel %post devel /sbin/update-alternatives --install \ %{_bindir}/qmake qmake %{_qt4_bindir}/qmake 20 \ --slave %{_bindir}/moc \ moc \ %{_qt4_bindir}/moc \ --slave %{_bindir}/uic \ uic \ %{_qt4_bindir}/uic \ --slave %{_bindir}/lrelease \ lrelease \ %{_qt4_bindir}/lrelease \ --slave %{_bindir}/lupdate \ lupdate \ %{_qt4_bindir}/lupdate %posttrans devel # fix broken symlink if it's there if [ ! -f %{_bindir}/qmake ] ; then /sbin/update-alternatives --auto qmake fi %postun devel if [ $1 -eq 0 ] ; then /sbin/update-alternatives --remove qmake %{_qt4_bindir}/qmake /sbin/update-alternatives --auto qmake fi %post tools /sbin/update-alternatives --install \ %{_bindir}/assistant assistant %{_qt4_bindir}/assistant 20 /sbin/update-alternatives --install \ %{_bindir}/linguist linguist %{_qt4_bindir}/linguist 20 %posttrans tools # fix broken symlink if it's there if [ ! -f %{_bindir}/assistant ] ; then /sbin/update-alternatives --auto assistant fi if [ ! -f %{_bindir}/linguist ] ; then /sbin/update-alternatives --auto linguist fi %postun tools if [ $1 -eq 0 ] ; then /sbin/update-alternatives --remove assistant %{_qt4_bindir}/assistant /sbin/update-alternatives --remove linguist %{_qt4_bindir}/linguist /sbin/update-alternatives --auto assistant /sbin/update-alternatives --auto linguist fi %post -n compat32-%{name} -p /sbin/ldconfig %postun -n compat32-%{name} -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc README LGPL_EXCEPTION.txt LICENSE.LGPL LICENSE.GPL3 %{_sysconfdir}/rpm/macros.* %config(noreplace) %{_sysconfdir}/Trolltech.conf %if "%{_qt4_libdir}" != "%{_libdir}" %config %{_sysconfdir}/ld.so.conf.d/qt4.conf %endif %{_bindir}/qdbus %{_qt4_bindir}/qdbus %{_libdir}/qt4 %dir %{_qt4_prefix} %dir %{_qt4_libdir} %{_qt4_libdir}/libQt*.so.* %dir %{_qt4_importdir} %dir %{_qt4_importdir}/Qt %{_qt4_importdir}/Qt/* %dir %{_qt4_importdir}/QtWebKit %{_qt4_importdir}/QtWebKit/* %dir %{_qt4_plugindir} %dir %{_qt4_plugindir}/accessible %{_qt4_plugindir}/accessible/* %dir %{_qt4_plugindir}/bearer %{_qt4_plugindir}/bearer/* %dir %{_qt4_plugindir}/codecs %{_qt4_plugindir}/codecs/* %dir %{_qt4_plugindir}/crypto/ %dir %{_qt4_plugindir}/graphicssystems %{_qt4_plugindir}/graphicssystems/* %dir %{_qt4_plugindir}/iconengines %{_qt4_plugindir}/iconengines/* %dir %{_qt4_plugindir}/imageformats %{_qt4_plugindir}/imageformats/* %dir %{_qt4_plugindir}/inputmethods %{_qt4_plugindir}/inputmethods/* %dir %{_qt4_plugindir}/qmltooling %{_qt4_plugindir}/qmltooling/* %dir %{_qt4_plugindir}/script %{_qt4_plugindir}/script/* %dir %{_qt4_translationdir} %{_qt4_translationdir}/* %{_datadir}/icons/hicolor/*/apps/qt4-logo.* %files config %defattr(-,root,root,-) %{_qt4_bindir}/qtconfig %{_datadir}/applications/qtconfig.desktop %files designer %defattr(-,root,root,-) %{_qt4_bindir}/designer %dir %{_qt4_plugindir}/designer %{_qt4_plugindir}/designer/* %{_datadir}/applications/designer.desktop %{_datadir}/icons/hicolor/*/apps/designer* %{_qt4_docdir}/qch/designer.qch %files devel %defattr(-,root,root,-) %attr(0755,root,root) %config /etc/profile.d/* %{_bindir}/qdbuscpp2xml %{_bindir}/qdbusxml2cpp %{_bindir}/qt3to4 %{_bindir}/rcc %{_bindir}/uic3 %{_qt4_bindir}/lrelease %{_qt4_bindir}/lupdate %{_qt4_bindir}/moc %{_qt4_bindir}/qdbuscpp2xml %{_qt4_bindir}/qdbusxml2cpp %{_qt4_bindir}/qmake %{_qt4_bindir}/qt3to4 %{_qt4_bindir}/rcc %{_qt4_bindir}/uic %{_qt4_bindir}/uic3 %{_qt4_headerdir} %{_qt4_libdir}/libQt*.so %{_qt4_libdir}/libQtUiTools*.a %{_qt4_libdir}/libQt*.prl %{_qt4_datadir}/mkspecs %{_qt4_datadir}/phrasebooks %{_qt4_datadir}/q3porting.xml %{_libdir}/pkgconfig/*.pc #{_qt4_docdir}/* %files doc %defattr(-,root,root,-) %{_qt4_docdir}/html %{_qt4_docdir}/qch/*.qch %exclude %{_qt4_docdir}/qch/designer.qch %exclude %{_qt4_docdir}/qch/linguist.qch %{_qt4_docdir}/src # Qt Assistant (bin moved to -x11) #{_datadir}/applications/*assistant.desktop #{_datadir}/icons/hicolor/*/apps/assistant* %files tools %defattr(-,root,root,-) %{_bindir}/lconvert %{_bindir}/pixeltool %{_bindir}/qcollectiongenerator %{_bindir}/qdbusviewer %{_bindir}/qdoc3 %{_bindir}/qhelpconverter %{_bindir}/qhelpgenerator %{_bindir}/qmlviewer %{_bindir}/qttracereplay %{_bindir}/xmlpatterns %{_bindir}/xmlpatternsvalidator %{_qt4_bindir}/assistant %{_qt4_bindir}/lconvert %{_qt4_bindir}/linguist %{_qt4_bindir}/pixeltool %{_qt4_bindir}/qcollectiongenerator %{_qt4_bindir}/qdbusviewer %{_qt4_bindir}/qdoc3 %{_qt4_bindir}/qhelpconverter %{_qt4_bindir}/qhelpgenerator %{_qt4_bindir}/qmlviewer %{_qt4_bindir}/qttracereplay %{_qt4_bindir}/xmlpatterns %{_qt4_bindir}/xmlpatternsvalidator %{_datadir}/applications/assistant.desktop %{_datadir}/applications/linguist.desktop %{_datadir}/icons/hicolor/*/apps/assistant* %{_datadir}/icons/hicolor/*/apps/linguist* %{_qt4_docdir}/qch/linguist.qch %if %{MySQL} %files MySQL %defattr(-,root,root,-) %{_qt4_plugindir}/sqldrivers/libqsqlmysql* %endif %if %{PostgreSQL} %files PostgreSQL %defattr(-,root,root,-) %{_qt4_plugindir}/sqldrivers/libqsqlpsql* %endif %if %{ODBC} %files ODBC %defattr(-,root,root,-) %{_qt4_plugindir}/sqldrivers/libqsqlodbc* %endif %if %{SQLite} %files sqlite %defattr(-,root,root,-) %{_qt4_plugindir}/sqldrivers/libqsqlite* %endif # compat32 %if %{build_compat32} %files -n compat32-%{name} %defattr(-,root,root,-) %if "%{_qt4_libdir}" != "%{_libdir}" %config %{_sysconfdir}/ld.so.conf.d/qt4-i386.conf %endif %{_qt4_bindir}/qdbus %{_libdir}/qt4 %dir %{_qt4_prefix} %dir %{_qt4_libdir} %{_qt4_libdir}/libQt*.so.* %dir %{_qt4_plugindir} %dir %{_qt4_plugindir}/accessible %{_qt4_plugindir}/accessible/* %dir %{_qt4_plugindir}/codecs %{_qt4_plugindir}/codecs/* %dir %{_qt4_plugindir}/graphicssystems %{_qt4_plugindir}/graphicssystems/* %dir %{_qt4_plugindir}/iconengines %{_qt4_plugindir}/iconengines/* %dir %{_qt4_plugindir}/imageformats %{_qt4_plugindir}/imageformats/* %dir %{_qt4_plugindir}/inputmethods %{_qt4_plugindir}/inputmethods/* %dir %{_qt4_plugindir}/script %{_qt4_plugindir}/script/* #dir %{_qt4_translationdir} #{_qt4_translationdir}/* %files -n compat32-%{name}-devel %defattr(-,root,root,-) %{_qt4_bindir}/* %exclude %{_qt4_bindir}/qdbus %exclude %{_qt4_bindir}/designer %exclude %{_qt4_bindir}/linguist %exclude %{_qt4_bindir}/lrelease %exclude %{_qt4_bindir}/lupdate #{_qt4_docdir} %{_qt4_headerdir} %{_qt4_libdir}/libQt*.so %{_qt4_libdir}/libQtUiTools.a %{_qt4_libdir}/libQt*.prl %{_qt4_datadir}/mkspecs %{_qt4_datadir}/phrasebooks %{_qt4_datadir}/q3porting.xml %{_libdir}/pkgconfig/*.pc %endif %changelog * Tue Apr 12 2011 Shu KONNO 4.7.2-4 - rebuilt with postgresql-9.0.3 * Mon Apr 11 2011 Ryoichi INAGAKI 4.7.2-3 - rebuilt with unixODBC-2.2.14 * Sat Apr 9 2011 Ryoichi INAGAKI 4.7.2-2 - added Patch 106, 301 and 302 - fixed /etc/rpm/macros.qt4 * Sun Mar 6 2011 Ryoichi INAGAKI 4.7.2-1 - new upstream release - updated Patch1022 - added config, tools subpackage - added /etc/rpm/macros.qt4 - updated %%post, %%posttrans and %%postun section * Sat Jan 29 2011 Ryoichi INAGAKI 4.7.1-1 - new upstream release * Wed Jan 12 2011 Yoji TOYODA 4.6.3-3 - rebuild with openssl-1.0.0c - add BuildRequires: alsa-lib-devel * Mon Sep 20 2010 Ryoichi INAGAKI 4.6.3-2 - rebuilt with rpm-4.8.1 * Sat Jul 24 2010 Ryoichi INAGAKI 4.6.3-1 - new upstream release - moved %{_bindir}/qdbus to main package * Fri Feb 12 2010 MATSUBAYASHI Kohji - 4.6.1-5 - rebuilt with gcc-4.4.3-3 on ppc * Fri Feb 5 2010 Ryoichi INAGAKI 4.6.1-4 - rebuilt with new toolchains * Sun Jan 31 2010 Ryoichi INAGAKI 4.6.1-3 - added BR: desktop-file-utils * Sat Jan 23 2010 Ryoichi INAGAKI 4.6.1-2 - fixed devel %%files (forgot removing documents...) * Thu Jan 21 2010 Ryoichi INAGAKI 4.6.1-1 - new upstream release - moved documents to doc sub-package - updated macros - installed translation to %%{_datadir}/qt4/translations now * Sun Nov 22 2009 Ryoichi INAGAKI 4.5.3-1 - new upstream release - dropped Patch90 (merged into upstream) - updated Patches from Fedora - added sqlite subpackage * Wed Sep 02 2009 NAKAMURA Kenta 4.5.2-2 - added Patch90 for fix CVE-2009-2700 * Wed Aug 26 2009 Ryoichi INAGAKI 4.5.2-1 - new upstream release - updated qt-copy patches - added Qt.pc - added BuildRequires: WebKit-gtk-devel * Thu Jul 23 2009 NAKAMURA Kenta 4.4.3-4 - added compat32 package for x86_64 arch support * Sun Apr 26 2009 Ryoichi INAGAKI 4.4.3-3 - changed qt4-designer Group to Applications/Development - updated URL - remove Requires: XOrg-libs, XOrg-gl * Wed Mar 24 2009 AKIYAMA Kazuhito 4.4.3-2 - update qt-copy patches * Mon Nov 24 2008 AKIYAMA Kazuhito 4.4.3-1 - new upstream release - update qt-copy patches * Tue Nov 11 2008 AKIYAMA Kazuhito 4.4.2-2 - update qt-copy patches * Mon Sep 22 2008 AKIYAMA Kazuhito 4.4.2-1 - new upstream release - update qt-copy patches * Tue Sep 02 2008 Shu KONNO 4.4.1-2 - fixed symbolic-link path of %{_bindir}/* at %%install section (for lib64) * Mon Aug 4 2008 AKIYAMA Kazuhito 4.4.1-1 - new upstream release - update qt-copy patches * Sun Jul 6 2008 AKIYAMA Kazuhito 4.4.0-1 - new upstream release - update qt-copy patches - add -no-phonon * Mon Mar 24 2008 AKIYAMA Kazuhito 4.3.4-1 - fix release ([VineSeed:1527]) - add BuildPrereq: gcc4 gcc4-c++ for Vine 4.x - add Requires(post,postun): alternatives to -devel and -designer package * Tue Mar 4 2008 AKIYAMA Kazuhito 4.3.4-0vl1 - new upstream release - update qt-copy patches * Wed Feb 6 2008 AKIYAMA Kazuhito 4.3.3-0vl2 - update qt-copy patches * Thu Dec 6 2007 AKIYAMA Kazuhito 4.3.3-0vl1 - new upstream release - update and re-number qt-copy patches - add BuildPrereq: glib2-devel - update URL * Fri Nov 2 2007 AKIYAMA Kazuhito 4.3.2-0vl1 - new upstream release - update qt-copy patches * Tue Sep 18 2007 AKIYAMA Kazuhito 4.3.1-0vl2 - update qt-copy patches (CVE-2007-4137) * Wed Aug 15 2007 AKIYAMA Kazuhito 4.3.1-0vl1 - new upstream release - update qt-copy patches * Thu Jun 28 2007 AKIYAMA Kazuhito 4.3.0-0vl1 - new upstream release - add qt-copy patches * Wed May 16 2007 AKIYAMA Kazuhito 4.3.0-0vl0.20070423 - new upstream release * Mon Mar 12 2007 AKIYAMA Kazuhito 4.2.3-0vl1 - new upstream release * Tue Oct 31 2006 AKIYAMA Kazuhito 4.2.1-0vl1 - new upstream release - add ld.so.conf.d and qt4.conf - BuildPrereq: dbus-devel >= 0.62 * Fri Oct 6 2006 AKIYAMA Kazuhito 4.2.0-0vl1 - new upstream release - remove static package * Mon Sep 25 2006 AKIYAMA Kazuhito 4.1.4-0vl1 - new upstream release - update %%fiels - remove Xt and styles package - add BuildPrereq: postgresql-libs MySQL-shared - remove all patches * Mon Sep 19 2006 AKIYAMA Kazuhito 3.3.5-0vl4 - move %%{_libdir}/qt3 from develop to main - fix typo - add patch503 -- Thu Sep 14 2006 KAZUKI SHIMURA 3.3.5-0vl2.0imm.1 - import qt-x11-immodule-unified-quiet.patch (patch503) from FC - add patch500-502 -- Thu Sep 14 2006 KAZUKI SHIMURA 3.3.5-0vl2.0imm - add immodule for Qt support (patch500-502) - patch500: revert some part of patch300,301 (conflict with patch501) - patch501: immodule for Qt patch - patch502: apply some part of patch300,301 again cf. http://immodule-qt.freedesktop.org/ http://people.freedesktop.org/~daisuke/ * Sun Sep 10 2006 NAKAMURA Kenta 3.3.5-0vl3 - added configure options for builing on 64-bit archs * Tue Sep 13 2005 AKIYAMA Kazuhito 3.3.5-0vl2 - rebuild for VineSeed * Tue Sep 13 2005 AKIYAMA Kazuhito 3.3.5-0vl1 - new upstream release - stop building nonthreaded libs - delete Obsoletes - add Patch0 * Tue Jul 5 2005 AKIYAMA Kazuhito 3.3.4-0vl6 - rebuild for VineSeed * Tue Jul 5 2005 AKIYAMA Kazuhito 3.3.4-0vl5 - build for Vine3.1 - add -v to configure option - move three static libs to main package * Wed Mar 16 2005 AKIYAMA Kazuhito 3.3.4-0vl4 - rebuild for VineSeed * Sat Mar 12 2005 AKIYAMA Kazuhito 3.3.4-0vl3 - (security) stop using rpath - cleanup this file * Thu Feb 17 2005 AKIYAMA Kazuhito 3.3.4-0vl2 - rebuild for VineSeed * Thu Feb 17 2005 AKIYAMA Kazuhito 3.3.4-0vl1 - new upstream release - update Patch400 * Sat Dec 11 2004 AKIYAMA Kazuhito 3.3.3-0vl3 - rebuld * Wed Nov 17 2004 AKIYAMA Kazuhito 3.3.3-0vl2 - add Obsoletes: qt32-* * Sun Sep 5 2004 AKIYAMA Kazuhito 3.3.3-0vl1 - source upgrade - remove patch100 - update patch300 and remove patch302-303 - update patch400 - update BuildPrereq and Requires * Wed Jul 28 2004 AKIYAMA Kazuhito 3.3.2-0vl3 - add patch302-303 from KuserML - delete lines about vine26 * Sun Jun 6 2004 AKIYAMA Kazuhito 3.3.2-0vl2 - add patch100 from webcvs.kde.org/cgi-bin/cvsweb.cgi/qt-copy/patches/ * Fri Apr 30 2004 AKIYAMA Kazuhito 3.3.2-0vl1 - source upgrade - remove patch100 (it is needed only for 3.3.1) * Sun Apr 18 2004 AKIYAMA Kazuhito 3.3.1-0vl3 - rebuild with XOrg * Mon Mar 29 2004 AKIYAMA Kazuhito 3.3.1-0vl2 - rebuild * Mon Mar 8 2004 AKIYAMA Kazuhito 3.3.1-0vl1 - source upgrade - remove patch800 - add patch100 (only for qt-x11-free-3.3.1) * Sun Feb 1 2004 AKIYAMA Kazuhito 3.2.3-0vl3 - enable cups support * Sun Dec 21 2003 AKIYAMA Kazuhito 3.2.3-0vl2 - build for VineSeed with new toolchain - disable cup support * Wed Dec 3 2003 AKIYAMA Kazuhito 3.2.3-0vl1 - source upgrade - revised Patch402 and 403 - remove Patch100 - add patch800 to build against freetype2-2.1.7 - (VinePlus/2.6) BuildPrereq: autoconf258 * Sun Nov 9 2003 AKIYAMA Kazuhito 3.2.2-0vl1 - source upgrade - revised Patch400 - remove Patch15 * Sun Nov 2 2003 AKIYAMA Kazuhito 3.2.1-0vl4 - enable cups support * Sun Oct 19 2003 AKIYAMA Kazuhito 3.2.1-0.26vl3 - rebuild for Vine2.6 * Sun Oct 19 2003 AKIYAMA Kazuhito 3.2.1-0vl3 - revised Patch400 and Patch402 - clean up spec * Sun Sep 28 2003 AKIYAMA Kazuhito 3.2.1-0.26vl2 - rebuild for Vine2.6 * Sun Sep 28 2003 AKIYAMA Kazuhito 3.2.1-0vl2 - revised Patch400- - clean up spec * Mon Sep 15 2003 AKIYAMA Kazuhito 3.2.1-0.26vl1 - rebuild for Vine2.6 * Mon Sep 15 2003 AKIYAMA Kazuhito 3.2.1-0vl1 - source upgrade - add Patch100 - remove Patch302 (it is included in this source) - stop using Patch400- - build with gcc-3.2.3 - add export LANG=C - add *.pc (pkg-config files) to qt-devel package * Fri Aug 15 2003 AKIYAMA Kazuhito 3.1.2-0.26vl5 - rebuild for Vine2.6 * Wed Aug 13 2003 AKIYAMA Kazuhito 3.1.2-0vl5 - add Patch302 to fix performance of jmode - change make option for SMP and add script * Thu Jun 19 2003 AKIYAMA Kazuhito 3.1.2-0vl4 - update Patch400 and 401 * Wed Jun 18 2003 AKIYAMA Kazuhito 3.1.2-0vl3 - change spec to build with g++-2.95.3 * Mon Apr 21 2003 AKIYAMA Kazuhito 3.1.2-0.26vl2 - rebuild for Vine2.6 * Wed Apr 16 2003 MATSUBAYASHI Kohji 3.1.2-0vl2 - rebuilt with libpng >= 1.2.5 when %%{vine26} is set to 0 (ie VineSeedPlus) * Fri Mar 21 2003 AKIYAMA Kazuhito 3.1.2-0vl1 - source upgrade - remove all patches except patch15 - revised patch 300- - stop building Xt package * Mon Feb 24 2003 AKIYAMA Kazuhito 3.1.1-0vl3 - revised patch 301 and 302 - enable patch 301 and 302 to Vine2.5/2.6 * Sun Feb 9 2003 AKIYAMA Kazuhito 3.1.1-0vl2 - change spec to build both VineSeed and Vine2.5/2.6 - re-number patch300- - delete patch4 (qt-3.1.1 does not need it) - add patch13 and 14 -- Thu Dec 19 2002 Than Ngo 3.1.1-3 - add monospace patch file from Leon Ho (bug #79949) - add small patch file from Sysoltsev Slawa (bug #79731) - add patch15 -- Mon Dec 30 2002 Florian La Roche - Change qmlined.h to not include an attic header that is also not shipped with Red Hat Linux. This also fixes building unixODBC, that includes this header (apparently also without needing it). * Sat Jan 4 2003 AKIYAMA Kazuhito 3.1.1-0vl1 - source upgrade - cleanup spec - revised Patch7, 301 - add Patch306, 307, 308 from kde.gr.jp * Sun Dec 15 2002 AKIYAMA Kazuhito 3.1.0-0vl1 - source upgrade - stop using objprelink2, it does not work with gcc3 - add Patch304 and Patch305 from www.kde.gr.jp/~akito/xft/patch_xft.html - add Patch1 - Patch12 from rawhide 3.1.0-1.3 - add BuildPrereq: openMotif-devel >= 2.2.2 for build qt-Xt - cleanup spec for build x11 package only * Mon Nov 11 2002 AKIYAMA Kazuhito 3.0.5-0vl3 - add export PATH=`pwd`:$PATH to %build section * Mon Oct 15 2002 AKIYAMA Kazuhito 3.0.5-0vl2 - objprelink2 support only i386 (add %ifarch i386 ... again) - delete BuildPrereq: libmng-static (it merged to libmng-devel) - delete %doc ANNOUNCE - Requires: XFree86-gl instead of Mesa * Fri Oct 4 2002 AKIYAMA Kazuhito 3.0.5-0vl1 - add BuildPrereq: objprelink2 instead of BuildPrereq: objprelink - add BuildPrereq: autoconf253 automake15 - delete Patch199 (objprelink2 do not need this patch) - source upgrade - revised all patches [Kdeveloper:02404] - add man files to qt-devel sub-package * Tue Jul 16 2002 AKIYAMA Kazuhito 3.0.3-1vl5 - add patch304 from kde.gr.jp [Kdeveloper:02368] * Thu Jul 4 2002 AKIYAMA Kazuhito 3.0.3-1vl4 - add patch303 from kde.gr.jp [Kdeveloper:02378] * Wed Apr 17 2002 AKIYAMA Kazuhito 3.0.3-1vl3 - add patch302 from kde.gr.jp * Thu Apr 4 2002 AKIYAMA Kazuhito 3.0.3-1vl2 - revised patch300 from kde.gr.jp and XIMInputStyle=Over The Spot in qtrc - add patch301 from kde.gr.jp - make unixODBC plugin (delete define odbcplugins 0 and if %{odbcplugins}) * Sat Mar 30 2002 AKIYAMA Kazuhito 3.0.3-1vl1 - merged with rawhide 3.0.3-0.cvs20020314.1 - source update to 3.0.3 - add patch199 (objprelink) - add patch300 and add defaultInputStyle=OverTheSpot in qtrc - define cups 0 (Vine does not have cups) - define odbcplugins 0 (unixODBC requires libqt-mt.so.2 of qt-2) - cleanup spec - There is Vine's previous changes, hacked for Vine -- Sat Jan 5 2002 Daisuke SUZUKI 2.3.1-6vl4 - rebuild with -xft support (XFree86-4.1.99.4) -- Mon Dec 31 2001 AKIYAMA Kazuhito 2.3.1-6vl3 - rebuild with glibc-2.2.4 -- Sun Nov 25 2001 AKIYAMA Kazuhito 2.3.1-6vl2 - add Source2 and Patch4 (use objprelink, i386 only) -- Sat Oct 13 2001 AKIYAMA Kazuhito 2.3.1-6vl1 - Build for VineSeed - Add qt.using_new_library.patch from Kondara -- Mon Jun 11 2001 net_hal - First build for Vine2.1.5 -- Thu Apr 12 2001 Rex Dieter 2.3.0-0.6x.3 - redhat 6.x backport based on rawhide's qt-2.3.0-3 - remove -xft support (because we're using XFree-3) * Thu Mar 14 2002 Bernhard Rosenkraenzer 3.0.3-0.cvs20020314.1 - Update to 3.0.3-pre, required for KDE3 - force -fPIC usage - Remove conflict with qt2 < 2.3.2-1, the new qt2 2.3.1 is fixed and qt 2.3.2 is broken - Ship the qmake config files (so qmake works for building any 3rd party stuff, e.g. aethera) * Wed Mar 6 2002 Bernhard Rosenkraenzer 3.0.2-2 - Add some fixes from KDE's qt-copy CVS - Pluginize image formats * Mon Feb 25 2002 Bernhard Rosenkraenzer 3.0.2-1 - 3.0.2 final * Tue Feb 19 2002 Bernhard Rosenkraenzer 3.0.2-0.cvs20020118.3 - Add GB18030 codec patch, #60034 - Force-build jpeg support, fixing #59775 and #59795 * Sat Jan 26 2002 Bernhard Rosenkraenzer 3.0.2-0.cvs20020118.2 - Build with CUPS support * Fri Jan 18 2002 Bernhard Rosenkraenzer 3.0.2-0.cvs20020118.1 - Fix up /usr/bin/moc links, they should point to qt3 * Mon Jan 14 2002 Bernhard Rosenkraenzer 3.0.2-0.cvs20020114.1 - Build styles directly into the main library for now, there's too much broken code out there depending on this ATM. * Wed Jan 9 2002 Bernhard Rosenkraenzer 3.0.2-0.cvs20020109.1 - Stop excluding alpha, gcc has been fixed * Tue Jan 8 2002 Bernhard Rosenkraenzer 3.0.2-0.cvs20020108.1 - Add fixes from CVS; this fixes the "Alt + F1, arrow up, arrow up doesn't work in KDE" bug * Mon Dec 17 2001 Bernhard Rosenkraenzer 3.0.1-2 - Fix up settings search path - Add default qtrc allowing to use KDE 3.x Qt plugins - Make sure QLibrary uses RTLD_GLOBAL when dlopen()ing libraries * Thu Dec 13 2001 Bernhard Rosenkraenzer 3.1.0-1 - Work around gcc bug #57467 * Wed Dec 12 2001 Bernhard Rosenkraenzer - 3.0.1 final * Mon Dec 10 2001 Bernhard Rosenkraenzer 3.0.1-0.cvs20011210.1 - Update to current (needed by KDE 3.x) - Rebuild with current libstdc++ - Temporarily disable building on alpha - Fix build with PostgreSQL 7.2 * Mon Nov 26 2001 Bernhard Rosenkraenzer 3.0.0-5 - Fix up glweak * Mon Nov 5 2001 Bernhard Rosenkraenzer 3.0.0-4 - Give designer, uic, moc, etc. their real names - the qt2 versions have been renamed in qt2-2.3.2-1. Conflict with qt2 < 2.3.2-1. * Thu Oct 25 2001 Bernhard Rosenkraenzer 3.0.0-3 - Add symlink /usr/lib/qt-3.0.0 -> /usr/lib/qt3 and set QTDIR to the symlink, allowing to update to 3.0.1 without breaking rpath'ed binaries * Tue Oct 16 2001 Bernhard Rosenkraenzer 3.0.0-1 - 3.0.0 final - fix some minor specfile bugs - Modularize some more (image format plugins) - Build codecs * Tue Sep 18 2001 Bernhard Rosenkraenzer 3.0.0-0.beta5.1 - beta5 - Share more code between qt-x11 and qt-embedded builds * Wed Aug 29 2001 Bernhard Rosenkraenzer 3.0.0-0.beta4.1 - beta4 - build the Motif style directly into Qt rather than as a plugin - Qt should always have at least one style... - replace the designer3 symlink with a shell script that sets QTDIR correctly before launching designer - Add desktop file for designer * Mon Aug 6 2001 Tim Powers 3.0.0-0.beta3.4 - explicitly include qm2ts, qmake, qtconfig in the devel package file list to avoid dangling symlinks * Thu Aug 2 2001 Bernhard Rosenkraenzer 3.0.0-0.beta3.3 - Try yet another workaround for buildsystem breakages * Tue Jul 31 2001 Bernhard Rosenkraenzer - Add another ugly workaround for build system problems, this should finally get rid of the dangling symlinks * Tue Jul 31 2001 Bernhard Rosenkraenzer 3.0.0-0.beta3.2 - Rephrase parts of the spec file, hopefully pleasing the build system * Sun Jul 29 2001 Bernhard Rosenkraenzer 3.0.0-0.beta3.1 - beta3 - Fix dangling symlinks * Sun Jun 24 2001 Bernhard Rosenkraenzer 3.0.0-0.beta1.2 - Fix up QSQL Postgres classes for Postgres 7.1.x - Fix various bugs: - QtMultilineEdit and QtTableView should actually compile - Link libqsqlpsql with libpq - Don't link the base library with libmysqlclient, linking the MySQL module with it is sufficient - Add missing const qualifier - move the SQL drivers to separate packages to avoid dependencies - build and install designer plugins - converting glade files to Qt is fun. ;) - handle RPM_OPT_FLAGS * Tue May 22 2001 Bernhard Rosenkraenzer 3.0.0-0.beta1.1 - 3.0 beta 1 * Wed May 16 2001 Bernhard Rosenkraenzer 3.0.0-0.cvs20010516.1 - Update, remove conflicts with Qt 2.x * Mon May 14 2001 Bernhard Rosenkraenzer 3.0.0-0.cvs20010514.1 - Initial build of 3.0 branch * Fri Apr 27 2001 Bernhard Rosenkraenzer 2.3.0-6 - Fix crashes on ia64, Patch from Bill Nottingham - Allow building qt-nox * Fri Apr 20 2001 Bernhard Rosenkraenzer 2.3.0-5 - Make sure uic and designer use the libqui from the source tree, not a previously installed one. Linking uic-x11 against libqui-embedded is definitely not a feature. ;) - The qclipboard fix is needed for qt-x11 only, don't apply it if we're building qt-embedded * Sat Apr 14 2001 Bernhard Rosenkraenzer - Handle LPRng specific constructs in printcap, Bug #35937 * Sun Mar 25 2001 Florian La Roche - add qfont patch from Trolltech * Tue Mar 13 2001 Harald Hoyer - added patch for '@euro' language settings * Tue Mar 6 2001 Bernhard Rosenkraenzer - 2.3.0 final - BuildRequires XFree86-devel >= 4.0.2 (#30486) * Mon Feb 26 2001 Than Ngo - fix check_env function, so that qt does not crash if QT_XFT is not set - fix symlinks * Mon Feb 26 2001 Bernhard Rosenkraenzer - 2.3.0b1 - Add a patch to qpsprinter that handles TrueType fonts even if they come from xfs * Tue Feb 13 2001 Preston Brown - japanese input and clipboard fixes applied. Changes have been sent upstream by patch authors. * Fri Feb 9 2001 Bernhard Rosenkraenzer - Rebuild with new Mesa to get rid of pthreads linkage - Add Xft fix from KDE CVS * Wed Feb 7 2001 Bernhard Rosenkraenzer - Add printing bugfix patch from Trolltech * Sat Feb 3 2001 Bernhard Rosenkraenzer - 2.2.4 - Qt Embedded: Add QVfb and VNC support * Tue Jan 16 2001 Bernhard Rosenkraenzer - Don't segfault when running Qt/Embedded applications as root - Improve the Qt/Embedded sparc patch so we don't need the specfile hacks anymore - Fix a bug in QPrintDialog (causing KDE Bug #18608) * Thu Jan 11 2001 Bernhard Rosenkraenzer - bzip2 source to save space - Qt/Embedded 2.2.3 - Fix qte build on sparc * Wed Dec 20 2000 Bernhard Rosenkraenzer - Run ldconfig in %%post and %%postun for qt-Xt * Sun Dec 17 2000 Bernhard Rosenkraenzer - Build with the Xrender extension (Patch from Keith Packard ) * Wed Dec 13 2000 Bernhard Rosenkraenzer - 2.2.3 * Tue Dec 12 2000 Bernhard Rosenkraenzer - Rebuild to fix permissions on doc dir - Don't exclude ia64 anymore * Fri Nov 17 2000 Bernhard Rosenkraenzer - Fix up uic (Patch from trolltech) * Wed Nov 15 2000 Bernhard Rosenkraenzer - Build qt-embedded changes to base: fix build, fix ISO C99 compliance, fix 64bit support * Mon Nov 13 2000 Bernhard Rosenkraenzer - 2.2.2 * Tue Oct 24 2000 Than Ngo - call ldconfig for updating (Bug #19687) - added patch from Trolltech, thanks to Rainer * Wed Oct 18 2000 Bernhard Rosenkraenzer - Add missing msg2qm, msgmerge, qconfig tools (Bug #18997), introduced by broken Makefiles in base - fix up %%install so it works both with old-style and new-style fileutils (fileutils <= 4.0z don't know about -L) * Fri Oct 13 2000 Bernhard Rosenkraenzer - Disable exception handling; this speeds up KDE 2.x and reduces its memory footprint by 20 MB. * Tue Oct 10 2000 Bernhard Rosenkraenzer - dereference symlinks in include * Sun Oct 8 2000 Bernhard Rosenkraenzer - fix -devel - update to the new version of 2.2.1 on trolltech.com; the initial tarball contained broken docs * Thu Oct 5 2000 Bernhard Rosenkraenzer - 2.2.1 * Mon Sep 25 2000 Bernhard Rosenkraenzer - Add missing uic * Thu Sep 21 2000 Bernhard Rosenkraenzer - Move Qt designer to a different source RPM to get rid of a circular dependency (kdelibs2->qt, qt->kdelibs2) - Enable MNG support - Don't compile (just include) examples and tutorials - move the static libraries to a separate package (qt-static). They're HUGE, and most people won't ever need them. - clean up spec file - fix up dependencies (-devel requires base, -static requires devel, Xt requires base) - add BuildRequires line * Tue Sep 12 2000 Than Ngo - update release 2.2.0 - changed copyright to GPL - added missing static libraries - made symbolic link for designer to load the help files correct - made designer and designer-kde2 as sub packages - added missing templates for designer - remove jakub patch, since the release 2.2.0 already contains this patch. - fixed qt again to compile with gcc-2.96 - use make -j for building * Wed Aug 23 2000 Bernhard Rosenkraenzer - Work around compiler bugs (Patch from Jakub) - Use relative symlinks (Bug #16750) * Mon Aug 21 2000 Bernhard Rosenkraenzer - beta2 * Mon Aug 14 2000 Bernhard Rosenkraenzer - new qt-copy from KDE2 CVS * Wed Aug 9 2000 Bernhard Rosenkraenzer - official beta 1 * Thu Aug 3 2000 Than Ngo - rebuilt against the libpng-1.0.8 * Thu Jul 27 2000 Bernhard Rosenkraenzer - rebuild (so we have it on all arches) * Tue Jul 25 2000 Bernhard Rosenkraenzer - move man pages to a more reasonable place (this fixes Bug #14126) - exclude ia64 for now (compiler problems!!!) * Mon Jul 24 2000 Harald Hoyer - modified connect patch to fit qt 2.2.0 beta. * Thu Jul 20 2000 Bernhard Rosenkraenzer - update to current qt-copy; this is now a qt 2.2.0 beta. * Mon Jul 17 2000 Bernhard Rosenkraenzer - update to current qt-copy in kde CVS, required * Wed Jul 12 2000 Prospector - automatic rebuild * Sun Jul 11 2000 Harald Hoyer - made patch smaller and binary compatible when recompiled with 6.2 - modified connect and moc to cope with the new g++ class layout * Sun Jul 09 2000 Than Ngo - rebuilt qt with gcc-2.96-34 * Fri Jul 07 2000 Than Ngo - rebuilt qt with c++ 2.96 * Mon Jul 3 2000 Bernhard Rosenkraenzer - Fix dependancies * Sun Jul 2 2000 Bernhard Rosenkraenzer - Use egcs++ for now ** FIXME * Wed Jun 28 2000 Preston Brown - fix up qt.sh * Sun Jun 25 2000 Bernhard Rosenkraenzer - Build in jpeg and threading support - Fix a bug in clipboard pasting code * Wed Jun 07 2000 Preston Brown - fix qt.{sh,csh} - use new rpm macro paths - package man pages * Fri Jun 2 2000 Bill Nottingham - build without optimization on ia64 * Mon May 29 2000 Bernhard Rosenkraenzer - 2.1.1 * Thu May 18 2000 Florian La Roche - recompile with correct libstdc++ * Thu Apr 13 2000 Bernhard Rosenkraenzer - 2.1.0 final * Wed Apr 5 2000 Bernhard Rosenkraenzer - beta4 - depend on libGL.so.1 rather than Mesa - XFree86 4.0 provides that lib, too * Wed Mar 22 2000 Bernhard Rosenkraenzer - beta3 * Tue Mar 7 2000 Bernhard Rosenkraenzer - beta2 - fix compilation of the NSPlugin add-on * Fri Mar 3 2000 Bill Nottingham - fix %postun script * Fri Feb 18 2000 Bernhard Rosenkr?nzer - beta1 - get rid of qt-ImageIO, the functionality is now in the main Qt library - remove qt-Network, the functionality is now in the main Qt library - add changes-2.1.0 to %doc * Thu Feb 17 2000 Preston Brown - no refcount check on postun script, we want it to happen even on upgrades * Thu Feb 10 2000 Bernhard Rosenkraenzer - new snapshot, should fix QWhatsThisButton - remove executable permissions from *.pro files * Mon Feb 07 2000 Preston Brown - strip binaries in examples, tutorial * Mon Jan 31 2000 Bernhard Rosenkraenzer - new snapshot - should fix the hotkey bug - Fix up the Makefiles so it compiles * Tue Jan 18 2000 Bernhard Rosenkraenzer - new snapshot - we need those QVariant fixes * Thu Jan 13 2000 Bernhard Rosenkraenzer - switch from glxMesa to Mesa for the GL addon * Wed Jan 5 2000 Bernhard Rosenkr?nzer - Fix up dependencies - new snapshot * Mon Jan 3 2000 Ngo Than - new snapshot for Red Hat Linux 6.2 - increase version number * Mon Dec 20 1999 Bernhard Rosenkraenzer - new snapshot - handle RPM_OPT_FLAGS * Mon Dec 13 1999 Bernhard Rosenkraenzer - new snapshot - -GL requires libGL.so.1 instead of Mesa (might as well be glxMesa or some commercial OpenGL) - -GL BuildPrereqs /usr/X11R6/include/GL/gl.h instead of Mesa-devel (might as well be glxMesa or some commercial OpenGL) * Sun Dec 05 1999 Bernhard Rosenkraenzer - update to current RSYNC version - remove compilation patch - it finally works out of the box * Wed Oct 27 1999 Bernhard Rosenkraenzer - update to current CVS snapshot - build extensions - add patch to fix QNetwork compilation * Sun Oct 24 1999 Bernhard Rosenkraenzer - current CVS snapshot - fix compilation with gcc 2.95.x - use install -c rather than just install to make BSD install happy * Mon Oct 11 1999 Bernhard Rosenkraenzer - 2.1.0 snapshot (for KDE2) - Fix typo in spec * Thu Sep 23 1999 Preston Brown - don't ship tutorial or example binaries * Tue Sep 21 1999 Preston Brown - substitution in tutorial and examples so that dependencies are correct and they can be successfully rebuilt. - switched to completely using QTDIR. trying to coexist with links into /usr/{include,lib} and still compile with qt 1.x is very hard for configure scripts to cope with. * Thu Aug 19 1999 Preston Brown - implemented QTDIR compatibility. * Tue Jul 20 1999 Preston Brown - qt 2.0.1 packaged. * Wed Jul 14 1999 Preston Brown - Qt 2.00 packaged. - examples, html documentation, tutorial moved to /usr/doc * Sat Apr 17 1999 Preston Brown - static library supplied in dev package. * Wed Apr 07 1999 Preston Brown - turn on internal GIF reading support * Tue Apr 06 1999 Preston Brown - strip binaries * Mon Mar 15 1999 Preston Brown - upgrade to qt 1.44. * Wed Feb 24 1999 Preston Brown - Injected new description and group. * Tue Jan 19 1999 Preston Brown - moved includes to /usr/include/qt * Mon Jan 04 1999 Preston Brown - made setup phase silent. * Fri Dec 04 1998 Preston Brown - upgraded to qt 1.42, released today. * Tue Dec 01 1998 Preston Brown - took Arnts RPM and made some minor changes for Red Hat.