]>
Commit | Line | Data |
---|---|---|
39ed99eb JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without qch # documentation in QCH format | |
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} |
15722267 | 12 | Version: 5.8.0 |
6cf7cdc6 JB |
13 | Release: 1 |
14 | # pngdumper is LGPL+exception/GPL, all the qml code is BSD | |
15 | License: BSD | |
a23acca5 | 16 | Group: X11/Libraries |
15722267 JR |
17 | Source0: http://download.qt.io/official_releases/qt/5.8/%{version}/submodules/%{orgname}-opensource-src-%{version}.tar.xz |
18 | # Source0-md5: 0f74145f0fbb3db8d2f9711b83531fcf | |
08314fea | 19 | URL: http://www.qt.io/ |
6cf7cdc6 JB |
20 | BuildRequires: Qt5Core-devel >= %{qtbase_ver} |
21 | BuildRequires: Qt5Quick-devel >= %{qtdeclarative_ver} | |
39ed99eb JB |
22 | %if %{with qch} |
23 | BuildRequires: qt5-assistant >= %{qttools_ver} | |
24 | %endif | |
25 | BuildRequires: qt5-build >= %{qtbase_ver} | |
26 | BuildRequires: qt5-qmake >= %{qtbase_ver} | |
a23acca5 | 27 | BuildRequires: rpmbuild(macros) >= 1.654 |
e8949435 ER |
28 | BuildRequires: tar >= 1:1.22 |
29 | BuildRequires: xz | |
a23acca5 WF |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
a23acca5 | 32 | %define specflags -fno-strict-aliasing |
39ed99eb | 33 | %define qt5dir %{_libdir}/qt5 |
a23acca5 WF |
34 | |
35 | %description | |
39ed99eb JB |
36 | Qt is a cross-platform application and UI framework. Using Qt, you can |
37 | write web-enabled applications once and deploy them across desktop, | |
38 | mobile and embedded systems without rewriting the source code. | |
39 | ||
6cf7cdc6 | 40 | This package contains Qt5 Graphical Effects module. |
39ed99eb JB |
41 | |
42 | %description -l pl.UTF-8 | |
43 | Qt to wieloplatformowy szkielet aplikacji i interfejsów użytkownika. | |
44 | Przy użyciu Qt można pisać aplikacje powiązane z WWW i wdrażać je w | |
45 | systemach biurkowych, przenośnych i wbudowanych bez przepisywania kodu | |
46 | źródłowego. | |
47 | ||
6cf7cdc6 | 48 | Ten pakiet zawiera moduł Qt5 Graphical Effects. |
a23acca5 | 49 | |
6cf7cdc6 JB |
50 | %package -n Qt5Quick-graphicaleffects |
51 | Summary: Qt5 Graphical Effects module for Qt5Quick library | |
52 | Summary(pl.UTF-8): Moduł Qt5 Graphical Effects dla biblioteki Qt5Quick | |
53 | Group: X11/Libraries | |
54 | Requires: Qt5Quick >= %{qtdeclarative_ver} | |
55 | Obsoletes: qt5-qtgraphicaleffects | |
56 | ||
57 | %description -n Qt5Quick-graphicaleffects | |
58 | The Qt Graphical Effects module for Qt5Quick provides a set of QML | |
59 | types for adding visually impressive and configurable effects to user | |
60 | interfaces. Effects are visual items that can be added to Qt Quick | |
61 | user interface as UI components. | |
a23acca5 | 62 | |
6cf7cdc6 JB |
63 | %description -n Qt5Quick-graphicaleffects -l pl.UTF-8 |
64 | Moduł Qt Graphical Effects dla biblioteki Qt5Quick udostępnia zbiór | |
65 | typów QML do dodawania robiących wrażenie, konfigurowalnych efektów | |
66 | wizualnych do interfejsów użytkownika. Efekty to elementy wizualne, | |
67 | które można dodać do interfejsu użytkownika jako komponenty UI. | |
a23acca5 WF |
68 | |
69 | %package doc | |
39ed99eb JB |
70 | Summary: Qt5 Graphical Effects documentation in HTML format |
71 | Summary(pl.UTF-8): Dokumentacja do modułów Qt5 Graphical Effects w formacie HTML | |
a23acca5 | 72 | Group: Documentation |
39ed99eb | 73 | Requires: qt5-doc-common >= %{qtbase_ver} |
e8949435 ER |
74 | %if "%{_rpmversion}" >= "5" |
75 | BuildArch: noarch | |
76 | %endif | |
a23acca5 WF |
77 | |
78 | %description doc | |
39ed99eb JB |
79 | Qt5 Graphical Effects documentation in HTML format. |
80 | ||
81 | %description doc -l pl.UTF-8 | |
82 | Dokumentacja do modułów Qt5 Graphical Effects w formacie HTML. | |
83 | ||
84 | %package doc-qch | |
85 | Summary: Qt5 Graphical Effects documentation in QCH format | |
86 | Summary(pl.UTF-8): Dokumentacja do modułów Qt5 Graphical Effects w formacie QCH | |
87 | Group: Documentation | |
88 | Requires: qt5-doc-common >= %{qtbase_ver} | |
89 | %if "%{_rpmversion}" >= "5" | |
90 | BuildArch: noarch | |
91 | %endif | |
92 | ||
93 | %description doc-qch | |
94 | Qt5 Graphical Effects documentation in QCH format. | |
95 | ||
96 | %description doc-qch -l pl.UTF-8 | |
97 | Dokumentacja do modułów Qt5 Graphical Effects w formacie QCH. | |
a23acca5 | 98 | |
a23acca5 WF |
99 | %prep |
100 | %setup -q -n %{orgname}-opensource-src-%{version} | |
101 | ||
102 | %build | |
103 | qmake-qt5 | |
104 | %{__make} | |
39ed99eb | 105 | %{__make} %{!?with_qch:html_}docs |
a23acca5 WF |
106 | |
107 | %install | |
108 | rm -rf $RPM_BUILD_ROOT | |
109 | %{__make} install \ | |
110 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
111 | ||
39ed99eb | 112 | %{__make} install_%{!?with_qch:html_}docs \ |
a23acca5 WF |
113 | INSTALL_ROOT=$RPM_BUILD_ROOT |
114 | ||
115 | %clean | |
116 | rm -rf $RPM_BUILD_ROOT | |
117 | ||
6cf7cdc6 | 118 | %files -n Qt5Quick-graphicaleffects |
a23acca5 | 119 | %defattr(644,root,root,755) |
6cf7cdc6 JB |
120 | %doc dist/changes-* |
121 | %{qt5dir}/qml/QtGraphicalEffects | |
a23acca5 WF |
122 | |
123 | %files doc | |
124 | %defattr(644,root,root,755) | |
39ed99eb JB |
125 | %{_docdir}/qt5-doc/qtgraphicaleffects |
126 | ||
127 | %if %{with qch} | |
128 | %files doc-qch | |
129 | %defattr(644,root,root,755) | |
130 | %{_docdir}/qt5-doc/qtgraphicaleffects.qch | |
131 | %endif |