|
|
faa58a |
%global qt_module qtwayland
|
|
|
faa58a |
|
|
|
faa58a |
%define docs 1
|
|
|
faa58a |
|
|
|
faa58a |
Summary: Qt5 - Wayland platform support and QtCompositor module
|
|
|
faa58a |
Name: qt5-%{qt_module}
|
|
|
faa58a |
Version: 5.9.7
|
|
|
faa58a |
Release: 1%{?dist}
|
|
|
faa58a |
|
|
|
faa58a |
License: LGPLv3
|
|
|
faa58a |
Url: http://www.qt.io
|
|
|
faa58a |
Source0: https://download.qt.io/official_releases/qt/5.9/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
|
|
|
faa58a |
|
|
|
faa58a |
# filter qml provides
|
|
|
faa58a |
%global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$
|
|
|
faa58a |
|
|
|
faa58a |
BuildRequires: qt5-qtbase-devel >= %{version}
|
|
|
faa58a |
BuildRequires: qt5-qtbase-static
|
|
|
faa58a |
BuildRequires: qt5-qtbase-private-devel
|
|
|
faa58a |
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
faa58a |
BuildRequires: qt5-qtdeclarative-devel
|
|
|
faa58a |
|
|
|
faa58a |
BuildRequires: pkgconfig(xkbcommon)
|
|
|
faa58a |
BuildRequires: pkgconfig(wayland-scanner)
|
|
|
faa58a |
BuildRequires: pkgconfig(wayland-server)
|
|
|
faa58a |
BuildRequires: pkgconfig(wayland-client)
|
|
|
faa58a |
BuildRequires: pkgconfig(wayland-cursor)
|
|
|
faa58a |
BuildRequires: pkgconfig(wayland-egl)
|
|
|
faa58a |
BuildRequires: pkgconfig(egl)
|
|
|
faa58a |
BuildRequires: pkgconfig(gl)
|
|
|
faa58a |
BuildRequires: pkgconfig(glesv2)
|
|
|
faa58a |
BuildRequires: pkgconfig(xcomposite)
|
|
|
faa58a |
BuildRequires: pkgconfig(xrender)
|
|
|
faa58a |
BuildRequires: pkgconfig(libudev)
|
|
|
faa58a |
BuildRequires: pkgconfig(libinput)
|
|
|
faa58a |
|
|
|
faa58a |
ExcludeArch: s390 s390x
|
|
|
faa58a |
|
|
|
faa58a |
%description
|
|
|
faa58a |
%{summary}.
|
|
|
faa58a |
|
|
|
faa58a |
%if 0%{?docs}
|
|
|
faa58a |
%package doc
|
|
|
faa58a |
Summary: API documentation for %{name}
|
|
|
faa58a |
License: GFDL
|
|
|
faa58a |
Requires: %{name} = %{version}-%{release}
|
|
|
faa58a |
BuildRequires: qt5-qhelpgenerator
|
|
|
faa58a |
BuildRequires: qt5-qdoc
|
|
|
faa58a |
BuildArch: noarch
|
|
|
faa58a |
%description doc
|
|
|
faa58a |
%{summary}.
|
|
|
faa58a |
%endif
|
|
|
faa58a |
|
|
|
faa58a |
%package devel
|
|
|
faa58a |
Summary: Development files for %{name}
|
|
|
faa58a |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
faa58a |
Requires: qt5-qtbase-devel%{?_isa}
|
|
|
faa58a |
%description devel
|
|
|
faa58a |
%{summary}.
|
|
|
faa58a |
|
|
|
faa58a |
%package examples
|
|
|
faa58a |
Summary: Programming examples for %{name}
|
|
|
faa58a |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
faa58a |
%description examples
|
|
|
faa58a |
%{summary}.
|
|
|
faa58a |
|
|
|
faa58a |
|
|
|
faa58a |
%prep
|
|
|
faa58a |
%setup -q -n %{qt_module}-opensource-src-%{version}
|
|
|
faa58a |
|
|
|
faa58a |
|
|
|
faa58a |
%build
|
|
|
faa58a |
%{qmake_qt5}
|
|
|
faa58a |
make %{?_smp_mflags}
|
|
|
faa58a |
|
|
|
faa58a |
%if 0%{?docs}
|
|
|
faa58a |
# HACK to avoid multilib conflicts in noarch content
|
|
|
faa58a |
# see also https://bugreports.qt-project.org/browse/QTBUG-42071
|
|
|
faa58a |
QT_HASH_SEED=0; export QT_HASH_SEED
|
|
|
faa58a |
make %{?_smp_mflags} docs
|
|
|
faa58a |
%endif
|
|
|
faa58a |
|
|
|
faa58a |
%install
|
|
|
faa58a |
make install INSTALL_ROOT=%{buildroot}
|
|
|
faa58a |
|
|
|
faa58a |
%if 0%{?docs}
|
|
|
faa58a |
make install_docs INSTALL_ROOT=%{buildroot}
|
|
|
faa58a |
%endif
|
|
|
faa58a |
|
|
|
faa58a |
## .prl/.la file love
|
|
|
faa58a |
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
|
|
|
faa58a |
pushd %{buildroot}%{_qt5_libdir}
|
|
|
faa58a |
for prl_file in libQt5*.prl ; do
|
|
|
faa58a |
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
|
|
|
faa58a |
if [ -f "$(basename ${prl_file} .prl).so" ]; then
|
|
|
faa58a |
rm -fv "$(basename ${prl_file} .prl).la"
|
|
|
faa58a |
sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
|
|
|
faa58a |
fi
|
|
|
faa58a |
done
|
|
|
faa58a |
popd
|
|
|
faa58a |
|
|
|
faa58a |
|
|
|
faa58a |
%post -p /sbin/ldconfig
|
|
|
faa58a |
%postun -p /sbin/ldconfig
|
|
|
faa58a |
|
|
|
faa58a |
%files
|
|
|
faa58a |
%doc README
|
|
|
faa58a |
%license LICENSE.LGPL*
|
|
|
faa58a |
%{_qt5_libdir}/libQt5WaylandCompositor.so.5*
|
|
|
faa58a |
%{_qt5_libdir}/libQt5WaylandClient.so.5*
|
|
|
faa58a |
%{_qt5_plugindir}/wayland-decoration-client/
|
|
|
faa58a |
%{_qt5_plugindir}/wayland-graphics-integration-server
|
|
|
faa58a |
%{_qt5_plugindir}/wayland-graphics-integration-client
|
|
|
faa58a |
%{_qt5_plugindir}/wayland-shell-integration
|
|
|
faa58a |
%{_qt5_plugindir}/platforms/libqwayland-egl.so
|
|
|
faa58a |
%{_qt5_plugindir}/platforms/libqwayland-generic.so
|
|
|
faa58a |
%{_qt5_plugindir}/platforms/libqwayland-xcomposite-egl.so
|
|
|
faa58a |
%{_qt5_plugindir}/platforms/libqwayland-xcomposite-glx.so
|
|
|
faa58a |
%{_qt5_qmldir}/QtWayland/
|
|
|
faa58a |
|
|
|
faa58a |
%if 0%{?docs}
|
|
|
faa58a |
%files doc
|
|
|
faa58a |
%doc LICENSE.FDL
|
|
|
faa58a |
%{_qt5_docdir}/qtwaylandcompositor/
|
|
|
faa58a |
%{_qt5_docdir}/qtwaylandcompositor.qch
|
|
|
faa58a |
%endif
|
|
|
faa58a |
|
|
|
faa58a |
%files devel
|
|
|
faa58a |
%{_qt5_bindir}/qtwaylandscanner
|
|
|
faa58a |
%{_qt5_headerdir}/QtWaylandCompositor/
|
|
|
faa58a |
%{_qt5_headerdir}/QtWaylandClient/
|
|
|
faa58a |
%{_qt5_libdir}/libQt5WaylandCompositor.so
|
|
|
faa58a |
%{_qt5_libdir}/libQt5WaylandClient.so
|
|
|
faa58a |
%{_qt5_libdir}/libQt5WaylandCompositor.prl
|
|
|
faa58a |
%{_qt5_libdir}/libQt5WaylandClient.prl
|
|
|
faa58a |
%{_qt5_libdir}/pkgconfig/*.pc
|
|
|
faa58a |
%{_qt5_archdatadir}/mkspecs/modules/*.pri
|
|
|
faa58a |
%{_qt5_libdir}/cmake/Qt5WaylandCompositor/
|
|
|
faa58a |
%{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_*.cmake
|
|
|
faa58a |
%{_qt5_libdir}/cmake/Qt5WaylandClient/
|
|
|
faa58a |
|
|
|
faa58a |
%files examples
|
|
|
faa58a |
%{_qt5_examplesdir}/wayland/
|
|
|
faa58a |
|
|
|
faa58a |
|
|
|
faa58a |
%changelog
|
|
|
faa58a |
* Thu Feb 07 2019 Jan Grulich <jgrulich@redhat.com> - 5.9.7-1
|
|
|
faa58a |
- Update to 5.9.7
|
|
|
faa58a |
Resolves: bz#1564019
|
|
|
faa58a |
|
|
|
faa58a |
* Fri Oct 06 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
|
|
|
faa58a |
- Update to 5.9.2
|
|
|
faa58a |
Resolves: bz#1317415
|
|
|
faa58a |
|
|
|
faa58a |
* Thu Sep 21 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.1-1
|
|
|
faa58a |
- 5.9.1 - initial RHEL release
|
|
|
faa58a |
Resolves: bz#1317415
|
|
|
faa58a |
|
|
|
faa58a |
* Fri Jun 16 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-2
|
|
|
faa58a |
- .spec cosmetics, Source URL, refer to qt5- builddeps directly
|
|
|
faa58a |
|
|
|
faa58a |
* Wed May 31 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
|
|
|
faa58a |
- Upstream official release
|
|
|
faa58a |
|
|
|
faa58a |
* Fri May 26 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.1.rc
|
|
|
faa58a |
- Upstream Release Candidate retagged
|
|
|
faa58a |
|
|
|
faa58a |
* Tue May 09 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
|
|
|
faa58a |
- Upstream beta 3
|
|
|
faa58a |
|
|
|
faa58a |
* Mon Jan 30 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
|
|
|
faa58a |
- New upstream version
|
|
|
faa58a |
|
|
|
faa58a |
* Mon Jan 02 2017 Rex Dieter <rdieter@math.unl.edu> - 5.7.1-3
|
|
|
faa58a |
- filter qml provides, BR: qtbase-private-devel qtdeclarative explicitly
|
|
|
faa58a |
|
|
|
faa58a |
* Sat Dec 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-2
|
|
|
faa58a |
- drop BR: cmake (handled by qt5-rpm-macros now)
|
|
|
faa58a |
- 5.7.1 dec5 snapshot
|
|
|
faa58a |
|
|
|
faa58a |
* Wed Nov 09 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.1-1
|
|
|
faa58a |
- New upstream version
|
|
|
faa58a |
|
|
|
faa58a |
* Mon Jul 04 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-2
|
|
|
faa58a |
- Compiled with gcc
|
|
|
faa58a |
|
|
|
faa58a |
* Wed Jun 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-1
|
|
|
faa58a |
- Qt 5.7.0 release
|
|
|
faa58a |
|
|
|
faa58a |
* Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
|
|
|
faa58a |
- Update to 5.6.1
|
|
|
faa58a |
|
|
|
faa58a |
* Mon Mar 21 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-11
|
|
|
faa58a |
- rebuild
|
|
|
faa58a |
|
|
|
faa58a |
* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-10
|
|
|
faa58a |
- rebuild
|
|
|
faa58a |
|
|
|
faa58a |
* Tue Mar 15 2016 Peter Robinson <pbrobinson@fedoraproject.org> 5.6.0-9
|
|
|
faa58a |
- Bump release to 9 so it's higher than the final RC
|
|
|
faa58a |
|
|
|
faa58a |
* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
|
|
|
faa58a |
- 5.6.0 final release
|
|
|
faa58a |
|
|
|
faa58a |
* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-8.rc
|
|
|
faa58a |
- Update to final RC
|
|
|
faa58a |
|
|
|
faa58a |
* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-7
|
|
|
faa58a |
- Update RC release
|
|
|
faa58a |
|
|
|
faa58a |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-6.rc
|
|
|
faa58a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
faa58a |
|
|
|
faa58a |
* Mon Feb 01 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-5.rc
|
|
|
faa58a |
- use %%qmake_qt5 consistently
|
|
|
faa58a |
|
|
|
faa58a |
* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-4.rc
|
|
|
faa58a |
- BR: cmake, update source URL, use %%license
|
|
|
faa58a |
|
|
|
faa58a |
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-3
|
|
|
faa58a |
- Update to final rc release
|
|
|
faa58a |
|
|
|
faa58a |
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-2
|
|
|
faa58a |
- Official rc release
|
|
|
faa58a |
|
|
|
faa58a |
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
|
|
|
faa58a |
- Start to implement 5.6.0 rc
|
|
|
faa58a |
|
|
|
faa58a |
* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
|
|
|
faa58a |
- Update to final release 5.5.1
|
|
|
faa58a |
|
|
|
faa58a |
* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
|
|
|
faa58a |
- Update to Qt 5.5.1 RC1
|
|
|
faa58a |
|
|
|
faa58a |
* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
|
|
|
faa58a |
- tighten qtbase dep (#1233829)
|
|
|
faa58a |
|
|
|
faa58a |
* Sun Jul 05 2015 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> - 5.5.0-2
|
|
|
faa58a |
- Add xkbcommon to the devel package.
|
|
|
faa58a |
|
|
|
faa58a |
* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
|
|
|
faa58a |
- New final upstream release Qt 5.5.0
|
|
|
faa58a |
|
|
|
faa58a |
* Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
|
|
|
faa58a |
- Update for official RC1 released packages
|
|
|
faa58a |
|
|
|
faa58a |
* Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
|
|
|
faa58a |
- Qt5 5.5.0 RC1
|
|
|
faa58a |
|
|
|
faa58a |
* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1
|
|
|
faa58a |
- 5.4.2
|
|
|
faa58a |
|
|
|
faa58a |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-2
|
|
|
faa58a |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
faa58a |
|
|
|
faa58a |
* Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-1
|
|
|
faa58a |
- 5.4.1
|
|
|
faa58a |
|
|
|
faa58a |
* Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
|
|
|
faa58a |
- 5.4.0 (final)
|
|
|
faa58a |
|
|
|
faa58a |
* Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
|
|
|
faa58a |
- 5.4.0-rc
|
|
|
faa58a |
|
|
|
faa58a |
* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.rc
|
|
|
faa58a |
- use %%qmake_qt5 macro
|
|
|
faa58a |
|
|
|
faa58a |
* Mon Oct 20 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.rc
|
|
|
faa58a |
- 5.4.0-rc
|
|
|
faa58a |
|
|
|
faa58a |
* Wed Sep 24 2014 Lubomir Rintel <lkundrak@v3.sk> - 5.4.0-0.alpha1
|
|
|
faa58a |
- Switch from a Git snapshot to a pre-release tarball
|
|
|
faa58a |
|
|
|
faa58a |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-0.3.20140723git02c499c
|
|
|
faa58a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
faa58a |
|
|
|
faa58a |
* Thu Jul 24 2014 Lubomir Rintel <lkundrak@v3.sk> - 5.3.0-0.2.20140723git02c499c
|
|
|
faa58a |
- Update
|
|
|
faa58a |
|
|
|
faa58a |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-0.2.20140529git98dca3b
|
|
|
faa58a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
faa58a |
|
|
|
faa58a |
* Tue May 27 2014 Lubomir Rintel <lkundrak@v3.sk> - 5.3.0-0.1.20140529git98dca3b
|
|
|
faa58a |
- Update and rebuild for Qt 5.3
|
|
|
faa58a |
|
|
|
faa58a |
* Fri Feb 14 2014 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.6.20140202git6d038fb
|
|
|
faa58a |
- A more recent snapshot
|
|
|
faa58a |
- Disable xcomposite compositor until it builds
|
|
|
faa58a |
|
|
|
faa58a |
* Sat Jan 04 2014 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.6.20131203git6b20dfe
|
|
|
faa58a |
- Enable QtQuick compositor
|
|
|
faa58a |
|
|
|
faa58a |
* Sat Jan 04 2014 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.5.20131203git6b20dfe
|
|
|
faa58a |
- A newer snapshot
|
|
|
faa58a |
|
|
|
faa58a |
* Mon Nov 25 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.5.20131125git4f5985c
|
|
|
faa58a |
- Rebase to a later snapshot, drop our patches
|
|
|
faa58a |
- Add license texts
|
|
|
faa58a |
|
|
|
faa58a |
* Sat Nov 23 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.5.20131120git8cd1a77
|
|
|
faa58a |
- Rebuild with EGL backend
|
|
|
faa58a |
|
|
|
faa58a |
* Fri Nov 22 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.4.20131120git8cd1a77
|
|
|
faa58a |
- Rebase to a later snapshot, drop 5.2 ABI patch
|
|
|
faa58a |
- Enable nogl backend
|
|
|
faa58a |
|
|
|
faa58a |
* Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.0-0.4.20130826git3b0b90b
|
|
|
faa58a |
- rebuild (arm/qreal)
|
|
|
faa58a |
|
|
|
faa58a |
* Thu Oct 24 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.3.20130826git3b0b90b
|
|
|
faa58a |
- Bulk sad and useless attempt at consistent SPEC file formatting
|
|
|
faa58a |
|
|
|
faa58a |
* Sun Oct 06 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.2.20130826git3b0b90b
|
|
|
faa58a |
- Bump platform plugin ABI to 5.2 for Qt 5.2 aplha
|
|
|
faa58a |
|
|
|
faa58a |
* Wed Sep 11 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.1.20130826git3b0b90b
|
|
|
faa58a |
- Initial packaging
|
|
|
faa58a |
- Adjustments from review (Rex Dieter, #1008529)
|