1 | |
---|
2 | %global qt_module qtscript |
---|
3 | |
---|
4 | %define docs 1 |
---|
5 | |
---|
6 | #define prerelease |
---|
7 | |
---|
8 | %global qt5_minorver 5.6 |
---|
9 | %global qt5_version 5.6.3 |
---|
10 | #global qt5_patchlevel 1 |
---|
11 | |
---|
12 | Summary: Qt5 - QtScript component |
---|
13 | Name: qt5-%{qt_module} |
---|
14 | Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}} |
---|
15 | Release: 1%{?_dist_release} |
---|
16 | |
---|
17 | # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details |
---|
18 | License: LGPLv2 with exceptions or GPLv3 with exceptions |
---|
19 | Url: http://www.qt.io |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | |
---|
24 | Source0: http://download.qt.io/official_releases/qt/%{qt5_minorver}/%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}/submodules/%{qt_module}-opensource-src-%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}.tar.xz |
---|
25 | |
---|
26 | # add s390(x0 support to Platform.h (taken from webkit) |
---|
27 | Patch0: qtscript-opensource-src-5.5.0-s390.patch |
---|
28 | |
---|
29 | BuildRequires: cmake |
---|
30 | BuildRequires: qt5-qtbase-devel >= %{version} |
---|
31 | BuildRequires: qt5-qtbase-private-devel |
---|
32 | BuildRequires: pkgconfig(Qt5UiTools) |
---|
33 | |
---|
34 | %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} |
---|
35 | |
---|
36 | %description |
---|
37 | %{summary}. |
---|
38 | |
---|
39 | %package devel |
---|
40 | Summary: Development files for %{name} |
---|
41 | Provides: %{name}-private-devel = %{version}-%{release} |
---|
42 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
43 | Requires: qt5-qtbase-devel%{?_isa} |
---|
44 | %description devel |
---|
45 | %{summary}. |
---|
46 | |
---|
47 | %if 0%{?docs} |
---|
48 | %package doc |
---|
49 | Summary: API documentation for %{name} |
---|
50 | Requires: %{name} = %{version}-%{release} |
---|
51 | BuildRequires: qt5-qdoc |
---|
52 | BuildRequires: qt5-qhelpgenerator |
---|
53 | BuildArch: noarch |
---|
54 | %description doc |
---|
55 | %{summary}. |
---|
56 | %endif |
---|
57 | |
---|
58 | %package examples |
---|
59 | Summary: Programming examples for %{name} |
---|
60 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
61 | %description examples |
---|
62 | %{summary}. |
---|
63 | |
---|
64 | |
---|
65 | %prep |
---|
66 | %setup -q -n %{qt_module}-opensource-src-%{qt5_version} |
---|
67 | |
---|
68 | %patch0 -p1 -b .s390 |
---|
69 | |
---|
70 | |
---|
71 | %build |
---|
72 | mkdir %{_target_platform} |
---|
73 | pushd %{_target_platform} |
---|
74 | %{qmake_qt5} .. |
---|
75 | |
---|
76 | make %{?_smp_mflags} |
---|
77 | |
---|
78 | %if 0%{?docs} |
---|
79 | make %{?_smp_mflags} docs |
---|
80 | %endif |
---|
81 | popd |
---|
82 | |
---|
83 | |
---|
84 | %install |
---|
85 | make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
86 | |
---|
87 | %if 0%{?docs} |
---|
88 | make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
89 | %endif |
---|
90 | |
---|
91 | ## .prl file love (maybe consider just deleting these -- rex |
---|
92 | # nuke dangling reference(s) to %%buildroot, excessive (.la-like) libs |
---|
93 | sed -i \ |
---|
94 | -e "/^QMAKE_PRL_BUILD_DIR/d" \ |
---|
95 | -e "/^QMAKE_PRL_LIBS/d" \ |
---|
96 | %{buildroot}%{_qt5_libdir}/*.prl |
---|
97 | |
---|
98 | ## unpackaged files |
---|
99 | # .la files, die, die, die. |
---|
100 | rm -fv %{buildroot}%{_qt5_libdir}/lib*.la |
---|
101 | |
---|
102 | |
---|
103 | %post -p /sbin/ldconfig |
---|
104 | %postun -p /sbin/ldconfig |
---|
105 | |
---|
106 | %files |
---|
107 | %license LGPL_EXCEPTION.txt LICENSE.LGPL* |
---|
108 | %{_qt5_libdir}/libQt5Script.so.5* |
---|
109 | %{_qt5_libdir}/libQt5ScriptTools.so.5* |
---|
110 | |
---|
111 | %files devel |
---|
112 | %{_qt5_headerdir}/Qt*/ |
---|
113 | %{_qt5_libdir}/libQt5Script.so |
---|
114 | %{_qt5_libdir}/libQt5Script.prl |
---|
115 | %{_qt5_libdir}/libQt5ScriptTools.so |
---|
116 | %{_qt5_libdir}/libQt5ScriptTools.prl |
---|
117 | %dir %{_qt5_libdir}/cmake/Qt5Script/ |
---|
118 | %{_qt5_libdir}/cmake/Qt5Script/Qt5ScriptConfig*.cmake |
---|
119 | %dir %{_qt5_libdir}/cmake/Qt5ScriptTools/ |
---|
120 | %{_qt5_libdir}/cmake/Qt5ScriptTools/Qt5ScriptToolsConfig*.cmake |
---|
121 | %{_qt5_libdir}/pkgconfig/Qt5*.pc |
---|
122 | %{_qt5_archdatadir}/mkspecs/modules/*.pri |
---|
123 | |
---|
124 | %if 0%{?docs} |
---|
125 | %files doc |
---|
126 | %{_qt5_docdir}/qtscript.qch |
---|
127 | %{_qt5_docdir}/qtscript/ |
---|
128 | %{_qt5_docdir}/qtscripttools.qch |
---|
129 | %{_qt5_docdir}/qtscripttools/ |
---|
130 | %endif |
---|
131 | |
---|
132 | %if 0%{?_qt5_examplesdir:1} |
---|
133 | %files examples |
---|
134 | %{_qt5_examplesdir}/ |
---|
135 | %endif |
---|
136 | |
---|
137 | |
---|
138 | %changelog |
---|
139 | * Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1 |
---|
140 | - update to 5.6.3 |
---|
141 | |
---|
142 | * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1 |
---|
143 | - new upstream release. |
---|
144 | - initial build for Vine Linux. |
---|
145 | |
---|
146 | * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1 |
---|
147 | - Update to 5.6.1 |
---|
148 | |
---|
149 | * Sun Apr 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4 |
---|
150 | - BR: qt5-qtbase-private-devel, -devel: Provides: private-devel |
---|
151 | |
---|
152 | * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3 |
---|
153 | - rebuild |
---|
154 | |
---|
155 | * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2 |
---|
156 | - rebuild |
---|
157 | |
---|
158 | * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1 |
---|
159 | - 5.6.0 final release |
---|
160 | |
---|
161 | * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.9.rc |
---|
162 | - Update to final RC |
---|
163 | |
---|
164 | * Sun Feb 21 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.8.rc |
---|
165 | - rebuild |
---|
166 | |
---|
167 | * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7 |
---|
168 | - Update RC release |
---|
169 | |
---|
170 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.6.beta |
---|
171 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
172 | |
---|
173 | * Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.5.beta |
---|
174 | - update source URL, use %%license, BR: cmake |
---|
175 | |
---|
176 | * Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.4 |
---|
177 | - Update to final beta release |
---|
178 | |
---|
179 | * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3 |
---|
180 | - Official beta release |
---|
181 | |
---|
182 | * Mon Dec 07 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.2 |
---|
183 | - (re)add bootstrap macro support |
---|
184 | |
---|
185 | * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1 |
---|
186 | - Start to implement 5.6.0 beta |
---|
187 | |
---|
188 | * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2 |
---|
189 | - Update to final release 5.5.1 |
---|
190 | |
---|
191 | * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1 |
---|
192 | - Update to Qt 5.5.1 RC1 |
---|
193 | |
---|
194 | * Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3 |
---|
195 | - -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping |
---|
196 | |
---|
197 | * Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2 |
---|
198 | - tighten qtbase dep (#1233829), .spec cosmetics |
---|
199 | |
---|
200 | * Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1 |
---|
201 | - New final upstream release Qt 5.5.0 |
---|
202 | |
---|
203 | * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc |
---|
204 | - Update for official RC1 released packages |
---|
205 | |
---|
206 | * Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc |
---|
207 | - Qt 5.5.0 RC1 |
---|
208 | |
---|
209 | * Thu Jun 04 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1 |
---|
210 | - 5.4.2 |
---|
211 | |
---|
212 | * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3 |
---|
213 | - Rebuilt for GCC 5 C++11 ABI change |
---|
214 | |
---|
215 | * Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2 |
---|
216 | - rebuild (gcc5) |
---|
217 | |
---|
218 | * Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1 |
---|
219 | - 5.4.1 |
---|
220 | |
---|
221 | * Mon Feb 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-2 |
---|
222 | - rebuild (gcc5) |
---|
223 | |
---|
224 | * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1 |
---|
225 | - 5.4.0 (final) |
---|
226 | |
---|
227 | * Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc |
---|
228 | - 5.4.0-rc |
---|
229 | |
---|
230 | * Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta |
---|
231 | - out-of-tree build, use %%qmake_qt5, support %%docs macro |
---|
232 | |
---|
233 | * Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta |
---|
234 | - 5.4.0-beta |
---|
235 | |
---|
236 | * Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1 |
---|
237 | - 5.3.2 |
---|
238 | |
---|
239 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2 |
---|
240 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
241 | |
---|
242 | * Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1 |
---|
243 | - 5.3.1 |
---|
244 | |
---|
245 | * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2 |
---|
246 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
247 | |
---|
248 | * Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1 |
---|
249 | - 5.3.0 |
---|
250 | |
---|
251 | * Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1 |
---|
252 | - 5.2.1 |
---|
253 | |
---|
254 | * Sun Feb 02 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-3 |
---|
255 | - Add AArch64 support to qtscript (#1056071) |
---|
256 | |
---|
257 | * Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2 |
---|
258 | - -examples subpkg |
---|
259 | - -doc for all archs |
---|
260 | |
---|
261 | * Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1 |
---|
262 | - 5.2.0 |
---|
263 | |
---|
264 | * Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1 |
---|
265 | - 5.2.0-rc1 |
---|
266 | |
---|
267 | * Mon Nov 25 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.5.beta1 |
---|
268 | - enable -doc only on primary archs (allow secondary bootstrap) |
---|
269 | |
---|
270 | * Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1 |
---|
271 | - rebuild (arm/qreal) |
---|
272 | |
---|
273 | * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta1 |
---|
274 | - 5.2.0-beta1 |
---|
275 | |
---|
276 | * Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha |
---|
277 | - bootstrap ppc |
---|
278 | |
---|
279 | * Tue Oct 01 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha |
---|
280 | - 5.2.0-alpha |
---|
281 | - -doc subpkg |
---|
282 | |
---|
283 | * Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1 |
---|
284 | - 5.1.1 |
---|
285 | |
---|
286 | * Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2 |
---|
287 | - update Source URL |
---|
288 | - %%doc LGPL_EXCEPTION.txt LICENSE.GPL LICENSE.LGPL |
---|
289 | |
---|
290 | * Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1 |
---|
291 | - 5.0.2 |
---|
292 | |
---|
293 | * Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1 |
---|
294 | - first try |
---|
295 | |
---|