add sqlite
This commit is contained in:
parent
5afbcc346e
commit
b67df495dd
33
qt.spec
33
qt.spec
|
@ -74,8 +74,11 @@ Patch200: qt-x11-free-3.3.4-fullscreen.patch
|
||||||
# ODBC plugins
|
# ODBC plugins
|
||||||
%define plugin_odbc -plugin-sql-odbc
|
%define plugin_odbc -plugin-sql-odbc
|
||||||
|
|
||||||
|
# sqlite plugins
|
||||||
|
%define plugin_sqlite -plugin-sql-sqlite
|
||||||
|
|
||||||
%define plugins_style -qt-style-cde -qt-style-motifplus -qt-style-platinum -qt-style-sgi -qt-style-windows -qt-style-compact -qt-imgfmt-png -qt-imgfmt-jpeg -qt-imgfmt-mng
|
%define plugins_style -qt-style-cde -qt-style-motifplus -qt-style-platinum -qt-style-sgi -qt-style-windows -qt-style-compact -qt-imgfmt-png -qt-imgfmt-jpeg -qt-imgfmt-mng
|
||||||
%define plugins %{plugin_mysql} %{plugin_psql} %{plugin_odbc} %{plugins_style}
|
%define plugins %{plugin_mysql} %{plugin_psql} %{plugin_odbc} %{plugin_sqlite} %{plugins_style}
|
||||||
|
|
||||||
Requires(post): /sbin/ldconfig
|
Requires(post): /sbin/ldconfig
|
||||||
Requires(postun): /sbin/ldconfig
|
Requires(postun): /sbin/ldconfig
|
||||||
|
@ -115,7 +118,7 @@ BuildRequires: desktop-file-utils
|
||||||
BuildRequires: mysql-devel
|
BuildRequires: mysql-devel
|
||||||
BuildRequires: postgresql-devel
|
BuildRequires: postgresql-devel
|
||||||
BuildRequires: unixODBC-devel
|
BuildRequires: unixODBC-devel
|
||||||
|
BuildRequires: sqlite-devel
|
||||||
|
|
||||||
%package config
|
%package config
|
||||||
Summary: Grapical configuration tool for programs using Qt
|
Summary: Grapical configuration tool for programs using Qt
|
||||||
|
@ -171,6 +174,12 @@ Group: System Environment/Libraries
|
||||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
|
|
||||||
|
%package sqlite
|
||||||
|
Summary: sqlite drivers for Qt's SQL classes.
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
|
|
||||||
%package designer
|
%package designer
|
||||||
Summary: Interface designer (IDE) for the Qt toolkit
|
Summary: Interface designer (IDE) for the Qt toolkit
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
|
@ -224,6 +233,10 @@ MySQL driver for Qt's SQL classes (QSQL)
|
||||||
PostgreSQL driver for Qt's SQL classes (QSQL)
|
PostgreSQL driver for Qt's SQL classes (QSQL)
|
||||||
|
|
||||||
|
|
||||||
|
%description sqlite
|
||||||
|
sqlite driver for Qt's SQL classes (QSQL)
|
||||||
|
|
||||||
|
|
||||||
%description designer
|
%description designer
|
||||||
The qt-designer package contains an User Interface designer tool
|
The qt-designer package contains an User Interface designer tool
|
||||||
for the Qt toolkit.
|
for the Qt toolkit.
|
||||||
|
@ -354,6 +367,11 @@ echo yes | ./configure \
|
||||||
|
|
||||||
make $SMP_MFLAGS src-qmake
|
make $SMP_MFLAGS src-qmake
|
||||||
|
|
||||||
|
# build sqlite plugin
|
||||||
|
pushd plugins/src/sqldrivers/sqlite
|
||||||
|
qmake -o Makefile sqlite.pro
|
||||||
|
popd
|
||||||
|
|
||||||
# build psql plugin
|
# build psql plugin
|
||||||
pushd plugins/src/sqldrivers/psql
|
pushd plugins/src/sqldrivers/psql
|
||||||
qmake -o Makefile "INCLUDEPATH+=%{_includedir}/pgsql %{_includedir}/pgsql/server %{_includedir}/pgsql/internal" "LIBS+=-lpq" psql.pro
|
qmake -o Makefile "INCLUDEPATH+=%{_includedir}/pgsql %{_includedir}/pgsql/server %{_includedir}/pgsql/internal" "LIBS+=-lpq" psql.pro
|
||||||
|
@ -506,17 +524,21 @@ rm -rf %{buildroot}
|
||||||
%doc tutorial
|
%doc tutorial
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
|
%files sqlite
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{qtdir}/plugins/sqldrivers/libqsqlite.so
|
||||||
|
|
||||||
%files ODBC
|
%files ODBC
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{qtdir}/plugins/sqldrivers/libqsqlodbc*
|
%{qtdir}/plugins/sqldrivers/libqsqlodbc.so
|
||||||
|
|
||||||
%files PostgreSQL
|
%files PostgreSQL
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{qtdir}/plugins/sqldrivers/libqsqlpsql*
|
%{qtdir}/plugins/sqldrivers/libqsqlpsql.so
|
||||||
|
|
||||||
%files MySQL
|
%files MySQL
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{qtdir}/plugins/sqldrivers/libqsqlmysql*
|
%{qtdir}/plugins/sqldrivers/libqsqlmysql.so
|
||||||
|
|
||||||
%files designer
|
%files designer
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
@ -540,6 +562,7 @@ rm -rf %{buildroot}
|
||||||
- fix #211436, as_IN font rendering
|
- fix #211436, as_IN font rendering
|
||||||
thanks Sachin Tawniya, LingNing Zhang for the fixes
|
thanks Sachin Tawniya, LingNing Zhang for the fixes
|
||||||
- move html files to devel
|
- move html files to devel
|
||||||
|
- add sqlite plugin
|
||||||
|
|
||||||
* Thu Aug 31 2006 Than Ngo <than@redhat.com> 1:3.3.6-13
|
* Thu Aug 31 2006 Than Ngo <than@redhat.com> 1:3.3.6-13
|
||||||
- add missing desktop files
|
- add missing desktop files
|
||||||
|
|
Loading…
Reference in New Issue