1464 lines
48 KiB
RPMSpec
1464 lines
48 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
%define _qt4_prefix %{_libdir}/qt4
|
|
%define _qt4_bindir %{_qt4_prefix}/bin
|
|
%define _qt4_datadir %{_datadir}/qt4
|
|
#define _qt4_demosdir %{_qt4_datadir}/demos
|
|
%define _qt4_demosdir %{_qt4_prefix}/demos
|
|
%define _qt4_docdir %{_qt4_datadir}/doc
|
|
#define _qt4_examplesdir %{_qt4_datadir}/examples
|
|
%define _qt4_examplesdir %{_qt4_prefix}/examples
|
|
%define _qt4_headerdir %{_includedir}/qt4
|
|
%define _qt4_libdir %{_libdir}
|
|
%define _qt4_plugindir %{_qt4_prefix}/plugins
|
|
%define _qt4_sysconfdir %{_sysconfdir}/xdg
|
|
%define _qt4_translationdir %{_qt4_datadir}/translations
|
|
|
|
%define USE_DISTCC 0
|
|
#% define build_phonon 1
|
|
#% define build_openvg 1
|
|
|
|
%if "%{USE_DISTCC}" == "1"
|
|
%define DISTCC CC="ccache distcc" CXX="ccache distcc" -j 12
|
|
%endif
|
|
|
|
Name: libqt4
|
|
Version: 4.8.7
|
|
Release: 3mamba
|
|
Summary: A multiplatform, C++ GUI application development framework
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://qt.nokia.com
|
|
Source0: http://download.qt-project.org/official_releases/qt/%{majver}/%{version}/qt-everywhere-opensource-src-%{version}.tar.gz
|
|
Source1: libqt4-profile.sh
|
|
Source2: libqt4-profile.csh
|
|
Source10: libqt4-qt4logo-icon64x64.png
|
|
Source11: libqt4-development-qt4.menu
|
|
Source12: libqt4-development-qt4.directory
|
|
Source13: libqt4-designer.desktop
|
|
Source14: libqt4-designer-icon128x128.png
|
|
Source15: libqt4-assistant.desktop
|
|
Source16: libqt4-assistant-icon32x32.png
|
|
Source17: libqt4-linguist.desktop
|
|
Source18: libqt4-linguist-icon32x32.png
|
|
Source19: libqt4-qvfb.desktop
|
|
Patch0: libqt4-4.5.1-rendering-regression.patch
|
|
Patch1: libqt4-4.8.1-webkit-glib-2.32.patch
|
|
Patch2: libqt4-4.8.1-fix_qvfb_link.patch
|
|
Patch3: libqt4-4.8.2-gcc-4.7-webkit-no_Werror.patch
|
|
Patch4: libqt4-4.8.2-ld-gold.patch
|
|
Patch5: libqt4-4.8.4-set-alpha-flags-after-converto32-in-eglcreatesurface.patch
|
|
Patch6: libqt4-4.8.6-glib-honor-ExcludeSocketNotifiers-flag.patch
|
|
Patch7: libqt4-4.8.6-qclipboard_fix_recursive.patch
|
|
Patch8: libqt4-4.8.6-qclipboard_delay.patch
|
|
Patch9: libqt4-4.8.7-gcc-6.1.0.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: ldconfig
|
|
BuildRequires: libdbus-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetds-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libGL-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libGLU-devel
|
|
BuildRequires: libICE-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libmng-devel
|
|
BuildRequires: libmysql5-devel
|
|
BuildRequires: libodbc-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libpostgresql-devel
|
|
BuildRequires: libSM-devel
|
|
%if "%{stage1}" != "1"
|
|
BuildRequires: libsqlite2-devel
|
|
%endif
|
|
BuildRequires: libsqlite-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXcursor-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXfixes-devel
|
|
BuildRequires: libXinerama-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libXrandr-devel
|
|
BuildRequires: libXrender-devel
|
|
BuildRequires: libXtst-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libicu-devel
|
|
BuildRequires: libXi-devel
|
|
BuildRequires: libcups-devel
|
|
BuildRequires: xorg-proto-devel
|
|
#BuildRequires: libOpenVG-devel
|
|
BuildRequires: libGL-devel >= 8.0.4-2mamba
|
|
%if "%{USE_DISTCC}" == "1"
|
|
BuildRequires: distcc
|
|
BuildRequires: ccache >= 2.3
|
|
%endif
|
|
BuildRequires: gcc >= 4.9.0-2mamba
|
|
%{?build_phonon:BuildRequires: libgstreamer-devel, libgst-plugins-base-devel}
|
|
%{?build_openvg:BuildRequires: libOpenVG-devel}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
# FIXME:
|
|
# NAS sound support ... no
|
|
|
|
%description
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
%package -n libQtCore
|
|
Group: System/Libraries
|
|
Summary: Qt4 core library
|
|
%if "%{_qt4_libdir}" != "%{_libdir}"
|
|
Prereq: /etc/ld.so.conf.d
|
|
%endif
|
|
Provides: libqt = %{version}
|
|
Provides: libqt4 = %{version}
|
|
Provides: qt = %{version}
|
|
Provides: qt4 = %{version}
|
|
Provides: qt4-x11 = %{version}
|
|
Provides: libqt4
|
|
Obsoletes: libqt4
|
|
Requires: libicu
|
|
|
|
%description -n libQtCore
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the core library.
|
|
|
|
%package -n libQtDBus
|
|
Group: System/Libraries
|
|
Summary: Qt4 DBus library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtDBus
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the DBus library.
|
|
|
|
%package -n libQtDeclarative
|
|
Group: System/Libraries
|
|
Summary: Qt4 declarative library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtDeclarative
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the declarative library.
|
|
|
|
%package -n libQt3Support
|
|
Group: System/Libraries
|
|
Summary: Qt4 Support library for Qt3
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQt3Support
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the Qt3Support library.
|
|
|
|
%package -n libQtCLucene
|
|
Group: System/Libraries
|
|
Summary: Qt4 C-Lucene library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtCLucene
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the C-Lucene library.
|
|
|
|
%package -n libQtDesigner
|
|
Group: System/Libraries
|
|
Summary: Qt4 designer library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtDesigner
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the designer library.
|
|
|
|
%package -n libQtDesignerComponents
|
|
Group: System/Libraries
|
|
Summary: Qt4 designer components library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtDesignerComponents
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the designer components library.
|
|
|
|
%package -n libQtGui
|
|
Group: System/Libraries
|
|
Summary: Qt4 GUI library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtGui
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the Gui library.
|
|
|
|
%package -n libQtHelp
|
|
Group: System/Libraries
|
|
Summary: Qt4 help library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtHelp
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the help library.
|
|
|
|
%package -n libQtMeeGoGraphicsSystemHelper
|
|
Group: System/Libraries
|
|
Summary: Qt4 MeeGo library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtMeeGoGraphicsSystemHelper
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the MeeGo library.
|
|
|
|
%package -n libQtMultimedia
|
|
Group: System/Libraries
|
|
Summary: Qt4 multimedia library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtMultimedia
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the multimedia library.
|
|
|
|
%package -n libQtNetwork
|
|
Group: System/Libraries
|
|
Summary: Qt4 network library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtNetwork
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the network library.
|
|
|
|
%package -n libQtOpenGL
|
|
Group: System/Libraries
|
|
Summary: Qt4 OpenGL library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtOpenGL
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the OpenGL library.
|
|
|
|
%package -n libQtOpenVG
|
|
Group: System/Libraries
|
|
Summary: Qt4 OpenVG library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtOpenVG
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the OpenVG library.
|
|
|
|
%package -n libQtScript
|
|
Group: System/Libraries
|
|
Summary: Qt4 scripting library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtScript
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the scripting library.
|
|
|
|
%package -n libQtScriptTools
|
|
Group: System/Libraries
|
|
Summary: Qt4 scripting tools library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtScriptTools
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the scripting tools library.
|
|
|
|
%package -n libQtSql
|
|
Group: System/Libraries
|
|
Summary: Qt4 SQL library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtSql
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the SQL library.
|
|
|
|
%package -n libQtSvg
|
|
Group: System/Libraries
|
|
Summary: Qt4 SVG library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtSvg
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the Svg library.
|
|
|
|
%package -n libQtTest
|
|
Group: System/Libraries
|
|
Summary: Qt4 test library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtTest
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the test library.
|
|
|
|
%package -n libQtWebKit
|
|
Group: System/Libraries
|
|
Summary: Qt4 WebKit library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtWebKit
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the WebKit library.
|
|
|
|
%package -n libQtXml
|
|
Group: System/Libraries
|
|
Summary: Qt4 Xml library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtXml
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the Xml library.
|
|
|
|
%package -n libQtXmlPatterns
|
|
Group: System/Libraries
|
|
Summary: Qt4 Xml patterns library
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtXmlPatterns
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the Xml patterns library.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Devel files for QT libraries
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtDBus = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtDeclarative = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQt3Support = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtCLucene = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtDesigner = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtDesignerComponents = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtGui = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtHelp = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtMultimedia = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtNetwork = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtOpenGL = %{?epoch:%epoch:}%{version}-%{release}
|
|
%if "%{?build_openvg}"
|
|
Requires: libQtOpenVG = %{?epoch:%epoch:}%{version}-%{release}
|
|
%endif
|
|
Requires: libQtScript = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtScriptTools = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtSql = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtSvg = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtTest = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtWebKit = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtXml = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: libQtXmlPatterns = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the development files.
|
|
|
|
%package apidocs
|
|
Group: Documentation
|
|
Summary: API documentation for the QT libraries
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description apidocs
|
|
API documentation for the QT libraries.
|
|
|
|
%package accessible
|
|
Group: System/Libraries
|
|
Summary: Accessibility plugin for QT
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description accessible
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the Accessibility plugin.
|
|
|
|
%package demos
|
|
Group: Documentation
|
|
Summary: Qt4 demos
|
|
Requires: libQtCore = %{?epoch:%epoch:}%{version}-%{release}
|
|
#Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description demos
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains demonstrative code for Qt.
|
|
|
|
%package designer
|
|
Group: Development/Libraries
|
|
Summary: Development tool for QT
|
|
Requires: libQtDesigner = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description designer
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
This package contains a GUI development tool.
|
|
|
|
%package postgresql
|
|
Group: System/Libraries
|
|
Summary: PostgreSQL plugin for QT libraries
|
|
Requires: libQtSql = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description postgresql
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the PostgreSQL plugin.
|
|
|
|
%package mysql
|
|
Group: System/Libraries
|
|
Summary: MySQL plugin for QT libraries
|
|
Requires: libQtSql = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description mysql
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the MySQL plugin.
|
|
|
|
%package odbc
|
|
Group: System/Libraries
|
|
Summary: ODBC plugin for QT libraries
|
|
Requires: libQtSql = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description odbc
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the ODBC plugin.
|
|
|
|
%package sqlite
|
|
Group: System/Libraries
|
|
Summary: SQLite plugin for QT libraries
|
|
Requires: libQtSql = %{?epoch:%epoch:}%{version}-%{release}
|
|
Provides: %{name}-sqlite3
|
|
|
|
%description sqlite
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the SQLite plugin.
|
|
|
|
%package sqlite2
|
|
Group: System/Libraries
|
|
Summary: SQLite version 2 plugin for QT libraries
|
|
Requires: libQtSql = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description sqlite2
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the SQLite version 2 plugin.
|
|
|
|
%package tds
|
|
Group: System/Libraries
|
|
Summary: Sybase and Microsoft SQL plugin for QT libraries
|
|
Requires: libQtSql = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description tds
|
|
Qt sets the standard for high-performance, cross-platform application development.
|
|
It includes a C++ class library and tools for cross-platform development and internationalization.
|
|
|
|
This package contains the Sybase and Microsoft SQL plugin.
|
|
|
|
%package phonon
|
|
Group: System/Libraries
|
|
Summary: Multimedia API for %{name} and KDE4
|
|
Provides: phonon_backend
|
|
|
|
%description phonon
|
|
Multimedia API for %{name} and KDE4.
|
|
|
|
%package phonon-devel
|
|
Group: Development/Libraries
|
|
Summary: Phonon development files for %{name}
|
|
Requires: %{name}-phonon = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description phonon-devel
|
|
Phonon development files for %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n qt-everywhere-opensource-src-%{version}
|
|
#-D -T
|
|
#:<< _EOF
|
|
#cd src/3rdparty/webkit
|
|
#%patch1 -p1
|
|
#cd ../../..
|
|
#%patch2 -p1
|
|
#%patch3 -p1
|
|
#%patch4 -p1
|
|
%patch5 -p1
|
|
%if "%{_lib}" == "lib64"
|
|
%define platform linux-g++-64
|
|
%else
|
|
%define platform linux-g++
|
|
%endif
|
|
%patch6 -p1
|
|
%patch7 -p0
|
|
%patch8 -p0
|
|
%patch9 -p1
|
|
|
|
sed -i -e "s|-O2|%{optflags}|g" mkspecs/%{platform}/qmake.conf
|
|
|
|
%build
|
|
#:<< _EOF
|
|
export qtbuilddir=`pwd`
|
|
export PATH=$qtbuilddir/bin:$PATH
|
|
export MANPATH=$qtbuilddir/doc/man:$MANPATH
|
|
export LD_LIBRARY_PATH=$qtbuilddir/lib:$LD_LIBRARY_PATH
|
|
# workaround for class std::auto_ptr' is deprecated with gcc-6
|
|
export CXXFLAGS="%{optflags} -std=gnu++98 -Wno-deprecated"
|
|
|
|
./configure \
|
|
-prefix %{_qt4_prefix} \
|
|
-bindir %{_qt4_bindir} \
|
|
-datadir %{_qt4_datadir} \
|
|
-demosdir %{_qt4_demosdir} \
|
|
-examplesdir %{_qt4_examplesdir} \
|
|
-headerdir %{_qt4_headerdir} \
|
|
-libdir %{_qt4_libdir} \
|
|
-docdir %{_qt4_docdir} \
|
|
-plugindir %{_qt4_plugindir} \
|
|
-sysconfdir %{_qt4_sysconfdir} \
|
|
-translationdir %{_qt4_translationdir} \
|
|
-platform %{platform} \
|
|
-system-libjpeg \
|
|
-system-libmng \
|
|
-system-libpng \
|
|
-system-sqlite \
|
|
-system-zlib \
|
|
%ifarch arm
|
|
-egl \
|
|
%endif
|
|
-shared \
|
|
-cups \
|
|
-fontconfig \
|
|
-largefile \
|
|
-optimized-qmake \
|
|
-xinerama \
|
|
-xkb \
|
|
-xfixes \
|
|
-xrender \
|
|
-xshape \
|
|
-xmlpatterns \
|
|
-opengl \
|
|
-openssl \
|
|
%{?build_phonon:-phonon -gstreamer} \
|
|
%{!?build_phonon:-no-phonon -no-gstreamer} \
|
|
%{!?build_openvg:-no-openvg} \
|
|
-qdbus \
|
|
-qvfb \
|
|
-sm \
|
|
-webkit \
|
|
-no-nas-sound \
|
|
-no-rpath \
|
|
-no-separate-debug-info \
|
|
-plugin-sql-mysql \
|
|
-plugin-sql-psql \
|
|
-plugin-sql-sqlite << EOF
|
|
o
|
|
yes
|
|
EOF
|
|
# -reduce-relocations
|
|
# -stl
|
|
# -tablet
|
|
# -plugin-sql-odbc
|
|
# fix xml libraries requirement
|
|
|
|
%make SUBLIBS=-lexpat %{?DISTCC}
|
|
%make -C tools/qvfb
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
make install INSTALL_ROOT=%{buildroot}
|
|
|
|
# install private headers needed by qt-creator for QmlDesigner component
|
|
for d in QtDeclarative QtCore QtScript QtGui; do
|
|
install -d -m0755 %{buildroot}%{_includedir}/qt4/$d/private
|
|
for f in include/$d/private/*; do
|
|
h=`cat $f | sed "s|#include \"../../../\(src.*\)\"|\1|"`
|
|
cp $h %{buildroot}%{_includedir}/qt4/$d/private/
|
|
done
|
|
done
|
|
|
|
# install libwebcore.a and libjscore.a
|
|
#install -m755 src/3rdparty/webkit/Source/WebCore/release/libwebcore.a %{buildroot}%{_libdir}/libwebcore.a
|
|
#install -m644 src/3rdparty/webkit/Source/WebCore/release/libwebcore.prl %{buildroot}%{_libdir}/libwebcore.prl
|
|
#install -m755 src/3rdparty/webkit/Source/JavaScriptCore/release/libjscore.a %{buildroot}%{_libdir}/libjscore.a
|
|
#install -m644 src/3rdparty/webkit/Source/JavaScriptCore/release/libjscore.prl %{buildroot}%{_libdir}/libjscore.prl
|
|
|
|
install -p -m644 LICENSE.GPL3 %{buildroot}%{_qt4_prefix}/
|
|
|
|
install -D -m755 %{S:1} \
|
|
%{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
|
|
install -D -m755 %{S:2} \
|
|
%{buildroot}%{_sysconfdir}/profile.d/%{name}.csh
|
|
|
|
install -D -m644 %{S:10} \
|
|
%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/qt4-logo.png
|
|
install -D -m644 %{S:11} \
|
|
%{buildroot}%{_sysconfdir}/xdg/menus/applications-merged/development-qt4.menu
|
|
install -D -m644 %{S:12} \
|
|
%{buildroot}%{_datadir}/desktop-directories/development-qt4.directory
|
|
|
|
install -D -m644 %{S:13} \
|
|
%{buildroot}%{_datadir}/applications/designer-qt4.desktop
|
|
install -D -m644 %{S:14} \
|
|
%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/designer-qt4.png
|
|
|
|
install -D -m644 %{S:15} \
|
|
%{buildroot}%{_datadir}/applications/assistant-qt4.desktop
|
|
install -D -m644 %{S:16} \
|
|
%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/assistant-qt4.png
|
|
|
|
install -D -m644 %{S:17} \
|
|
%{buildroot}%{_datadir}/applications/linguist-qt4.desktop
|
|
install -D -m644 %{S:18} \
|
|
%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/linguist-qt4.png
|
|
|
|
install -D -m644 %{S:19} \
|
|
%{buildroot}%{_datadir}/applications/qvfb-qt4.desktop
|
|
install -D -m644 %{S:14} \
|
|
%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/qvfb-qt4.png
|
|
|
|
install -D -m755 bin/qvfb %{buildroot}%{_qt4_bindir}/qvfb
|
|
|
|
# link binaries to bindir
|
|
%if "%{_qt4_bindir}" != "%{_bindir}"
|
|
install -d %{buildroot}%{_bindir}
|
|
pushd %{buildroot}%{_qt4_bindir}
|
|
for f in *; do
|
|
case "$f" in
|
|
assistant|designer|linguist|lrelease|lupdate|moc|\
|
|
qmake|qtconfig|qtdemo|qvfb|uic)
|
|
ln -sf %{_qt4_bindir}/$f %{buildroot}%{_bindir}/${f}-qt4
|
|
;;
|
|
*) ;;
|
|
esac
|
|
ln -sf %{_qt4_bindir}/$f %{buildroot}%{_bindir}/${f}
|
|
done
|
|
%endif
|
|
|
|
%if "%{_qt4_libdir}" != "%{_libdir}"
|
|
install -d %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
|
echo "%{_qt4_libdir}" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}.conf
|
|
%endif
|
|
|
|
# install file with rpm macros
|
|
install -d %{buildroot}%{_sysconfdir}/rpm
|
|
echo "\
|
|
%%_qt4_version %{version}
|
|
%%_qt4_prefix %%{_libdir}/qt4
|
|
%%_qt4_bindir %%{_qt4_prefix}/bin
|
|
%%_qt4_datadir %%{_datadir}/qt4
|
|
%%_qt4_demosdir %%{_qt4_prefix}/demos
|
|
%%_qt4_docdir %%{_qt4_datadir}/doc
|
|
%%_qt4_examplesdir %%{_qt4_prefix}/examples
|
|
%%_qt4_headerdir %%{_includedir}/qt4
|
|
%%_qt4_libdir %%{_libdir}
|
|
%%_qt4_plugindir %%{_qt4_prefix}/plugins
|
|
%%_qt4_sysconfdir %%{_sysconfdir}/xdg
|
|
%%_qt4_translationdir %%{_qt4_datadir}/translations
|
|
%%_qt4_qmake %%{_qt4_bindir}/qmake" \
|
|
> %{buildroot}%{_sysconfdir}/rpm/macros.qt4
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%post -n libQtCore -p /sbin/ldconfig
|
|
%postun -n libQtCore -p /sbin/ldconfig
|
|
|
|
%post -n libQtDBus -p /sbin/ldconfig
|
|
%postun -n libQtDBus -p /sbin/ldconfig
|
|
|
|
%post -n libQtDeclarative -p /sbin/ldconfig
|
|
%postun -n libQtDeclarative -p /sbin/ldconfig
|
|
|
|
%post -n libQt3Support -p /sbin/ldconfig
|
|
%postun -n libQt3Support -p /sbin/ldconfig
|
|
|
|
%post -n libQtCLucene -p /sbin/ldconfig
|
|
%postun -n libQtCLucene -p /sbin/ldconfig
|
|
|
|
%post -n libQtDesigner -p /sbin/ldconfig
|
|
%postun -n libQtDesigner -p /sbin/ldconfig
|
|
|
|
%post -n libQtDesignerComponents -p /sbin/ldconfig
|
|
%postun -n libQtDesignerComponents -p /sbin/ldconfig
|
|
|
|
%post -n libQtGui -p /sbin/ldconfig
|
|
%postun -n libQtGui -p /sbin/ldconfig
|
|
|
|
%post -n libQtHelp -p /sbin/ldconfig
|
|
%postun -n libQtHelp -p /sbin/ldconfig
|
|
|
|
%post -n libQtMeeGoGraphicsSystemHelper -p /sbin/ldconfig
|
|
%postun -n libQtMeeGoGraphicsSystemHelper -p /sbin/ldconfig
|
|
|
|
%post -n libQtMultimedia -p /sbin/ldconfig
|
|
%postun -n libQtMultimedia -p /sbin/ldconfig
|
|
|
|
%post -n libQtNetwork -p /sbin/ldconfig
|
|
%postun -n libQtNetwork -p /sbin/ldconfig
|
|
|
|
%post -n libQtOpenGL -p /sbin/ldconfig
|
|
%postun -n libQtOpenGL -p /sbin/ldconfig
|
|
|
|
%post -n libQtOpenVG -p /sbin/ldconfig
|
|
%postun -n libQtOpenVG -p /sbin/ldconfig
|
|
|
|
%post -n libQtScript -p /sbin/ldconfig
|
|
%postun -n libQtScript -p /sbin/ldconfig
|
|
|
|
%post -n libQtScriptTools -p /sbin/ldconfig
|
|
%postun -n libQtScriptTools -p /sbin/ldconfig
|
|
|
|
%post -n libQtSql -p /sbin/ldconfig
|
|
%postun -n libQtSql -p /sbin/ldconfig
|
|
|
|
%post -n libQtSvg -p /sbin/ldconfig
|
|
%postun -n libQtSvg -p /sbin/ldconfig
|
|
|
|
%post -n libQtTest -p /sbin/ldconfig
|
|
%postun -n libQtTest -p /sbin/ldconfig
|
|
|
|
%post -n libQtWebKit -p /sbin/ldconfig
|
|
%postun -n libQtWebKit -p /sbin/ldconfig
|
|
|
|
%post -n libQtXml -p /sbin/ldconfig
|
|
%postun -n libQtXml -p /sbin/ldconfig
|
|
|
|
%post -n libQtXmlPatterns -p /sbin/ldconfig
|
|
%postun -n libQtXmlPatterns -p /sbin/ldconfig
|
|
|
|
%if "%{?build_phonon}"
|
|
%post phonon -p /sbin/ldconfig
|
|
%postun phonon -p /sbin/ldconfig
|
|
%endif
|
|
|
|
%files -n libQtCore
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQtCore.so.*
|
|
%{_sysconfdir}/xdg/menus/applications-merged/development-qt4.menu
|
|
%if "%{_qt4_libdir}" != "%{_libdir}"
|
|
%dir %{_qt4_libdir}
|
|
%{_sysconfdir}/ld.so.conf.d/%{name}.conf
|
|
%endif
|
|
%{_qt4_prefix}/imports/Qt/labs
|
|
%dir %{_qt4_plugindir}
|
|
# TODO: move plugins to more appropriate library packages
|
|
%{_qt4_plugindir}/bearer/*
|
|
%{_qt4_plugindir}/codecs/
|
|
%{_qt4_plugindir}/graphicssystems/
|
|
%{_qt4_plugindir}/iconengines/
|
|
%{_qt4_plugindir}/imageformats/
|
|
%{_qt4_plugindir}/inputmethods/
|
|
%{_qt4_plugindir}/qmltooling/
|
|
%{_qt4_datadir}/phrasebooks/
|
|
%dir %{_qt4_translationdir}
|
|
%{_qt4_translationdir}/qt_*.qm
|
|
%{_qt4_translationdir}/qtconfig_*.qm
|
|
#
|
|
%{_datadir}/icons/hicolor/*/apps/qt4-logo.png
|
|
%{_datadir}/desktop-directories/development-qt4.directory
|
|
%{_qt4_prefix}/LICENSE.GPL3
|
|
%doc LGPL_*.txt LICENSE.* README
|
|
|
|
%files -n libQtDBus
|
|
%defattr(-,root,root)
|
|
%{_qt4_bindir}/qdbus
|
|
%{_qt4_bindir}/qdbuscpp2xml
|
|
%{_qt4_bindir}/qdbusxml2cpp
|
|
%{_qt4_bindir}/qdbusviewer
|
|
%{_qt4_libdir}/libQtDBus.so.*
|
|
|
|
%files -n libQt3Support
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQt3Support.so.*
|
|
|
|
%files -n libQtCLucene
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQtCLucene.so.*
|
|
|
|
%files -n libQtDeclarative
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQtDeclarative.*
|
|
|
|
%files -n libQtDesigner
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQtDesigner.so.*
|
|
|
|
%files -n libQtDesignerComponents
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQtDesignerComponents.so.*
|
|
|
|
%files -n libQtGui
|
|
%defattr(-,root,root)
|
|
%{_qt4_bindir}/qtconfig
|
|
%{_qt4_libdir}/libQtGui.so.*
|
|
|
|
%files -n libQtHelp
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQtHelp.so.*
|
|
|
|
#%ifarch arm
|
|
#%files -n libQtMeeGoGraphicsSystemHelper
|
|
#%defattr(-,root,root)
|
|
#%{_qt4_libdir}/libQtMeeGoGraphicsSystemHelper.so.*
|
|
#%endif
|
|
|
|
%files -n libQtMultimedia
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQtMultimedia.so.*
|
|
|
|
%files -n libQtNetwork
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQtNetwork.so.*
|
|
|
|
%files -n libQtOpenGL
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQtOpenGL.so.*
|
|
|
|
%if "%{?build_openvg}"
|
|
%files -n libQtOpenVG
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQtOpenVG.so.*
|
|
%endif
|
|
|
|
%files -n libQtScript
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQtScript.so.*
|
|
%{_qt4_translationdir}/qtscript_*.qm
|
|
|
|
%files -n libQtScriptTools
|
|
%defattr(-,root,root)
|
|
%dir %{_qt4_plugindir}/script
|
|
%{_qt4_plugindir}/script/*
|
|
%{_qt4_libdir}/libQtScriptTools.so.*
|
|
|
|
%files -n libQtSql
|
|
%defattr(-,root,root)
|
|
%dir %{_qt4_plugindir}/sqldrivers
|
|
%{_qt4_libdir}/libQtSql.so.*
|
|
|
|
%files -n libQtSvg
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQtSvg.so.*
|
|
|
|
%files -n libQtTest
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQtTest.so.*
|
|
|
|
%files -n libQtXml
|
|
%defattr(-,root,root)
|
|
%{_qt4_bindir}/qdoc3
|
|
%{_qt4_libdir}/libQtXml.so.*
|
|
|
|
%files -n libQtXmlPatterns
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libQtXmlPatterns.so.*
|
|
|
|
%files -n libQtWebKit
|
|
%defattr(-,root,root)
|
|
%{_qt4_bindir}/qmlviewer
|
|
%{_qt4_prefix}/imports/QtWebKit/libqmlwebkitplugin.so
|
|
%{_qt4_prefix}/imports/QtWebKit/qmldir
|
|
%{_qt4_libdir}/libQtWebKit.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_sysconfdir}/rpm/macros.qt4
|
|
%{_sysconfdir}/profile.d/%{name}.csh
|
|
%{_sysconfdir}/profile.d/%{name}.sh
|
|
%{_bindir}/lrelease*
|
|
%{_bindir}/lconvert
|
|
%{_bindir}/lupdate*
|
|
%{_bindir}/moc*
|
|
%{_bindir}/qdbus
|
|
%{_bindir}/qdbuscpp2xml
|
|
%{_bindir}/qdbusxml2cpp
|
|
%{_bindir}/qdbusviewer
|
|
%{_bindir}/qmake*
|
|
%{_bindir}/qtconfig*
|
|
%{_bindir}/qt3to4
|
|
%{_bindir}/qcollectiongenerator
|
|
%{_bindir}/qhelpconverter
|
|
%{_bindir}/qhelpgenerator
|
|
%{_bindir}/qmlplugindump
|
|
%{_bindir}/qttracereplay
|
|
%{_bindir}/rcc
|
|
%{_bindir}/uic*
|
|
%{_bindir}/xmlpatterns
|
|
%{_bindir}/xmlpatternsvalidator
|
|
%{_qt4_bindir}/lconvert
|
|
%{_qt4_bindir}/lrelease
|
|
%{_qt4_bindir}/lupdate
|
|
%{_qt4_bindir}/moc
|
|
%{_qt4_bindir}/qcollectiongenerator
|
|
%{_qt4_bindir}/qhelpconverter
|
|
%{_qt4_bindir}/qhelpgenerator
|
|
%{_qt4_bindir}/qmake
|
|
%{_qt4_bindir}/qmlplugindump
|
|
%{_qt4_bindir}/qt3to4
|
|
%{_qt4_bindir}/qttracereplay
|
|
%{_qt4_bindir}/rcc
|
|
%{_qt4_bindir}/uic
|
|
%{_qt4_bindir}/uic3
|
|
%{_qt4_bindir}/xmlpatterns
|
|
%{_qt4_bindir}/xmlpatternsvalidator
|
|
%if "%{_qt4_headerdir}" != "%{_includedir}"
|
|
%dir %{_qt4_headerdir}
|
|
%endif
|
|
%{_qt4_headerdir}/Qt/
|
|
%{_qt4_headerdir}/Qt3Support/
|
|
#%{_qt4_headerdir}/QtAssistant/
|
|
%{_qt4_headerdir}/QtCore/
|
|
%{_qt4_headerdir}/QtDBus/
|
|
%{_qt4_headerdir}/QtDesigner/
|
|
%{_qt4_headerdir}/QtGui/
|
|
%{_qt4_headerdir}/QtHelp/
|
|
#%ifarch arm
|
|
#%{_qt4_headerdir}/QtMeeGoGraphicsSystemHelper/
|
|
#%endif
|
|
%{_qt4_headerdir}/QtMultimedia/
|
|
%{_qt4_headerdir}/QtNetwork/
|
|
%{_qt4_headerdir}/QtOpenGL/
|
|
%if "%{?build_openvg}"
|
|
%{_qt4_headerdir}/QtOpenVG/
|
|
%endif
|
|
%{_qt4_headerdir}/QtScriptTools/
|
|
%{_qt4_headerdir}/QtScript/
|
|
%{_qt4_headerdir}/QtSql/
|
|
%{_qt4_headerdir}/QtSvg/
|
|
%{_qt4_headerdir}/QtTest/
|
|
%{_qt4_headerdir}/QtUiTools/
|
|
%{_qt4_headerdir}/QtWebKit/
|
|
%{_qt4_headerdir}/QtXml/
|
|
%{_qt4_headerdir}/QtXmlPatterns/
|
|
%{_qt4_headerdir}/QtDeclarative/
|
|
%{?build_phonon:%exclude %{_qt4_headerdir}/phonon/}
|
|
#%{?build_phonon:%exclude %{_qt4_headerdir}/Qt/phonon*}
|
|
#%{_qt4_libdir}/libwebcore.a
|
|
#%{_qt4_libdir}/libwebcore.prl
|
|
#%{_qt4_libdir}/libjscore.a
|
|
#%{_qt4_libdir}/libjscore.prl
|
|
%{_qt4_libdir}/libQtUiTools.a
|
|
%{_qt4_libdir}/libQt3Support.la
|
|
%{_qt4_libdir}/libQt3Support.prl
|
|
%{_qt4_libdir}/libQt3Support.so
|
|
%{_qt4_libdir}/libQtCLucene.la
|
|
%{_qt4_libdir}/libQtCLucene.prl
|
|
%{_qt4_libdir}/libQtCLucene.so
|
|
%{_qt4_libdir}/libQtCore.la
|
|
%{_qt4_libdir}/libQtCore.prl
|
|
%{_qt4_libdir}/libQtCore.so
|
|
%{_qt4_libdir}/libQtDBus.la
|
|
%{_qt4_libdir}/libQtDBus.prl
|
|
%{_qt4_libdir}/libQtDBus.so
|
|
%{_qt4_libdir}/libQtDesigner.prl
|
|
%{_qt4_libdir}/libQtDesigner.so
|
|
%{_qt4_libdir}/libQtDesignerComponents.prl
|
|
%{_qt4_libdir}/libQtDesignerComponents.so
|
|
%{_qt4_libdir}/libQtGui.la
|
|
%{_qt4_libdir}/libQtGui.prl
|
|
%{_qt4_libdir}/libQtGui.so
|
|
%{_qt4_libdir}/libQtHelp.la
|
|
%{_qt4_libdir}/libQtHelp.prl
|
|
%{_qt4_libdir}/libQtHelp.so
|
|
#%ifarch arm
|
|
#%{_qt4_libdir}/libQtMeeGoGraphicsSystemHelper.la
|
|
#%{_qt4_libdir}/libQtMeeGoGraphicsSystemHelper.prl
|
|
#%{_qt4_libdir}/libQtMeeGoGraphicsSystemHelper.so
|
|
#%endif
|
|
%{_qt4_libdir}/libQtMultimedia.la
|
|
%{_qt4_libdir}/libQtMultimedia.prl
|
|
%{_qt4_libdir}/libQtMultimedia.so
|
|
%{_qt4_libdir}/libQtNetwork.la
|
|
%{_qt4_libdir}/libQtNetwork.prl
|
|
%{_qt4_libdir}/libQtNetwork.so
|
|
%{_qt4_libdir}/libQtOpenGL.la
|
|
%{_qt4_libdir}/libQtOpenGL.prl
|
|
%{_qt4_libdir}/libQtOpenGL.so
|
|
%if "%{?build_openvg}"
|
|
%{_qt4_libdir}/libQtOpenVG.la
|
|
%{_qt4_libdir}/libQtOpenVG.prl
|
|
%{_qt4_libdir}/libQtOpenVG.so
|
|
%endif
|
|
%{_qt4_libdir}/libQtScript.la
|
|
%{_qt4_libdir}/libQtScript.prl
|
|
%{_qt4_libdir}/libQtScript.so
|
|
%{_qt4_libdir}/libQtScriptTools.la
|
|
%{_qt4_libdir}/libQtScriptTools.prl
|
|
%{_qt4_libdir}/libQtScriptTools.so
|
|
%{_qt4_libdir}/libQtSql.la
|
|
%{_qt4_libdir}/libQtSql.prl
|
|
%{_qt4_libdir}/libQtSql.so
|
|
%{_qt4_libdir}/libQtSvg.la
|
|
%{_qt4_libdir}/libQtSvg.prl
|
|
%{_qt4_libdir}/libQtSvg.so
|
|
%{_qt4_libdir}/libQtTest.la
|
|
%{_qt4_libdir}/libQtTest.prl
|
|
%{_qt4_libdir}/libQtTest.so
|
|
%{_qt4_libdir}/libQtUiTools.prl
|
|
%{_qt4_libdir}/libQtWebKit.la
|
|
%{_qt4_libdir}/libQtWebKit.prl
|
|
%{_qt4_libdir}/libQtWebKit.so
|
|
%{_qt4_libdir}/libQtXml.la
|
|
%{_qt4_libdir}/libQtXml.prl
|
|
%{_qt4_libdir}/libQtXml.so
|
|
%{_qt4_libdir}/libQtXmlPatterns.la
|
|
%{_qt4_libdir}/libQtXmlPatterns.prl
|
|
%{_qt4_libdir}/libQtXmlPatterns.so
|
|
|
|
%{_qt4_prefix}/tests/qt4/tst_*
|
|
|
|
%{?build_phonon:%exclude %{_qt4_libdir}/libphonon.la}
|
|
%{?build_phonon:%exclude %{_qt4_libdir}/libphonon.prl}
|
|
%{?build_phonon:%exclude %{_qt4_libdir}/libphonon.so}
|
|
#
|
|
%{_qt4_libdir}/pkgconfig/*.pc
|
|
%{?build_phonon:%exclude %{_libdir}/pkgconfig/phonon.pc}
|
|
#
|
|
%{_qt4_datadir}/mkspecs/
|
|
%{_qt4_datadir}/q3porting.xml
|
|
#
|
|
|
|
%files apidocs
|
|
%defattr(-,root,root)
|
|
%{_qt4_docdir}/
|
|
|
|
%files demos
|
|
%defattr(-,root,root)
|
|
%{_bindir}/qtdemo*
|
|
%{_qt4_bindir}/qtdemo
|
|
%{_qt4_demosdir}/
|
|
%{_qt4_examplesdir}/
|
|
|
|
%files designer
|
|
%defattr(-,root,root)
|
|
%{_bindir}/assistant*
|
|
%{_bindir}/designer*
|
|
%{_bindir}/linguist*
|
|
%{_bindir}/pixeltool
|
|
%{_bindir}/qdoc3
|
|
%{_bindir}/qmlviewer
|
|
%{_bindir}/qvfb*
|
|
%{_qt4_bindir}/assistant*
|
|
%{_qt4_bindir}/designer
|
|
%{_qt4_bindir}/linguist
|
|
%{_qt4_bindir}/qvfb
|
|
%{_qt4_bindir}/pixeltool
|
|
%{_qt4_plugindir}/designer/
|
|
%{_qt4_translationdir}/assistant_*.qm
|
|
%{_qt4_translationdir}/designer_*.qm
|
|
%{_qt4_translationdir}/linguist_*.qm
|
|
%{_qt4_translationdir}/qvfb_*.qm
|
|
#
|
|
%{_datadir}/applications/assistant-qt4.desktop
|
|
%{_datadir}/applications/designer-qt4.desktop
|
|
%{_datadir}/applications/linguist-qt4.desktop
|
|
%{_datadir}/applications/qvfb-qt4.desktop
|
|
%{_datadir}/icons/hicolor/*/apps/assistant-qt4.png
|
|
%{_datadir}/icons/hicolor/*/apps/designer-qt4.png
|
|
%{_datadir}/icons/hicolor/*/apps/linguist-qt4.png
|
|
%{_datadir}/icons/hicolor/*/apps/qvfb-qt4.png
|
|
|
|
%files accessible
|
|
%defattr(-,root,root)
|
|
%dir %{_qt4_plugindir}/accessible
|
|
%{_qt4_plugindir}/accessible/libqtaccessiblecompatwidgets.so
|
|
%{_qt4_plugindir}/accessible/libqtaccessiblewidgets.so
|
|
|
|
%files postgresql
|
|
%defattr(-,root,root)
|
|
%{_qt4_plugindir}/sqldrivers/libqsqlpsql.so
|
|
|
|
%files mysql
|
|
%defattr(-,root,root)
|
|
%{_qt4_plugindir}/sqldrivers/libqsqlmysql.so
|
|
|
|
%files odbc
|
|
%defattr(-,root,root)
|
|
%{_qt4_plugindir}/sqldrivers/libqsqlodbc.so
|
|
|
|
%files sqlite
|
|
%defattr(-,root,root)
|
|
%{_qt4_plugindir}/sqldrivers/libqsqlite.so
|
|
|
|
%if "%{stage1}" != "1"
|
|
%files sqlite2
|
|
%defattr(-,root,root)
|
|
%{_qt4_plugindir}/sqldrivers/libqsqlite2.so
|
|
%endif
|
|
|
|
%files tds
|
|
%defattr(-,root,root)
|
|
%{_qt4_plugindir}/sqldrivers/libqsqltds.so
|
|
|
|
%if "%{?build_phonon}"
|
|
%files phonon
|
|
%defattr(-,root,root)
|
|
%{_qt4_libdir}/libphonon.so.*
|
|
%{_qt4_plugindir}/phonon_backend/
|
|
|
|
%files phonon-devel
|
|
%defattr(-,root,root)
|
|
#%{_qt4_headerdir}/Qt/phonon*
|
|
%{_qt4_headerdir}/phonon/
|
|
%{_qt4_libdir}/libphonon.la
|
|
%{_qt4_libdir}/libphonon.so
|
|
%{_qt4_libdir}/libphonon.prl
|
|
%{_qt4_libdir}/pkgconfig/phonon.pc
|
|
%endif
|
|
|
|
%changelog
|
|
* Fri Jul 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.7-3mamba
|
|
- rollback enabling debug because if breaks e.g. VirtualBox
|
|
|
|
* Mon Jul 04 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.7-2mamba
|
|
- rebuilt with debug enabled
|
|
|
|
* Sun Jun 07 2015 Automatic Build System <autodist@mambasoft.it> 4.8.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Sep 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.6-3mamba
|
|
- apply patches needed by libreoffice
|
|
|
|
* Mon Jun 16 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.6-2mamba
|
|
- rebuilt after fixing bug in gcc (see https://bugzilla.redhat.com/show_bug.cgi?id=1091482)
|
|
|
|
* Mon Apr 28 2014 Automatic Build System <autodist@mambasoft.it> 4.8.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.5-2mamba
|
|
- move %{_bindir} binaries symlink to devel packages to allow i586 installation on x86_64
|
|
|
|
* Tue Jul 09 2013 Automatic Build System <autodist@mambasoft.it> 4.8.5-1mamba
|
|
- update to 4.8.5
|
|
|
|
* Tue Feb 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.4-2mamba
|
|
- install private headers needed by qt-creator for QmlDesigner component
|
|
|
|
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 4.8.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 11 2012 Automatic Build System <autodist@mambasoft.it> 4.8.3-1mamba
|
|
- automatic version update by autodist
|
|
- libQtCore: provide libqt = %{version} and libqt4 = %{version} (source edit)
|
|
|
|
* Fri Jul 20 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.2-3mamba
|
|
- keep -egl switch only on arm. keep on well tested glx on x86 desktops
|
|
- enable OpenVG support (with Mesa >= 8.0.4-2mamba)
|
|
|
|
* Mon Jul 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.2-2mamba
|
|
- install libwebcore.a and libjscore.arequired by libQtWebKit
|
|
|
|
* Wed Jun 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.2-1mamba
|
|
- update to 4.8.2
|
|
|
|
* Fri Apr 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.1-2mamba
|
|
- add explicit requirement for dynamically requested libicu library
|
|
- split libraries into their own subpackage; libQtCore obsoletes libqt4
|
|
|
|
* Wed Apr 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.1-1mamba
|
|
- update to 4.8.1
|
|
|
|
* Sun Dec 18 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.4-5mamba
|
|
- move libQtDesigner* to libQt4 and libQt4-devel packages to avoid installing libqt4-designer for non-devel environments
|
|
|
|
* Tue Dec 13 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.4-4mamba
|
|
- rebuilt using EGL
|
|
|
|
* Tue Sep 20 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.4-3mamba
|
|
- explicitly disable OpenVG until build system is fixed in Mesa (it requires gallium EGL which is disabled)
|
|
|
|
* Sat Sep 17 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.4-2mamba
|
|
- rebuilt with openVG support
|
|
|
|
* Wed Sep 07 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.7.4-1mamba
|
|
- update to 4.7.4
|
|
|
|
* Wed May 04 2011 Automatic Build System <autodist@mambasoft.it> 4.7.3-1mamba
|
|
- automatic update by autodist
|
|
- libqt4-phonon: provide phonon_backend
|
|
|
|
* Sat Mar 05 2011 Automatic Build System <autodist@mambasoft.it> 4.7.2-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Nov 09 2010 Automatic Build System <autodist@mambasoft.it> 4.7.1-1mamba
|
|
- automatic update to 4.7.1 by autodist
|
|
|
|
* Sat Oct 16 2010 Automatic Build System <autodist@mambasoft.it> 4.7.0-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Wed Sep 29 2010 Automatic Build System <autodist@mambasoft.it> 4.7.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Jul 02 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.3-3mamba
|
|
- rebuilt to fix libpng mismatch error
|
|
|
|
* Thu Jul 01 2010 Automatic Build System <autodist@mambasoft.it> 4.6.3-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Tue Jun 08 2010 Automatic Build System <autodist@mambasoft.it> 4.6.3-1mamba
|
|
- automatic update to 4.6.3 by autodist
|
|
|
|
* Thu Jun 03 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.2-2mamba
|
|
- also create link to /usr/bin without -qt4 suffix to make them preferred to qt3's by default
|
|
|
|
* Mon Feb 15 2010 Automatic Build System <autodist@mambasoft.it> 4.6.2-1mamba
|
|
- automatic update to 4.6.2 by autodist
|
|
|
|
* Wed Jan 27 2010 Davide Madrisan <davide.madrisan@gmail.com> 4.6.1-2mamba
|
|
- provide the debug package
|
|
|
|
* Thu Jan 21 2010 Automatic Build System <autodist@mambasoft.it> 4.6.1-1mamba
|
|
- automatic update to 4.6.1 by autodist
|
|
|
|
* Thu Jan 07 2010 Automatic Build System <autodist@mambasoft.it> 4.6.0-1mamba
|
|
- update to 4.6.0
|
|
|
|
* Sat Oct 10 2009 Automatic Build System <autodist@mambasoft.it> 4.5.3-1mamba
|
|
- update to 4.5.3
|
|
|
|
* Mon Oct 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.2-2mamba
|
|
- rebuilt with libjpeg 7
|
|
|
|
* Fri Jun 26 2009 Automatic Build System <autodist@mambasoft.it> 4.5.2-1mamba
|
|
- automatic update to 4.5.2 by autodist
|
|
|
|
* Thu May 28 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.1-2mamba
|
|
- added patch that fixes a regression in SVG rendering
|
|
|
|
* Fri Apr 24 2009 Automatic Build System <autodist@mambasoft.it> 4.5.1-1mamba
|
|
- automatic update to 4.5.1 by autodist
|
|
|
|
* Thu Mar 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.0-1mamba
|
|
- automatic update to 4.5.0 by autodist
|
|
|
|
* Sat Feb 28 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.3-4mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Mon Jan 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.3-3mamba
|
|
- move qdbus from devel to main package
|
|
- rebuilt against libmysql5
|
|
|
|
* Tue Oct 07 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.3-2mamba
|
|
- removed conflicts with libphonon and libphonon-devel
|
|
|
|
* Mon Sep 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.3-1mamba
|
|
- automatic update to 4.4.3 by autodist
|
|
|
|
* Fri Sep 19 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.2-1mamba
|
|
- automatic update to 4.4.2 by autodist
|
|
|
|
* Fri Sep 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.1-3mamba
|
|
- libqt4-phonon: remove requirement for libqt4-devel
|
|
|
|
* Thu Aug 28 2008 Aleph0 <aleph0@openmamba.org> 4.4.1-2mamba
|
|
- create phonon subpackage
|
|
|
|
* Wed Aug 27 2008 Aleph0 <aleph0@openmamba.org> 4.4.1-1mamba
|
|
- update to 4.4.1
|
|
|
|
* Thu May 29 2008 Aleph0 <aleph0@openmamba.org> 4.4.0-1mamba
|
|
- update to 4.4.0
|
|
- fixed libqt4-qvfb.desktop
|
|
- build QtXmlPatterns (and drop -no-g++-exceptions), Phonon, and WebKit modules.
|
|
- enabled GStreamer support
|
|
|
|
* Sat Mar 01 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.4-1mamba
|
|
- update to 4.3.4
|
|
|
|
* Fri Jan 11 2008 Aleph0 <aleph0@openmamba.org> 4.3.3-1mamba
|
|
- update to 4.3.3
|
|
- move header files to %{_includedir}/qt4 to be FHS-friendly
|
|
- move libraries to %{_libdir}
|
|
- move data files to %{_datadir}/qt4
|
|
- provide an rpm macro file: %{_sysconfdir}/rpm/macros.qt4
|
|
- create symlinks to binaries from %{_bindir}
|
|
|
|
* Mon Nov 05 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.2-1mamba
|
|
- update to 4.3.2
|
|
|
|
* Sat Sep 01 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.1-3mamba
|
|
- profile: set QTDIR if not previously set and set QT4DIR
|
|
|
|
* Thu Aug 16 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.1-2mamba
|
|
- run ldconfig on post script
|
|
|
|
* Wed Aug 15 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.1-1mamba
|
|
- update to 4.3.1
|
|
- add provide for qt4-x11
|
|
|
|
* Wed Jul 04 2007 Aleph0 <aleph0@openmamba.org> 4.3.0-1mamba
|
|
- update to 4.3.0
|
|
|
|
* Wed Mar 28 2007 Davide Madrisan <davide.madrisan@qilinux.it> 4.2.3-1mamba
|
|
- update to version 4.2.3 by autospec (fixes several security issues)
|
|
- profile file renamed from libqt3 to libqt4
|
|
- use a less verbose description for the main package
|
|
- fixed url and licences info in the description of the main package
|
|
- create the %{_sysconfdir}/ld.so.conf.d/%{name}.conf file
|
|
- use sqlite system libraries instead of the qt4 private copy
|
|
- symlinks to libQtAssistantClient, libQtDesigner, and libQtDesignerComponents
|
|
removed from the devel package to avoid broken symlinks if the package
|
|
libqt4-designer is not installed
|
|
- qt4 plugins now require the main package with same version and release
|
|
- desktop file for designer4 modified to fit freedesktop standard
|
|
- new icon for designer4 desktop file
|
|
- removed all the unused %%define directives
|
|
- added a new menu for Qt4
|
|
- added a desktop file for assistant4 e linguist4
|
|
- enabled XShape and XKB support
|
|
|
|
* Sat Dec 09 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.2-1qilnx
|
|
- update to version 4.2.2 by autospec
|
|
|
|
* Fri Oct 20 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.6-1qilnx
|
|
- update to version 3.3.6 by autospec
|
|
|
|
* Mon Sep 18 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.5-6qilnx
|
|
- added qvfb desktop menu icon
|
|
|
|
* Wed May 17 2006 Davide Madrisan <davide.madrisan@qilinux.it> 3.3.5-5qilnx
|
|
- added a dektop file for qt-designer
|
|
- fixed package license syntax
|
|
|
|
* Mon May 15 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.5-4qilnx
|
|
- add patch to increment max font size displayed (was 256 pixel = 184,
|
|
set to 2048)
|
|
|
|
* Wed Dec 07 2005 Massimo Pintore <massimo.pintore@qilinux.it> 3.3.5-3qilnx
|
|
- added qt3 and libqt3 as provides
|
|
- added script libqt.sh in %{_sysconfdir}/profile.d/ to set environment
|
|
variables
|
|
|
|
* Wed Dec 07 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.5-2qilnx
|
|
- added sqlite plugin
|
|
|
|
* Mon Sep 12 2005 Massimo Pintore <massimo.pintore@qilinux.it> 3.3.5-1qilnx
|
|
- update to version 3.3.5 by autospec
|
|
- add tools patch to build the executables qembed and qvfb
|
|
|
|
* Thu Sep 08 2005 Massimo Pintore <massimo.pintore@qilinux.it> 3.3.4-5qilnx
|
|
- rebuilt with the virtual frame buffer enabled (-qvfb)
|
|
|
|
* Wed Aug 31 2005 Davide Madrisan <davide.madrisan@qilinux.it> 3.3.4-4qilnx
|
|
- add visibility patch to improve performance
|
|
|
|
* Wed Aug 24 2005 Davide Madrisan <davide.madrisan@qilinux.it> 3.3.4-3qilnx
|
|
- rebuilt against gcc4
|
|
- fix build problem and buildkey issue with gcc4
|
|
- switched to %%majversion
|
|
|
|
* Tue Mar 15 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.4-2qilnx
|
|
- delete in %%pre dir %{%{qtdir}}/mkspecs/default/ because it will be
|
|
replaced by a symlink
|
|
|
|
* Mon Mar 14 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.4-1qilnx
|
|
- update to version 3.3.4 by autospec
|
|
|
|
* Sat Dec 11 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.3-5qilnx
|
|
- fixes for kde plugin dir in qtrc skeleton
|
|
|
|
* Fri Dec 10 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.3-4qilnx
|
|
- documentation moved to devel package
|
|
|
|
* Fri Sep 24 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.3-3qilnx
|
|
- fix for qmake that was missing
|
|
|
|
* Sat Sep 18 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.3-2qilnx
|
|
- rebuilt with gcc 3.3.4 and Xorg 6.8.0
|
|
|
|
* Mon Aug 30 2004 Davide Madrisan <davide.madrisan@qilinux.it> 3.3.3-1qilnx
|
|
- update to version 3.3.3 by autospec
|
|
- bugfixes and security fixes (CAN-2004-0691, CAN-2004-0692, CAN-2004-0693)
|
|
|
|
* Thu Jul 08 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.2-3qilnx
|
|
- devel apps like qmake are in /usr/lib/qt3/bin and also as links in /usr/bin
|
|
|
|
* Wed Jun 30 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.2-2qilnx
|
|
- rebuilt with Xorg 6.7.0
|
|
|
|
* Tue Apr 27 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.2-1qilnx
|
|
- new version build
|
|
|
|
* Mon Nov 24 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.3-2qilnx
|
|
- moved binaries to %bindir
|
|
- moved documentation to /usr/share/qt3/doc (as looked for by kde)
|
|
|
|
* Fri Nov 21 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.3-1qilnx
|
|
- new version rebuild
|
|
|
|
* Mon Nov 03 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.2-1qilnx
|
|
- new version rebuild
|
|
- added mysql and odbc support
|
|
|
|
* Wed Sep 17 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1qilnx
|
|
- new version rebuild
|
|
|
|
* Tue Jul 18 2003 Silvan Calarco <silvan.calarco@qinet.it> 3.1.2-4qilnx
|
|
- rebuild with postgresql plugin support
|
|
|
|
* Tue Jun 19 2003 Silvan Calarco <silvan.calarco@qinet.it> 3.1.2-3qilnx
|
|
- added default profile in /etc/skel
|
|
|
|
* Sun May 25 2003 Silvan Calarco <silvan.calarco@qinet.it> 3.1.2-2qilnx
|
|
- moved prefix from /usr/lib/qt to /usr/lib/qt3
|
|
- added ld.so.conf configuration
|
|
- moved designer binaries to its own package
|
|
|
|
* Wed May 21 2003 Silvan Calarco <silvan.calarco@qinet.it> 3.1.2-1qilnx
|
|
- first build
|