1 | |
---|
2 | %global qt_module qtquick1 |
---|
3 | |
---|
4 | %global commit0 92c847e56d94c9032f3fa83922742e455233e4f3 |
---|
5 | %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) |
---|
6 | |
---|
7 | Summary: A declarative language for describing user interfaces in Qt5 |
---|
8 | Name: qt5-%{qt_module} |
---|
9 | Version: 5.6.3 |
---|
10 | #Release: 2.%{?shortcommit0}git%{?dist} |
---|
11 | Release: 1%{_dist_release} |
---|
12 | |
---|
13 | # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details |
---|
14 | License: LGPLv2 with exceptions or GPLv3 with exceptions |
---|
15 | Url: http://www.qt.io |
---|
16 | |
---|
17 | Vendor: Project Vine |
---|
18 | Distribution: Vine Linux |
---|
19 | |
---|
20 | # The source for this package was pulled from upstream's vcs. Use the |
---|
21 | # following commands to generate the tarball: |
---|
22 | # git clone git@github.com:qtproject/qtquick1.git && cd qtquick1 |
---|
23 | # git archive --prefix=qtquick1-opensource-src-5.6.1/ origin/5.6.1 | tar -x -C .. |
---|
24 | # cd ../qtquick1-opensource-src-5.6.1 && syncqt.pl -version 5.6.1 && cd .. |
---|
25 | # tar cfJ qt5-qtquick1-opensource-src-5.6.1.tar.xz qtquick1-opensource-src-5.6.1/ |
---|
26 | #Source0: %{qt_module}-opensource-src-%{version}-%{shortcommit0}.tar.xz |
---|
27 | Source0: %{qt_module}-opensource-src-%{version}.tar.xz |
---|
28 | |
---|
29 | BuildRequires: cmake |
---|
30 | BuildRequires: qt5-qtbase-devel >= %{version} |
---|
31 | BuildRequires: qt5-qtscript-devel >= %{version} |
---|
32 | BuildRequires: qt5-qttools-devel |
---|
33 | BuildRequires: qt5-qtwebkit-devel |
---|
34 | BuildRequires: qt5-qtxmlpatterns-devel |
---|
35 | |
---|
36 | BuildRequires: qt5-qtbase-private-devel |
---|
37 | %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} |
---|
38 | BuildRequires: qt5-qtscript-private-devel |
---|
39 | %{?_qt5:Requires: qt5-qtscript%{?_isa} = %{_qt5_version}} |
---|
40 | |
---|
41 | %description |
---|
42 | Qt Quick is a collection of technologies that are designed to help |
---|
43 | developers create the kind of intuitive, modern, fluid user interfaces |
---|
44 | that are increasingly used on mobile phones, media players, set-top |
---|
45 | boxes and other portable devices. |
---|
46 | |
---|
47 | Qt Quick consists of a rich set of user interface elements, a declarative |
---|
48 | language for describing user interfaces and a language runtime. A |
---|
49 | collection of C++ APIs is used to integrate these high level features |
---|
50 | with classic Qt applications. |
---|
51 | |
---|
52 | %package devel |
---|
53 | Summary: Development files for %{name} |
---|
54 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
55 | Requires: qt5-qtbase-devel%{?_isa} |
---|
56 | %description devel |
---|
57 | %{summary}. |
---|
58 | |
---|
59 | %package examples |
---|
60 | Summary: Programming examples for %{name} |
---|
61 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
62 | %description examples |
---|
63 | %{summary}. |
---|
64 | |
---|
65 | |
---|
66 | %prep |
---|
67 | %autosetup -n %{qt_module}-opensource-src-%{version} |
---|
68 | |
---|
69 | |
---|
70 | %build |
---|
71 | mkdir %{_target_platform} |
---|
72 | pushd %{_target_platform} |
---|
73 | %{qmake_qt5} .. |
---|
74 | |
---|
75 | make %{?_smp_mflags} |
---|
76 | |
---|
77 | |
---|
78 | %install |
---|
79 | make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
80 | |
---|
81 | # hardlink files to %{_bindir}, add -qt5 postfix to not conflict |
---|
82 | mkdir %{buildroot}%{_bindir} |
---|
83 | pushd %{buildroot}%{_qt5_bindir} |
---|
84 | for i in * ; do |
---|
85 | case "${i}" in |
---|
86 | # qt4 conflicts |
---|
87 | qmlviewer) |
---|
88 | ln -v ${i} %{buildroot}%{_bindir}/${i}-qt5 |
---|
89 | ln -sv ${i} ${i}-qt5 |
---|
90 | ;; |
---|
91 | # stuff handled by qtchooser |
---|
92 | qml1plugindump) |
---|
93 | ln -v ${i} %{buildroot}%{_bindir}/${i} |
---|
94 | ln -v ${i} %{buildroot}%{_bindir}/${i}-qt5 |
---|
95 | ln -sv ${i} ${i}-qt5 |
---|
96 | ;; |
---|
97 | *) |
---|
98 | ln -v ${i} %{buildroot}%{_bindir}/${i} |
---|
99 | ;; |
---|
100 | esac |
---|
101 | done |
---|
102 | popd |
---|
103 | |
---|
104 | ## .prl/.la file love |
---|
105 | # nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs |
---|
106 | pushd %{buildroot}%{_qt5_libdir} |
---|
107 | for prl_file in libQt5*.prl ; do |
---|
108 | sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file} |
---|
109 | if [ -f "$(basename ${prl_file} .prl).so" ]; then |
---|
110 | rm -fv "$(basename ${prl_file} .prl).la" |
---|
111 | sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file} |
---|
112 | fi |
---|
113 | done |
---|
114 | popd |
---|
115 | |
---|
116 | %post -p /sbin/ldconfig |
---|
117 | %postun -p /sbin/ldconfig |
---|
118 | |
---|
119 | %files |
---|
120 | %license LICENSE.LGPL* LGPL_EXCEPTION.txt |
---|
121 | %{_qt5_libdir}/libQt5Declarative.so.5* |
---|
122 | %{_qt5_importdir}/Qt/ |
---|
123 | %{_qt5_importdir}/QtWebKit/ |
---|
124 | %{_qt5_importdir}/builtins.qmltypes |
---|
125 | %{_qt5_plugindir}/designer/*.so |
---|
126 | %{_qt5_plugindir}/qml1tooling/ |
---|
127 | %dir %{_qt5_libdir}/cmake/Qt5Declarative/ |
---|
128 | %{_qt5_libdir}/cmake/Qt5Declarative/Qt5Declarative_QTcpServerConnection.cmake |
---|
129 | %{_qt5_libdir}/cmake/Qt5Declarative/Qt5Declarative_QtQuick1Plugin.cmake |
---|
130 | %dir %{_qt5_libdir}/cmake/Qt5Designer/ |
---|
131 | %{_qt5_libdir}/cmake/Qt5Designer/Qt5Designer_QDeclarativeViewPlugin.cmake |
---|
132 | |
---|
133 | %files devel |
---|
134 | %{_qt5_bindir}/qml1plugindump* |
---|
135 | %{_qt5_bindir}/qmlviewer* |
---|
136 | %{_bindir}/qml1plugindump* |
---|
137 | %{_bindir}/qmlviewer* |
---|
138 | %{_qt5_headerdir}/QtDeclarative/ |
---|
139 | %{_qt5_libdir}/libQt5Declarative.so |
---|
140 | %{_qt5_libdir}/libQt5Declarative.prl |
---|
141 | %{_qt5_libdir}/cmake/Qt5Declarative/Qt5DeclarativeConfig*.cmake |
---|
142 | %{_qt5_libdir}/pkgconfig/Qt5Declarative.pc |
---|
143 | %{_qt5_archdatadir}/mkspecs/modules/qt_lib_declarative*.pri |
---|
144 | |
---|
145 | %if 0%{?_qt5_examplesdir:1} |
---|
146 | %files examples |
---|
147 | %{_qt5_examplesdir}/declarative/ |
---|
148 | %endif |
---|
149 | |
---|
150 | |
---|
151 | %changelog |
---|
152 | * Fri Jan 26 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.3-1 |
---|
153 | - new upstream release. |
---|
154 | |
---|
155 | * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1-2.92c847egit |
---|
156 | - initial build for Vine Linux. |
---|
157 | |
---|
158 | * Fri Jun 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-1.92c847egit |
---|
159 | - 5.6.1 branch snapshot |
---|
160 | |
---|
161 | * Fri Jun 10 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.0-5 |
---|
162 | - Rebuild (qt5-qtbase) |
---|
163 | |
---|
164 | * Sun Apr 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4 |
---|
165 | - BR: qt5-qtbase-private-devel qt5-qtscript-private-devel |
---|
166 | |
---|
167 | * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3 |
---|
168 | - rebuild |
---|
169 | |
---|
170 | * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2 |
---|
171 | - rebuild |
---|
172 | |
---|
173 | * Wed Mar 16 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.8.rc |
---|
174 | - 5.6.0 final release |
---|
175 | |
---|
176 | * Sun Feb 21 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.7.rc |
---|
177 | - rebuild |
---|
178 | |
---|
179 | * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6 |
---|
180 | - Update RC release |
---|
181 | |
---|
182 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.5.beta1 |
---|
183 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
184 | |
---|
185 | * Thu Jan 21 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4.beta1 |
---|
186 | - fix Sources |
---|
187 | |
---|
188 | * Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.3.beta |
---|
189 | - use %%license, clarify no -docs, BR: cmake |
---|
190 | |
---|
191 | * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2 |
---|
192 | - Official beta release |
---|
193 | |
---|
194 | * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1 |
---|
195 | - Start to implement 5.6.0 beta |
---|
196 | |
---|
197 | * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2 |
---|
198 | - Update to final release 5.5.1 |
---|
199 | |
---|
200 | * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1 |
---|
201 | - Update to Qt 5.5.1 RC1 |
---|
202 | |
---|
203 | * Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3 |
---|
204 | - -docs: BuildRequires: qt5-qhelpgenerator |
---|
205 | |
---|
206 | * Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2 |
---|
207 | - tighten deps (#1233829) |
---|
208 | |
---|
209 | * Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1 |
---|
210 | - New final upstream release Qt 5.5.0 |
---|
211 | |
---|
212 | * Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc |
---|
213 | - Qt 5.5.0 RC1 |
---|
214 | |
---|
215 | * Thu Jun 04 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1 |
---|
216 | - 5.4.2 |
---|
217 | |
---|
218 | * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3 |
---|
219 | - Rebuilt for GCC 5 C++11 ABI change |
---|
220 | |
---|
221 | * Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2 |
---|
222 | - rebuild (gcc5) |
---|
223 | |
---|
224 | * Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1 |
---|
225 | - 5.4.1 |
---|
226 | |
---|
227 | * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1 |
---|
228 | - 5.4.0 (final) |
---|
229 | |
---|
230 | * Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc |
---|
231 | - 5.4.0-rc |
---|
232 | |
---|
233 | * Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta |
---|
234 | - out-of-tree build, use %%qmake_qt5 |
---|
235 | |
---|
236 | * Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta |
---|
237 | - 5.4.0-beta |
---|
238 | |
---|
239 | * Wed Sep 17 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.3.2-1 |
---|
240 | - 5.3.2 |
---|
241 | |
---|
242 | * Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> |
---|
243 | - 5.3.1-3 |
---|
244 | - move qml1plugindump, qmlviewer to -devel |
---|
245 | - qml1plugindump-qt5 wrapper (since qtchooser can handle it) |
---|
246 | |
---|
247 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2 |
---|
248 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
249 | |
---|
250 | * Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1 |
---|
251 | - 5.3.1 |
---|
252 | |
---|
253 | * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2 |
---|
254 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
255 | |
---|
256 | * Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1 |
---|
257 | - 5.3.0 |
---|
258 | |
---|
259 | * Mon May 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2 |
---|
260 | - use standard (same as qtbase) .prl sanitation |
---|
261 | |
---|
262 | * Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1 |
---|
263 | - 5.2.1 |
---|
264 | |
---|
265 | * Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2 |
---|
266 | - -examples subpkg |
---|
267 | |
---|
268 | * Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1 |
---|
269 | - 5.2.0 |
---|
270 | |
---|
271 | * Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1 |
---|
272 | - 5.2.0-rc1 |
---|
273 | |
---|
274 | * Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.5.beta1 |
---|
275 | - rebuild (arm/qreal) |
---|
276 | |
---|
277 | * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1 |
---|
278 | - 5.2.0-beta1 |
---|
279 | |
---|
280 | * Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.alpha |
---|
281 | - ppc bootstrap |
---|
282 | |
---|
283 | * Wed Oct 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha |
---|
284 | - nix -doc (no content) |
---|
285 | |
---|
286 | * Wed Oct 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha |
---|
287 | - 5.2.0-alpha |
---|
288 | - -doc subpkg |
---|
289 | |
---|
290 | * Mon Sep 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-2 |
---|
291 | - %%doc LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt |
---|
292 | - escape macros in comments |
---|
293 | - better %%description/%%summary |
---|
294 | |
---|
295 | * Tue Sep 03 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1 |
---|
296 | - 5.1.1 |
---|
297 | |
---|
298 | * Thu May 09 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2 |
---|
299 | - fix qmlviewer conflict with qt4 |
---|
300 | |
---|
301 | * Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1 |
---|
302 | - 5.0.2 |
---|
303 | |
---|
304 | * Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1 |
---|
305 | - first try |
---|
306 | |
---|