1 | %global qt_module qtcanvas3d |
---|
2 | |
---|
3 | #define docs 1 |
---|
4 | |
---|
5 | #define prerelease |
---|
6 | |
---|
7 | %global qt5_minorver 5.12 |
---|
8 | %global qt5_version 5.12.5 |
---|
9 | #global qt5_patchlevel 1 |
---|
10 | |
---|
11 | Summary: Qt5 - Canvas3d component |
---|
12 | Name: qt5-%{qt_module} |
---|
13 | Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}} |
---|
14 | Release: 1%{?_dist_release} |
---|
15 | |
---|
16 | License: LGPLv2 with exceptions or GPLv3 with exceptions |
---|
17 | Url: https://www.qt.io/ |
---|
18 | |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | |
---|
22 | Source0: http://download.qt.io/official_releases/qt/%{qt5_minorver}/%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}/submodules/%{qt_module}-everywhere-src-%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}.tar.xz |
---|
23 | |
---|
24 | BuildRequires: qt5-rpm-macros >= %{version} |
---|
25 | BuildRequires: qt5-qtbase-devel >= %{version} |
---|
26 | BuildRequires: qt5-qtbase-static |
---|
27 | BuildRequires: qt5-qtbase-private-devel |
---|
28 | # libQt5Qml.so.5(Qt_5_PRIVATE_API)(64bit) |
---|
29 | %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} |
---|
30 | BuildRequires: qt5-qtdeclarative-devel |
---|
31 | |
---|
32 | %description |
---|
33 | Qt5 Canvas3D component |
---|
34 | |
---|
35 | %if 0%{?docs} |
---|
36 | %package doc |
---|
37 | Summary: API documentation for %{name} |
---|
38 | License: GFDL |
---|
39 | Requires: %{name} = %{version}-%{release} |
---|
40 | BuildRequires: qt5-qdoc |
---|
41 | BuildRequires: qt5-qhelpgenerator |
---|
42 | BuildArch: noarch |
---|
43 | %description doc |
---|
44 | %{summary}. |
---|
45 | %endif |
---|
46 | |
---|
47 | %package examples |
---|
48 | Summary: Programming examples for %{name} |
---|
49 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
50 | %description examples |
---|
51 | %{summary}. |
---|
52 | |
---|
53 | |
---|
54 | %prep |
---|
55 | %setup -q -n %{qt_module}-everywhere-src-%{qt5_version} |
---|
56 | |
---|
57 | |
---|
58 | %build |
---|
59 | mkdir %{_target_platform} |
---|
60 | pushd %{_target_platform} |
---|
61 | %{qmake_qt5} .. |
---|
62 | |
---|
63 | make %{?_smp_mflags} |
---|
64 | |
---|
65 | %if 0%{?docs} |
---|
66 | # HACK to avoid multilib conflicts in noarch content |
---|
67 | # see also https://bugreports.qt-project.org/browse/QTBUG-42071 |
---|
68 | QT_HASH_SEED=0; export QT_HASH_SEED |
---|
69 | make %{?_smp_mflags} docs |
---|
70 | %endif |
---|
71 | popd |
---|
72 | |
---|
73 | %install |
---|
74 | make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
75 | |
---|
76 | %if 0%{?docs} |
---|
77 | make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
78 | %endif |
---|
79 | |
---|
80 | |
---|
81 | %files |
---|
82 | %license LICENSE.* |
---|
83 | %{_qt5_archdatadir}/qml/QtCanvas3D/ |
---|
84 | |
---|
85 | %if 0%{?docs} |
---|
86 | %files doc |
---|
87 | %{_qt5_docdir}/%{qt_module}.qch |
---|
88 | %{_qt5_docdir}/%{qt_module}/ |
---|
89 | %endif |
---|
90 | |
---|
91 | %if 0%{?_qt5_examplesdir:1} |
---|
92 | %files examples |
---|
93 | %{_qt5_examplesdir}/canvas3d/ |
---|
94 | %endif |
---|
95 | |
---|
96 | |
---|
97 | %changelog |
---|
98 | * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1 |
---|
99 | - new upstream release. |
---|
100 | |
---|
101 | * Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1 |
---|
102 | - update to 5.6.3 |
---|
103 | |
---|
104 | * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1 |
---|
105 | - new upstream release. |
---|
106 | - initial build for Vine Linux. |
---|
107 | |
---|
108 | * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1 |
---|
109 | - Update to 5.6.1 |
---|
110 | |
---|
111 | * Wed Jun 01 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4 |
---|
112 | - restore -doc pkg (#1341457) |
---|
113 | |
---|
114 | * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3 |
---|
115 | - rebuild |
---|
116 | |
---|
117 | * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2 |
---|
118 | - rebuild |
---|
119 | |
---|
120 | * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1 |
---|
121 | - 5.6.0 final release |
---|
122 | |
---|
123 | * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6.rc |
---|
124 | - Update to final RC |
---|
125 | |
---|
126 | * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5 |
---|
127 | - Update RC release |
---|
128 | |
---|
129 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.4.beta |
---|
130 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
131 | |
---|
132 | * Wed Jan 27 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.3.beta |
---|
133 | - respin sources, use %%license, update URLs, fix -doc BR's, drop unneeded scriptlets |
---|
134 | |
---|
135 | * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2 |
---|
136 | - Official beta release |
---|
137 | |
---|
138 | * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1 |
---|
139 | - Start to implement 5.6.0 beta |
---|
140 | |
---|
141 | * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1 |
---|
142 | - Start to implement 5.6.0 beta |
---|
143 | |
---|
144 | * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2 |
---|
145 | - Update to final release 5.5.1 |
---|
146 | |
---|
147 | * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1 |
---|
148 | - Update to Qt 5.5.1 RC1 |
---|
149 | |
---|
150 | * Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1 |
---|
151 | - New final upstream release Qt 5.5.0 |
---|
152 | |
---|
153 | * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc |
---|
154 | - Update for official RC1 released packages |
---|
155 | |
---|
156 | * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.1.rc |
---|
157 | - Initial release |
---|