Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
playground
>
opt-libqt4-47
> libqt4.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libqt4.spec of Package opt-libqt4-47 (Revision 6)
Currently displaying revision
6
,
show latest
# # spec file for package libqt4 # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define _prefix /opt/qt-4.7 %define packageprefix opt- %define packagesuffix -47 Name: %{packageprefix}libqt4%{packagesuffix} BuildRequires: Mesa-devel cups-devel freetype2-devel gcc-c++ libjpeg-devel libmng-devel BuildRequires: libpng-devel libtiff-devel pkgconfig BuildRequires: glib2-devel BuildRequires: dbus-1-devel openssl-devel xorg-x11-devel BuildRequires: alsa-devel gtk2-devel %if 0%{?suse_version} BuildRequires: fdupes BuildRequires: sqlite3-devel BuildRequires: update-desktop-files %else BuildRequires: sqlite-devel ## In theory, should be as simple as: #define x_deps libGL-devel libGLU-devel ## but, "xorg-x11-devel: missing dep on libGL/libGLU" - http://bugzilla.redhat.com/211898 %define x_deps pkgconfig(ice) pkgconfig(sm) pkgconfig(xcursor) pkgconfig(xext) pkgconfig(xfixes) pkgconfig(xft) pkgconfig(xi) pkgconfig(xinerama) pkgconfig(xrandr) pkgconfig(xrender) pkgconfig(xt) pkgconfig(xv) pkgconfig(x11) pkgconfig(xproto) pkgconfig(gl) pkgconfig(glu) BuildRequires: %{x_deps} %endif BuildRequires: clucene-core-devel %define with_qt3support 1 %define with_phonon 0 %define with_phonon_backend 0 %define with_qtwebkit 0 %if %with_phonon %if %with_phonon_backend BuildRequires: gstreamer-0_10-plugins-base-devel libxine-devel %endif %endif Url: http://qt.digia.com License: GPLv3 ; LGPLv2.1+ Group: System/Libraries AutoReqProv: on Summary: C++ Program Library, Core Components # bug437293 %ifarch ppc64 Obsoletes: qt-64bit %endif # plugindir/codecs/* was moved from libqt4-x11, Ensure seamless update from openSUSE <= 11.1 and SLE <= 11: # See also baselibs.conf. Conflicts: %{name}-x11 <= 4.5.1-2.5 # # COMMON-VERSION-BEGIN Version: 4.7.4 Release: 14.1 %define base_name opt-libqt4-47 %define x11_free -everywhere-opensource-src- %define rversion 4.7.4 # COMMON-VERSION-END # COMMON-BEGIN Source: qt%x11_free%rversion.tar.bz2 # to get mtime of file: Source1: libqt4.changes Source2: baselibs.conf Source10: qt4config.desktop Source11: designer4.desktop Source12: linguist4.desktop Source13: assistant4.desktop Source14: assistant.png Source15: designer.png Source16: linguist.png Source17: qt-4.7-env.sh Patch2: qt-never-strip.diff Patch3: plastik-default.diff Patch6: use-freetype-default.diff Patch8: link-tools-shared.diff Patch39: 0191-listview-alternate-row-colors.diff Patch40: 0188-fix-moc-parser-same-name-header.diff Patch41: konsole-nvidia-font-speed.diff Patch43: 0195-compositing-properties.diff Patch60: 0180-window-role.diff Patch61: qt4-fake-bold.patch Patch70: 0225-invalidate-tabbar-geometry-on-refresh.patch Patch75: qt-debug-timer.diff Patch87: qfatal-noreturn.diff Patch101: no-moc-date.diff Patch102: 0253-qmake_correct_path_separators.diff Patch107: webkit-ia64_s390x.patch Patch109: libqt4-libtool-nodate.diff Patch113: ppc64-webkit-link-fix.diff Patch118: rcc-stable-dirlisting.diff Patch119: hppa_ldcw_fix.diff Patch120: hppa_unaligned_access_fix_458133.diff Patch121: webkit-sparc64.diff Patch123: use-cups-default-print-settings-bnc552218.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %define common_options --opensource -fast -no-separate-debug-info -shared -xkb -xrender -xcursor -dbus-linked -xfixes -xrandr -xinerama -sm -no-nas-sound -no-rpath -system-libjpeg -system-libpng -accessibility -cups -stl -nis -system-zlib -prefix %_prefix -L %_libdir -libdir %_libdir -docdir %_docdir/%{base_name} -examplesdir %_libdir/qt4/examples -demosdir %_libdir/qt4/demos -plugindir %plugindir -translationdir %_datadir/qt4/translations -iconv -sysconfdir /etc/settings -datadir %_datadir/qt4/ -no-pch -reduce-relocations -exceptions -system-libtiff -glib -optimized-qmake -no-webkit -no-xmlpatterns -system-sqlite -qt3support -no-sql-mysql -importdir %plugindir/imports -xsync -xinput -gtkstyle %define check_config \ grep '# define' src/corelib/global/qconfig.h | egrep -v 'QT_(ARCH|USE)'; \ if test -f %_datadir/qt4/mkspecs/qconfig.pri ; then \ cmp %_datadir/qt4/mkspecs/qconfig.pri mkspecs/qconfig.pri || exit 1; \ fi \ %description Qt is a set of libraries for developing applications. This package contains base tools, like string, xml, and network handling. Authors: -------- Qt Software %prep %define plugindir %_libdir/qt4/plugins %setup -q -n qt%x11_free%rversion %patch2 %patch3 %patch6 # needs rediffing #%patch8 %patch39 %patch40 %patch41 %patch43 # ### 47 rediff # %patch60 # bnc#374073 comment #8 # %patch61 %patch70 %patch75 %patch87 %patch101 # ### 47 rediff # %patch102 # ### 47 rediff # %patch107 %patch109 #%patch113 %patch118 -p1 %ifarch hppa %patch119 %patch120 %endif %patch123 # ### 47 rediff #%patch121 -p1 # be sure not to use them rm -rf src/3rdparty/{libjpeg,freetype,libpng,zlib,libtiff,fonts} # COMMON-END %package devel License: GPLv2 ; GPLv3 Group: Development/Libraries/X11 Summary: Qt Development Kit %if 0%{?suse_version} Requires: c++_compiler %else Requires: gcc-c++ %endif Requires: freetype2-devel libmng-devel libpng-devel libtiff-devel Requires: xorg-x11-devel Mesa-devel dbus-1-devel openssl-devel Requires: glib2-devel Requires: %name = %version Requires: %name-x11 = %version Requires: %name-sql = %version Requires: %name-qt3support = %version Requires: %{packageprefix}libqt4%{packagesuffix}-sql-sqlite >= %version %if 0%{?suse_version} BuildRequires: sqlite3-devel %else BuildRequires: sqlite-devel %endif # bug437293 %ifarch ppc64 Obsoletes: qt-devel-64bit %endif # %description devel You need this package, if you want to compile programs with Qt. It contains the "Qt Crossplatform Development Kit". It does contain include files and development applications like GUI designers, translator tools and code generators. Authors: -------- Qt Software %package -n %{packageprefix}libqt4%{packagesuffix}-sql-sqlite License: GPLv2 ; GPLv3 Group: Development/Libraries/C and C++ Summary: Qt 4 sqlite plugin Requires: %{packageprefix}libqt4%{packagesuffix}-sql = %version Provides: %{packageprefix}libqt4%{packagesuffix}_sql_backend = %version %description -n %{packageprefix}libqt4%{packagesuffix}-sql-sqlite Qt 4 sqlite plugin to be able to use database functionality with Qt applications without the need to setup a SQL server. Authors: -------- Qt Software %package x11 License: GPLv2 ; GPLv3 Group: Development/Libraries/C and C++ Summary: Qt 4 GUI related libraries # bug437293 %ifarch ppc64 Obsoletes: qt-x11-64bit %endif # Requires: %name = %version %description x11 Qt 4 libraries which are used for drawing widgets and OpenGL items. Authors: -------- Qt Software %if %with_qt3support %package qt3support License: GPLv2 ; GPLv3 Group: System/Libraries Summary: C++ Program Library, Core Components # bug437293 %ifarch ppc64 Obsoletes: qt-qt3support-64bit %endif # Requires: %name = %version %description qt3support Qt is a set of libraries for developing applications. This package contains base tools, like string, xml, and network handling. Authors: -------- Qt Software %endif %package sql License: GPLv2 ; GPLv3 Group: Development/Libraries/C and C++ Summary: Qt 4 SQL related libraries # bug437293 %ifarch ppc64 Obsoletes: qt-sql-64bit %endif # Requires: %name = %version %if 0%{?suse_version} Recommends: %{packageprefix}libqt4%{packagesuffix}_sql_backend = %version Suggests: %{packageprefix}libqt4%{packagesuffix}-sql-sqlite %endif %description sql Qt 4 libraries which are used for connection with an SQL server. You will need also a plugin package for a supported SQL server. Authors: -------- Qt Software %if %with_qtwebkit %package -n %{packageprefix}libQtWebKit4%{packagesuffix} License: GPLv2 ; GPLv3 Group: Development/Libraries/C and C++ Summary: Open source Web Browser engine based on Qt4 Requires: %{packageprefix}libqt4%{packagesuffix}-x11 = %version %description -n %{packageprefix}libQtWebKit4%{packagesuffix} WebKit is an open source web browser engine. WebKit's HTML and JavaScript code began as a branch of the KHTML and KJS libraries from KDE. As part of KDE framework KHTML was based on Qt but during their porting efforts Apple's engineers made WebKit toolkit independent. WebKit Qt is a project aiming at porting this fabulous engine back to Qt. Authors: -------- Qt Software %package -n %{packageprefix}libQtWebKit%{packagesuffix}-devel License: GPLv2 ; GPLv3 Group: Development/Libraries/C and C++ Summary: Open source Web Browser engine based on Qt4 Requires: %{packageprefix}libQtWebKit4%{packagesuffix} = %version Requires: %{packageprefix}libqt4%{packagesuffix}-devel = %version %description -n %{packageprefix}libQtWebKit%{packagesuffix}-devel WebKit is an open source web browser engine. WebKit's HTML and JavaScript code began as a branch of the KHTML and KJS libraries from KDE. As part of KDE framework KHTML was based on Qt but during their porting efforts Apple's engineers made WebKit toolkit independent. WebKit Qt is a project aiming at porting this fabulous engine back to Qt. Authors: -------- Qt Software %endif %package private-headers-devel License: GPLv2 ; GPLv3 Group: Development/Libraries/C and C++ Summary: Non-ABI stabile experimental API Requires: %{packageprefix}libqt4%{packagesuffix}-devel = %version %description private-headers-devel This package provides private headers of libqt4-devel that are normally not used by application development and that do not have any ABI or API guarantees. The packages that build against these have to require the exact Qt version. %if %with_phonon %package -n %{packageprefix}phonon%{packagesuffix} License: LGPLv2.0+ Summary: Phonon Multimedia Platform Abstraction Group: Development/Libraries/KDE Requires: phonon-backend = %version Requires: %{packageprefix}libphonon4%{packagesuffix} = %version %description -n %{packageprefix}phonon%{packagesuffix} Phonon is a cross-platform portable Multimedia Support Abstraction, which allows you to play multiple audio or video formats with the same quality on all platforms, no matter which underlying architecture is used. Authors: -------- Matthias Kretz %package -n %{packageprefix}phonon%{packagesuffix}-devel License: LGPLv2.0+ Summary: Phonon Multimedia Platform Abstraction Group: Development/Libraries/KDE Requires: %name = %version Requires: %{packageprefix}libphonon4%{packagesuffix} = %version Requires: %{packageprefix}libqt4%{packagesuffix}-devel %description -n %{packageprefix}phonon%{packagesuffix}-devel Phonon is a cross-platform portable Multimedia Support Abstraction, which allows you to play multiple audio or video formats with the same quality on all platforms, no matter which underlying architecture is used. Authors: -------- Matthias Kretz %package -n %{packageprefix}libphonon4%{packagesuffix} License: LGPLv2.0+ Summary: Phonon Multimedia Platform Abstraction Group: Development/Libraries/KDE %requires_ge %{packageprefix}libqt4%{packagesuffix}-x11 %description -n %{packageprefix}libphonon4%{packagesuffix} Phonon is a cross-platform portable Multimedia Support Abstraction, which allows you to play multiple audio or video formats with the same quality on all platforms, no matter which underlying architecture is used. Authors: -------- Matthias Kretz %if %with_phonon_backend %package -n %{packageprefix}phonon%{packagesuffix}-backend-gstreamer-0_10 License: LGPLv2.0+ Summary: Phonon Multimedia Platform Abstraction Group: Development/Libraries/KDE Provides: phonon-backend = %version Requires: %{packageprefix}libphonon4%{packagesuffix} = %version %description backend-gstreamer-0_10 Phonon is a cross-platform portable Multimedia Support Abstraction, which allows you to play multiple audio or video formats with the same quality on all platforms, no matter which underlying architecture is used. Authors: -------- Matthias Kretz %package -n %{packageprefix}phonon%{packagesuffix}-backend-xine License: LGPLv2.0+ Summary: Phonon Multimedia Platform Abstraction Group: Development/Libraries/KDE Provides: phonon-backend = %version Requires: %{packageprefix}libphonon4%{packagesuffix} = %version Supplements: packageand(libxine1-codecs:phonon) %description backend-xine Phonon is a cross-platform portable Multimedia Support Abstraction, which allows you to play multiple audio or video formats with the same quality on all platforms, no matter which underlying architecture is used. Authors: -------- Matthias Kretz %endif %endif %build export QTDIR=$PWD export PATH=$PWD/bin:$PATH export LD_LIBRARY_PATH=$PWD/lib/ %ifarch ppc64 RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc" %endif export CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS" export CFLAGS="$CFLAGS $RPM_OPT_FLAGS" export MAKEFLAGS="%{?jobs:-j %jobs}" touch translations/qt_de.qm %ifarch sparc64 platform="-platform linux-g++-64" %else platform="" %endif # Record mtime of changes file instead of build time CHANGES=`stat --format="%y" %SOURCE1|cut --characters=1-10` sed -i -e "s/qt_instdate=\$TODAY/qt_instdate=$CHANGES/" configure echo yes | ./configure %common_options $platform \ -plugin-sql-sqlite -nomake examples -nomake demos \ %if %with_qtwebkit -webkit \ %endif -xmlpatterns %check_config test -s translations/qt_de.qm || rm translations/qt_de.qm make %{?jobs:-j %jobs} for i in translations/*.ts; do LD_LIBRARY_PATH=$PWD/lib bin/lrelease $i -qm ${i/.ts/.qm} done %install make INSTALL_ROOT=$RPM_BUILD_ROOT install # argggh, qmake is such a piece of <censored> find $RPM_BUILD_ROOT/%_libdir -type f -name '*prl' -exec perl -pi -e "s, -L$RPM_BUILD_DIR/\S+,,g" {} \; find $RPM_BUILD_ROOT/%_libdir -type f -name '*prl' -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" {} \; #find $RPM_BUILD_ROOT/%_docdir/%name -type f -name 'lib*.a' -exec rm {} \; find $RPM_BUILD_ROOT/%_libdir -type f -name '*la' -print -exec perl -pi -e "s, -L$RPM_BUILD_DIR/?\S+,,g" {} \; # insanity ... find $RPM_BUILD_ROOT/%_libdir -type f -name '*pc' -print -exec perl -pi -e "s, -L$RPM_BUILD_DIR/?\S+,,g" {} \; -exec sed -i -e "s,^moc_location=.*,moc_location=%_bindir/moc," -e "s,uic_location=.*,uic_location=%_bindir/uic," {} \; find $RPM_BUILD_ROOT/%_libdir/ -name 'lib*.a' -exec chmod -x -- {} \; find $RPM_BUILD_ROOT/%_docdir/%{base_name} -name '*.png' -exec chmod -x -- {} \; %if ! 0%{?suse_version} # SUSE does this implictly rm -rf $RPM_BUILD_ROOT/%_docdir/%name %endif mkdir -p $RPM_BUILD_ROOT/%plugindir/sqldrivers #install qdoc3 install -m 755 bin/qdoc3 $RPM_BUILD_ROOT/%_bindir/ # packaged in devel-doc rm $RPM_BUILD_ROOT/%_bindir/{qcollectiongenerator,assistant} # some packages expect these symlinks ln -s /%_includedir $RPM_BUILD_ROOT/%_libdir/qt4/include ln -s %_libdir $RPM_BUILD_ROOT/%_libdir/qt4/lib ln -s %_bindir $RPM_BUILD_ROOT/%_libdir/qt4/bin # install private headers manually instead of using -developer-build for comb in QtDeclarative/declarative QtCore/corelib QtScript/script QtGui/gui; do d=${comb%%/*} s=${comb##*/} mkdir -p $RPM_BUILD_ROOT/%_includedir/$d/private for h in include/$d/private/*_p.h; do header=$(find src/$s/ -name "$(basename $h)" | head -n 1) if test -r "$header"; then install -m 644 $header $RPM_BUILD_ROOT/%_includedir/$d/private fi done done %if 0%{?suse_version} %fdupes %{buildroot}/%_includedir %endif # # we do not package qvfb, and assistant in devel-doc # rm $RPM_BUILD_ROOT/%_datadir/qt4/translations/qvfb_*.qm rm $RPM_BUILD_ROOT/%_datadir/qt4/translations/assistant_*.qm install -m 755 %{SOURCE17} $RPM_BUILD_ROOT/%_bindir/ %ifarch x86_64 sed -i "s/lib/lib64/g" $RPM_BUILD_ROOT/%_bindir/qt-4.7-env.sh %endif pushd $RPM_BUILD_ROOT/%_bindir ln -s qt-4.7-env.sh designer-wrapper ln -s qt-4.7-env.sh linguist-wrapper ln -s qt-4.7-env.sh qtconfig-wrapper popd # # install menu entries # %if 0%{?suse_version} %suse_update_desktop_file -i qt4config Qt Utility DesktopSettings %suse_update_desktop_file -i designer4 Qt Development GUIDesigner %suse_update_desktop_file -i linguist4 Qt Development Translation mv $RPM_BUILD_ROOT/usr/share/applications/designer4.desktop $RPM_BUILD_ROOT/usr/share/applications/designer48.desktop mv $RPM_BUILD_ROOT/usr/share/applications/linguist4.desktop $RPM_BUILD_ROOT/usr/share/applications/linguist48.desktop mv $RPM_BUILD_ROOT/usr/share/applications/qt4config.desktop $RPM_BUILD_ROOT/usr/share/applications/qt48config.desktop %else install -p -m664 -D %{SOURCE11} $RPM_BUILD_ROOT/usr/share/applications/designer48.desktop install -p -m664 -D %{SOURCE12} $RPM_BUILD_ROOT/usr/share/applications/linguist48.desktop install -p -m664 -D %{SOURCE13} $RPM_BUILD_ROOT/usr/share/applications/qt48config.desktop %endif # icons are not installed by suse_update_desktop_file if Icon=names in *.desktop differ mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps cp %{SOURCE15} %{SOURCE16} $RPM_BUILD_ROOT/usr/share/pixmaps/ mv $RPM_BUILD_ROOT/usr/share/pixmaps/designer.png $RPM_BUILD_ROOT/usr/share/pixmaps/designer48.png mv $RPM_BUILD_ROOT/usr/share/pixmaps/linguist.png $RPM_BUILD_ROOT/usr/share/pixmaps/linguist48.png %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %post x11 -p /sbin/ldconfig %if %with_qt3support %post qt3support -p /sbin/ldconfig %postun qt3support -p /sbin/ldconfig %endif %post sql -p /sbin/ldconfig %postun -p /sbin/ldconfig %postun x11 -p /sbin/ldconfig %postun sql -p /sbin/ldconfig %if %with_qtwebkit %post -n %{packageprefix}libQtWebKit4%{packagesuffix} -p /sbin/ldconfig %postun -n %{packageprefix}libQtWebKit4%{packagesuffix} -p /sbin/ldconfig %endif %if %with_phonon %post -n %{packageprefix}libphonon4%{packagesuffix} -p /sbin/ldconfig %postun -n %{packageprefix}libphonon4%{packagesuffix} -p /sbin/ldconfig %endif %files %defattr(-,root,root,755) %doc LICENSE.LGPL LICENSE.FDL LGPL_EXCEPTION.txt LICENSE.GPL3 changes-4.7.4 README %dir %_prefix %dir %_bindir %_bindir/qt-4.7-env.sh %dir %_libdir %dir %_libdir/qt4 %dir %_datadir %dir %plugindir %dir %plugindir/script %dir %plugindir/codecs %dir %plugindir/qmltooling %dir %_datadir/qt4/translations %plugindir/codecs/* %dir %_datadir/qt4 %_libdir/libQtDBus*.so.* %_libdir/libQtCore*.so.* %_libdir/libQtNetwork*.so.* %_libdir/libQtXml.so.* %_libdir/libQtTest.so.* %_libdir/libQtCLucene.so.* %_bindir/qdbus %_bindir/xmlpatterns %_bindir/xmlpatternsvalidator %_libdir/libQtXmlPatterns.so.* %_datadir/qt4/translations/qt_*.qm %files x11 %defattr(-,root,root,755) %if %with_qt3support %exclude %plugindir/accessible/libqtaccessiblecompatwidgets.so %_bindir/qtconfig* %endif %_bindir/qdbusviewer %_bindir/qmlviewer ##%_bindir/qmlplugindump /usr/share/applications/qt48config.desktop /usr/share/pixmaps/designer48.png %_libdir/libQtGui*.so.* %_libdir/libQtOpenGL*.so.* %_libdir/libQtSvg.so.* %_libdir/libQtScript.so.* %_libdir/libQtScriptTools.so.* %_libdir/libQtDesigner*.so.* %_libdir/libQtHelp.so.* %_libdir/libQtMultimedia.so.* %_libdir/libQtDeclarative.so.* %dir %plugindir/iconengines %dir %plugindir/imageformats %dir %plugindir/inputmethods %dir %plugindir/accessible %dir %plugindir/graphicssystems %dir %plugindir/bearer %dir %plugindir/imports %dir %plugindir/imports/Qt %plugindir/iconengines/* %plugindir/imageformats/* %plugindir/inputmethods/* %plugindir/accessible/* %plugindir/graphicssystems/* %plugindir/bearer/* %plugindir/imports/Qt/* %_datadir/qt4/phrasebooks %_datadir/qt4/translations/qtconfig_*.qm %plugindir/script/libqtscriptdbus.so %if !%with_qtwebkit %plugindir/designer/libqdeclarativeview.so %endif #%plugindir/qmltooling/libtcpserver.so %plugindir/qmltooling/libqmldbg_tcp.so ##%plugindir/qmltooling/libqmldbg_inspector.so %if %with_qt3support %files qt3support %defattr(-,root,root,755) %_libdir/libQt3Support*.so.* %plugindir/accessible/libqtaccessiblecompatwidgets.so %plugindir/designer/libqt3supportwidgets.so %endif %if %with_qtwebkit %files -n %{packageprefix}libQtWebKit4%{packagesuffix} %defattr(-,root,root,755) %dir %plugindir/imports/QtWebKit %_libdir/libQtWebKit.so.* %plugindir/imports/QtWebKit/* %plugindir/designer/libqwebview.so %plugindir/designer/libqdeclarativeview.so %files -n %{packageprefix}libQtWebKit%{packagesuffix}-devel %defattr(-,root,root,755) %dir %_includedir %_includedir/QtWebKit %_libdir/libQtXmlPatterns.so %_libdir/libQtXmlPatterns.prl %_libdir/libQtXmlPatterns.la %_libdir/libQtWebKit.so %_libdir/libQtWebKit.prl %_libdir/libQtWebKit.la %_libdir/pkgconfig/QtWebKit.pc %dir %_libdir/pkgconfig #%_libdir/pkgconfig/QtXmlPatterns.pc #%_libdir/pkgconfig/QtDeclarative.pc %endif %files devel %defattr(-,root,root,755) %if %with_qtwebkit %exclude %_libdir/libQtWebKit.la %exclude %_libdir/libQtWebKit.prl %exclude %_libdir/libQtWebKit.so %exclude %_libdir/pkgconfig/QtWebKit.pc %endif %_libdir/libQtDeclarative.so %_libdir/libQtDeclarative.prl %_libdir/libQtDeclarative.la %_libdir/libQtXmlPatterns.la %_libdir/libQtXmlPatterns.prl %_libdir/libQtXmlPatterns.so %_libdir/pkgconfig/QtXmlPatterns.pc %_libdir/pkgconfig/QtDeclarative.pc %_bindir/rcc %_bindir/uic %if %with_qt3support %_bindir/uic3 %endif %_bindir/qttracereplay %_bindir/qdoc3 %_bindir/moc %_bindir/qmake %_bindir/designer* %_bindir/linguist* %_bindir/lrelease %_bindir/lupdate %_bindir/lconvert %_bindir/pixeltool %_bindir/qt3to4 %_bindir/qdbuscpp2xml %_bindir/qdbusxml2cpp %_bindir/qhelpgenerator %_bindir/qhelpconverter %_libdir/lib*.prl %_libdir/lib*a %_libdir/lib*.so %dir %_libdir/pkgconfig %_libdir/pkgconfig/* %_libdir/qt4/lib %_includedir/Qt %if %with_qt3support %_includedir/Qt3Support %endif %dir %plugindir/designer %dir %_includedir %_includedir/QtCore %_includedir/QtDBus %_includedir/QtDesigner %_includedir/QtGui %_includedir/QtHelp %_includedir/QtMultimedia %_includedir/QtNetwork %_includedir/QtOpenGL %_includedir/QtScript %_includedir/QtScriptTools %_includedir/QtSql %_includedir/QtSvg %_includedir/QtTest %_includedir/QtUiTools %_includedir/QtXml %_includedir/QtXmlPatterns %_includedir/QtDeclarative /usr/share/applications/designer48.desktop /usr/share/applications/linguist48.desktop /usr/share/pixmaps/linguist48.png %_libdir/qt4/include %_libdir/qt4/bin %dir %_datadir/qt4 %_datadir/qt4/translations/designer_*.qm %_datadir/qt4/translations/linguist_*.qm %_datadir/qt4/mkspecs %_datadir/qt4/q3porting.xml %files private-headers-devel %defattr(-,root,root,755) %_includedir/QtDeclarative/private %_includedir/QtCore/private %_includedir/QtScript/private %_includedir/QtGui/private %files sql %defattr(-,root,root,755) %dir %plugindir/sqldrivers %_libdir/libQtSql*.so.* %files -n %{packageprefix}libqt4%{packagesuffix}-sql-sqlite %defattr(-,root,root,755) %plugindir/sqldrivers/libqsqlite*.so %if %with_phonon %files -n %{packageprefix}phonon%{packagesuffix} %defattr(-,root,root) %dir %plugindir/phonon_backend #%_datadir/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml %files -n %{packageprefix}libphonon4%{packagesuffix} %defattr(-,root,root) %_libdir/libphonon.so.* %files -n %{packageprefix}phonon%{packagesuffix}-devel %defattr(-,root,root) %dir %_includedir/phonon %_includedir/phonon %_libdir/libphonon.so %_libdir/pkgconfig/phonon.pc %if %with_phonon_backend %files -n %{packageprefix}phonon%{packagesuffix}-backend-gstreamer-0_10 %defattr(-,root,root) %plugindir/phonon_backend/phonon_gstreamer.so %_kde_share_dir/services/phononbackends/gstreamer.desktop %files -n %{packageprefix}phonon%{packagesuffix}-backend-xine %defattr(-,root,root) %_kde4_modules/plugins/phonon_backend/phonon_xine.so %_kde_share_dir/services/phononbackends/xine.desktop %_datadir/icons/*/*/apps/phonon-xine.* %endif %endif %changelog