Changeset 1081


Ignore:
Timestamp:
Sep 13, 2011, 9:22:53 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

packaging: Create separate packages for MySQL and PSQL plugins.

This removes the OpenSSL dependency from the core package. These
plugins are rarely used in practice.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packaging/qt4.spec

    r1080 r1081  
    113113%dir %{qt_plugindir}/sqldrivers/
    114114%{qt_plugindir}/sqldrivers/*
     115%exclude %{qt_plugindir}/sqldrivers/qmysql%{ver_major}.dll
     116%exclude %{qt_plugindir}/sqldrivers/qpsql%{ver_major}.dll
    115117%dir %{qt_datadir}/
    116118%dir %{qt_docdir}/
     
    138140# clean up the plugin/font cache to remove old entries (@todo other users?)
    139141rm -f "$HOME/.config/Trolltech.ini"
     142
     143#------------------------------------------------------------------------------
     144%package sql-mysql
     145#------------------------------------------------------------------------------
     146
     147Summary:    Qt 4 MySQL database driver
     148Group:      System Environment/Libraries
     149
     150Requires:   %{name} = %{version}-%{release}
     151
     152%description sql-mysql
     153%{descr_brief}
     154
     155This package contains the MySQL plugin for Qt 4.
     156
     157%files sql-mysql
     158%defattr(-,root,root,-)
     159%{qt_plugindir}/sqldrivers/qmysql%{ver_major}.dll
     160
     161#------------------------------------------------------------------------------
     162%package sql-psql
     163#------------------------------------------------------------------------------
     164
     165Summary:    Qt 4 PostgreSQL database driver
     166Group:      System Environment/Libraries
     167
     168Requires:   %{name} = %{version}-%{release}
     169
     170%description sql-psql
     171%{descr_brief}
     172
     173This package contains the PostgreSQL plugin for Qt 4.
     174
     175%files sql-psql
     176%defattr(-,root,root,-)
     177%{qt_plugindir}/sqldrivers/qpsql%{ver_major}.dll
    140178
    141179#------------------------------------------------------------------------------
     
    255293%wps_object_create_begin -n %{name}-qmlviewer
    256294%{pkg_wps_folder_create}
    257 %{pkg_wps_base}_QMLVIEWER:WPProgram|QML Viewer|%{pkg_wps_folder_id}|EXENAME=((%{qt_bindir}/qmlview.exe))
     295%{pkg_wps_base}_QMLVIEWER:WPProgram|QML Viewer|%{pkg_wps_folder_id}|EXENAME=((%{qt_bindir}/qmlviewer.exe))
    258296%wps_object_create_end
    259297
Note: See TracChangeset for help on using the changeset viewer.