1 | |
---|
2 | %global qt_module qtxmlpatterns |
---|
3 | |
---|
4 | # define to build docs, need to undef this for bootstrapping |
---|
5 | # where qt5-qttools builds are not yet available |
---|
6 | # only primary archs (for now), allow secondary to bootstrap |
---|
7 | #global bootstrap 1 |
---|
8 | |
---|
9 | %if ! 0%{?bootstrap} |
---|
10 | %ifarch %{arm} %{ix86} x86_64 |
---|
11 | %define docs 1 |
---|
12 | %endif |
---|
13 | %endif |
---|
14 | |
---|
15 | #define prerelease rc |
---|
16 | |
---|
17 | %global qt5_minorver 5.6 |
---|
18 | %global qt5_version 5.6.1 |
---|
19 | %global qt5_patchlevel 1 |
---|
20 | |
---|
21 | Summary: Qt5 - QtXmlPatterns component |
---|
22 | Name: qt5-%{qt_module} |
---|
23 | Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}} |
---|
24 | Release: 1%{?_dist_release} |
---|
25 | # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details |
---|
26 | License: LGPLv2 with exceptions or GPLv3 with exceptions |
---|
27 | Url: http://www.qt.io |
---|
28 | |
---|
29 | Vendor: Project Vine |
---|
30 | Distribution: Vine Linux |
---|
31 | |
---|
32 | 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 |
---|
33 | |
---|
34 | BuildRequires: cmake |
---|
35 | BuildRequires: qt5-qtbase-devel >= %{version} |
---|
36 | |
---|
37 | %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} |
---|
38 | |
---|
39 | %description |
---|
40 | The Qt XML Patterns module provides support for XPath, XQuery, XSLT, |
---|
41 | and XML Schema validation. |
---|
42 | |
---|
43 | %package devel |
---|
44 | Summary: Development files for %{name} |
---|
45 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
46 | Requires: qt5-qtbase-devel%{?_isa} |
---|
47 | %description devel |
---|
48 | %{summary}. |
---|
49 | |
---|
50 | %if 0%{?docs} |
---|
51 | %package doc |
---|
52 | Summary: API documentation for %{name} |
---|
53 | License: GFDL |
---|
54 | Requires: %{name} = %{version}-%{release} |
---|
55 | BuildRequires: qt5-qdoc |
---|
56 | BuildRequires: qt5-qhelpgenerator |
---|
57 | BuildArch: noarch |
---|
58 | %description doc |
---|
59 | %{summary}. |
---|
60 | %endif |
---|
61 | |
---|
62 | %package examples |
---|
63 | Summary: Programming examples for %{name} |
---|
64 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
65 | %description examples |
---|
66 | %{summary}. |
---|
67 | |
---|
68 | |
---|
69 | %prep |
---|
70 | %setup -q -n %{qt_module}-opensource-src-%{qt5_version} |
---|
71 | |
---|
72 | |
---|
73 | %build |
---|
74 | mkdir %{_target_platform} |
---|
75 | pushd %{_target_platform} |
---|
76 | %{qmake_qt5} .. |
---|
77 | |
---|
78 | make %{?_smp_mflags} |
---|
79 | |
---|
80 | %if 0%{?docs} |
---|
81 | make %{?_smp_mflags} docs |
---|
82 | %endif |
---|
83 | popd |
---|
84 | |
---|
85 | %install |
---|
86 | rm -rf %{buildroot} |
---|
87 | make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
88 | |
---|
89 | %if 0%{?docs} |
---|
90 | make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform} |
---|
91 | %endif |
---|
92 | |
---|
93 | # put non-conflicting binaries with -qt5 postfix in %{_bindir} |
---|
94 | mkdir %{buildroot}%{_bindir} |
---|
95 | pushd %{buildroot}%{_qt5_bindir} |
---|
96 | for i in * ; do |
---|
97 | case "${i}" in |
---|
98 | xmlpatterns|xmlpatternsvalidator) |
---|
99 | ln -v ${i} %{buildroot}%{_bindir}/${i}-qt5 |
---|
100 | ln -sv ${i} ${i}-qt5 |
---|
101 | ;; |
---|
102 | *) |
---|
103 | ln -v ${i} %{buildroot}%{_bindir}/${i} |
---|
104 | ;; |
---|
105 | esac |
---|
106 | done |
---|
107 | popd |
---|
108 | |
---|
109 | ## .prl/.la file love |
---|
110 | # nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs |
---|
111 | pushd %{buildroot}%{_qt5_libdir} |
---|
112 | for prl_file in libQt5*.prl ; do |
---|
113 | sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file} |
---|
114 | if [ -f "$(basename ${prl_file} .prl).so" ]; then |
---|
115 | rm -fv "$(basename ${prl_file} .prl).la" |
---|
116 | sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file} |
---|
117 | fi |
---|
118 | done |
---|
119 | popd |
---|
120 | |
---|
121 | |
---|
122 | %post |
---|
123 | /sbin/ldconfig |
---|
124 | |
---|
125 | %postun |
---|
126 | /sbin/ldconfig |
---|
127 | |
---|
128 | %files |
---|
129 | %license LICENSE.LGPL* LGPL_EXCEPTION.txt |
---|
130 | %{_qt5_libdir}/libQt5XmlPatterns.so.5* |
---|
131 | |
---|
132 | %files devel |
---|
133 | %{_qt5_bindir}/xmlpatterns* |
---|
134 | %{_bindir}/xmlpatterns* |
---|
135 | %{_qt5_headerdir}/Qt*/ |
---|
136 | %{_qt5_libdir}/libQt5*.so |
---|
137 | %{_qt5_libdir}/libQt5*.prl |
---|
138 | %{_qt5_libdir}/cmake/Qt5*/ |
---|
139 | %{_qt5_libdir}/pkgconfig/Qt5*.pc |
---|
140 | %{_qt5_archdatadir}/mkspecs/modules/*.pri |
---|
141 | |
---|
142 | %if 0%{?docs} |
---|
143 | %files doc |
---|
144 | %license LICENSE.FDL |
---|
145 | %{_qt5_docdir}/qtxmlpatterns.qch |
---|
146 | %{_qt5_docdir}/qtxmlpatterns/ |
---|
147 | %endif |
---|
148 | |
---|
149 | %if 0%{?_qt5_examplesdir:1} |
---|
150 | %files examples |
---|
151 | %{_qt5_examplesdir} |
---|
152 | %endif |
---|
153 | |
---|
154 | |
---|
155 | %changelog |
---|
156 | * Sun Jul 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1 |
---|
157 | - new upstream release. |
---|
158 | - initial build for Vine Linux. |
---|
159 | |
---|
160 | * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1 |
---|
161 | - Update to 5.6.1 |
---|
162 | |
---|
163 | * Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4 |
---|
164 | - rebuild |
---|
165 | |
---|
166 | * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3 |
---|
167 | - de-bootstap |
---|
168 | |
---|
169 | * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2 |
---|
170 | - rebuild |
---|
171 | |
---|
172 | * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1 |
---|
173 | - 5.6.0 release |
---|
174 | |
---|
175 | * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.10.rc |
---|
176 | - Update to final RC |
---|
177 | |
---|
178 | * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.9.rc |
---|
179 | - Integrate RC builds. |
---|
180 | |
---|
181 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.8.beta |
---|
182 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
183 | |
---|
184 | * Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.7.beta |
---|
185 | - update source URL, BR: cmake, use %%license |
---|
186 | |
---|
187 | * Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6 |
---|
188 | - Update to final beta release |
---|
189 | |
---|
190 | * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5 |
---|
191 | - Official beta release |
---|
192 | |
---|
193 | * Sat Dec 05 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4 |
---|
194 | - (re)enable bootstrap |
---|
195 | |
---|
196 | * Sat Dec 05 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2 |
---|
197 | - Beta 2 |
---|
198 | |
---|
199 | * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1 |
---|
200 | - Start to implement 5.6.0 beta |
---|
201 | |
---|
202 | * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2 |
---|
203 | - Update to final release 5.5.1 |
---|
204 | |
---|
205 | * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1 |
---|
206 | - Update to Qt 5.5.1 RC1 |
---|
207 | |
---|
208 | * Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3 |
---|
209 | - -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping |
---|
210 | |
---|
211 | * Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2 |
---|
212 | - tighten qtbase dep (#1233829) |
---|
213 | |
---|
214 | * Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1 |
---|
215 | - New final upstream release Qt 5.5.0 |
---|
216 | |
---|
217 | * Mon Jun 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.3.rc |
---|
218 | - Second round of builds now with bootstrap enabled due new qttools |
---|
219 | |
---|
220 | * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc |
---|
221 | - Update for official RC1 released packages |
---|
222 | |
---|
223 | * Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc |
---|
224 | - Qt 5.5.0 RC1 |
---|
225 | |
---|
226 | * Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1 |
---|
227 | - 5.4.2 |
---|
228 | |
---|
229 | * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3 |
---|
230 | - Rebuilt for GCC 5 C++11 ABI change |
---|
231 | |
---|
232 | * Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2 |
---|
233 | - rebuild (gcc5) |
---|
234 | |
---|
235 | * Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1 |
---|
236 | - 5.4.1 |
---|
237 | |
---|
238 | * Mon Feb 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-2 |
---|
239 | - rebuild (gcc5) |
---|
240 | |
---|
241 | * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1 |
---|
242 | - 5.4.0 (final) |
---|
243 | |
---|
244 | * Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc |
---|
245 | - 5.4.0-rc |
---|
246 | |
---|
247 | * Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta |
---|
248 | - out-of-tree build, use %%qmake_qt5 |
---|
249 | |
---|
250 | * Sat Oct 18 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta |
---|
251 | - 5.4.0-beta |
---|
252 | |
---|
253 | * Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1 |
---|
254 | - 5.3.2 |
---|
255 | |
---|
256 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2 |
---|
257 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
258 | |
---|
259 | * Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1 |
---|
260 | - 5.3.1 |
---|
261 | |
---|
262 | * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2 |
---|
263 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
264 | |
---|
265 | * Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.0-1 |
---|
266 | - 5.3.0 |
---|
267 | |
---|
268 | * Mon May 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2 |
---|
269 | - use standard (same as qtbase) .prl sanitation |
---|
270 | |
---|
271 | * Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1 |
---|
272 | - 5.2.1 |
---|
273 | |
---|
274 | * Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-3 |
---|
275 | - -examples subpkg |
---|
276 | |
---|
277 | * Tue Jan 14 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2 |
---|
278 | - epel7 bootstrapped |
---|
279 | |
---|
280 | * Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1 |
---|
281 | - 5.2.0 |
---|
282 | |
---|
283 | * Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1 |
---|
284 | - 5.2.0-rc1 |
---|
285 | |
---|
286 | * Sun Nov 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.4.beta1 |
---|
287 | - rebuild (arm/qreal) |
---|
288 | |
---|
289 | * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.3.beta1 |
---|
290 | - 5.2.0-beta1 |
---|
291 | |
---|
292 | * Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.alpha |
---|
293 | - bootstrap ppc |
---|
294 | |
---|
295 | * Wed Oct 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha |
---|
296 | - 5.2.0-alpha |
---|
297 | - -doc subpkg |
---|
298 | |
---|
299 | * Wed Aug 28 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1 |
---|
300 | - 5.1.1 |
---|
301 | |
---|
302 | * Sat Aug 17 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-2 |
---|
303 | - %%doc LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt |
---|
304 | - update Source URL |
---|
305 | |
---|
306 | * Thu Apr 11 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.2-1 |
---|
307 | - 5.0.2 |
---|
308 | |
---|
309 | * Sat Feb 23 2013 Rex Dieter <rdieter@fedoraproject.org> 5.0.1-1 |
---|
310 | - first try |
---|
311 | |
---|