Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:fboudra
qt
qt-Fedora_12.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qt-Fedora_12.spec of Package qt
# spec file for package qt (Version 4.7.0 beta 2 ) # # Copyright (C) 2010 Fathi Boudra <fathi.boudra@nokia.com> # Copyright (C) 2010 Kaitlin Rupert <kaitlin.rupert@intel.com> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # norootforbuild %define upstream_short_version 4.7.0 %define upstream_extra_version beta2 %define upstream_version %{upstream_short_version}-%{upstream_extra_version} %define release_prefix 0 %define release_suffix %{upstream_extra_version} %ifarch %{arm} %define opengl_arg es2 %else %define opengl_arg desktop %endif %ifarch %{ix86} x86_64 %define extra_configure_opts -plugin-sql-ibase %else %define extra_configure_opts -no-sql-ibase %endif %ifarch x86_64 %define platform_arg linux-g++-64 %else %define platform_arg linux-g++ %endif Name: qt BuildRequires: quilt BuildRequires: gcc-c++ BuildRequires: flex BuildRequires: sharutils BuildRequires: firebird-devel BuildRequires: alsa-lib-devel BuildRequires: nas-devel BuildRequires: cups-devel BuildRequires: dbus-devel BuildRequires: freetype-devel BuildRequires: glib2-devel %ifarch %{arm} BuildRequires: libegl-devel BuildRequires: libgles2-devel %else BuildRequires: mesa-libGL-devel BuildRequires: mesa-libGLU-devel %endif BuildRequires: gstreamer-devel BuildRequires: gstreamer-plugins-base-devel BuildRequires: gtk2-devel BuildRequires: ice-devel BuildRequires: unixODBC-devel BuildRequires: libjpeg-devel BuildRequires: libmng-devel BuildRequires: mysql-devel BuildRequires: pam-devel BuildRequires: libpng-devel BuildRequires: postgresql-devel BuildRequires: pulseaudio-libs-devel BuildRequires: readline-devel BuildRequires: libSM-devel BuildRequires: sqlite-devel BuildRequires: sqlite2-devel BuildRequires: libtiff-devel BuildRequires: libX11-devel BuildRequires: libXcursor-devel BuildRequires: libXext-devel BuildRequires: libXft-devel BuildRequires: libXi-devel BuildRequires: libXinerama-devel BuildRequires: libXmu-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libxslt-devel BuildRequires: libXt-devel BuildRequires: libXtst-devel BuildRequires: libXv-devel BuildRequires: zlib-devel BuildRequires: freetds-devel BuildRequires: openssl-devel License: LGPLv2.1 with exception or GPLv3 Url: http://qt.nokia.com/ Group: System/Libraries Summary: Cross-platform application and UI framework Version: %{upstream_short_version} %if 0%{?opensuse_bs} Release: %%{?release_prefix}.<CI_CNT>.%%{?release_suffix} %else Release: %{release_prefix}.1.%{release_suffix} %endif Source0: http://get.qt.nokia.com/qt/%{name}-everywhere-opensource-src-%{upstream_version}.tar.gz Source1: libqtcore4.install Source2: libqtgui4.install Source3: libqtnetwork4.install Source4: libqtopengl4.install Source5: libqtscript4.install Source6: libqtscripttools4.install Source7: libqtsql4.install Source8: libqtsql4-ibase.install Source9: libqtsql4-mysql.install Source10: libqtsql4-odbc.install Source11: libqtsql4-psql.install Source12: libqtsql4-sqlite.install Source13: libqtsql4-sqlite2.install Source14: libqtsql4-tds.install Source15: libqtsvg4.install Source16: libqtxml4.install Source17: libqtxmlpatterns4.install Source18: libqtdbus4.install Source19: libqt3support4.install Source20: libqtdesigner4.install Source21: libqthelp4.install Source22: libqttest4.install Source23: libqtdeclarative4.install Source24: libqtdeclarative4-folderlistmodel.install Source25: libqtdeclarative4-gestures.install Source26: libqtdeclarative4-particles.install Source27: libqt-devel.install Source28: libqtopengl-devel.install Source29: %{name}-designer.install Source30: %{name}-devel-tools.install Source31: %{name}-qmake.install Source32: %{name}-qtconfig.install Source33: %{name}-demos.install Source34: %{name}-qmlviewer.install Source35: %{name}-doc.install Source36: %{name}-doc-html.install Source37: %{name}-netbook-settings.install Source40: series Source41: 01_configure_quilt_compat.patch Source42: 02_qmake_lflags_as-needed.patch Source43: 03_config_tests_sqlite.patch Source44: 04_build_translations.patch Source45: 05_add_nostrip_for_debug_packages.patch Source46: 06_install_qvfb.patch Source47: 07_invpremul.patch Source48: 08_qtdebug_syslog.patch Source49: 09_texture_enable_fix.patch Source50: 03_config_tests_ibase.patch Source51: 03_config_tests_pulseaudio.patch Source90: assistant.desktop Source91: designer.desktop Source92: linguist.desktop Source93: qtconfig.desktop Source94: qtdemo.desktop Source95: assistant.png Source96: designer.png Source97: linguist.png Source98: qtconfig.png Source99: qtdemo.png Source100: %{name}-rpmlintrc %description Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. Authors: Nokia Corporation and/or its subsidiary(-ies) Trolltech ASA %package -n libqtcore4 Group: System/Libraries Summary: Qt core module Provides: libqtcore4 = %{version}-%{release} Provides: %{name} = %{version}-%{release} Obsoletes: %{name} < %{version}-%{release} Provides: %{name}-x11 = %{version}-%{release} Obsoletes: %{name}-x11 < %{version}-%{release} %description -n libqtcore4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The QtCore module contains core non-GUI functionality. %package -n libqtgui4 Group: System/Libraries Summary: Qt GUI module Requires(post): chkconfig Requires(postun): chkconfig Provides: libqtgui4 = %{version}-%{release} Provides: %{name}-x11 = %{version}-%{release} Obsoletes: %{name}-x11 < %{version}-%{release} %description -n libqtgui4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The QtGui module extends QtCore with GUI functionality. %package -n libqtnetwork4 Group: System/Libraries Summary: Qt network module Provides: libqtnetwork4 = %{version}-%{release} Provides: %{name} = %{version}-%{release} Obsoletes: %{name} < %{version}-%{release} %description -n libqtnetwork4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The QtNetwork module offers classes that allow you to write TCP/IP clients and servers. It provides classes to make network programming easier and portable. %package -n libqtopengl4 Group: System/Libraries Summary: Qt OpenGL module Provides: libqtopengl4 = %{version}-%{release} Provides: %{name}-x11 = %{version}-%{release} Obsoletes: %{name}-x11 < %{version}-%{release} %description -n libqtopengl4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The QtOpenGL module offers classes that make it easy to use OpenGL in Qt applications. OpenGL is a standard API for rendering 3D graphics. OpenGL only deals with 3D rendering and provides little or no support for GUI programming issues. %package -n libqtscript4 Group: System/Libraries Summary: Qt script module Provides: libqtscript4 = %{version}-%{release} Provides: %{name} = %{version}-%{release} Obsoletes: %{name} < %{version}-%{release} %description -n libqtscript4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The QtScript module provides classes for making Qt applications scriptable. %package -n libqtscripttools4 Group: System/Libraries Summary: Qt script tools module Provides: libqtscripttools4 = %{version}-%{release} Provides: %{name}-x11 = %{version}-%{release} Obsoletes: %{name}-x11 < %{version}-%{release} %description -n libqtscripttools4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The QtScriptTools module provides additional components for applications that use Qt Script. This package contains the Qt Script debugger, a tool for debugging script execution in Qt applications that use Qt Script. %package -n libqtsql4 Group: System/Libraries Summary: Qt SQL module Provides: libqtsql4 = %{version}-%{release} Provides: %{name} = %{version}-%{release} Obsoletes: %{name} < %{version}-%{release} %description -n libqtsql4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The QtSql module helps you provide seamless database integration to your Qt applications. If you wish to use the SQL module for development, you should install the libqt-devel package. %package -n libqtsql4-ibase Group: System/Libraries Summary: Qt InterBase/FireBird database driver %description -n libqtsql4-ibase This package contains the InterBase/FireBird plugin for Qt. Install it if you intend to use or write Qt programs that are to access an InterBase/FireBird DB. %package -n libqtsql4-mysql Group: System/Libraries Summary: Qt MySQL database driver %description -n libqtsql4-mysql This package contains the MySQL plugin for Qt. Install it if you intend to use or write Qt programs that are to access a MySQL DB. %package -n libqtsql4-odbc Group: System/Libraries Summary: Qt ODBC database driver %description -n libqtsql4-odbc This package contains the ODBC plugin for Qt. Install it if you intend to use or write Qt programs that are to access an ODBC DB. %package -n libqtsql4-psql Group: System/Libraries Summary: Qt PostgreSQL database driver %description -n libqtsql4-psql This package contains the PostgreSQL plugin for Qt. Install it if you intend to use or write Qt programs that are to access a PostgreSQL DB. %package -n libqtsql4-sqlite Group: System/Libraries Summary: Qt SQLite 3 database driver Provides: %{name}-sqlite = %{version}-%{release} Obsoletes: %{name}-sqlite < %{version}-%{release} %description -n libqtsql4-sqlite This package contains the SQLite 3 plugin for Qt. Install it if you intend to use or write Qt programs that are to access an SQLite 3 DB. %package -n libqtsql4-sqlite2 Group: System/Libraries Summary: Qt SQLite 2 database driver %description -n libqtsql4-sqlite2 This package contains the SQLite 2 plugin for Qt. Install it if you intend to use or write Qt programs that are to access an SQLite 2 DB. %package -n libqtsql4-tds Group: System/Libraries Summary: Qt FreeTDS database driver %description -n libqtsql4-tds This package contains the FreeTDS plugin for Qt 4. Install it if you intend to use or write Qt programs that are to access a MS SQL or Sybase SQL server. %package -n libqtsvg4 Group: System/Libraries Summary: Qt SVG module Provides: libqtsvg4 = %{version}-%{release} Provides: %{name}-x11 = %{version}-%{release} Obsoletes: %{name}-x11 < %{version}-%{release} %description -n libqtsvg4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The QtSvg module provides classes for displaying the contents of SVG files. Scalable Vector Graphics (SVG) is a language for describing two-dimensional graphics and graphical applications in XML. %package -n libqtxml4 Group: System/Libraries Summary: Qt XML module Provides: libqtxml4 = %{version}-%{release} Provides: %{name} = %{version}-%{release} Obsoletes: %{name} < %{version}-%{release} %description -n libqtxml4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The QtXml module provides a stream reader and writer for XML documents, and C++ implementations of SAX and DOM. %package -n libqtxmlpatterns4 Group: System/Libraries Summary: Qt XML patterns module Provides: libqtxmlpatterns4 = %{version}-%{release} Provides: %{name} = %{version}-%{release} Obsoletes: %{name} < %{version}-%{release} %description -n libqtxmlpatterns4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. QtXmlPatterns is a XQuery and XPath engine for XML and custom data models. %package -n libqtdbus4 Group: System/Libraries Summary: Qt D-Bus module Provides: libqtdbus4 = %{version}-%{release} Provides: %{name} = %{version}-%{release} Obsoletes: %{name} < %{version}-%{release} %description -n libqtdbus4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The QtDBus module is a Unix-only library that you can use to make Inter-Process Communication using the D-Bus protocol. Applications using the QtDBus module can provide services to other, remote applications by exporting objects, as well as use services exported by those applications by placing calls and accessing properties. %package -n libqt3support4 Group: System/Libraries Summary: Qt 3 compatibility library for Qt 4 Provides: libqt3support4 = %{version}-%{release} Provides: %{name}-x11 = %{version}-%{release} Obsoletes: %{name}-x11 < %{version}-%{release} %description -n libqt3support4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The Qt3Support module provides classes that ease porting from Qt 3 to Qt 4. It allows applications designed to use deprecated Qt 3 classes and functions to work with Qt 4, with help from the qt3to4 porting tool found in the libqt-devel package. %package -n libqtdesigner4 Group: System/Libraries Summary: Qt designer module Provides: libqtdesigner4 = %{version}-%{release} Provides: %{name}-x11 = %{version}-%{release} Obsoletes: %{name}-x11 < %{version}-%{release} %description -n libqtdesigner4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The QtDesigner module provides classes that allow you to create your own custom widget plugins for Qt Designer, and classes that enable you to access Qt Designer's components. %package -n libqthelp4 Group: System/Libraries Summary: Qt help module Provides: libqthelp4 = %{version}-%{release} Provides: %{name}-x11 = %{version}-%{release} Obsoletes: %{name}-x11 < %{version}-%{release} %description -n libqthelp4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The QtHelp module provides classes for integrating online documentation in applications. %package -n libqttest4 Group: System/Libraries Summary: Qt test module Provides: libqttest4 = %{version}-%{release} Provides: %{name} = %{version}-%{release} Obsoletes: %{name} < %{version}-%{release} %description -n libqttest4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The QtTest module provides classes for unit testing Qt applications and libraries. %package -n libqtdeclarative4 Group: System/Libraries Summary: Qt Declarative module Provides: libqtdeclarative4 = %{version}-%{release} Provides: %{name} = %{version}-%{release} Obsoletes: %{name} < %{version}-%{release} %description -n libqtdeclarative4 Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The Qt Declarative module provides a declarative framework for building highly dynamic, custom user interfaces. %package -n libqtdeclarative4-folderlistmodel Group: System/Libraries Summary: Qt folderlistmodel QML plugin %description -n libqtdeclarative4-folderlistmodel Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. This package contains the folderlistmodel QML plugin for QtDeclarative. %package -n libqtdeclarative4-gestures Group: System/Libraries Summary: Qt gestures QML plugin %description -n libqtdeclarative4-gestures Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. This package contains the gestures QML plugin for QtDeclarative. %package -n libqtdeclarative4-particles Group: System/Libraries Summary: Qt particles QML plugin %description -n libqtdeclarative4-particles Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. This package contains the particles QML plugin for QtDeclarative. %package -n libqt-devel Group: Development/Libraries Summary: Qt development files Provides: libqt-devel = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Obsoletes: %{name}-devel < %{version}-%{release} Requires: libqtcore4 = %{version}-%{release} Requires: libqtgui4 = %{version}-%{release} Requires: libqtnetwork4 = %{version}-%{release} Requires: libqtscript4 = %{version}-%{release} Requires: libqtscripttools4 = %{version}-%{release} Requires: libqtsql4 = %{version}-%{release} Requires: libqtsvg4 = %{version}-%{release} Requires: libqtxml4 = %{version}-%{release} Requires: libqtxmlpatterns4 = %{version}-%{release} Requires: libqtdbus4 = %{version}-%{release} Requires: libqt3support4 = %{version}-%{release} Requires: libqtdesigner4 = %{version}-%{release} Requires: libqthelp4 = %{version}-%{release} Requires: libqttest4 = %{version}-%{release} Requires: libqtdeclarative4 = %{version}-%{release} Requires: %{name}-qmake = %{version}-%{release} %description -n libqt-devel Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. This package contains the development header files and development programs used for building Qt applications. %package -n libqtopengl-devel Group: Development/Libraries Summary: QtOpenGL development files Provides: libqtopengl-devel = %{version}-%{release} Requires: libqtopengl4 = %{version}-%{release} Requires: libqt-devel = %{version}-%{release} %ifarch %{arm} Requires: libegl-devel Requires: libgles2-devel %else Requires: mesa-libGL-devel Requires: mesa-libGLU-devel %endif %description -n libqtopengl-devel Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. This package contains the development files needed to build Qt applications using QtOpenGL library. %package designer Group: Development/Tools Summary: Graphical designer for Qt applications Requires(post): desktop-file-utils Requires(postun): desktop-file-utils %description designer Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. Qt Designer is a tool for designing and building graphical user interfaces (GUIs) from Qt components. %package devel-tools Group: Development/Tools Summary: Qt development tools Requires: libqtsql4-sqlite Requires(post): desktop-file-utils Requires(postun): desktop-file-utils %description devel-tools Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. This package contains tools used to assist in Qt development, including the Qt Assistant, Linguist, D-Bus Viewer, Pixel Tool and Virtual Framebuffer applications. %package qmake Group: Development/Tools Summary: Qt qmake Makefile generator tool Provides: %{name}-qmake = %{version}-%{release} %description qmake Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. This package contains Qt qmake, a tool that helps simplify the build process for development project across different platforms. qmake automates the generation of Makefiles so that only a few lines of information are needed to create each Makefile. qmake can be used for any software project, whether it is written using Qt or not. Qt qmake requires a platform and compiler description file which contains many default values used to generate appropriate Makefiles. This package contains also these platform specifications. %package qtconfig Group: User Interface/X Summary: Qt configuration tool Requires(post): desktop-file-utils Requires(postun): desktop-file-utils %description qtconfig Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. The Qt Configuration program allows end users to configure the look and behavior of any Qt application. %package demos Group: Documentation Summary: Qt examples and demos Requires(post): desktop-file-utils Requires(postun): desktop-file-utils %description demos Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. This package contains Qt examples and demos. %package qmlviewer Group: Development/Tools Summary: Qt QML viewer %description qmlviewer Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. This package contains Qt QML viewer (qml). It allows to view QML files. %package doc Group: Documentation Summary: Qt API documentation BuildArch: noarch %description doc Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. This package contains the complete Qt API documentation (new help format). The documentation is provided in the new help format and manpage format; the new help format version can be viewed in conjunction with the Qt Assistant found in the qt-dev-tools package. %package doc-html Group: Documentation Summary: Qt API documentation (HTML format) BuildArch: noarch %description doc-html Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. This package contains the complete Qt 4 API documentation (HTML format). The documentation is provided in HTML format. %package netbook-settings Group: System/Desktop Summary: Qt GUI style settings for Netbook BuildArch: noarch Requires(post): chkconfig Requires(postun): chkconfig Provides: %{name}-netbook = %{version}-%{release} Obsoletes: %{name}-netbook < %{version}-%{release} %description netbook-settings Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. This package contains the Netbook specific configuration options and style settings. %prep %setup -n %{name}-everywhere-opensource-src-%{upstream_version} -q QUILT_PATCHES="%{_sourcedir}" quilt --quiltrc /dev/null push -a %build export QTDIR=`pwd` export PATH=$QTDIR/bin:$PATH # workaround to use lrelease. export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH # workaround to use qhelpgenerator. export QT_PLUGIN_PATH=$QTDIR/plugins # Generate include rm -rf include && QTDIR="." perl bin/syncqt ./configure -confirm-license \ -prefix "%{_prefix}" \ -bindir "%{_bindir}" \ -libdir "%{_libdir}" \ -docdir "%{_docdir}/qt4" \ -headerdir "%{_includedir}/qt4" \ -datadir "%{_datadir}/qt4" \ -plugindir "%{_libdir}/qt4/plugins" \ -importdir "%{_libdir}/qt4/imports" \ -translationdir "%{_datadir}/qt4/translations" \ -sysconfdir "%{_sysconfdir}/xdg" \ -demosdir "%{_libdir}/qt4/demos" \ -examplesdir "%{_libdir}/qt4/examples" \ -opensource \ -fast \ -plugin-sql-mysql \ -plugin-sql-odbc \ -plugin-sql-psql \ -plugin-sql-sqlite \ -plugin-sql-sqlite2 \ -plugin-sql-tds \ -system-sqlite \ -xmlpatterns \ -no-multimedia \ -audio-backend \ -phonon \ -no-phonon-backend \ -svg \ -no-webkit \ -script \ -scripttools \ -platform %{platform_arg} \ -system-zlib \ -qt-gif \ -system-libtiff \ -system-libpng \ -system-libjpeg \ -no-rpath \ -optimized-qmake \ -dbus \ -no-separate-debug-info \ -verbose \ -gtkstyle \ -system-nas-sound \ -opengl %{opengl_arg} \ -lfontconfig \ -I/usr/include/freetype2 \ -qvfb \ %{extra_configure_opts} # Build make %{?_smp_mflags} # Build documentations make docs # Build translations make ts # Workaround: It's a known qmake limitation. # It can't generate install rules for files that don't exist yet like docs. ./config.status %install rm -rf %{buildroot} make install INSTALL_ROOT=%{buildroot} # Fix wrong path in pkgconfig files find %{buildroot}/%{_libdir}/pkgconfig -type f -name '*.pc' \ -exec perl -pi -e "s, -L%{_builddir}/%{name}-everywhere-opensource-src-%{upstream_version}/?\S+,,g" {} \; # Fix wrong path in prl files find %{buildroot}/%{_libdir} -type f -name '*.prl' \ -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/" {} \; # Install desktop anf icon files for filename in assistant designer linguist qtconfig qtdemo; do install -D -p -m 0644 %{_sourcedir}/${filename}.desktop \ %{buildroot}/%{_datadir}/applications/${filename}.desktop; install -D -p -m 0644 %{_sourcedir}/${filename}.png \ %{buildroot}/%{_datadir}/pixmaps/${filename}.png; done # QTBUG-12159 workaround rm -f %{buildroot}/%{_datadir}/qt4/mkspecs/modules/qt_webkit_version.pri # Remove unpackaged files rm -f %{buildroot}/%{_libdir}/libphonon.* rm -f %{buildroot}/%{_libdir}/libQt*.la rm -f %{buildroot}/%{_libdir}/pkgconfig/phonon.pc rm -f %{buildroot}/%{_libdir}/qt4/plugins/designer/libphononwidgets.so rm -f %{buildroot}/%{_libdir}/qt4/plugins/phonon_backend/libphonon_gstreamer.so rm -rf %{buildroot}/%{_includedir}/qt4/phonon # Remove leftover directories find %{buildroot}/%{_libdir} -depth -type d \( -false \ -o -name .moc\* \ -o -name .obj\* \ -o -name .pch \ -o -name .rcc \ \) -print0 | xargs -0 rm -rf # Create default configuration mkdir -p %{buildroot}%{_sysconfdir}/xdg cat > %{buildroot}%{_sysconfdir}/xdg/Trolltech-default.conf << EOF [Qt] font="Sans Serif,10,-1,5,50,0,0,0,0,0" EOF # Create netbook configuration cat > %{buildroot}%{_sysconfdir}/xdg/Trolltech-netbook.conf << EOF [Qt] font="Sans Serif,10,-1,5,50,0,0,0,0,0" style=GTK+ EOF %clean QUILT_PATCHES="%{_sourcedir}" quilt --quiltrc /dev/null pop -a rm -rf .pc rm -rf %{buildroot} %post -n libqtcore4 -p /sbin/ldconfig %postun -n libqtcore4 -p /sbin/ldconfig %post -n libqtgui4 /sbin/ldconfig [ -h %{_sysconfdir}/xdg/Trolltech.conf ] || rm -f %{_sysconfdir}/xdg/Trolltech.conf update-alternatives --install \ %{_sysconfdir}/xdg/Trolltech.conf \ Trolltech.conf \ %{_sysconfdir}/xdg/Trolltech-default.conf 10 %postun -n libqtgui4 /sbin/ldconfig update-alternatives --remove Trolltech.conf \ %{_sysconfdir}/xdg/Trolltech-default.conf %post -n libqtnetwork4 -p /sbin/ldconfig %postun -n libqtnetwork4 -p /sbin/ldconfig %post -n libqtopengl4 -p /sbin/ldconfig %postun -n libqtopengl4 -p /sbin/ldconfig %post -n libqtscript4 -p /sbin/ldconfig %postun -n libqtscript4 -p /sbin/ldconfig %post -n libqtscripttools4 -p /sbin/ldconfig %postun -n libqtscripttools4 -p /sbin/ldconfig %post -n libqtsql4 -p /sbin/ldconfig %postun -n libqtsql4 -p /sbin/ldconfig %post -n libqtsvg4 -p /sbin/ldconfig %postun -n libqtsvg4 -p /sbin/ldconfig %post -n libqtxml4 -p /sbin/ldconfig %postun -n libqtxml4 -p /sbin/ldconfig %post -n libqtxmlpatterns4 -p /sbin/ldconfig %postun -n libqtxmlpatterns4 -p /sbin/ldconfig %post -n libqtdbus4 -p /sbin/ldconfig %postun -n libqtdbus4 -p /sbin/ldconfig %post -n libqt3support4 -p /sbin/ldconfig %postun -n libqt3support4 -p /sbin/ldconfig %post -n libqtdesigner4 -p /sbin/ldconfig %postun -n libqtdesigner4 -p /sbin/ldconfig %post -n libqthelp4 -p /sbin/ldconfig %postun -n libqthelp4 -p /sbin/ldconfig %post -n libqttest4 -p /sbin/ldconfig %postun -n libqttest4 -p /sbin/ldconfig %post -n libqtdeclarative4 -p /sbin/ldconfig %postun -n libqtdeclarative4 -p /sbin/ldconfig %post designer update-desktop-database &> /dev/null || : %postun designer update-desktop-database &> /dev/null || : %post devel-tools update-desktop-database &> /dev/null || : %postun devel-tools update-desktop-database &> /dev/null || : %post qtconfig update-desktop-database &> /dev/null || : %postun qtconfig update-desktop-database &> /dev/null || : %post demos update-desktop-database &> /dev/null || : %postun demos update-desktop-database &> /dev/null || : %post netbook-settings [ -h %{_sysconfdir}/xdg/Trolltech.conf ] || rm -f %{_sysconfdir}/xdg/Trolltech.conf update-alternatives --install \ %{_sysconfdir}/xdg/Trolltech.conf \ Trolltech.conf \ %{_sysconfdir}/xdg/Trolltech-netbook.conf 20 %postun netbook-settings update-alternatives --remove Trolltech.conf \ %{_sysconfdir}/xdg/Trolltech-netbook.conf %files %defattr(-,root,root) %doc LGPL_EXCEPTION.txt %files -n libqtcore4 -f %{_sourcedir}/libqtcore4.install %files -n libqtgui4 -f %{_sourcedir}/libqtgui4.install %files -n libqtnetwork4 -f %{_sourcedir}/libqtnetwork4.install %files -n libqtopengl4 -f %{_sourcedir}/libqtopengl4.install %files -n libqtscript4 -f %{_sourcedir}/libqtscript4.install %files -n libqtscripttools4 -f %{_sourcedir}/libqtscripttools4.install %files -n libqtsql4 -f %{_sourcedir}/libqtsql4.install %files -n libqtsql4-ibase -f %{_sourcedir}/libqtsql4-ibase.install %files -n libqtsql4-mysql -f %{_sourcedir}/libqtsql4-mysql.install %files -n libqtsql4-odbc -f %{_sourcedir}/libqtsql4-odbc.install %files -n libqtsql4-psql -f %{_sourcedir}/libqtsql4-psql.install %files -n libqtsql4-sqlite -f %{_sourcedir}/libqtsql4-sqlite.install %files -n libqtsql4-sqlite2 -f %{_sourcedir}/libqtsql4-sqlite2.install %files -n libqtsql4-tds -f %{_sourcedir}/libqtsql4-tds.install %files -n libqtsvg4 -f %{_sourcedir}/libqtsvg4.install %files -n libqtxml4 -f %{_sourcedir}/libqtxml4.install %files -n libqtxmlpatterns4 -f %{_sourcedir}/libqtxmlpatterns4.install %files -n libqtdbus4 -f %{_sourcedir}/libqtdbus4.install %files -n libqt3support4 -f %{_sourcedir}/libqt3support4.install %files -n libqtdesigner4 -f %{_sourcedir}/libqtdesigner4.install %files -n libqthelp4 -f %{_sourcedir}/libqthelp4.install %files -n libqttest4 -f %{_sourcedir}/libqttest4.install %files -n libqtdeclarative4 -f %{_sourcedir}/libqtdeclarative4.install %files -n libqtdeclarative4-folderlistmodel -f %{_sourcedir}/libqtdeclarative4-folderlistmodel.install %files -n libqtdeclarative4-gestures -f %{_sourcedir}/libqtdeclarative4-gestures.install %files -n libqtdeclarative4-particles -f %{_sourcedir}/libqtdeclarative4-particles.install %files -n libqt-devel -f %{_sourcedir}/libqt-devel.install %files -n libqtopengl-devel -f %{_sourcedir}/libqtopengl-devel.install %files designer -f %{_sourcedir}/%{name}-designer.install %files devel-tools -f %{_sourcedir}/%{name}-devel-tools.install %files qmake -f %{_sourcedir}/%{name}-qmake.install %files qtconfig -f %{_sourcedir}/%{name}-qtconfig.install %files demos -f %{_sourcedir}/%{name}-demos.install %files qmlviewer -f %{_sourcedir}/%{name}-qmlviewer.install %files doc -f %{_sourcedir}/%{name}-doc.install %files doc-html -f %{_sourcedir}/%{name}-doc-html.install %files netbook-settings -f %{_sourcedir}/%{name}-netbook-settings.install %changelog * Wed Jul 14 2010 Fathi Boudra <fathi.boudra@nokia.com> - 4.7.0~prerelease+beta2 - Rewrite from scratch for MeeGo - Split packages/modules - Add patches: 01_configure_quilt_compat.patch 02_qmake_lflags_as-needed.patch 03_config_tests_sqlite.patch 04_build_translations.patch 05_add_nostrip_for_debug_packages.patch 06_install_qvfb.patch - Remove phonon related patches. They should be reviewed/ported to phonon standalone package: qt-x11-opensource-src-4.5.1-phonon.patch qt-x11-opensource-src-4.5.1-pulseaudio.patch qt-everywhere-opensource-src-4.6.0-gst-pulseaudio.patch - Remove deprecated/useless patches: qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch qt-x11-opensource-src-4.5.3-system_ca_certificates.patch - fixed upstream qt-everywhere-opensource-src-4.6.0-beta1-qdoc3.patch - fixed upstream - Disable texture_enable_fix.patch - (partly)s fixed upstream - Remove widgets QML plugin - it doesn't exist anymore - Add folderlistmodel and gestures QML plugins - Remove -no-mediaservices configure option - it doesn't exist anymore - Remove leftover directories on install - Update installed files - Use update-alternatives to manage Trolltech.conf file - Rename qt-netbook package to qt-netbook-settings.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor