qt5-qtwayland/qt5-qtwayland.spec

269 lines
8.8 KiB
RPMSpec
Raw Normal View History

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