- -tds: Add package with TDS sqldriver (#537586)
- add arch'd provides for sql drivers
This commit is contained in:
parent
d8455b671a
commit
6e405dfcba
32
qt.spec
32
qt.spec
@ -14,7 +14,7 @@ Summary: Qt toolkit
|
||||
Name: qt
|
||||
Epoch: 1
|
||||
Version: 4.6.0
|
||||
Release: 0.4.%{pre}%{?dist}
|
||||
Release: 0.5.%{pre}%{?dist}
|
||||
|
||||
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||
@ -108,6 +108,7 @@ Source31: hi48-app-qt4-logo.png
|
||||
%define odbc -plugin-sql-odbc
|
||||
%define psql -plugin-sql-psql
|
||||
%define sqlite -plugin-sql-sqlite
|
||||
%define tds -plugin-sql-tds
|
||||
%define phonon -phonon
|
||||
%define phonon_backend -phonon-backend
|
||||
%if 0%{?rhel}
|
||||
@ -198,6 +199,10 @@ BuildRequires: unixODBC-devel
|
||||
BuildRequires: sqlite-devel
|
||||
%endif
|
||||
|
||||
%if "%{?tds}" != "-no-sql-sqlite"
|
||||
BuildRequires: freetds-devel
|
||||
%endif
|
||||
|
||||
Obsoletes: qgtkstyle < 0.1
|
||||
Provides: qgtkstyle = 0.1-1
|
||||
Obsoletes: qt4-config < 4.5.0
|
||||
@ -295,6 +300,7 @@ Obsoletes: qt4-MySQL < %{version}-%{release}
|
||||
Provides: qt4-MySQL = %{version}-%{release}
|
||||
Obsoletes: qt4-mysql < %{version}-%{release}
|
||||
Provides: qt4-mysql = %{version}-%{release}
|
||||
%{?_isa:Provides: qt4-mysql%{?_isa} = %{version}-%{release}}
|
||||
|
||||
%description mysql
|
||||
%{summary}.
|
||||
@ -308,6 +314,7 @@ Obsoletes: qt4-ODBC < %{version}-%{release}
|
||||
Provides: qt4-ODBC = %{version}-%{release}
|
||||
Obsoletes: qt4-odbc < %{version}-%{release}
|
||||
Provides: qt4-odbc = %{version}-%{release}
|
||||
%{?_isa:Provides: qt4-odbc%{?_isa} = %{version}-%{release}}
|
||||
|
||||
%description odbc
|
||||
%{summary}.
|
||||
@ -321,6 +328,7 @@ Obsoletes: qt4-PostgreSQL < %{version}-%{release}
|
||||
Provides: qt4-PostgreSQL = %{version}-%{release}
|
||||
Obsoletes: qt4-postgresql < %{version}-%{release}
|
||||
Provides: qt4-postgresql = %{version}-%{release}
|
||||
%{?_isa:Provides: qt4-postgresql%{?_isa} = %{version}-%{release}}
|
||||
|
||||
%description postgresql
|
||||
%{summary}.
|
||||
@ -333,10 +341,21 @@ Obsoletes: qt4-SQLite < %{version}-%{release}
|
||||
Provides: qt4-SQLite = %{version}-%{release}
|
||||
Obsoletes: qt4-sqlite < %{version}-%{release}
|
||||
Provides: qt4-sqlite = %{version}-%{release}
|
||||
%{?_isa:Provides: qt4-sqlite%{?_isa} = %{version}-%{release}}
|
||||
|
||||
%description sqlite
|
||||
%{summary}.
|
||||
|
||||
%package tds
|
||||
Summary: TDS driver for Qt's SQL classes
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Provides: qt4-tds = %{version}-%{release}
|
||||
%{?_isa:Provides: qt4-tds%{?_isa} = %{version}-%{release}}
|
||||
|
||||
%description tds
|
||||
%{summary}.
|
||||
|
||||
%package x11
|
||||
Summary: Qt GUI-related libraries
|
||||
Group: System Environment/Libraries
|
||||
@ -514,6 +533,7 @@ done
|
||||
%{?psql} \
|
||||
%{?odbc} \
|
||||
%{?sqlite} %{?_system_sqlite} \
|
||||
%{?tds} \
|
||||
%{!?docs:-nomake docs} \
|
||||
%{!?demos:-nomake demos} \
|
||||
%{!?examples:-nomake examples}
|
||||
@ -953,6 +973,12 @@ fi
|
||||
%{_qt4_plugindir}/sqldrivers/libqsqlite*
|
||||
%endif
|
||||
|
||||
%if "%{?tds}" == "-plugin-sql-tds"
|
||||
%files tds
|
||||
%defattr(-,root,root,-)
|
||||
%{_qt4_plugindir}/sqldrivers/libqtds*
|
||||
%endif
|
||||
|
||||
%files x11
|
||||
%defattr(-,root,root,-)
|
||||
%{_sysconfdir}/rpm/macros.*
|
||||
@ -992,6 +1018,10 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Nov 14 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.6.0-0.5.beta1
|
||||
- -tds: Add package with TDS sqldriver (#537586)
|
||||
- add arch'd provides for sql drivers
|
||||
|
||||
* Sun Nov 08 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.6.0-0.4.beta1
|
||||
- -x11: Requires: %%{name}-sqlite%{?_isa}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user