]> git.pld-linux.org Git - packages/qt5-qtwebglplugin.git/blob - qt5-qtwebglplugin.spec
- updated to 5.15.5
[packages/qt5-qtwebglplugin.git] / qt5-qtwebglplugin.spec
1 %define         orgname         qtwebglplugin
2 %define         qtbase_ver              %{version}
3 %define         qtdeclarative_ver       %{version}
4 %define         qtwebsockets_ver        %{version}
5 Summary:        The Qt5 WebGL platform plugin
6 Summary(pl.UTF-8):      Wtyczka platformy Qt5 WebGL
7 Name:           qt5-%{orgname}
8 Version:        5.15.5
9 Release:        1
10 License:        GPL v3+ or commercial
11 Group:          X11/Libraries
12 Source0:        https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-opensource-src-%{version}.tar.xz
13 # Source0-md5:  f01a1a9ae1e69c214ad66f72a1eaa09d
14 URL:            https://www.qt.io/
15 BuildRequires:  Qt5Core-devel >= %{qtbase_ver}
16 BuildRequires:  Qt5DBus-devel >= %{qtbase_ver}
17 BuildRequires:  Qt5EventDispatcherSupport-devel >= %{qtbase_ver}
18 BuildRequires:  Qt5FontDatabaseSupport-devel >= %{qtbase_ver}
19 BuildRequires:  Qt5Gui-devel >= %{qtbase_ver}
20 BuildRequires:  Qt5Network-devel >= %{qtbase_ver}
21 BuildRequires:  Qt5Quick-devel >= %{qtdeclarative_ver}
22 BuildRequires:  Qt5ThemeSupport-devel >= %{qtbase_ver}
23 BuildRequires:  Qt5WebSockets-devel >= %{qtwebsockets_ver}
24 BuildRequires:  fontconfig-devel
25 BuildRequires:  freetype-devel >= 2
26 BuildRequires:  glib2-devel >= 2.0
27 BuildRequires:  pkgconfig
28 BuildRequires:  qt5-build >= %{qtbase_ver}
29 BuildRequires:  qt5-qmake >= %{qtbase_ver}
30 BuildRequires:  rpmbuild(macros) >= 2.016
31 BuildRequires:  tar >= 1:1.22
32 BuildRequires:  xz
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %define         specflags       -fno-strict-aliasing
36 %define         qt5dir          %{_libdir}/qt5
37
38 %description
39 Qt is a cross-platform application and UI framework. Using Qt, you can
40 write web-enabled applications once and deploy them across desktop,
41 mobile and embedded systems without rewriting the source code.
42
43 This package contains Qt5 WebGL platform plugin.
44
45 %description -l pl.UTF-8
46 Qt to wieloplatformowy szkielet aplikacji i interfejsów użytkownika.
47 Przy użyciu Qt można pisać aplikacje powiązane z WWW i wdrażać je w
48 systemach biurkowych, przenośnych i wbudowanych bez przepisywania kodu
49 źródłowego.
50
51 Ten pakiet zawiera wtyczkę platformy Qt5 WebGL.
52
53 %package -n Qt5Gui-platform-webgl
54 Summary:        Qt5 Gui WebGL platform plugin
55 Summary(pl.UTF-8):      Wtyczka platformy WebGL do biblioteki Qt5 Gui
56 Group:          X11/Libraries
57 Requires:       Qt5Core >= %{qtbase_ver}
58 Requires:       Qt5DBus >= %{qtbase_ver}
59 Requires:       Qt5Gui >= %{qtbase_ver}
60 Requires:       Qt5Network >= %{qtbase_ver}
61 Requires:       Qt5Quick >= %{qtdeclarative_ver}
62 Requires:       Qt5WebSockets >= %{qtwebsockets_ver}
63
64 %description -n Qt5Gui-platform-webgl
65 Qt5 Gui WebGL platform plugin.
66
67 %description -n Qt5Gui-platform-webgl -l pl.UTF-8
68 Wtyczka platformy WebGL do biblioteki Qt5 Gui.
69
70 %prep
71 %setup -q -n %{orgname}-everywhere-src-%{version}
72
73 %build
74 %{qmake_qt5}
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         INSTALL_ROOT=$RPM_BUILD_ROOT
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files -n Qt5Gui-platform-webgl
87 %defattr(644,root,root,755)
88 %doc dist/changes-*
89 # R: Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Quick Qt5WebSockets fontconfig freetype glib2
90 %attr(755,root,root) %{qt5dir}/plugins/platforms/libqwebgl.so
91 %{_libdir}/cmake/Qt5Gui/Qt5Gui_QWebGLIntegrationPlugin.cmake
This page took 0.347934 seconds and 3 git commands to generate.