Dominique Leuenberger 2017-10-01 15:00:18 +00:00 committed by Git OBS Bridge
parent 7090a9367d
commit e2a77d236b
2 changed files with 169 additions and 72 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 29 15:16:44 UTC 2017 - jengelh@inai.de
- Update package descriptions and grouping.
- Use find -exec's "+" strategy
-------------------------------------------------------------------
Wed Sep 13 12:38:49 UTC 2017 - fabian@ritter-vogt.de

View File

@ -171,7 +171,7 @@ handling.
rm -rf src/3rdparty/{libjpeg,freetype,zlib}
%package devel
Summary: Qt Development Kit
Summary: Development files for the Qt5 base library
Group: Development/Libraries/X11
# External deps shall be found via pkgconfig
Requires: %{name}-common-devel
@ -189,7 +189,7 @@ Requires: libQt5Widgets-devel = %{version}
Requires: libQt5Xml-devel = %{version}
%description devel
You need this package, if you want to compile programs with Qt. It
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.
@ -214,25 +214,34 @@ Obsoletes: libqt5-qtbase < %{version}
Recommends: libqt5-qttranslations
%description -n libQt5Core5
The Qt 5 Core library.
The Qt 5 Core library. It adds these features to C++:
* a mechanism for object communication called signals and slots
* queryable and designable object properties
* hierarchical and queryable object trees that organize
* object ownership in a natural way with guarded pointers (QPointer)
* a dynamic cast that works across library boundaries
%package -n libQt5Core-devel
Summary: Qt 5 Core Library - development files
Summary: Development files for the Qt5 core library
Group: Development/Libraries/X11
Requires: %{name}-common-devel = %{version}
Requires: libQt5Core5 = %{version}
%description -n libQt5Core-devel
Qt 5 Core Library - development files.
Development files for the Qt5 core library.
%package -n libQt5Core-private-headers-devel
Summary: Qt 5 Core Library - Non-ABI stable development files
Summary: Non-ABI stable experimental API for the Qt5 core library
Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-devel = %{version}
%description -n libQt5Core-private-headers-devel
Qt 5 Core Library - Non-ABI stable development files.
This package provides private headers of libQt5Core 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.
%package -n libQt5Concurrent5
Summary: Qt 5 Concurrent Library
@ -240,44 +249,57 @@ Group: Development/Libraries/X11
Requires: libQt5Core5 = %{version}
%description -n libQt5Concurrent5
The Qt 5 Concurrent library.
The QtConcurrent namespace provides high-level APIs that help write
multi-threaded programs without using low-level threading primitives
such as mutexes, read-write locks, wait conditions, or semaphores.
Programs written with QtConcurrent automatically adjust the number of
threads used according to the number of processor cores available.
QtConcurrent includes functional programming style APIs for parallel
list processing, including a MapReduce and FilterReduce
implementation for shared-memory (non-distributed) systems, and
classes for managing asynchronous computations in GUI applications.
%package -n libQt5Concurrent-devel
Summary: Qt 5 Concurrent Library - development files
Summary: Development files for the Qt5 Concurrent library
Group: Development/Libraries/X11
Requires: libQt5Concurrent5 = %{version}
Requires: libQt5Core-devel = %{version}
%description -n libQt5Concurrent-devel
The Qt 5 Concurrent library - development files.
Development files for the Qt5 Concurrent library.
%package -n libQt5DBus5
Summary: Qt 5 DBus Library
Summary: Qt5 D-Bus library
Group: Development/Libraries/X11
Requires: libQt5Core5 = %{version}
%description -n libQt5DBus5
The Qt 5 DBus library.
The Qt D-Bus module is a library that can be used to perform
inter-process communication using the D-Bus protocol.
%package -n libQt5DBus-devel
Summary: Qt 5 DBus Library - development files
Summary: Development files for the Qt5 D-Bus library
Group: Development/Libraries/X11
Requires: libQt5Core-devel = %{version}
Requires: libQt5DBus5 = %{version}
%description -n libQt5DBus-devel
The Qt 5 DBus library - development files. Additionally, it contains
Qt5's qdbusxml2cpp and qdbuscpp2xml binaries.
Development files for the Qt5 D-Bus library. This package also
contains Qt5's qdbusxml2cpp and qdbuscpp2xml binaries.
%package -n libQt5DBus-private-headers-devel
Summary: Qt 5 DBus Library - Non-ABI stable development files
Summary: Non-ABI stable experimental API for the Qt5 D-Bus library
Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5DBus-devel = %{version}
%description -n libQt5DBus-private-headers-devel
Qt 5 DBus Library - Non-ABI stable development files.
This package provides private headers of libQt5DBus 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.
%package -n libQt5Network5
Summary: Qt 5 Network Library
@ -286,26 +308,31 @@ Requires: libQt5Core5 = %{version}
Requires: libQt5DBus5 = %{version}
%description -n libQt5Network5
The Qt 5 Network library.
Qt Network provides a set of APIs for programming applications that
use TCP/IP. Operations such as requests, cookies, and sending data
over HTTP are handled by various C++ classes.
%package -n libQt5Network-devel
Summary: Qt 5 Network Library - development files
Summary: Development files for the Qt5 network library
Group: Development/Libraries/X11
Requires: libQt5Core-devel = %{version}
Requires: libQt5Network5 = %{version}
%description -n libQt5Network-devel
The Qt 5 Network library - development files.
Development files for the Qt5 network library.
%package -n libQt5Network-private-headers-devel
Summary: Qt 5 Network Library - Non-ABI stable development files
Summary: Non-ABI stable experimental API for the Qt5 network library
Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5Network-devel = %{version}
%description -n libQt5Network-private-headers-devel
Qt 5 Network Library - Non-ABI stable development files.
This package provides private headers of libQt5Network 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.
%package -n libQt5OpenGL5
Summary: Qt 5 OpenGL Library
@ -313,10 +340,12 @@ Group: Development/Libraries/X11
Requires: libQt5Widgets5 = %{version}
%description -n libQt5OpenGL5
The Qt 5 OpenGL library.
The Qt OpenGL module provides an OpenGL widget class that can be used
like any other Qt widget, except that it opens an OpenGL display
buffer where the OpenGL API can be used to render the contents.
%package -n libQt5OpenGL-devel
Summary: Qt 5 OpenGL Library - development files
Summary: Development files for the Qt5 OpenGL library
Group: Development/Libraries/X11
Requires: libQt5Core-devel = %{version}
Requires: libQt5Gui-devel = %{version}
@ -330,10 +359,13 @@ Requires: pkgconfig(gl)
%endif
%description -n libQt5OpenGL-devel
The Qt 5 OpenGL library - development files.
Development files for the Qt5 OpenGL library.
Warning: This module should not be used anymore for new code. Please
use the corresponding OpenGL classes in Qt GUI.
%package -n libQt5OpenGL-private-headers-devel
Summary: Qt 5 OpenGL Library - Non-ABI stable development files
Summary: Non-ABI stable experimental API for the Qt5 OpenGL library
Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version}
@ -342,7 +374,10 @@ Requires: libQt5OpenGL-devel = %{version}
Requires: libQt5Widgets-private-headers-devel = %{version}
%description -n libQt5OpenGL-private-headers-devel
Qt 5 OpenGL Library - Non-ABI stable development files.
This package provides private headers of libQt5OpenGL 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.
%package -n libQt5PrintSupport5
Summary: Qt 5 Print Support Library
@ -350,10 +385,14 @@ Group: Development/Libraries/X11
Requires: libQt5Widgets5 = %{version}
%description -n libQt5PrintSupport5
The Qt 5 Print Support library.
An abstraction over the platform-specific printing systems. Using
this library, Qt applications can print to attached printers and
across networks to remote printers. Qt's printing system also
supports PDF file generation, providing the foundation for basic
report generation facilities.
%package -n libQt5PrintSupport-devel
Summary: Qt 5 Print Support Library - development files
Summary: Development files for the Qt5 print support library
Group: Development/Libraries/X11
Requires: libQt5Core-devel = %{version}
Requires: libQt5Gui-devel = %{version}
@ -361,10 +400,10 @@ Requires: libQt5PrintSupport5 = %{version}
Requires: libQt5Widgets-devel = %{version}
%description -n libQt5PrintSupport-devel
The Qt 5 Print Support library - development files.
Development files for the Qt5 print support library.
%package -n libQt5PrintSupport-private-headers-devel
Summary: Qt 5 Print Support Library - Non-ABI stable development files
Summary: Non-ABI stable experimental API for the Qt5 print support library
Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version}
@ -373,7 +412,10 @@ Requires: libQt5PrintSupport-devel = %{version}
Requires: libQt5Widgets-private-headers-devel = %{version}
%description -n libQt5PrintSupport-private-headers-devel
Qt 5 Print Support Library - Non-ABI stable development files.
This package provides private headers of libQt5PrintSupport 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.
%package -n libQt5Xml5
Summary: Qt 5 Xml Library
@ -381,16 +423,20 @@ Group: Development/Libraries/X11
Requires: libQt5Core5 = %{version}
%description -n libQt5Xml5
The Qt 5 Xml library.
The Qt XML module provides C++ implementations of the SAX and DOM
standards for XML.
%package -n libQt5Xml-devel
Summary: Qt 5 Xml Library - development files
Summary: Development files for the Qt5 XML library
Group: Development/Libraries/X11
Requires: libQt5Core-devel = %{version}
Requires: libQt5Xml5 = %{version}
%description -n libQt5Xml-devel
The Qt 5 Xml library - development files.
Development files for the Qt5 XML library.
(The module is not actively maintained anymore. Please use the
QXmlStreamReader and QXmlStreamWriter classes in Qt Core instead.)
%package -n libQt5Test5
Summary: Qt 5 Test Library
@ -398,26 +444,32 @@ Group: Development/Libraries/X11
Requires: libQt5Core5 = %{version}
%description -n libQt5Test5
The Qt 5 library for testing.
Qt Test is a framework for unit testing Qt based applications and
libraries. Qt Test provides functionality commonly found in unit
testing frameworks as well as extensions for testing graphical user
interfaces.
%package -n libQt5Test-devel
Summary: Qt 5 Test Library - development files
Summary: Development files for the Qt5 testing library
Group: Development/Libraries/X11
Requires: libQt5Core-devel = %{version}
Requires: libQt5Test5 = %{version}
%description -n libQt5Test-devel
The Qt 5 library for testing - development files.
Development files for the Qt5 testing library.
%package -n libQt5Test-private-headers-devel
Summary: Qt 5 Test Library - Non-ABI stable development files
Summary: Non-ABI stable experimental API for the Qt5 test library
Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5Test-devel = %{version}
%description -n libQt5Test-private-headers-devel
Qt 5 Test Library - Non-ABI stable development files.
This package provides private headers of libQt5Test 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.
%package -n libQt5Widgets5
Summary: Qt 5 Widgets Library
@ -425,20 +477,21 @@ Group: Development/Libraries/X11
Requires: libQt5Gui5 = %{version}
%description -n libQt5Widgets5
The Qt 5 library to display widgets.
The Qt Widgets Module provides a set of UI elements to create classic
desktop-style user interfaces.
%package -n libQt5Widgets-devel
Summary: Qt 5 Widgets Library - development files
Summary: Development files for the Qt5 widgets library
Group: Development/Libraries/X11
Requires: libQt5Core-devel = %{version}
Requires: libQt5Gui-devel = %{version}
Requires: libQt5Widgets5 = %{version}
%description -n libQt5Widgets-devel
The Qt 5 library to display widgets - development files.
Development files for the Qt5 widgets library.
%package -n libQt5Widgets-private-headers-devel
Summary: Qt 5 Widgets Library - Non-ABI stable development files
Summary: Non-ABI stable experimental API for the Qt5 widgets library
Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version}
@ -446,7 +499,10 @@ Requires: libQt5Gui-private-headers-devel = %{version}
Requires: libQt5Widgets-devel = %{version}
%description -n libQt5Widgets-private-headers-devel
Qt 5 Widgets Library - Non-ABI stable development files.
This package provides private headers of libQt5Widgets 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.
%package -n libQt5Sql5-sqlite
Summary: Qt 5 sqlite plugin
@ -457,8 +513,14 @@ Provides: libqt5_sql_backend = %{version}
Obsoletes: libqt5-sql-sqlite < %{version}
%description -n libQt5Sql5-sqlite
Qt 5 sqlite plugin to be able to use database functionality with Qt
applications without the need to setup a SQL server.
The Qt SQL module uses driver plugins to communicate with the
different database APIs.
The Qt SQLite plugin makes it possible to access SQLite databases.
SQLite is an in-process database, which means that it is not
necessary to have a database server. SQLite operates on a single
file, which must be set as the database name when opening a
connection.
%package -n libQt5Sql5-unixODBC
Summary: Qt 5 unixODBC plugin
@ -469,8 +531,13 @@ Provides: libqt5_sql_backend = %{version}
Obsoletes: libqt5-sql-unixODBC < %{version}
%description -n libQt5Sql5-unixODBC
Qt unixODBC plugin to support databases via unixODBC within Qt
applications.
The Qt SQL module uses driver plugins to communicate with the
different database APIs.
The QODBC driver allows to connect to an ODBC driver manager and
access the available data sources. Note that you also need to install
and configure ODBC drivers for the ODBC driver manager that is
installed on your system.
%package -n libQt5Sql5-postgresql
Summary: Qt 5 PostgreSQL plugin
@ -481,7 +548,11 @@ Provides: libqt5_sql_backend = %{version}
Obsoletes: libqt5-sql-postgresql < %{version}
%description -n libQt5Sql5-postgresql
Qt SQL plugin to support PostgreSQL servers in Qt applications.
The Qt SQL module uses driver plugins to communicate with the
different database APIs.
The QPSQL driver supports version 7.3 and higher of the PostgreSQL
server.
%package -n libQt5Sql5-mysql
Summary: Qt 5 MySQL support
@ -504,7 +575,15 @@ Provides: libqt5-qtbase-platformtheme-gtk2 = %{version}
Obsoletes: libqt5-qtbase-platformtheme-gtk2 < %{version}
%description -n libQt5Gui5
Qt 5 libraries which are depending on X11.
The Qt GUI module provides classes for windowing system integration,
event handling, OpenGL and OpenGL ES integration, 2D graphics, basic
imaging, fonts and text. These classes are used internally by Qt's
user interface code and can also be used directly, for instance, to
write applications using low-level OpenGL ES graphics APIs.
For application developers writing user interfaces, Qt provides
higher level APIs, like Qt Quick, which are much more suitable than
the enablers found in the Qt GUI module.
%package platformtheme-gtk3
Summary: Qt 5 gtk3 plugin
@ -516,7 +595,7 @@ Requires: libQt5Gui5 = %{version}
Qt 5 plugin for better integration with gtk3-based desktop enviroments.
%package -n libQt5Gui-devel
Summary: Qt 5 GUI related libraries - development files
Summary: Development files for the Qt5 GUI library
Group: Development/Libraries/C and C++
Requires: libQt5Core-devel = %{version}
Requires: libQt5Gui5 = %{version}
@ -531,17 +610,20 @@ Requires: pkgconfig(egl)
Requires: pkgconfig(libdrm)
%description -n libQt5Gui-devel
Qt 5 libraries which are depending on X11 - development files.
Development files for the Qt5 GUI library.
%package -n libQt5Gui-private-headers-devel
Summary: Qt 5 Gui Library - Non-ABI stable development files
Summary: Non-ABI stable experimental API for the Qt5 GUI library
Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5Gui-devel = %{version}
%description -n libQt5Gui-private-headers-devel
Qt 5 Gui Library - Non-ABI stable development files.
This package provides private headers of libQt5Gui 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.
%package -n libQt5Sql5
Summary: Qt 5 SQL related libraries
@ -555,7 +637,7 @@ 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 -n libQt5Sql-devel
Summary: Qt 5 SQL related libraries - development files
Summary: Development files for the Qt5 SQL library
Group: Development/Libraries/C and C++
Requires: libQt5Core-devel = %{version}
Requires: libQt5Sql5 = %{version}
@ -566,17 +648,20 @@ Suggests: libQt5Sql5-unixODBC = %{version}
%description -n libQt5Sql-devel
Qt 5 libraries which are used for connection with an SQL server. You
will need also a plugin package for a supported SQL server - development files.
will need also a plugin package for a supported SQL server.
%package -n libQt5Sql-private-headers-devel
Summary: Qt 5 SQL Library - Non-ABI stable development files
Summary: Non-ABI stable experimental API for the Qt5 SQL library
Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5Sql-devel = %{version}
%description -n libQt5Sql-private-headers-devel
Qt 5 SQL Library - Non-ABI stable development files.
This package provides private headers of libQt5Sql 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.
%package private-headers-devel
Summary: Non-ABI stable experimental API
@ -647,7 +732,7 @@ Requires: pkgconfig(xrender)
Qt PlatformSupport module.
%package -n libQt5PlatformSupport-private-headers-devel
Summary: Qt 5 PlatformSupport Library - Non-ABI stable development files
Summary: Non-ABI stable experimental API for the Qt5 platform support library
Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version}
@ -655,19 +740,22 @@ Requires: libQt5Gui-private-headers-devel = %{version}
Requires: libQt5PlatformSupport-devel-static = %{version}
%description -n libQt5PlatformSupport-private-headers-devel
Qt 5 PlatformSupport Library - Non-ABI stable development files.
This package provides private headers of libQt5PlatformSupport 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.
%package -n libQt5KmsSupport-devel-static
Summary: Qt KmsSupport module
Group: Development/Libraries/C and C++
Summary: Qt KMS support module
Group: Development/Libraries/X11
Requires: libQt5Core-devel = %{version}
Requires: libQt5Gui-devel = %{version}
%description -n libQt5KmsSupport-devel-static
Qt KmsSupport module.
Qt module to support Kernel Mode Setting.
%package -n libQt5KmsSupport-private-headers-devel
Summary: Qt 5 KmsSupport Library - Non-ABI stable development files
Summary: Non-ABI stable experimental API for the Qt5 KMS support library
Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version}
@ -675,7 +763,10 @@ Requires: libQt5Gui-private-headers-devel = %{version}
Requires: libQt5KmsSupport-devel-static = %{version}
%description -n libQt5KmsSupport-private-headers-devel
Qt 5 KmsSupport Library - Non-ABI stable development files.
This package provides private headers of libQt5KmsSupport 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.
%package -n libQt5PlatformHeaders-devel
Summary: Qt 5 PlatformHeaders
@ -701,7 +792,7 @@ Group: Development/Libraries/X11
Recommends: libqt5-qtbase-devel
%description examples
Examples for libqt5-qtbase modules.
Examples for the libqt5-qtbase modules.
%build
#export QMAKESPEC=$PWD/mkspecs/linux-g++
@ -817,12 +908,12 @@ popd
install -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm/macros.qt5
# argggh, qmake is such a piece of <censored>
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" {} \;
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" {} +
# insanity ...
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 -- {} \;
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 -- {} +
# kill .la files
rm -fv %{buildroot}%{libqt5_libdir}/lib*.la
rm -fv %{buildroot}%{libqt5_libdir}/*png.*