2013-10-01 08:13:11 +02:00
|
|
|
#
|
|
|
|
# spec file for package libqt5-qtbase
|
|
|
|
#
|
|
|
|
# Copyright (c) 2013 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: libqt5-qtbase
|
|
|
|
BuildRequires: alsa-devel
|
2013-10-04 13:52:02 +02:00
|
|
|
BuildRequires: at-spi2-core-devel
|
2013-10-01 08:13:11 +02:00
|
|
|
BuildRequires: cups-devel
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: freetype2-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libmng-devel
|
|
|
|
BuildRequires: libmysqlclient-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: pcre-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: postgresql-devel
|
|
|
|
BuildRequires: sqlite3-devel
|
|
|
|
BuildRequires: unixODBC-devel
|
2013-10-04 13:52:02 +02:00
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
|
|
BuildRequires: pkgconfig(gl)
|
|
|
|
%ifarch %arm
|
|
|
|
BuildRequires: pkgconfig(gbm)
|
|
|
|
BuildRequires: pkgconfig(glesv2)
|
|
|
|
%endif
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
BuildRequires: pkgconfig(xkbcommon) >= 0.2.0
|
2013-10-01 08:13:11 +02:00
|
|
|
BuildRequires: xcb-util-image-devel
|
|
|
|
BuildRequires: xcb-util-keysyms-devel
|
|
|
|
BuildRequires: xcb-util-renderutil-devel
|
|
|
|
BuildRequires: xcb-util-wm-devel
|
2013-10-04 13:52:02 +02:00
|
|
|
Version: 5.1.1
|
|
|
|
Release: 0
|
2013-10-01 08:13:11 +02:00
|
|
|
License: GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
|
2013-10-04 13:52:02 +02:00
|
|
|
Summary: C++ Program Library, Core Components
|
|
|
|
Url: http://qt.digia.com
|
2013-10-01 08:13:11 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
%define base_name libqt5
|
2013-10-04 13:52:02 +02:00
|
|
|
%define real_version 5.1.1
|
2013-10-01 08:13:11 +02:00
|
|
|
%define tar_version qtbase-opensource-src-%{real_version}
|
|
|
|
Source: %{tar_version}.tar.xz
|
|
|
|
Source2: macros.qt5
|
|
|
|
Source3: baselibs.conf
|
2013-10-04 13:52:02 +02:00
|
|
|
# PATCH-FIX-UPSTREAM qt-never-strip.diff -- for creating debug packages
|
2013-10-01 08:13:11 +02:00
|
|
|
Patch2: qt-never-strip.diff
|
2013-10-04 13:52:02 +02:00
|
|
|
# PATCH-FIX-UPSTREAM libqt5-libtool-nodate.diff -- for ommiting date/time on build
|
2013-10-01 08:13:11 +02:00
|
|
|
Patch109: libqt5-libtool-nodate.diff
|
2013-10-04 13:52:02 +02:00
|
|
|
# PATCH-FIX-UPSTREAM qmake-add-usr-include.diff -- explicitly include /usr/include path
|
2013-10-01 08:13:11 +02:00
|
|
|
Patch131: qmake-add-usr-include.diff
|
2013-10-04 13:52:02 +02:00
|
|
|
BuildRequires: clucene-core-devel
|
|
|
|
BuildRequires: gstreamer-0_10-plugins-base-devel
|
|
|
|
BuildRequires: libicu-devel
|
|
|
|
BuildRequires: libpulse-devel
|
|
|
|
BuildRequires: libudev-devel
|
|
|
|
BuildRequires: xorg-x11-devel
|
|
|
|
BuildRequires: xz
|
2013-10-01 08:13:11 +02:00
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Qt is a set of libraries for developing applications.
|
|
|
|
|
|
|
|
This package contains base tools, like string, xml, and network
|
|
|
|
handling.
|
|
|
|
|
|
|
|
%define libqt5_prefix %{_prefix}
|
|
|
|
%define libqt5_libdir %{_libdir}
|
|
|
|
%define libqt5_archdatadir %{_libdir}/qt5
|
|
|
|
%define libqt5_bindir %{libqt5_archdatadir}/bin
|
|
|
|
%define libqt5_datadir %{_datadir}/qt5
|
|
|
|
%define libqt5_docdir %{_docdir}/qt5
|
|
|
|
%define libqt5_examplesdir %{libqt5_archdatadir}/examples
|
|
|
|
%define libqt5_includedir %{_includedir}/qt5
|
|
|
|
%define libqt5_importdir %{libqt5_archdatadir}/imports
|
|
|
|
%define libqt5_libexecdir %{libqt5_archdatadir}/libexec
|
|
|
|
%define libqt5_plugindir %{libqt5_archdatadir}/plugins
|
|
|
|
%define libqt5_sysconfdir %{_sysconfdir}/xdg
|
|
|
|
%define libqt5_translationdir %{_datadir}/qt5/translations
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n qtbase-opensource-src-%{real_version}
|
|
|
|
%patch2 -p1
|
|
|
|
%patch109 -p1
|
|
|
|
%patch131 -p1
|
|
|
|
|
|
|
|
# be sure not to use them
|
|
|
|
rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}
|
|
|
|
#rm -r qtimageformats/src/3rdparty/{libtiff,libmng}
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Qt Development Kit
|
|
|
|
Group: Development/Libraries/X11
|
2013-10-04 13:52:02 +02:00
|
|
|
Requires: %{name} = %{version}
|
2013-10-01 08:13:11 +02:00
|
|
|
Requires: alsa-devel
|
2013-10-04 13:52:02 +02:00
|
|
|
Requires: at-spi2-core-devel
|
2013-10-01 08:13:11 +02:00
|
|
|
Requires: c++_compiler
|
2013-10-04 13:52:02 +02:00
|
|
|
Requires: cups-devel
|
2013-10-01 08:13:11 +02:00
|
|
|
Requires: freetype2-devel
|
2013-10-04 13:52:02 +02:00
|
|
|
Requires: libQt5Gui5 = %{version}
|
|
|
|
Requires: libQt5Test5 = %{version}
|
|
|
|
Requires: libQt5Widgets5 = %{version}
|
2013-10-01 08:13:11 +02:00
|
|
|
Requires: libjpeg-devel
|
|
|
|
Requires: libmng-devel
|
|
|
|
Requires: libpng-devel
|
2013-10-04 13:52:02 +02:00
|
|
|
Requires: libqt5-sql-sqlite >= %{version}
|
2013-10-01 08:13:11 +02:00
|
|
|
Requires: libtiff-devel
|
|
|
|
Requires: make
|
|
|
|
Requires: openssl-devel
|
|
|
|
Requires: pcre-devel
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: sqlite3-devel
|
2013-10-04 13:52:02 +02:00
|
|
|
Requires: pkgconfig(dbus-1)
|
|
|
|
Requires: pkgconfig(gl)
|
|
|
|
%ifarch %arm
|
|
|
|
Requires: pkgconfig(gbm)
|
|
|
|
Requires: pkgconfig(glesv2)
|
|
|
|
%endif
|
|
|
|
Requires: pkgconfig(glib-2.0)
|
|
|
|
Requires: pkgconfig(xkbcommon) >= 0.2.0
|
2013-10-01 08:13:11 +02:00
|
|
|
Requires: xcb-util-image-devel
|
|
|
|
Requires: xcb-util-keysyms-devel
|
|
|
|
Requires: xcb-util-renderutil-devel
|
|
|
|
Requires: xcb-util-wm-devel
|
2013-10-04 13:52:02 +02:00
|
|
|
Requires: gstreamer-0_10-plugins-base-devel
|
2013-10-01 08:13:11 +02:00
|
|
|
Requires: libicu-devel
|
|
|
|
Requires: libpulse-devel
|
|
|
|
Requires: libudev-devel
|
|
|
|
Requires: xorg-x11-devel
|
|
|
|
Requires: zlib-devel
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package -n libQt5Test5
|
|
|
|
Summary: Qt 5 Test Library
|
|
|
|
Group: Development/Libraries/X11
|
|
|
|
|
|
|
|
%description -n libQt5Test5
|
|
|
|
Qt 5 library for testing.
|
|
|
|
|
|
|
|
%package -n libQt5Widgets5
|
|
|
|
Summary: Qt 5 Test Library
|
|
|
|
Group: Development/Libraries/X11
|
|
|
|
|
|
|
|
%description -n libQt5Widgets5
|
|
|
|
Qt 5 library to display widgets.
|
|
|
|
|
|
|
|
%package -n libqt5-sql-sqlite
|
|
|
|
Summary: Qt 5 sqlite plugin
|
|
|
|
Group: Development/Libraries/C and C++
|
2013-10-04 13:52:02 +02:00
|
|
|
Requires: libQt5Sql5 = %{version}
|
|
|
|
Provides: libqt5_sql_backend = %{version}
|
2013-10-01 08:13:11 +02:00
|
|
|
|
|
|
|
%description -n libqt5-sql-sqlite
|
|
|
|
Qt 5 sqlite plugin to be able to use database functionality with Qt
|
|
|
|
applications without the need to setup a SQL server.
|
|
|
|
|
|
|
|
%package -n libqt5-sql-unixODBC
|
|
|
|
Summary: Qt 5 unixODBC plugin
|
|
|
|
Group: Development/Libraries/C and C++
|
2013-10-04 13:52:02 +02:00
|
|
|
Requires: libQt5Sql5 = %{version}
|
|
|
|
Provides: libqt5_sql_backend = %{version}
|
2013-10-01 08:13:11 +02:00
|
|
|
|
|
|
|
%description -n libqt5-sql-unixODBC
|
|
|
|
Qt unixODBC plugin to support databases via unixODBC within Qt
|
|
|
|
applications.
|
|
|
|
|
|
|
|
%package -n libqt5-sql-postgresql
|
|
|
|
Summary: Qt 5 PostgreSQL plugin
|
|
|
|
Group: Development/Libraries/C and C++
|
2013-10-04 13:52:02 +02:00
|
|
|
Requires: libQt5Sql5 = %{version}
|
|
|
|
Provides: libqt5_sql_backend = %{version}
|
2013-10-01 08:13:11 +02:00
|
|
|
|
|
|
|
%description -n libqt5-sql-postgresql
|
|
|
|
Qt SQL plugin to support PostgreSQL servers in Qt applications.
|
|
|
|
|
|
|
|
%package -n libqt5-sql-mysql
|
|
|
|
Summary: Qt 5 MySQL support
|
|
|
|
Group: Development/Libraries/C and C++
|
2013-10-04 13:52:02 +02:00
|
|
|
Requires: libQt5Sql5 = %{version}
|
|
|
|
Provides: libqt5_sql_backend = %{version}
|
2013-10-01 08:13:11 +02:00
|
|
|
|
|
|
|
%description -n libqt5-sql-mysql
|
|
|
|
A plugin to support MySQL server in Qt applications.
|
|
|
|
|
|
|
|
%package -n libQt5Gui5
|
|
|
|
Summary: Qt 5 GUI related libraries
|
|
|
|
Group: Development/Libraries/C and C++
|
2013-10-04 13:52:02 +02:00
|
|
|
Recommends: libqt5-qtimageformats = %{version}
|
2013-10-01 08:13:11 +02:00
|
|
|
|
|
|
|
%description -n libQt5Gui5
|
|
|
|
Qt 5 libraries which are depending on X11.
|
|
|
|
|
|
|
|
%package -n libQt5Sql5
|
|
|
|
Summary: Qt 5 SQL related libraries
|
|
|
|
Group: Development/Libraries/C and C++
|
2013-10-04 13:52:02 +02:00
|
|
|
Recommends: libqt5_sql_backend = %{version}
|
2013-10-01 08:13:11 +02:00
|
|
|
Suggests: libqt5-sql-sqlite
|
|
|
|
|
|
|
|
%description -n libQt5Sql5
|
|
|
|
Qt 5 libraries which are used for connection with an SQL server. You
|
|
|
|
will need also a plugin package for a supported SQL server.
|
|
|
|
|
|
|
|
%package private-headers-devel
|
|
|
|
Summary: Non-ABI stable experimental API
|
|
|
|
Group: Development/Libraries/C and C++
|
2013-10-04 13:52:02 +02:00
|
|
|
Requires: libqt5-qtbase-devel = %{version}
|
2013-10-01 08:13:11 +02:00
|
|
|
|
|
|
|
%description private-headers-devel
|
|
|
|
This package provides private headers of libqt5-qtbase-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.
|
|
|
|
|
|
|
|
%build
|
|
|
|
export QMAKESPEC=$PWD/mkspecs/linux-g++
|
|
|
|
%ifarch ppc64
|
2013-10-04 13:52:02 +02:00
|
|
|
RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
2013-10-01 08:13:11 +02:00
|
|
|
%endif
|
2013-10-04 13:52:02 +02:00
|
|
|
export CXXFLAGS="$CXXFLAGS %{optflags} -DOPENSSL_LOAD_CONF"
|
|
|
|
export CFLAGS="$CFLAGS %{optflags} -DOPENSSL_LOAD_CONF"
|
|
|
|
export MAKEFLAGS="%{?_smp_mflags}"
|
2013-10-01 08:13:11 +02:00
|
|
|
%ifarch sparc64
|
|
|
|
platform="-platform linux-g++-64"
|
|
|
|
%else
|
|
|
|
platform=""
|
|
|
|
%endif
|
|
|
|
# Record mtime of changes file instead of build time
|
2013-10-04 13:52:02 +02:00
|
|
|
CHANGES=`stat --format="%y" %{SOURCE1}|cut --characters=1-10`
|
2013-10-01 08:13:11 +02:00
|
|
|
sed -i -e "s/qt_instdate=\$TODAY/qt_instdate=$CHANGES/" configure
|
|
|
|
|
|
|
|
echo yes | ./configure $platform \
|
|
|
|
-prefix %{_prefix} \
|
|
|
|
-L %{libqt5_libdir} \
|
|
|
|
-libdir %{libqt5_libdir} \
|
|
|
|
-archdatadir %{libqt5_archdatadir} \
|
|
|
|
-bindir %{libqt5_bindir} \
|
|
|
|
-datadir %{libqt5_datadir} \
|
|
|
|
-docdir %{libqt5_docdir} \
|
|
|
|
-examplesdir %{libqt5_examplesdir} \
|
|
|
|
-headerdir %{libqt5_includedir} \
|
|
|
|
-importdir %{libqt5_importdir} \
|
|
|
|
-libexecdir %{libqt5_libexecdir} \
|
|
|
|
-plugindir %{libqt5_plugindir} \
|
|
|
|
-sysconfdir %{libqt5_sysconfdir} \
|
|
|
|
-translationdir %{libqt5_translationdir} \
|
|
|
|
-verbose \
|
|
|
|
-reduce-relocations \
|
|
|
|
-optimized-qmake \
|
|
|
|
-accessibility \
|
|
|
|
-opensource \
|
|
|
|
-no-separate-debug-info \
|
|
|
|
-shared \
|
|
|
|
-xkb \
|
|
|
|
-xrender \
|
|
|
|
-xcursor \
|
|
|
|
-dbus-linked \
|
|
|
|
-xfixes \
|
|
|
|
-xrandr \
|
|
|
|
-xinerama \
|
|
|
|
-sm \
|
|
|
|
-no-rpath \
|
|
|
|
-system-libjpeg \
|
|
|
|
-openssl-linked \
|
|
|
|
-system-libpng \
|
|
|
|
-cups \
|
|
|
|
-nis \
|
|
|
|
-system-zlib \
|
|
|
|
-iconv \
|
|
|
|
-sysconfdir /etc/settings \
|
|
|
|
-no-pch \
|
|
|
|
-glib \
|
|
|
|
-system-sqlite \
|
|
|
|
-no-sql-mysql \
|
|
|
|
-xsync \
|
|
|
|
-xinput \
|
|
|
|
-gtkstyle \
|
|
|
|
-javascript-jit \
|
|
|
|
-xcb \
|
|
|
|
-no-eglfs \
|
2013-10-04 13:52:02 +02:00
|
|
|
-opengl desktop \
|
|
|
|
%ifarch %arm
|
|
|
|
-eglfs -kms \
|
|
|
|
-opengl es2 \
|
|
|
|
%else
|
|
|
|
-no-eglfs \
|
|
|
|
-opengl desktop \
|
|
|
|
%endif
|
2013-10-01 08:13:11 +02:00
|
|
|
-release \
|
|
|
|
%ifarch %arm
|
|
|
|
-no-neon \
|
|
|
|
%endif
|
2013-10-04 13:52:02 +02:00
|
|
|
-plugin-sql-sqlite -nomake examples \
|
2013-10-01 08:13:11 +02:00
|
|
|
-plugin-sql-psql -I/usr/include -I/usr/include/pgsql/ -I/usr/include/pgsql/server \
|
|
|
|
-plugin-sql-odbc \
|
|
|
|
-plugin-sql-mysql -I/usr/include/mysql/ -I/usr/include -v
|
|
|
|
|
2013-10-04 13:52:02 +02:00
|
|
|
make %{?_smp_mflags}
|
2013-10-01 08:13:11 +02:00
|
|
|
|
|
|
|
%install
|
2013-10-04 13:52:02 +02:00
|
|
|
make INSTALL_ROOT=%{buildroot} install
|
2013-10-01 08:13:11 +02:00
|
|
|
install -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm/macros.qt5
|
|
|
|
# argggh, qmake is such a piece of <censored>
|
2013-10-04 13:52:02 +02:00
|
|
|
find %{buildroot}/%{libqt5_libdir} -type f -name '*prl' -exec perl -pi -e "s, -L$RPM_BUILD_DIR/\S+,,g" {} \;
|
|
|
|
find %{buildroot}/%{libqt5_libdir} -type f -name '*prl' -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" {} \;
|
|
|
|
find %{buildroot}/%{libqt5_libdir} -type f -name '*la' -print -exec perl -pi -e "s, -L$RPM_BUILD_DIR/?\S+,,g" {} \;
|
2013-10-01 08:13:11 +02:00
|
|
|
# insanity ...
|
2013-10-04 13:52:02 +02:00
|
|
|
find %{buildroot}/%{libqt5_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=%libqt5_bindir/moc," -e "s,uic_location=.*,uic_location=%libqt5_bindir/uic," {} \;
|
|
|
|
find %{buildroot}/%{libqt5_libdir}/ -name 'lib*.a' -exec chmod -x -- {} \;
|
|
|
|
mkdir -p %{buildroot}/%{libqt5_plugindir}/sqldrivers
|
2013-10-01 08:13:11 +02:00
|
|
|
|
2013-10-04 13:52:02 +02:00
|
|
|
# put all the binaries to %{_bindir}, add -qt5 suffix, and symlink them back to %_qt5_bindir
|
2013-10-01 08:13:11 +02:00
|
|
|
mkdir %{buildroot}%{_bindir}
|
|
|
|
pushd %{buildroot}%{libqt5_bindir}
|
|
|
|
for i in * ; do
|
|
|
|
mv $i ../../../bin/${i}-qt5
|
|
|
|
ln -s ../../../bin/${i}-qt5 .
|
|
|
|
ln -s ../../../bin/${i}-qt5 $i
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
pushd %{buildroot}%{libqt5_docdir}/global/template/images
|
|
|
|
chmod -R 644 *.png
|
|
|
|
popd
|
|
|
|
|
|
|
|
%fdupes %{buildroot}/%{libqt5_includedir}
|
|
|
|
%fdupes %{buildroot}/%{libqt5_archdatadir}/mkspecs
|
|
|
|
|
|
|
|
%clean
|
2013-10-04 13:52:02 +02:00
|
|
|
rm -rf %{buildroot}
|
2013-10-01 08:13:11 +02:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libQt5Gui5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libQt5Sql5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libQt5Test5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libQt5Widgets5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libQt5Gui5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libQt5Sql5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libQt5Test5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libQt5Widgets5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc *.txt LICENSE.LGPL LICENSE.FDL
|
|
|
|
%dir %{libqt5_libdir}/qt5
|
|
|
|
%dir %{libqt5_plugindir}
|
|
|
|
%{libqt5_libdir}/libQt5Core.so.*
|
|
|
|
%{libqt5_libdir}/libQt5Concurrent.so.*
|
|
|
|
%{libqt5_libdir}/libQt5DBus.so.*
|
|
|
|
%{libqt5_libdir}/libQt5Network.so.*
|
|
|
|
%{libqt5_libdir}/libQt5Xml.so.*
|
|
|
|
%{libqt5_plugindir}/bearer
|
|
|
|
|
|
|
|
%files -n libQt5Test5
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc *.txt LICENSE.LGPL LICENSE.FDL
|
|
|
|
%{libqt5_libdir}/libQt5Test.so.*
|
|
|
|
|
|
|
|
%files -n libQt5Widgets5
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc *.txt LICENSE.LGPL LICENSE.FDL
|
|
|
|
%{libqt5_libdir}/libQt5Widgets.so.*
|
|
|
|
%{libqt5_libdir}/libQt5PrintSupport.so.*
|
|
|
|
%{libqt5_libdir}/libQt5OpenGL.so.*
|
|
|
|
%{libqt5_plugindir}/accessible
|
|
|
|
%{libqt5_plugindir}/printsupport
|
|
|
|
|
|
|
|
%files -n libQt5Gui5
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc *.txt LICENSE.LGPL LICENSE.FDL
|
|
|
|
%{libqt5_libdir}/libQt5Gui.so.*
|
|
|
|
%{libqt5_plugindir}/generic
|
|
|
|
%{libqt5_plugindir}/imageformats
|
|
|
|
%{libqt5_plugindir}/platforminputcontexts
|
|
|
|
%{libqt5_plugindir}/platforms
|
|
|
|
%{libqt5_plugindir}/platformthemes
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc *.txt LICENSE.LGPL LICENSE.FDL
|
2013-10-04 13:52:02 +02:00
|
|
|
%{_bindir}/*
|
2013-10-01 08:13:11 +02:00
|
|
|
%libqt5_bindir/*
|
|
|
|
%dir %libqt5_bindir
|
2013-10-04 13:52:02 +02:00
|
|
|
%exclude %{libqt5_includedir}/*/5.1.1
|
2013-10-01 08:13:11 +02:00
|
|
|
%{libqt5_includedir}/
|
|
|
|
%{libqt5_libdir}/cmake
|
|
|
|
%{libqt5_libdir}/libQt5*.la
|
|
|
|
%{libqt5_libdir}/libQt5*.prl
|
|
|
|
%{libqt5_libdir}/libQt5*.so
|
|
|
|
%{libqt5_libdir}/libQt5*.a
|
|
|
|
%{libqt5_libdir}/pkgconfig/Qt5*.pc
|
|
|
|
%{libqt5_archdatadir}/mkspecs
|
|
|
|
%{libqt5_docdir}
|
|
|
|
%{_sysconfdir}/rpm/macros.qt5
|
|
|
|
|
|
|
|
%files private-headers-devel
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc *.txt LICENSE.LGPL LICENSE.FDL
|
2013-10-04 13:52:02 +02:00
|
|
|
%{libqt5_includedir}/*/5.1.1
|
2013-10-01 08:13:11 +02:00
|
|
|
|
|
|
|
%files -n libQt5Sql5
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc *.txt LICENSE.LGPL LICENSE.FDL
|
|
|
|
%{libqt5_libdir}/libQt5Sql.so.*
|
|
|
|
%dir %{libqt5_plugindir}/sqldrivers
|
|
|
|
|
|
|
|
%files -n libqt5-sql-sqlite
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc *.txt LICENSE.LGPL LICENSE.FDL
|
|
|
|
%{libqt5_plugindir}/sqldrivers/libqsqlite*.so
|
|
|
|
|
|
|
|
%files -n libqt5-sql-unixODBC
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc *.txt LICENSE.LGPL LICENSE.FDL
|
|
|
|
%{libqt5_plugindir}/sqldrivers/libqsqlodbc*.so
|
|
|
|
|
|
|
|
%files -n libqt5-sql-postgresql
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc *.txt LICENSE.LGPL LICENSE.FDL
|
|
|
|
%{libqt5_plugindir}/sqldrivers/libqsqlpsql*.so
|
|
|
|
|
|
|
|
%files -n libqt5-sql-mysql
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc *.txt LICENSE.LGPL LICENSE.FDL
|
|
|
|
%{libqt5_plugindir}/sqldrivers/libqsqlmysql*.so
|
|
|
|
|
|
|
|
%changelog
|