- saner versioned Obsoletes
- -gtkstyle, Obsoletes: qgtkstyle < 0.1 - enable phonon support and associated hackery
This commit is contained in:
parent
47eb6e4a3b
commit
c5c71b0706
|
@ -1,6 +1,5 @@
|
||||||
hi128-app-qt4-logo.png
|
hi128-app-qt4-logo.png
|
||||||
hi48-app-qt4-logo.png
|
hi48-app-qt4-logo.png
|
||||||
qt-x11-opensource-src-4.4.3.tar.bz2
|
qt-x11-opensource-src-4.4.3.tar.bz2
|
||||||
qt-copy-patches-20090205svn.tar.bz2
|
|
||||||
qt-x11-opensource-src-4.5.0-rc1.tar.bz2
|
qt-x11-opensource-src-4.5.0-rc1.tar.bz2
|
||||||
qt-copy-patches-20090215svn.tar.bz2
|
qt-copy-patches-20090220svn.tar.bz2
|
||||||
|
|
50
qt.spec
50
qt.spec
|
@ -1,6 +1,9 @@
|
||||||
# Fedora Review: http://bugzilla.redhat.com/188180
|
# Fedora Review: http://bugzilla.redhat.com/188180
|
||||||
%define pre -rc1
|
%define pre -rc1
|
||||||
|
|
||||||
|
# --no-pch disables precompiled headers, make ccache-friendly
|
||||||
|
#define pch --no-pch
|
||||||
|
|
||||||
Summary: Qt toolkit
|
Summary: Qt toolkit
|
||||||
%if 0%{?fedora} > 8
|
%if 0%{?fedora} > 8
|
||||||
Name: qt
|
Name: qt
|
||||||
|
@ -9,7 +12,7 @@ Epoch: 1
|
||||||
Name: qt4
|
Name: qt4
|
||||||
%endif
|
%endif
|
||||||
Version: 4.5.0
|
Version: 4.5.0
|
||||||
Release: 0.3.rc1%{?dist}
|
Release: 0.4.rc1%{?dist}
|
||||||
|
|
||||||
# GPLv2 exceptions(see GPL_EXCEPTIONS*.txt)
|
# GPLv2 exceptions(see GPL_EXCEPTIONS*.txt)
|
||||||
License: LGPLv2 or GPLv3 with exceptions
|
License: LGPLv2 or GPLv3 with exceptions
|
||||||
|
@ -41,7 +44,7 @@ patch11: qt-x11-opensource-src-4.5.0-rc1-misc.patch
|
||||||
Patch12: qt-x11-opensource-src-4.5.0-rc1-ppc64.patch
|
Patch12: qt-x11-opensource-src-4.5.0-rc1-ppc64.patch
|
||||||
|
|
||||||
## qt-copy patches
|
## qt-copy patches
|
||||||
%define qt_copy 20090215
|
%define qt_copy 20090220
|
||||||
Source1: qt-copy-patches-svn_checkout.sh
|
Source1: qt-copy-patches-svn_checkout.sh
|
||||||
%{?qt_copy:Source2: qt-copy-patches-%{qt_copy}svn.tar.bz2}
|
%{?qt_copy:Source2: qt-copy-patches-%{qt_copy}svn.tar.bz2}
|
||||||
%{?qt_copy:Provides: qt-copy = %{qt_copy}}
|
%{?qt_copy:Provides: qt-copy = %{qt_copy}}
|
||||||
|
@ -67,7 +70,9 @@ Source31: hi48-app-qt4-logo.png
|
||||||
%define odbc -plugin-sql-odbc
|
%define odbc -plugin-sql-odbc
|
||||||
%define psql -plugin-sql-psql
|
%define psql -plugin-sql-psql
|
||||||
%define sqlite -plugin-sql-sqlite
|
%define sqlite -plugin-sql-sqlite
|
||||||
|
%define phonon -phonon
|
||||||
%define webkit -webkit
|
%define webkit -webkit
|
||||||
|
%define gtkstyle -gtkstyle
|
||||||
|
|
||||||
#define nas -system-nas-sound
|
#define nas -system-nas-sound
|
||||||
%define nas -no-nas-sound
|
%define nas -no-nas-sound
|
||||||
|
@ -131,6 +136,15 @@ BuildRequires: nas-devel
|
||||||
BuildRequires: mysql-devel >= 4.0
|
BuildRequires: mysql-devel >= 4.0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if "%{?phonon}" == "-phonon"
|
||||||
|
BuildRequires: glib2-devel
|
||||||
|
BuildRequires: gstreamer-plugins-base-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%{?gtkstyle}" == "-gtkstyle"
|
||||||
|
BuildRequires: gtk2-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%if "%{?psql}" != "-no-sql-psql"
|
%if "%{?psql}" != "-no-sql-psql"
|
||||||
BuildRequires: postgresql-devel
|
BuildRequires: postgresql-devel
|
||||||
# added deps to workaround http://bugzilla.redhat.com/440673
|
# added deps to workaround http://bugzilla.redhat.com/440673
|
||||||
|
@ -146,12 +160,13 @@ BuildRequires: unixODBC-devel
|
||||||
BuildRequires: sqlite-devel
|
BuildRequires: sqlite-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Obsoletes: qt4-config < %{version}-%{release}
|
Obsoletes: qgtkstyle < 0.1
|
||||||
|
Obsoletes: qt4-config < 4.5.0
|
||||||
Provides: qt4-config = %{version}-%{release}
|
Provides: qt4-config = %{version}-%{release}
|
||||||
Obsoletes: qt4-sqlite < %{version}-%{release}
|
Obsoletes: qt4-sqlite < 4.5.0
|
||||||
Provides: qt4-sqlite = %{version}-%{release}
|
Provides: qt4-sqlite = %{version}-%{release}
|
||||||
%if "%{name}" == "qt"
|
%if "%{name}" == "qt"
|
||||||
Obsoletes: qt-sqlite < %{?epoch:%{epoch}:}%{version}-%{release}
|
Obsoletes: qt-sqlite < %{?epoch:%{epoch}:}4.5.0
|
||||||
Provides: qt-sqlite = %{?epoch:%{epoch}:}%{version}-%{release}
|
Provides: qt-sqlite = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -170,6 +185,10 @@ Requires: %{x_deps}
|
||||||
Requires: libpng-devel
|
Requires: libpng-devel
|
||||||
Requires: libjpeg-devel
|
Requires: libjpeg-devel
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
%if 0%{?phonon:1}
|
||||||
|
# No, let's avoid the circular dependency (for now) -- Rex
|
||||||
|
#Requires: phonon-devel
|
||||||
|
%endif
|
||||||
%if 0%{?webkit:1}
|
%if 0%{?webkit:1}
|
||||||
Obsoletes: WebKit-qt-devel < 1.0.0-1
|
Obsoletes: WebKit-qt-devel < 1.0.0-1
|
||||||
Provides: WebKit-qt-devel = 1.0.0-1
|
Provides: WebKit-qt-devel = 1.0.0-1
|
||||||
|
@ -349,11 +368,13 @@ fi
|
||||||
-cups \
|
-cups \
|
||||||
-fontconfig \
|
-fontconfig \
|
||||||
-largefile \
|
-largefile \
|
||||||
|
-gtkstyle \
|
||||||
-qt-gif \
|
-qt-gif \
|
||||||
-no-rpath \
|
-no-rpath \
|
||||||
-reduce-relocations \
|
-reduce-relocations \
|
||||||
-no-separate-debug-info \
|
-no-separate-debug-info \
|
||||||
-no-phonon -no-gstreamer \
|
%{?phonon} %{!?phonon:-no-phonon} \
|
||||||
|
%{?pch} \
|
||||||
-sm \
|
-sm \
|
||||||
-stl \
|
-stl \
|
||||||
-system-libmng \
|
-system-libmng \
|
||||||
|
@ -535,6 +556,18 @@ EOF
|
||||||
# create/own %%_qt4_plugindir/styles
|
# create/own %%_qt4_plugindir/styles
|
||||||
mkdir %{buildroot}%{_qt4_plugindir}/styles
|
mkdir %{buildroot}%{_qt4_plugindir}/styles
|
||||||
|
|
||||||
|
%if 0%{?phonon:1}
|
||||||
|
# if building with phonon support, nuke it
|
||||||
|
rm -f %{buildroot}%{_qt4_libdir}/libphonon*
|
||||||
|
rm -rf %{buildroot}%{_qt4_headerdir}/phonon/
|
||||||
|
rm -rf %{buildroot}%{_qt4_headerdir}/Qt/phonon/
|
||||||
|
# compat symlink ? maybe put into phonon-devel instead ?
|
||||||
|
#ln -s %{_includedir}/KDE/Phonon %{buildroot}%{_qt4_headerdir}/Qt/phonon/
|
||||||
|
#ln -s ../KDE/Phonon %{buildroot}%{_qt4_headerdir}/Qt/phonon/
|
||||||
|
rm -rf %{buildroot}%{_libdir}/pkgconfig/phonon.pc
|
||||||
|
rm -f %{buildroot}%{_qt4_plugindir}/phonon_backend/libphonon_gstreamer.so
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
@ -737,6 +770,11 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 20 2009 Rex Dieter <rdieter@fedoraproject.org> 4.5.0-0.4.rc1
|
||||||
|
- saner versioned Obsoletes
|
||||||
|
- -gtkstyle, Obsoletes: qgtkstyle < 0.1
|
||||||
|
- enable phonon support and associated hackery
|
||||||
|
|
||||||
* Mon Feb 16 2009 Than Ngo <than@redhat.com> 4.5.0-0.3.rc1
|
* Mon Feb 16 2009 Than Ngo <than@redhat.com> 4.5.0-0.3.rc1
|
||||||
- fix callgrindChildExitCode is uninitialzed
|
- fix callgrindChildExitCode is uninitialzed
|
||||||
|
|
||||||
|
|
2
sources
2
sources
|
@ -1,4 +1,4 @@
|
||||||
d9f511e4b51983b4e10eb58b320416d5 hi128-app-qt4-logo.png
|
d9f511e4b51983b4e10eb58b320416d5 hi128-app-qt4-logo.png
|
||||||
6dcc0672ff9e60a6b83f95c5f42bec5b hi48-app-qt4-logo.png
|
6dcc0672ff9e60a6b83f95c5f42bec5b hi48-app-qt4-logo.png
|
||||||
8eee2774c846fa904e98934d7da6414f qt-x11-opensource-src-4.5.0-rc1.tar.bz2
|
8eee2774c846fa904e98934d7da6414f qt-x11-opensource-src-4.5.0-rc1.tar.bz2
|
||||||
94ae9401e279dc3cbe2b41bf49b3ea44 qt-copy-patches-20090215svn.tar.bz2
|
d371c9807e43528ef188be59549e58e1 qt-copy-patches-20090220svn.tar.bz2
|
||||||
|
|
Loading…
Reference in New Issue