2013-03-19 18:42:45 +00:00
|
|
|
# See http://bugzilla.redhat.com/223663
|
|
|
|
%define multilib_archs x86_64 %{ix86} ppc64 ppc s390x s390 sparc64 sparcv9
|
|
|
|
%define multilib_basearchs x86_64 ppc64 s390x sparc64
|
|
|
|
|
|
|
|
# support qtchooser (adds qtchooser .conf file)
|
2013-07-30 16:08:46 +00:00
|
|
|
%define qtchooser 1
|
2013-08-28 14:15:35 +00:00
|
|
|
%global qt_module qtbase
|
2013-03-19 18:42:45 +00:00
|
|
|
|
2014-02-01 18:48:57 +00:00
|
|
|
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
2013-09-23 16:44:06 +00:00
|
|
|
|
2013-09-27 21:15:33 +00:00
|
|
|
# define to build docs, need to undef this for bootstrapping
|
|
|
|
# where qt5-qttools builds are not yet available
|
2013-11-25 13:35:55 +00:00
|
|
|
# only primary archs (for now), allow secondary to bootstrap
|
|
|
|
%ifarch %{arm} %{ix86} x86_64
|
2014-01-28 20:34:27 +00:00
|
|
|
%define docs 1
|
2013-11-25 13:35:55 +00:00
|
|
|
%endif
|
2013-10-02 14:21:15 +00:00
|
|
|
|
2013-12-12 13:10:41 +00:00
|
|
|
#define pre rc1
|
2013-12-02 14:13:32 +00:00
|
|
|
#define snap 2013-11-08_141
|
|
|
|
#define snap_tag 20131108_141
|
2013-09-27 18:57:49 +00:00
|
|
|
|
2013-03-19 18:42:45 +00:00
|
|
|
Summary: Qt5 - QtBase components
|
|
|
|
Name: qt5-qtbase
|
2014-02-05 15:20:02 +00:00
|
|
|
Version: 5.2.1
|
|
|
|
Release: 1%{?dist}
|
2013-03-19 18:42:45 +00:00
|
|
|
|
|
|
|
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
|
|
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
|
|
|
Url: http://qt-project.org/
|
2013-11-09 19:20:11 +00:00
|
|
|
%if 0%{?snap:1}
|
|
|
|
Source0: http://download.qt-project.org/snapshots/qt/5.2/%{version}-%{pre}/%{snap}/submodules/%{qt_module}-opensource-src-%{version}-%{pre}.tar.xz
|
|
|
|
%else
|
2013-10-02 14:21:15 +00:00
|
|
|
%if 0%{?pre:1}
|
|
|
|
Source0: http://download.qt-project.org/development_releases/qt/5.2/%{version}-%{pre}/submodules/%{qt_module}-opensource-src-%{version}-%{pre}.tar.xz
|
|
|
|
%else
|
|
|
|
Source0: http://download.qt-project.org/official_releases/qt/5.2/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
|
|
|
|
%endif
|
2013-11-09 19:20:11 +00:00
|
|
|
%endif
|
2013-03-19 18:42:45 +00:00
|
|
|
|
2013-12-06 16:31:38 +00:00
|
|
|
# header file to workaround multilib issue
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1036956
|
|
|
|
Source5: qconfig-multilib.h
|
|
|
|
|
2014-01-29 02:26:07 +00:00
|
|
|
# xinitrc script to check for OpenGL 1 only drivers and automatically set
|
|
|
|
# QT_XCB_FORCE_SOFTWARE_OPENGL for them
|
|
|
|
Source6: 10-qt5-check-opengl2.sh
|
|
|
|
|
2013-03-19 18:42:45 +00:00
|
|
|
# help build on some lowmem archs, e.g. drop hard-coded -O3 optimization on some files
|
2013-04-12 08:11:40 +00:00
|
|
|
Patch1: qtbase-opensource-src-5.0.2-lowmem.patch
|
2013-03-19 18:42:45 +00:00
|
|
|
|
|
|
|
# support multilib optflags
|
|
|
|
Patch2: qtbase-multilib_optflags.patch
|
|
|
|
|
2013-10-16 17:59:37 +00:00
|
|
|
# qatomic on ppc/ppc64, http://bugzilla.redhat.com/1005482
|
2013-10-16 16:35:52 +00:00
|
|
|
Patch3: qtbase-qatomic-ppc.patch
|
|
|
|
|
2014-01-13 19:46:51 +00:00
|
|
|
# fix QTBUG-35459 (too low entityCharacterLimit=1024 for CVE-2013-4549)
|
|
|
|
Patch4: qt-everywhere-opensource-src-4.8.5-QTBUG-35459.patch
|
|
|
|
|
2014-01-29 02:26:07 +00:00
|
|
|
# add a QT_XCB_FORCE_SOFTWARE_OPENGL environment variable to allow forcing
|
|
|
|
# LIBGL_ALWAYS_SOFTWARE (llvmpipe) for Qt 5 apps only
|
|
|
|
Patch6: qtbase-opensource-src-5.2.0-allow-forcing-llvmpipe.patch
|
|
|
|
|
2014-01-27 19:15:09 +00:00
|
|
|
# unconditionally enable freetype lcdfilter support
|
|
|
|
Patch12: qtbase-opensource-src-5.2.0-enable_ft_lcdfilter.patch
|
|
|
|
|
2013-05-08 14:00:19 +00:00
|
|
|
# upstreamable patches
|
|
|
|
# support poll
|
2013-05-08 15:17:19 +00:00
|
|
|
# https://bugreports.qt-project.org/browse/QTBUG-27195
|
2013-08-28 14:15:35 +00:00
|
|
|
# NEEDS REBASE
|
|
|
|
Patch50: qt5-poll.patch
|
2013-05-08 14:00:19 +00:00
|
|
|
|
2013-03-19 18:42:45 +00:00
|
|
|
##upstream patches
|
|
|
|
|
|
|
|
# macros
|
2013-03-19 19:20:42 +00:00
|
|
|
%define _qt5 %{name}
|
2013-03-19 18:42:45 +00:00
|
|
|
%define _qt5_prefix %{_libdir}/qt5
|
|
|
|
%define _qt5_archdatadir %{_libdir}/qt5
|
|
|
|
# -devel bindir items (still) conflict with qt4
|
|
|
|
# at least until this is all implemented,
|
|
|
|
# http://lists.qt-project.org/pipermail/development/2012-November/007990.html
|
|
|
|
#define _qt5_bindir %{_bindir}
|
|
|
|
%define _qt5_bindir %{_qt5_prefix}/bin
|
|
|
|
%define _qt5_datadir %{_datadir}/qt5
|
|
|
|
%define _qt5_docdir %{_docdir}/qt5
|
|
|
|
%define _qt5_examplesdir %{_qt5_prefix}/examples
|
|
|
|
%define _qt5_headerdir %{_includedir}/qt5
|
|
|
|
%define _qt5_importdir %{_qt5_archdatadir}/imports
|
|
|
|
%define _qt5_libdir %{_libdir}
|
|
|
|
%define _qt5_libexecdir %{_qt5_archdatadir}/libexec
|
|
|
|
%define _qt5_plugindir %{_qt5_archdatadir}/plugins
|
|
|
|
%define _qt5_settingsdir %{_sysconfdir}/xdg
|
|
|
|
%define _qt5_sysconfdir %{_qt5_settingsdir}
|
|
|
|
%define _qt5_translationdir %{_datadir}/qt5/translations
|
|
|
|
|
2013-09-27 15:24:38 +00:00
|
|
|
# for %%check
|
|
|
|
BuildRequires: cmake
|
2013-03-19 18:42:45 +00:00
|
|
|
BuildRequires: cups-devel
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libmng-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
2013-09-06 14:21:02 +00:00
|
|
|
BuildRequires: pkgconfig(gl)
|
2013-03-19 18:42:45 +00:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
2013-09-07 03:10:21 +00:00
|
|
|
BuildRequires: pkgconfig(libpng)
|
|
|
|
BuildRequires: pkgconfig(libudev)
|
2013-03-19 18:42:45 +00:00
|
|
|
BuildRequires: pkgconfig(NetworkManager)
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
2014-01-13 17:41:27 +00:00
|
|
|
%if 0%{?fedora}
|
|
|
|
BuildRequires: pkgconfig(xkbcommon)
|
|
|
|
%endif
|
2013-09-06 14:16:26 +00:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 6
|
2013-09-06 14:21:02 +00:00
|
|
|
BuildRequires: pkgconfig(atspi-2)
|
|
|
|
BuildRequires: pkgconfig(glesv2)
|
2013-12-05 16:40:40 +00:00
|
|
|
BuildRequires: pkgconfig(sqlite3) >= 3.7
|
|
|
|
%define sqlite -system-sqlite
|
2014-01-13 18:23:12 +00:00
|
|
|
#if 0%{?fedora} > 18
|
2013-10-18 15:04:33 +00:00
|
|
|
BuildRequires: pkgconfig(harfbuzz) >= 0.9.19
|
2013-10-02 14:21:15 +00:00
|
|
|
%define harfbuzz -system-harfbuzz
|
2014-01-13 18:23:12 +00:00
|
|
|
#endif
|
2013-09-06 14:16:26 +00:00
|
|
|
BuildRequires: pkgconfig(icu-i18n)
|
2013-03-19 18:42:45 +00:00
|
|
|
BuildRequires: pkgconfig(libpcre) >= 8.30
|
|
|
|
%define pcre -system-pcre
|
2013-09-07 03:18:02 +00:00
|
|
|
BuildRequires: pkgconfig(xcb-xkb)
|
2013-03-19 18:42:45 +00:00
|
|
|
%else
|
2013-09-06 14:16:26 +00:00
|
|
|
BuildRequires: libicu-devel
|
2013-03-19 18:42:45 +00:00
|
|
|
%define pcre -qt-pcre
|
|
|
|
%endif
|
|
|
|
BuildRequires: pkgconfig(xcb) pkgconfig(xcb-icccm) pkgconfig(xcb-image) pkgconfig(xcb-keysyms) pkgconfig(xcb-renderutil)
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
2014-01-13 16:48:42 +00:00
|
|
|
|
|
|
|
## Sql drivers
|
|
|
|
%if 0%{?rhel}
|
|
|
|
%define ibase -no-sql-ibase
|
|
|
|
%define tds -no-sql-tds
|
|
|
|
%endif
|
2013-03-19 18:42:45 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Qt is a software toolkit for developing applications.
|
|
|
|
|
|
|
|
This package contains base tools, like string, xml, and network
|
|
|
|
handling.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2013-10-02 14:21:15 +00:00
|
|
|
Requires: %{name}-gui%{?_isa}
|
2014-01-02 19:04:33 +00:00
|
|
|
# qtsql apparently wants all drivers available at buildtime
|
2014-01-13 16:48:42 +00:00
|
|
|
%if "%{?ibase}" != "-no-sql-ibase"
|
2014-01-02 19:04:33 +00:00
|
|
|
Requires: %{name}-ibase%{?_isa}
|
2014-01-13 16:48:42 +00:00
|
|
|
%endif
|
2014-01-02 19:04:33 +00:00
|
|
|
Requires: %{name}-mysql%{?_isa}
|
|
|
|
Requires: %{name}-odbc%{?_isa}
|
|
|
|
Requires: %{name}-postgresql%{?_isa}
|
2014-01-13 16:48:42 +00:00
|
|
|
%if "%{?tds}" != "-no-sql-tds"
|
|
|
|
Requires: %{name}-tds%{?_isa}
|
|
|
|
%endif
|
2013-03-19 18:42:45 +00:00
|
|
|
Requires: pkgconfig(gl)
|
|
|
|
%description devel
|
|
|
|
%{summary}.
|
|
|
|
|
2013-12-05 19:41:33 +00:00
|
|
|
%if 0%{?docs}
|
2013-09-27 15:24:38 +00:00
|
|
|
%package doc
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2013-09-27 21:15:33 +00:00
|
|
|
# for qhelpgenerator
|
|
|
|
BuildRequires: qt5-qttools-devel
|
2013-09-27 15:24:38 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
%description doc
|
|
|
|
%{summary}.
|
2013-12-05 19:41:33 +00:00
|
|
|
%endif
|
2013-09-27 15:24:38 +00:00
|
|
|
|
2014-01-26 04:04:26 +00:00
|
|
|
%package examples
|
|
|
|
Summary: Programming examples for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description examples
|
|
|
|
%{summary}.
|
|
|
|
|
2013-03-19 18:42:45 +00:00
|
|
|
%package static
|
|
|
|
Summary: Static library files for %{name}
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig(fontconfig)
|
|
|
|
Requires: pkgconfig(glib-2.0)
|
|
|
|
Requires: pkgconfig(zlib)
|
|
|
|
%description static
|
|
|
|
%{summary}.
|
|
|
|
|
2014-01-13 16:48:42 +00:00
|
|
|
%if "%{?ibase}" != "-no-sql-ibase"
|
2013-03-19 18:42:45 +00:00
|
|
|
%package ibase
|
|
|
|
Summary: IBase driver for Qt5's SQL classes
|
2014-01-13 16:48:42 +00:00
|
|
|
BuildRequires: firebird-devel
|
2013-03-19 18:42:45 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description ibase
|
|
|
|
%{summary}.
|
2014-01-13 16:48:42 +00:00
|
|
|
%endif
|
2013-03-19 18:42:45 +00:00
|
|
|
|
|
|
|
%package mysql
|
|
|
|
Summary: MySQL driver for Qt5's SQL classes
|
2014-01-13 16:48:42 +00:00
|
|
|
BuildRequires: mysql-devel
|
2013-03-19 18:42:45 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description mysql
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package odbc
|
|
|
|
Summary: ODBC driver for Qt5's SQL classes
|
2014-01-13 16:48:42 +00:00
|
|
|
BuildRequires: unixODBC-devel
|
2013-03-19 18:42:45 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description odbc
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package postgresql
|
|
|
|
Summary: PostgreSQL driver for Qt5's SQL classes
|
2014-01-13 16:48:42 +00:00
|
|
|
BuildRequires: postgresql-devel
|
2013-03-19 18:42:45 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description postgresql
|
|
|
|
%{summary}.
|
|
|
|
|
2014-01-13 16:48:42 +00:00
|
|
|
%if "%{?tds}" != "-no-sql-tds"
|
2013-03-19 18:42:45 +00:00
|
|
|
%package tds
|
|
|
|
Summary: TDS driver for Qt5's SQL classes
|
2014-01-13 16:48:42 +00:00
|
|
|
BuildRequires: freetds-devel
|
2013-03-19 18:42:45 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description tds
|
|
|
|
%{summary}.
|
2014-01-13 16:48:42 +00:00
|
|
|
%endif
|
2013-03-19 18:42:45 +00:00
|
|
|
|
|
|
|
# debating whether to do 1 subpkg per library or not -- rex
|
2013-10-02 14:21:15 +00:00
|
|
|
%package gui
|
2013-03-19 18:42:45 +00:00
|
|
|
Summary: Qt5 GUI-related libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2013-10-02 14:21:15 +00:00
|
|
|
Obsoletes: qt5-qtbase-x11 < 5.2.0
|
|
|
|
Provides: qt5-qtbase-x11 = %{version}-%{release}
|
2014-01-29 02:26:07 +00:00
|
|
|
|
|
|
|
# for Source6: 10-qt5-check-opengl2.sh:
|
|
|
|
# directory ownership
|
|
|
|
Requires: xorg-x11-xinit
|
|
|
|
# glxinfo
|
|
|
|
Requires: glx-utils
|
|
|
|
|
2013-10-02 14:21:15 +00:00
|
|
|
%description gui
|
2013-03-19 18:42:45 +00:00
|
|
|
Qt5 libraries used for drawing widgets and OpenGL items.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2013-10-02 14:21:15 +00:00
|
|
|
%setup -q -n qtbase-opensource-src-%{version}%{?pre:-%{pre}}
|
2013-03-19 18:42:45 +00:00
|
|
|
|
|
|
|
%patch2 -p1 -b .multilib_optflags
|
|
|
|
# drop backup file(s), else they get installed too, http://bugzilla.redhat.com/639463
|
|
|
|
rm -fv mkspecs/linux-g++*/qmake.conf.multilib-optflags
|
|
|
|
|
2013-10-16 16:35:52 +00:00
|
|
|
%patch3 -p1 -b .qatomic-ppc
|
2014-01-13 19:46:51 +00:00
|
|
|
%patch4 -p1 -b .QTBUG-35459
|
2014-01-29 02:26:07 +00:00
|
|
|
%patch6 -p1 -b .allow-forcing-llvmpipe
|
2014-01-27 19:15:09 +00:00
|
|
|
%patch12 -p1 -b .enable_ft_lcdfilter
|
2013-10-16 16:35:52 +00:00
|
|
|
|
2013-08-28 14:15:35 +00:00
|
|
|
#patch50 -p1 -b .poll
|
2013-03-19 18:42:45 +00:00
|
|
|
|
|
|
|
# drop -fexceptions from $RPM_OPT_FLAGS
|
|
|
|
RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'`
|
|
|
|
|
|
|
|
# lowmem hacks
|
2013-04-19 00:36:31 +00:00
|
|
|
#ifarch %{arm} s390
|
2013-03-19 18:42:45 +00:00
|
|
|
%patch1 -p1 -b .lowmem
|
2013-04-19 00:36:31 +00:00
|
|
|
#endif
|
2013-03-19 18:42:45 +00:00
|
|
|
|
|
|
|
%define platform linux-g++
|
2013-04-20 04:07:42 +00:00
|
|
|
%ifarch %{multilib_archs}
|
|
|
|
%if "%{?__isa_bits}" == "64"
|
|
|
|
%define platform linux-g++-64
|
|
|
|
%endif
|
|
|
|
%endif
|
2013-03-19 18:42:45 +00:00
|
|
|
|
|
|
|
sed -i -e "s|-O2|$RPM_OPT_FLAGS|g" \
|
|
|
|
mkspecs/%{platform}/qmake.conf
|
|
|
|
|
|
|
|
sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 $RPM_LD_FLAGS|" \
|
|
|
|
mkspecs/common/g++-unix.conf
|
|
|
|
|
|
|
|
# move some bundled libs to ensure they're not accidentally used
|
|
|
|
pushd src/3rdparty
|
|
|
|
mkdir UNUSED
|
2013-12-05 16:40:40 +00:00
|
|
|
mv freetype libjpeg libpng zlib xcb UNUSED/
|
|
|
|
%if "%{?sqlite}" == "-system-sqlite"
|
|
|
|
mv sqlite UNUSED/
|
|
|
|
%endif
|
2013-03-19 18:42:45 +00:00
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
./configure -v \
|
|
|
|
-confirm-license \
|
|
|
|
-opensource \
|
|
|
|
-prefix %{_qt5_prefix} \
|
|
|
|
-archdatadir %{_qt5_archdatadir} \
|
|
|
|
-bindir %{_qt5_bindir} \
|
|
|
|
-datadir %{_qt5_datadir} \
|
|
|
|
-docdir %{_qt5_docdir} \
|
|
|
|
-examplesdir %{_qt5_examplesdir} \
|
|
|
|
-headerdir %{_qt5_headerdir} \
|
|
|
|
-importdir %{_qt5_importdir} \
|
|
|
|
-libdir %{_qt5_libdir} \
|
|
|
|
-libexecdir %{_qt5_libexecdir} \
|
|
|
|
-plugindir %{_qt5_plugindir} \
|
|
|
|
-sysconfdir %{_qt5_sysconfdir} \
|
|
|
|
-translationdir %{_qt5_translationdir} \
|
|
|
|
-platform %{platform} \
|
|
|
|
-release \
|
|
|
|
-shared \
|
|
|
|
-accessibility \
|
|
|
|
-dbus-linked \
|
|
|
|
-fontconfig \
|
|
|
|
-glib \
|
|
|
|
-gtkstyle \
|
2014-01-13 16:48:42 +00:00
|
|
|
%{?ibase} \
|
2013-03-19 18:42:45 +00:00
|
|
|
-iconv \
|
|
|
|
-icu \
|
|
|
|
-openssl-linked \
|
|
|
|
-optimized-qmake \
|
2013-04-02 16:53:29 +00:00
|
|
|
-nomake tests \
|
2013-03-19 18:42:45 +00:00
|
|
|
-no-pch \
|
|
|
|
-no-rpath \
|
|
|
|
-no-separate-debug-info \
|
|
|
|
-no-strip \
|
|
|
|
-reduce-relocations \
|
2013-10-02 14:21:15 +00:00
|
|
|
%{?harfbuzz} \
|
2013-03-19 18:42:45 +00:00
|
|
|
-system-libjpeg \
|
|
|
|
-system-libpng \
|
|
|
|
%{?pcre} \
|
2013-12-05 16:40:40 +00:00
|
|
|
%{?sqlite} \
|
2014-01-13 16:48:42 +00:00
|
|
|
%{?tds} \
|
2013-12-02 14:13:32 +00:00
|
|
|
-system-zlib
|
2013-03-19 18:42:45 +00:00
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2013-09-27 18:57:49 +00:00
|
|
|
%if 0%{?docs}
|
2013-09-27 21:15:33 +00:00
|
|
|
# wierd but necessary, to force regeration to use just-built qdoc
|
|
|
|
rm -fv src/corelib/Makefile
|
|
|
|
make %{?_smp_mflags} docs
|
2013-09-27 18:57:49 +00:00
|
|
|
%endif
|
2013-09-27 15:24:38 +00:00
|
|
|
|
2013-03-19 18:42:45 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install INSTALL_ROOT=%{buildroot}
|
|
|
|
|
2013-09-27 18:57:49 +00:00
|
|
|
%if 0%{?docs}
|
2013-09-27 15:24:38 +00:00
|
|
|
make install_docs INSTALL_ROOT=%{buildroot}
|
2013-09-27 18:57:49 +00:00
|
|
|
%endif
|
2013-09-27 15:24:38 +00:00
|
|
|
|
2013-03-19 18:42:45 +00:00
|
|
|
# Qt5.pc
|
|
|
|
cat >%{buildroot}%{_libdir}/pkgconfig/Qt5.pc<<EOF
|
|
|
|
prefix=%{_qt5_prefix}
|
|
|
|
archdatadir=%{_qt5_archdatadir}
|
|
|
|
bindir=%{_qt5_bindir}
|
|
|
|
datadir=%{_qt5_datadir}
|
|
|
|
|
|
|
|
docdir=%{_qt5_docdir}
|
|
|
|
examplesdir=%{_qt5_examplesdir}
|
|
|
|
headerdir=%{_qt5_headerdir}
|
|
|
|
importdir=%{_qt5_importdir}
|
|
|
|
libdir=%{_qt5_libdir}
|
|
|
|
libexecdir=%{_qt5_libexecdir}
|
|
|
|
moc=%{_qt5_bindir}/moc
|
|
|
|
plugindir=%{_qt5_plugindir}
|
|
|
|
qmake=%{_qt5_bindir}/qmake
|
|
|
|
settingsdir=%{_qt5_settingsdir}
|
|
|
|
sysconfdir=%{_qt5_sysconfdir}
|
|
|
|
translationdir=%{_qt5_translationdir}
|
|
|
|
|
|
|
|
Name: Qt5
|
|
|
|
Description: Qt5 Configuration
|
|
|
|
Version: %{version}
|
|
|
|
EOF
|
|
|
|
|
|
|
|
# rpm macros
|
2013-09-23 16:44:06 +00:00
|
|
|
mkdir -p %{buildroot}%{rpm_macros_dir}
|
|
|
|
cat >%{buildroot}%{rpm_macros_dir}/macros.qt5<<EOF
|
2013-03-19 18:42:45 +00:00
|
|
|
%%_qt5 %{name}
|
|
|
|
%%_qt5_epoch %{?epoch}%{!?epoch:0}
|
|
|
|
%%_qt5_version %{version}
|
|
|
|
%%_qt5_evr %{?epoch:%{epoch:}}%{version}-%{release}
|
|
|
|
%%_qt5_prefix %%{_libdir}/qt5
|
|
|
|
%%_qt5_archdatadir %%{_qt5_prefix}
|
|
|
|
%%_qt5_bindir %%{_qt5_prefix}/bin
|
|
|
|
%%_qt5_datadir %%{_datadir}/qt5
|
|
|
|
%%_qt5_docdir %%{_docdir}/qt5
|
2014-01-27 00:45:56 +00:00
|
|
|
%%_qt5_examplesdir %%{_qt5_prefix}/examples
|
2013-03-19 18:42:45 +00:00
|
|
|
%%_qt5_headerdir %%{_includedir}/qt5
|
2013-09-23 16:44:06 +00:00
|
|
|
%%_qt5_importdir %%{_qt5_archdatadir}/imports
|
2013-03-19 18:42:45 +00:00
|
|
|
%%_qt5_libdir %%{_libdir}
|
2013-09-23 16:44:06 +00:00
|
|
|
%%_qt5_libexecdir %%{_qt5_archdatadir}/libexec
|
|
|
|
%%_qt5_plugindir %%{_qt5_archdatadir}/plugins
|
2013-03-19 18:42:45 +00:00
|
|
|
%%_qt5_qmake %%{_qt5_bindir}/qmake
|
|
|
|
%%_qt5_settingsdir %%{_sysconfdir}/xdg
|
2013-09-23 16:44:06 +00:00
|
|
|
%%_qt5_sysconfdir %%{_qt5_settingsdir}
|
|
|
|
%%_qt5_translationdir %%{_datadir}/qt5/translations
|
2013-03-19 18:42:45 +00:00
|
|
|
EOF
|
|
|
|
|
|
|
|
# create/own dirs
|
|
|
|
mkdir -p %{buildroot}{%{_qt5_archdatadir}/mkspecs/modules,%{_qt5_importdir},%{_qt5_libexecdir},%{_qt5_plugindir}/iconengines,%{_qt5_translationdir}}
|
|
|
|
|
2013-10-02 14:21:15 +00:00
|
|
|
# hardlink files to %{_bindir}, add -qt5 postfix to not conflict
|
2013-03-19 18:42:45 +00:00
|
|
|
mkdir %{buildroot}%{_bindir}
|
|
|
|
pushd %{buildroot}%{_qt5_bindir}
|
|
|
|
for i in * ; do
|
|
|
|
case "${i}" in
|
|
|
|
moc|qdbuscpp2xml|qdbusxml2cpp|qmake|rcc|syncqt|uic)
|
2013-10-02 14:21:15 +00:00
|
|
|
ln -v ${i} %{buildroot}%{_bindir}/${i}-qt5
|
|
|
|
ln -sv ${i} ${i}-qt5
|
2013-03-19 18:42:45 +00:00
|
|
|
;;
|
2013-10-02 14:21:15 +00:00
|
|
|
*)
|
|
|
|
ln -v ${i} %{buildroot}%{_bindir}/${i}
|
2013-03-19 18:42:45 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
|
2013-12-06 16:31:38 +00:00
|
|
|
%ifarch %{multilib_archs}
|
|
|
|
# multilib: qconfig.h
|
2013-12-06 17:02:15 +00:00
|
|
|
mv %{buildroot}%{_qt5_headerdir}/QtCore/qconfig.h %{buildroot}%{_qt5_headerdir}/QtCore/qconfig-%{__isa_bits}.h
|
|
|
|
install -p -m644 -D %{SOURCE5} %{buildroot}%{_qt5_headerdir}/QtCore/qconfig.h
|
2013-12-06 16:31:38 +00:00
|
|
|
%endif
|
|
|
|
|
2013-03-19 18:42:45 +00:00
|
|
|
# qtchooser conf
|
|
|
|
%if 0%{?qtchooser}
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/xdg/qtchooser
|
|
|
|
pushd %{buildroot}%{_sysconfdir}/xdg/qtchooser
|
|
|
|
echo "%{_qt5_bindir}" > qt5.conf
|
|
|
|
echo "%{_qt5_prefix}" >> qt5.conf
|
|
|
|
%ifarch %{multilib_archs}
|
|
|
|
mv qt5.conf qt5-%{__isa_bits}.conf
|
|
|
|
%ifarch %{multilib_basearchs}
|
2013-10-02 14:21:15 +00:00
|
|
|
ln -sv qt5-%{__isa_bits}.conf qt5.conf
|
2013-03-19 18:42:45 +00:00
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
popd
|
|
|
|
%endif
|
|
|
|
|
|
|
|
## .prl/.la file love
|
|
|
|
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
|
|
|
|
pushd %{buildroot}%{_qt5_libdir}
|
|
|
|
for prl_file in libQt5*.prl ; do
|
|
|
|
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
|
|
|
|
if [ -f "$(basename ${prl_file} .prl).so" ]; then
|
|
|
|
rm -fv "$(basename ${prl_file} .prl).la"
|
|
|
|
sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
|
2014-01-29 02:30:19 +00:00
|
|
|
install -p -m755 -D %{SOURCE6} %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/10-qt5-check-opengl2.sh
|
2014-01-29 02:26:07 +00:00
|
|
|
|
2013-03-19 18:42:45 +00:00
|
|
|
|
2013-04-10 22:08:46 +00:00
|
|
|
## work-in-progress, doesn't work yet -- rex
|
|
|
|
%check
|
|
|
|
export CMAKE_PREFIX_PATH=%{buildroot}%{_prefix}
|
|
|
|
export CTEST_OUTPUT_ON_FAILURE=1
|
|
|
|
export PATH=%{buildroot}%{_bindir}:$PATH
|
|
|
|
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
|
|
|
mkdir tests/auto/cmake/%{_target_platform}
|
|
|
|
pushd tests/auto/cmake/%{_target_platform}
|
2013-09-27 15:24:38 +00:00
|
|
|
cmake .. ||:
|
|
|
|
ctest --output-on-failure ||:
|
2013-04-10 22:08:46 +00:00
|
|
|
popd
|
|
|
|
|
|
|
|
|
2013-03-19 18:42:45 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt
|
|
|
|
%if 0%{?qtchooser}
|
|
|
|
# not editable config files, so not using %%config here
|
|
|
|
%dir %{_sysconfdir}/xdg/qtchooser
|
|
|
|
%{_sysconfdir}/xdg/qtchooser/*.conf
|
|
|
|
%endif
|
|
|
|
%{_qt5_libdir}/libQt5Concurrent.so.5*
|
|
|
|
%{_qt5_libdir}/libQt5Core.so.5*
|
|
|
|
%{_qt5_libdir}/libQt5DBus.so.5*
|
|
|
|
%{_qt5_libdir}/libQt5Network.so.5*
|
|
|
|
%{_qt5_libdir}/libQt5Sql.so.5*
|
|
|
|
%{_qt5_libdir}/libQt5Test.so.5*
|
|
|
|
%{_qt5_libdir}/libQt5Xml.so.5*
|
2013-09-27 15:24:38 +00:00
|
|
|
%dir %{_qt5_docdir}/
|
2013-10-02 14:21:15 +00:00
|
|
|
%{_qt5_docdir}/global/
|
2013-03-19 18:42:45 +00:00
|
|
|
%{_qt5_importdir}/
|
|
|
|
%{_qt5_translationdir}/
|
|
|
|
%dir %{_qt5_prefix}/
|
|
|
|
%dir %{_qt5_datadir}/
|
|
|
|
%dir %{_qt5_libexecdir}/
|
|
|
|
%dir %{_qt5_plugindir}/
|
|
|
|
%dir %{_qt5_plugindir}/bearer/
|
|
|
|
%{_qt5_plugindir}/bearer/libqconnmanbearer.so
|
|
|
|
%{_qt5_plugindir}/bearer/libqgenericbearer.so
|
|
|
|
%{_qt5_plugindir}/bearer/libqnmbearer.so
|
|
|
|
%dir %{_qt5_plugindir}/accessible/
|
|
|
|
%dir %{_qt5_plugindir}/generic/
|
|
|
|
%dir %{_qt5_plugindir}/imageformats/
|
|
|
|
%dir %{_qt5_plugindir}/platforminputcontexts/
|
|
|
|
%dir %{_qt5_plugindir}/platforms/
|
2013-08-28 14:15:35 +00:00
|
|
|
%dir %{_qt5_plugindir}/platformthemes/
|
2013-03-19 18:42:45 +00:00
|
|
|
%dir %{_qt5_plugindir}/printsupport/
|
|
|
|
%dir %{_qt5_plugindir}/sqldrivers/
|
|
|
|
%{_qt5_plugindir}/sqldrivers/libqsqlite.so
|
|
|
|
|
2013-12-05 19:41:33 +00:00
|
|
|
%if 0%{?docs}
|
2013-09-27 15:24:38 +00:00
|
|
|
%files doc
|
2013-12-02 14:13:32 +00:00
|
|
|
%doc dist/README dist/changes-5.*
|
2013-09-27 15:24:38 +00:00
|
|
|
%{_qt5_docdir}/*.qch
|
|
|
|
%{_qt5_docdir}/qdoc/
|
|
|
|
%{_qt5_docdir}/qmake/
|
|
|
|
%{_qt5_docdir}/qtconcurrent/
|
|
|
|
%{_qt5_docdir}/qtcore/
|
|
|
|
%{_qt5_docdir}/qtdbus/
|
|
|
|
%{_qt5_docdir}/qtgui/
|
|
|
|
%{_qt5_docdir}/qtnetwork/
|
|
|
|
%{_qt5_docdir}/qtopengl/
|
|
|
|
%{_qt5_docdir}/qtprintsupport/
|
|
|
|
%{_qt5_docdir}/qtsql/
|
|
|
|
%{_qt5_docdir}/qttestlib/
|
|
|
|
%{_qt5_docdir}/qtwidgets/
|
|
|
|
%{_qt5_docdir}/qtxml/
|
2013-09-27 18:57:49 +00:00
|
|
|
%endif
|
2013-09-27 15:24:38 +00:00
|
|
|
|
2013-03-19 18:42:45 +00:00
|
|
|
%files devel
|
2013-09-23 16:44:06 +00:00
|
|
|
%{rpm_macros_dir}/macros.qt5
|
2013-03-19 18:42:45 +00:00
|
|
|
%if "%{_qt5_bindir}" != "%{_bindir}"
|
|
|
|
%dir %{_qt5_bindir}
|
|
|
|
%endif
|
|
|
|
%{_bindir}/moc*
|
|
|
|
%{_bindir}/qdbuscpp2xml*
|
|
|
|
%{_bindir}/qdbusxml2cpp*
|
|
|
|
%{_bindir}/qdoc*
|
|
|
|
%{_bindir}/qmake*
|
|
|
|
%{_bindir}/rcc*
|
|
|
|
%{_bindir}/syncqt*
|
|
|
|
%{_bindir}/uic*
|
|
|
|
%{_qt5_bindir}/moc*
|
|
|
|
%{_qt5_bindir}/qdbuscpp2xml*
|
|
|
|
%{_qt5_bindir}/qdbusxml2cpp*
|
|
|
|
%{_qt5_bindir}/qdoc*
|
|
|
|
%{_qt5_bindir}/qmake*
|
|
|
|
%{_qt5_bindir}/rcc*
|
|
|
|
%{_qt5_bindir}/syncqt*
|
|
|
|
%{_qt5_bindir}/uic*
|
|
|
|
%if "%{_qt5_headerdir}" != "%{_includedir}"
|
|
|
|
%dir %{_qt5_headerdir}
|
|
|
|
%endif
|
2013-08-28 16:09:56 +00:00
|
|
|
%{_qt5_headerdir}/QtConcurrent/
|
|
|
|
%{_qt5_headerdir}/QtCore/
|
|
|
|
%{_qt5_headerdir}/QtDBus/
|
|
|
|
%{_qt5_headerdir}/QtGui/
|
|
|
|
%{_qt5_headerdir}/QtNetwork/
|
|
|
|
%{_qt5_headerdir}/QtOpenGL/
|
|
|
|
%{_qt5_headerdir}/QtPrintSupport/
|
|
|
|
%{_qt5_headerdir}/QtSql/
|
|
|
|
%{_qt5_headerdir}/QtTest/
|
|
|
|
%{_qt5_headerdir}/QtWidgets/
|
|
|
|
%{_qt5_headerdir}/QtXml/
|
2013-03-19 18:42:45 +00:00
|
|
|
%{_qt5_archdatadir}/mkspecs/
|
|
|
|
%{_qt5_libdir}/libQt5Concurrent.prl
|
|
|
|
%{_qt5_libdir}/libQt5Concurrent.so
|
|
|
|
%{_qt5_libdir}/libQt5Core.prl
|
|
|
|
%{_qt5_libdir}/libQt5Core.so
|
|
|
|
%{_qt5_libdir}/libQt5DBus.prl
|
|
|
|
%{_qt5_libdir}/libQt5DBus.so
|
|
|
|
%{_qt5_libdir}/libQt5Gui.prl
|
|
|
|
%{_qt5_libdir}/libQt5Gui.so
|
|
|
|
%{_qt5_libdir}/libQt5Network.prl
|
|
|
|
%{_qt5_libdir}/libQt5Network.so
|
|
|
|
%{_qt5_libdir}/libQt5OpenGL.prl
|
|
|
|
%{_qt5_libdir}/libQt5OpenGL.so
|
|
|
|
%{_qt5_libdir}/libQt5PrintSupport.prl
|
|
|
|
%{_qt5_libdir}/libQt5PrintSupport.so
|
|
|
|
%{_qt5_libdir}/libQt5Sql.prl
|
|
|
|
%{_qt5_libdir}/libQt5Sql.so
|
|
|
|
%{_qt5_libdir}/libQt5Test.prl
|
|
|
|
%{_qt5_libdir}/libQt5Test.so
|
|
|
|
%{_qt5_libdir}/libQt5Widgets.prl
|
|
|
|
%{_qt5_libdir}/libQt5Widgets.so
|
|
|
|
%{_qt5_libdir}/libQt5Xml.prl
|
|
|
|
%{_qt5_libdir}/libQt5Xml.so
|
|
|
|
%dir %{_qt5_libdir}/cmake/
|
2013-08-28 16:09:56 +00:00
|
|
|
%{_qt5_libdir}/cmake/Qt5/
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Concurrent/
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Core/
|
|
|
|
%{_qt5_libdir}/cmake/Qt5DBus/
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Gui/
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Network/
|
|
|
|
%{_qt5_libdir}/cmake/Qt5OpenGL/
|
|
|
|
%{_qt5_libdir}/cmake/Qt5PrintSupport/
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Sql/
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Test/
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Widgets/
|
|
|
|
%{_qt5_libdir}/cmake/Qt5Xml/
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5.pc
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5Concurrent.pc
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5Core.pc
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5DBus.pc
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5Gui.pc
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5Network.pc
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5OpenGL.pc
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5PrintSupport.pc
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5Sql.pc
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5Test.pc
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5Widgets.pc
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5Xml.pc
|
2013-03-19 18:42:45 +00:00
|
|
|
|
|
|
|
%files static
|
|
|
|
%{_qt5_libdir}/libQt5Bootstrap.*a
|
|
|
|
%{_qt5_libdir}/libQt5Bootstrap.prl
|
2013-08-28 16:09:56 +00:00
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5Bootstrap.pc
|
|
|
|
%{_qt5_headerdir}/QtOpenGLExtensions/
|
2013-08-28 14:15:35 +00:00
|
|
|
%{_qt5_libdir}/libQt5OpenGLExtensions.*a
|
|
|
|
%{_qt5_libdir}/libQt5OpenGLExtensions.prl
|
2013-08-28 16:09:56 +00:00
|
|
|
%{_qt5_libdir}/cmake/Qt5OpenGLExtensions/
|
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5OpenGLExtensions.pc
|
|
|
|
%{_qt5_headerdir}/QtPlatformSupport/
|
2013-03-19 18:42:45 +00:00
|
|
|
%{_qt5_libdir}/libQt5PlatformSupport.*a
|
|
|
|
%{_qt5_libdir}/libQt5PlatformSupport.prl
|
2013-08-28 16:09:56 +00:00
|
|
|
%{_qt5_libdir}/pkgconfig/Qt5PlatformSupport.pc
|
2013-03-19 18:42:45 +00:00
|
|
|
|
2014-01-26 04:04:26 +00:00
|
|
|
%files examples
|
|
|
|
%{_qt5_examplesdir}/
|
|
|
|
|
2014-01-13 16:48:42 +00:00
|
|
|
%if "%{?ibase}" != "-no-sql-ibase"
|
2013-03-19 18:42:45 +00:00
|
|
|
%files ibase
|
|
|
|
%{_qt5_plugindir}/sqldrivers/libqsqlibase.so
|
2014-01-13 16:48:42 +00:00
|
|
|
%endif
|
2013-03-19 18:42:45 +00:00
|
|
|
|
|
|
|
%files mysql
|
|
|
|
%{_qt5_plugindir}/sqldrivers/libqsqlmysql.so
|
|
|
|
|
|
|
|
%files odbc
|
|
|
|
%{_qt5_plugindir}/sqldrivers/libqsqlodbc.so
|
|
|
|
|
|
|
|
%files postgresql
|
|
|
|
%{_qt5_plugindir}/sqldrivers/libqsqlpsql.so
|
|
|
|
|
2014-01-13 16:48:42 +00:00
|
|
|
%if "%{?tds}" != "-no-sql-tds"
|
2013-03-19 18:42:45 +00:00
|
|
|
%files tds
|
|
|
|
%{_qt5_plugindir}/sqldrivers/libqsqltds.so
|
2014-01-13 16:48:42 +00:00
|
|
|
%endif
|
2013-03-19 18:42:45 +00:00
|
|
|
|
2013-10-02 14:21:15 +00:00
|
|
|
%post gui -p /sbin/ldconfig
|
|
|
|
%postun gui -p /sbin/ldconfig
|
2013-03-19 18:42:45 +00:00
|
|
|
|
2013-10-02 14:21:15 +00:00
|
|
|
%files gui
|
2014-01-29 02:26:07 +00:00
|
|
|
%{_sysconfdir}/X11/xinit/xinitrc.d/10-qt5-check-opengl2.sh
|
2013-03-19 18:42:45 +00:00
|
|
|
%{_qt5_libdir}/libQt5Gui.so.5*
|
|
|
|
%{_qt5_libdir}/libQt5OpenGL.so.5*
|
|
|
|
%{_qt5_libdir}/libQt5PrintSupport.so.5*
|
|
|
|
%{_qt5_libdir}/libQt5Widgets.so.5*
|
|
|
|
%{_qt5_plugindir}/accessible/libqtaccessiblewidgets.so
|
|
|
|
%{_qt5_plugindir}/generic/libqevdevkeyboardplugin.so
|
|
|
|
%{_qt5_plugindir}/generic/libqevdevmouseplugin.so
|
|
|
|
%{_qt5_plugindir}/generic/libqevdevtabletplugin.so
|
|
|
|
%{_qt5_plugindir}/generic/libqevdevtouchplugin.so
|
|
|
|
%{_qt5_plugindir}/imageformats/libqgif.so
|
|
|
|
%{_qt5_plugindir}/imageformats/libqico.so
|
|
|
|
%{_qt5_plugindir}/imageformats/libqjpeg.so
|
2013-10-02 14:21:15 +00:00
|
|
|
%{_qt5_plugindir}/platforminputcontexts/libcomposeplatforminputcontextplugin.so
|
2013-03-19 18:42:45 +00:00
|
|
|
%{_qt5_plugindir}/platforminputcontexts/libibusplatforminputcontextplugin.so
|
|
|
|
%{_qt5_plugindir}/platforms/libqlinuxfb.so
|
|
|
|
%{_qt5_plugindir}/platforms/libqminimal.so
|
2013-10-02 14:21:15 +00:00
|
|
|
%{_qt5_plugindir}/platforms/libqoffscreen.so
|
2013-03-19 18:42:45 +00:00
|
|
|
%{_qt5_plugindir}/platforms/libqxcb.so
|
2013-10-02 14:21:15 +00:00
|
|
|
%{_qt5_plugindir}/platformthemes/libqgtk2.so
|
2013-03-19 18:42:45 +00:00
|
|
|
%{_qt5_plugindir}/printsupport/libcupsprintersupport.so
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2014-02-05 15:20:02 +00:00
|
|
|
* Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
|
|
|
|
- 5.2.1
|
|
|
|
|
2014-02-01 18:48:57 +00:00
|
|
|
* Sat Feb 01 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-11
|
|
|
|
- better %%rpm_macros_dir handling
|
|
|
|
|
2014-01-29 15:49:50 +00:00
|
|
|
* Wed Jan 29 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.2.0-10
|
|
|
|
- fix the allow-forcing-llvmpipe patch to patch actual caller of __glXInitialize
|
|
|
|
|
2014-01-29 02:26:07 +00:00
|
|
|
* Wed Jan 29 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.2.0-9
|
|
|
|
- use software OpenGL (llvmpipe) if the hardware driver doesn't support OpenGL 2
|
|
|
|
|
2014-01-28 20:34:27 +00:00
|
|
|
* Tue Jan 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-8
|
|
|
|
- (re)enable -docs
|
|
|
|
|
2014-01-27 19:15:09 +00:00
|
|
|
* Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.2.0-7
|
|
|
|
- unconditionally enable freetype lcd_filter
|
|
|
|
- (temp) disable docs (libxcb bootstrap)
|
|
|
|
|
2014-01-27 00:45:56 +00:00
|
|
|
* Sun Jan 26 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-6
|
|
|
|
- fix %%_qt5_examplesdir macro
|
|
|
|
|
2014-01-26 04:04:26 +00:00
|
|
|
* Sat Jan 25 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-5
|
|
|
|
- -examples subpkg
|
|
|
|
|
2014-01-13 19:46:51 +00:00
|
|
|
* Mon Jan 13 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.2.0-4
|
|
|
|
- fix QTBUG-35459 (too low entityCharacterLimit=1024 for CVE-2013-4549)
|
|
|
|
- fix QTBUG-35460 (error message for CVE-2013-4549 is misspelled)
|
2014-01-13 19:56:58 +00:00
|
|
|
- reenable docs on Fedora (accidentally disabled)
|
2014-01-13 19:46:51 +00:00
|
|
|
|
2014-01-13 16:48:42 +00:00
|
|
|
* Mon Jan 13 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.2.0-3
|
|
|
|
- move sql build deps into subpkg sections
|
|
|
|
- macro'ize ibase,tds support (disabled on rhel)
|
|
|
|
|
2014-01-02 19:04:33 +00:00
|
|
|
* Thu Jan 02 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
|
|
|
|
- -devel: qtsql apparently wants all drivers available at buildtime
|
|
|
|
|
2013-12-12 13:10:41 +00:00
|
|
|
* Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
|
|
|
|
- 5.2.0
|
|
|
|
|
2013-12-06 16:31:38 +00:00
|
|
|
* Fri Dec 06 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.12.rc1
|
|
|
|
- qt5-base-devel.x86_64 qt5-base-devel.i686 file conflict qconfig.h (#1036956)
|
|
|
|
|
2013-12-05 16:40:40 +00:00
|
|
|
* Thu Dec 05 2013 Rex Dieter <rdieter@fedoraproject.org> - 5.2.0-0.11.rc1
|
|
|
|
- needs a minimum version on sqlite build dependency (#1038617)
|
|
|
|
- fix build when doc macro not defined
|
|
|
|
|
2013-12-02 14:13:32 +00:00
|
|
|
* Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
|
|
|
|
- 5.2.0-rc1
|
|
|
|
- revert/omit recent egl packaging changes
|
|
|
|
- -doc install changes-5.* files here (#989149)
|
|
|
|
|
2013-11-26 14:32:32 +00:00
|
|
|
* Tue Nov 26 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.8.beta1.20131108_141
|
|
|
|
- Install changes-5.x.y file (#989149)
|
|
|
|
|
2013-11-25 13:35:55 +00:00
|
|
|
* Mon Nov 25 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.7.beta1.20131108_141
|
|
|
|
- enable -doc only on primary archs (allow secondary bootstrap)
|
|
|
|
|
2013-11-22 14:23:20 +00:00
|
|
|
* Fri Nov 22 2013 Lubomir Rintel <lkundrak@v3.sk> 5.2.0-0.6.beta1.20131108_141
|
|
|
|
- Enable EGL support
|
|
|
|
|
2013-11-09 19:20:11 +00:00
|
|
|
* Sat Nov 09 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.5.beta1.20131108_141
|
|
|
|
- 2013-11-08_141 snapshot, arm switch qreal double
|
|
|
|
|
2013-10-25 00:55:11 +00:00
|
|
|
* Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1
|
|
|
|
- 5.2.0-beta1
|
2013-10-25 00:54:30 +00:00
|
|
|
|
2013-10-16 17:59:37 +00:00
|
|
|
* Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.alpha
|
|
|
|
- disable -docs (for ppc bootstrap mostly)
|
|
|
|
|
2013-10-16 16:35:52 +00:00
|
|
|
* Wed Oct 16 2013 Lukáš Tinkl <ltinkl@redhat.com> - 5.2.0-0.2.alpha
|
|
|
|
- Fixes #1005482 - qtbase FTBFS on ppc/ppc64
|
|
|
|
|
2013-10-02 14:21:15 +00:00
|
|
|
* Tue Oct 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 5.2.0-0.1.alpha
|
|
|
|
- 5.2.0-alpha
|
|
|
|
- -system-harfbuzz
|
|
|
|
- rename subpkg -x11 => -gui
|
|
|
|
- move some gui-related plugins base => -gui
|
|
|
|
- don't use symlinks in %%_qt5_bindir (more qtchooser-friendly)
|
|
|
|
|
2013-09-27 15:24:38 +00:00
|
|
|
* Fri Sep 27 2013 Rex Dieter <rdieter@fedoraproject.org> - 5.1.1-6
|
2013-09-30 12:33:23 +00:00
|
|
|
- -doc subpkg (not enabled)
|
2013-09-27 15:24:38 +00:00
|
|
|
- enable %%check
|
|
|
|
|
2013-09-24 08:13:12 +00:00
|
|
|
* Mon Sep 23 2013 Dan Horák <dan[at]danny.cz> - 5.1.1-5
|
|
|
|
- fix big endian builds
|
|
|
|
|
2013-09-23 16:44:06 +00:00
|
|
|
* Wed Sep 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-4
|
|
|
|
- macros.qt5: use newer location, use unexpanded macros
|
|
|
|
|
2013-09-07 13:52:32 +00:00
|
|
|
* Sat Sep 07 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-3
|
|
|
|
- ExcludeArch: ppc64 ppc (#1005482)
|
|
|
|
|
2013-09-07 03:10:21 +00:00
|
|
|
* Fri Sep 06 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-2
|
2013-09-07 03:18:02 +00:00
|
|
|
- BR: pkgconfig(libudev) pkgconfig(xkbcommon) pkgconfig(xcb-xkb)
|
2013-09-07 03:10:21 +00:00
|
|
|
|
2013-08-28 16:09:56 +00:00
|
|
|
* Tue Aug 27 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
|
2013-08-28 14:15:35 +00:00
|
|
|
- 5.1.1
|
|
|
|
|
2013-08-03 11:47:12 +00:00
|
|
|
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 5.0.2-8
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-07-30 16:08:46 +00:00
|
|
|
* Tue Jul 30 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-7
|
|
|
|
- enable qtchooser support
|
|
|
|
|
2013-07-17 08:09:43 +00:00
|
|
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 5.0.2-6
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-05-08 14:00:19 +00:00
|
|
|
* Wed May 08 2013 Than Ngo <than@redhat.com> - 5.0.2-5
|
2013-05-08 15:17:19 +00:00
|
|
|
- add poll support, thanks to fweimer@redhat.com (QTBUG-27195)
|
2013-05-08 14:00:19 +00:00
|
|
|
|
2013-04-19 00:36:31 +00:00
|
|
|
* Thu Apr 18 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-4
|
2013-04-19 00:50:09 +00:00
|
|
|
- respin lowmem patch to apply (unconditionally) to gcc-4.7.2 too
|
2013-04-19 00:36:31 +00:00
|
|
|
|
2013-04-12 08:11:40 +00:00
|
|
|
* Fri Apr 12 2013 Dan Horák <dan[at]danny.cz> - 5.0.2-3
|
|
|
|
- rebase the lowmem patch
|
|
|
|
|
2013-04-10 22:08:46 +00:00
|
|
|
* Wed Apr 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2
|
|
|
|
- more cmake_path love (#929227)
|
|
|
|
|
2013-04-10 12:53:23 +00:00
|
|
|
* Wed Apr 10 2013 Rex Dieter <rdieter@fedoraproject.org> - 5.0.2-1
|
|
|
|
- 5.0.2
|
|
|
|
- fix cmake config (#929227)
|
|
|
|
|
2013-04-02 16:53:29 +00:00
|
|
|
* Tue Apr 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-0.1.rc1
|
|
|
|
- 5.0.2-rc1
|
|
|
|
|
2013-03-19 18:42:45 +00:00
|
|
|
* Sat Mar 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-6
|
|
|
|
- pull in upstream gcc-4.8.0 buildfix
|
|
|
|
|
|
|
|
* Tue Feb 26 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-5
|
|
|
|
- -static subpkg, Requires: fontconfig-devel,glib2-devel,zlib-devel
|
|
|
|
- -devel: Requires: pkgconfig(gl)
|
|
|
|
|
|
|
|
* Mon Feb 25 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-4
|
|
|
|
- create/own %%{_qt5_plugindir}/iconengines
|
|
|
|
- -devel: create/own %%{_qt5_archdatadir}/mkspecs/modules
|
|
|
|
- cleanup .prl
|
|
|
|
|
|
|
|
* Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-3
|
|
|
|
- +%%_qt5_libexecdir
|
|
|
|
|
|
|
|
* Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-2
|
|
|
|
- macros.qt5: fix %%_qt5_headerdir, %%_qt5_datadir, %%_qt5_plugindir
|
|
|
|
|
|
|
|
* Thu Jan 31 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1
|
|
|
|
- 5.0.1
|
|
|
|
- lowmem patch for %%arm, s390
|
|
|
|
|
|
|
|
* Wed Jan 30 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-4
|
|
|
|
- %%build: -system-pcre, BR: pkgconfig(libpcre)
|
|
|
|
- use -O1 optimization on lowmem (s390) arch
|
|
|
|
|
|
|
|
* Thu Jan 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-3
|
|
|
|
- enable (non-conflicting) qtchooser support
|
|
|
|
|
|
|
|
* Wed Jan 09 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-2
|
|
|
|
- add qtchooser support (disabled by default)
|
|
|
|
|
|
|
|
* Wed Dec 19 2012 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-1
|
|
|
|
- 5.0 (final)
|
|
|
|
|
|
|
|
* Thu Dec 13 2012 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-0.4.rc2
|
|
|
|
- 5.0-rc2
|
|
|
|
- initial try at putting non-conflicting binaries in %%_bindir
|
|
|
|
|
|
|
|
* Thu Dec 06 2012 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-0.3.rc1
|
|
|
|
- 5.0-rc1
|
|
|
|
|
|
|
|
* Wed Nov 28 2012 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-0.2.beta2
|
|
|
|
- qtbase --> qt5-qtbase
|
|
|
|
|
|
|
|
* Mon Nov 19 2012 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-0.1.beta2
|
|
|
|
- %%build: -accessibility
|
|
|
|
- macros.qt5: +%%_qt5_archdatadir +%%_qt5_settingsdir
|
|
|
|
- pull in a couple more configure-related upstream patches
|
|
|
|
|
|
|
|
* Wed Nov 14 2012 Rex Dieter <rdieter@fedoraproject.org> 5.0.0-0.0.beta2
|
|
|
|
- first try
|
|
|
|
|