]>
Commit | Line | Data |
---|---|---|
39ed99eb JB |
1 | # |
2 | # Conditional build: | |
3e4f3628 | 3 | %bcond_without doc # Documentation |
a23acca5 WF |
4 | |
5 | %define orgname qtgraphicaleffects | |
39ed99eb JB |
6 | %define qtbase_ver %{version} |
7 | %define qtdeclarative_ver %{version} | |
39ed99eb | 8 | %define qttools_ver %{version} |
6cf7cdc6 JB |
9 | Summary: The Qt5 Graphical Effects module |
10 | Summary(pl.UTF-8): Moduł Qt5 Graphical Effects | |
a23acca5 | 11 | Name: qt5-%{orgname} |
33b5116c | 12 | Version: 5.15.13 |
4444d81e | 13 | Release: 1 |
7e5514f5 | 14 | License: LGPL v3 or GPL v2 or GPL v3 or commercial |
a23acca5 | 15 | Group: X11/Libraries |
710dccd5 | 16 | Source0: https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-opensource-src-%{version}.tar.xz |
33b5116c | 17 | # Source0-md5: 18fadce5663a823c0fae305d94fb1070 |
7e5514f5 | 18 | URL: https://www.qt.io/ |
6cf7cdc6 | 19 | BuildRequires: Qt5Core-devel >= %{qtbase_ver} |
7e5514f5 JB |
20 | BuildRequires: Qt5Gui-devel >= %{qtbase_ver} |
21 | BuildRequires: Qt5Qml-devel >= %{qtdeclarative_ver} | |
6cf7cdc6 | 22 | BuildRequires: Qt5Quick-devel >= %{qtdeclarative_ver} |
3e4f3628 | 23 | %if %{with doc} |
39ed99eb JB |
24 | BuildRequires: qt5-assistant >= %{qttools_ver} |
25 | %endif | |
cd4cf5f1 | 26 | BuildRequires: qt5-qtdeclarative >= %{qtdeclarative_ver} |
39ed99eb JB |
27 | BuildRequires: qt5-build >= %{qtbase_ver} |
28 | BuildRequires: qt5-qmake >= %{qtbase_ver} | |
47e0139f | 29 | BuildRequires: rpm-build >= 4.6 |
d4b6fb0f | 30 | BuildRequires: rpmbuild(macros) >= 2.016 |
e8949435 ER |
31 | BuildRequires: tar >= 1:1.22 |
32 | BuildRequires: xz | |
a23acca5 WF |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
34 | ||
a23acca5 | 35 | %define specflags -fno-strict-aliasing |
39ed99eb | 36 | %define qt5dir %{_libdir}/qt5 |
a23acca5 WF |
37 | |
38 | %description | |
39ed99eb JB |
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 | ||
6cf7cdc6 | 43 | This package contains Qt5 Graphical Effects module. |
39ed99eb JB |
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 | ||
6cf7cdc6 | 51 | Ten pakiet zawiera moduł Qt5 Graphical Effects. |
a23acca5 | 52 | |
6cf7cdc6 JB |
53 | %package -n Qt5Quick-graphicaleffects |
54 | Summary: Qt5 Graphical Effects module for Qt5Quick library | |
55 | Summary(pl.UTF-8): Moduł Qt5 Graphical Effects dla biblioteki Qt5Quick | |
56 | Group: X11/Libraries | |
7e5514f5 JB |
57 | Requires: Qt5Core >= %{qtbase_ver} |
58 | Requires: Qt5Gui >= %{qtbase_ver} | |
59 | Requires: Qt5Qml >= %{qtdeclarative_ver} | |
6cf7cdc6 | 60 | Requires: Qt5Quick >= %{qtdeclarative_ver} |
af6f504d | 61 | Obsoletes: qt5-qtgraphicaleffects < 5.3.0 |
6cf7cdc6 JB |
62 | |
63 | %description -n Qt5Quick-graphicaleffects | |
64 | The Qt Graphical Effects module for Qt5Quick provides a set of QML | |
65 | types for adding visually impressive and configurable effects to user | |
66 | interfaces. Effects are visual items that can be added to Qt Quick | |
67 | user interface as UI components. | |
a23acca5 | 68 | |
6cf7cdc6 JB |
69 | %description -n Qt5Quick-graphicaleffects -l pl.UTF-8 |
70 | Moduł Qt Graphical Effects dla biblioteki Qt5Quick udostępnia zbiór | |
71 | typów QML do dodawania robiących wrażenie, konfigurowalnych efektów | |
72 | wizualnych do interfejsów użytkownika. Efekty to elementy wizualne, | |
73 | które można dodać do interfejsu użytkownika jako komponenty UI. | |
a23acca5 WF |
74 | |
75 | %package doc | |
39ed99eb JB |
76 | Summary: Qt5 Graphical Effects documentation in HTML format |
77 | Summary(pl.UTF-8): Dokumentacja do modułów Qt5 Graphical Effects w formacie HTML | |
a23acca5 | 78 | Group: Documentation |
39ed99eb | 79 | Requires: qt5-doc-common >= %{qtbase_ver} |
152ce0a1 | 80 | BuildArch: noarch |
a23acca5 WF |
81 | |
82 | %description doc | |
39ed99eb JB |
83 | Qt5 Graphical Effects documentation in HTML format. |
84 | ||
85 | %description doc -l pl.UTF-8 | |
86 | Dokumentacja do modułów Qt5 Graphical Effects w formacie HTML. | |
87 | ||
88 | %package doc-qch | |
89 | Summary: Qt5 Graphical Effects documentation in QCH format | |
90 | Summary(pl.UTF-8): Dokumentacja do modułów Qt5 Graphical Effects w formacie QCH | |
91 | Group: Documentation | |
92 | Requires: qt5-doc-common >= %{qtbase_ver} | |
152ce0a1 | 93 | BuildArch: noarch |
39ed99eb JB |
94 | |
95 | %description doc-qch | |
96 | Qt5 Graphical Effects documentation in QCH format. | |
97 | ||
98 | %description doc-qch -l pl.UTF-8 | |
99 | Dokumentacja do modułów Qt5 Graphical Effects w formacie QCH. | |
a23acca5 | 100 | |
a23acca5 | 101 | %prep |
cd4cf5f1 | 102 | %setup -q -n %{orgname}-everywhere-src-%{version} |
a23acca5 WF |
103 | |
104 | %build | |
d4b6fb0f | 105 | %{qmake_qt5} |
a23acca5 | 106 | %{__make} |
3e4f3628 | 107 | %{?with_doc:%{__make} docs} |
a23acca5 WF |
108 | |
109 | %install | |
110 | rm -rf $RPM_BUILD_ROOT | |
7e5514f5 | 111 | |
a23acca5 WF |
112 | %{__make} install \ |
113 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
114 | ||
3e4f3628 JR |
115 | %if %{with doc} |
116 | %{__make} install_docs \ | |
a23acca5 WF |
117 | INSTALL_ROOT=$RPM_BUILD_ROOT |
118 | ||
3e4f3628 JR |
119 | %endif |
120 | ||
a23acca5 WF |
121 | %clean |
122 | rm -rf $RPM_BUILD_ROOT | |
123 | ||
6cf7cdc6 | 124 | %files -n Qt5Quick-graphicaleffects |
a23acca5 | 125 | %defattr(644,root,root,755) |
6cf7cdc6 | 126 | %doc dist/changes-* |
7e5514f5 JB |
127 | %dir %{qt5dir}/qml/QtGraphicalEffects |
128 | # R: Core Qml | |
129 | %attr(755,root,root) %{qt5dir}/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin.so | |
130 | %{qt5dir}/qml/QtGraphicalEffects/plugins.qmltypes | |
131 | %{qt5dir}/qml/QtGraphicalEffects/qmldir | |
132 | %{qt5dir}/qml/QtGraphicalEffects/*.qml | |
133 | %dir %{qt5dir}/qml/QtGraphicalEffects/private | |
134 | # R: Core Gui Qml Quick | |
135 | %attr(755,root,root) %{qt5dir}/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate.so | |
136 | %{qt5dir}/qml/QtGraphicalEffects/private/qmldir | |
137 | %{qt5dir}/qml/QtGraphicalEffects/private/*.qml | |
138 | %{qt5dir}/qml/QtGraphicalEffects/private/*.qmlc | |
a23acca5 | 139 | |
3e4f3628 | 140 | %if %{with doc} |
a23acca5 WF |
141 | %files doc |
142 | %defattr(644,root,root,755) | |
39ed99eb JB |
143 | %{_docdir}/qt5-doc/qtgraphicaleffects |
144 | ||
39ed99eb JB |
145 | %files doc-qch |
146 | %defattr(644,root,root,755) | |
147 | %{_docdir}/qt5-doc/qtgraphicaleffects.qch | |
148 | %endif |