source: projects/specs/trunk/q/qt5/qt5-vl.spec @ 12375

Revision 12375, 8.5 KB checked in by tomop, 2 years ago (diff)

updated 23 packages

qt5-qt3d-5.12.8-1

qt5-qtbase-5.12.8-1

qt5-qtcanvas3d-5.12.8-1

qt5-qtconnectivity-5.12.8-1

qt5-qtdeclarative-5.12.8-1

qt5-qtdoc-5.12.8-1

qt5-qtgraphicaleffects-5.12.8-1

qt5-qtimageformats-5.12.8-1

qt5-qtlocation-5.12.8-1

qt5-qtmultimedia-5.12.8-1

qt5-qtquickcontrols-5.12.8-1

qt5-qtquickcontrols2-5.12.8-1

qt5-qtscript-5.12.8-1

qt5-qtsensors-5.12.8-1

qt5-qtserialport-5.12.8-1

qt5-qtsvg-5.12.8-1

qt5-qttools-5.12.8-1

qt5-qttranslations-5.12.8-1

qt5-qtwebchannel-5.12.8-1

qt5-qtwebengine-5.12.8-1

qt5-qtwebsockets-5.12.8-1

qt5-qtx11extras-5.12.8-1

qt5-qtxmlpatterns-5.12.8-1

qt5-5.12.8-1

Line 
1%bcond_with deps
2
3Name: qt5
4Version: 5.12.8
5Release: 1%{?_dist_release}
6Summary: Qt5 meta package
7License: GPLv3
8URL: https://getfedora.org/
9Source0: macros.qt5
10Source1: macros.qt5-srpm
11Source2: qmake-qt5.sh
12BuildArch: noarch
13
14Requires: qt5-qdbusviewer
15Requires: qt5-qt3d
16Requires: qt5-qtbase
17Requires: qt5-qtbase-gui
18Requires: qt5-qtbase-mysql
19Requires: qt5-qtbase-postgresql
20Requires: qt5-qtconnectivity
21#Requires: qt5-qtdeclarative
22Requires: qt5-qtdoc
23Requires: qt5-qtgraphicaleffects
24Requires: qt5-qtimageformats
25Requires: qt5-qtlocation
26Requires: qt5-qtmultimedia
27Requires: qt5-qtquickcontrols
28Requires: qt5-qtquickcontrols2
29#Requires: qt5-qtscript
30Requires: qt5-qtsensors
31Requires: qt5-qtserialport
32Requires: qt5-qtsvg
33Requires: qt5-qttools
34#Requires: qt5-qtwayland
35Requires: qt5-qtwebchannel
36Requires: qt5-qtwebengine
37#Requires: qt5-qtwebkit
38Requires: qt5-qtwebsockets
39Requires: qt5-qtx11extras
40Requires: qt5-qtxmlpatterns
41
42%description
43%{summary}.
44
45%package devel
46Summary: Qt5 meta devel package
47Requires: qt5-rpm-macros
48Requires: qt5-qttools-static
49#Requires: qt5-qtdeclarative-static
50Requires: qt5-qtbase-static
51Requires: qt5-designer
52Requires: qt5-qdoc
53Requires: qt5-qhelpgenerator
54Requires: qt5-linguist
55Requires: qt5-qt3d-devel
56Requires: qt5-qtbase-devel
57Requires: qt5-qtconnectivity-devel
58#Requires: qt5-qtdeclarative-devel
59#Requires: qt5-qtenginio-devel
60Requires: qt5-qtlocation-devel
61Requires: qt5-qtmultimedia-devel
62#Requires: qt5-qtscript-devel
63Requires: qt5-qtsensors-devel
64Requires: qt5-qtserialport-devel
65Requires: qt5-qtsvg-devel
66Requires: qt5-qttools-devel
67#Requires: qt5-qtwayland-devel
68Requires: qt5-qtwebchannel-devel
69Requires: qt5-qtwebengine-devel
70#Requires: qt5-qtwebkit-devel
71Requires: qt5-qtwebsockets-devel
72Requires: qt5-qtx11extras-devel
73Requires: qt5-qtxmlpatterns-devel
74
75%description devel
76%{summary}.
77
78%package rpm-macros
79Summary: RPM macros for building Qt5 packages
80Conflicts: qt5-qtbase-devel < 5.12.0
81Requires: cmake >= 3
82Requires: gcc-c++
83%description rpm-macros
84%{summary}.
85
86%package srpm-macros
87Summary: RPM macros for source Qt5 packages
88%description srpm-macros
89%{summary}.
90
91
92%install
93install -Dpm644 %{SOURCE0} %{buildroot}%{_rpmconfigdir}/macros.d/macros.qt5
94install -Dpm644 %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/macros.qt5-srpm
95install -Dpm755 %{SOURCE2} %{buildroot}%{_bindir}/qmake-qt5.sh
96mkdir -p %{buildroot}%{_datadir}/qt5/wrappers
97ln -s %{_bindir}/qmake-qt5.sh %{buildroot}%{_datadir}/qt5/wrappers/qmake-qt5
98ln -s %{_bindir}/qmake-qt5.sh %{buildroot}%{_datadir}/qt5/wrappers/qmake
99
100# substitute custom flags, and the path to binaries: binaries referenced from
101# macros should not change if an application is built with a different prefix.
102# %_libdir is left as /usr/%{_lib} (e.g.) so that the resulting macros are
103# architecture independent, and don't hardcode /usr/lib or /usr/lib64.
104sed -i \
105  -e "s|@@QT5_CFLAGS@@|%{?qt5_cflags}|g" \
106  -e "s|@@QT5_CXXFLAGS@@|%{?qt5_cxxflags}|g" \
107  -e "s|@@QT5_RPM_LD_FLAGS@@|%{?qt5_rpm_ld_flags}|g" \
108  -e "s|@@QT5_RPM_OPT_FLAGS@@|%{?qt5_rpm_opt_flags}|g" \
109  -e "s|@@QMAKE@@|%{_prefix}/%%{_lib}/qt5/bin/qmake|g" \
110  -e "s|@@QMAKE_QT5_WRAPPER@@|%{_bindir}/qmake-qt5.sh|g" \
111  %{buildroot}%{_rpmconfigdir}/macros.d/macros.qt5
112
113%if %{with deps}
114mkdir -p %{buildroot}%{_docdir}/qt5
115mkdir -p %{buildroot}%{_docdir}/qt5-devel
116echo "- Qt5 meta package" > %{buildroot}%{_docdir}/qt5/README
117echo "- Qt5 devel meta package" > %{buildroot}%{_docdir}/qt5-devel/README
118%endif
119
120%if %{with deps}
121%files
122%{_docdir}/qt5/README
123
124%files devel
125%{_docdir}/qt5-devel/README
126%endif
127
128%files rpm-macros
129%{_rpmconfigdir}/macros.d/macros.qt5
130%{_bindir}/qmake-qt5.sh
131%{_datadir}/qt5/wrappers/
132
133%files srpm-macros
134%{_rpmconfigdir}/macros.d/macros.qt5-srpm
135
136
137%changelog
138* Tue Apr 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
139- built for Qt 5.12.8.
140
141* Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
142- built for Qt 5.12.7.
143
144* Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-2
145- initial build for Vine Linux.
146
147* Tue Sep 24 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1
148- 5.12.5
149
150* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.12.4-2
151- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
152
153* Tue Jun 11 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.4-1
154- 5.12.4
155
156* Tue Jun 04 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.3-1
157- 5.12.3
158
159* Thu Feb 14 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.1-1
160- 5.12.1
161
162* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.3-2
163- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
164
165* Fri Dec 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.3-1
166- 5.11.3
167
168* Fri Sep 21 2018 Jan Grulich <jgrulich@redhat.com> - 5.11.2-1
169- 5.11.2
170
171* Tue Aug 21 2018 Owen Taylor <otaylor@redhat.com> - 5.11.1-4
172- rpm-macros: always refer to binaries in their installed location, even if %%_libdir
173  and %%_bindir are redefined.
174
175* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.1-3
176- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
177
178* Fri Jun 29 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.1-2
179- %%_qt5_prefix=%%_prefix (was %%_libdir/qt5}
180
181* Tue Jun 19 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.1-1
182- 5.11.1
183
184* Sat Jun 02 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.0-2
185- rpm-macros: do not define _qt5_archdatadir, _qt5_bindir in terms of _qt5_prefix anymore
186
187* Sat May 26 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.0-1
188- 5.11.0
189
190* Wed Mar 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.1-1
191- 5.10.1
192- rpm-macros: Requires: gcc-c++
193
194* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-5
195- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
196
197* Wed Jan 24 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.0-4
198- macros.qt5: fix path to qmake-qt5.sh wrapper
199
200* Wed Jan 24 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.0-3
201- use noarch-friendly paths for qmake-qt5.sh wrapper
202
203* Wed Jan 24 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.10.0-2
204- provide qmake-qt5.sh wrapper and new macro: %%qmake_qt5_wrapper
205
206* Wed Jan 03 2018 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-1
207- 5.10.0
208
209* Wed Jan 03 2018 Rex Dieter <rdieter@fedoraproject.org> 5.9.3-1
210- 5.9.3
211
212* Tue Oct 10 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.2-1
213- 5.9.2
214
215* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-2
216- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
217
218* Wed Jul 19 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.1-1
219- 5.9.1
220
221* Thu Jun 01 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-2
222- drop -fno-delete-null-pointer-checks hack/workaround
223
224* Sat Apr 15 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-1
225- Up to match upcoming 5.9.0
226
227* Fri Mar 31 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-3
228- rebuild
229
230* Fri Jan 27 2017 Helio Chissini de Castro <helio@kde.org> - 5.8.0-1
231- Tie to new upstream release
232
233* Mon Jan 02 2017 Rex Dieter <rdieter@math.unl.edu> - 5.7.1-2
234- drop Requires: qt5-gstreamer qt5-qtacountsservice qt5-qtconfiguration (not from qtproject.org)
235
236* Wed Nov 09 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.1-1
237- Prepare for new release
238
239* Tue Sep 27 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-10
240- s/%%rhel/%%epel/ , cmake3 is only available in epel
241
242* Wed Sep 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-9
243- install the right macros.qt5-srpm file
244
245* Wed Sep 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-8
246- introduce -srpm-macros (initially defines %%qt5_qtwebengine_arches)
247- -devel: drop Requires: qt5-qtwebengine-devel (since not all archs are supported)
248
249* Sat Jul 23 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-7
250- drop Requires: qt5-qtwebengine (not available on all archs)
251
252* Tue Jul 12 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-6
253- Fix macros with invalid substitutions.
254
255* Wed Jul 06 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-5
256- Fix typo. Thanks to Diego Herrera.
257- Add macro qt5_includedir as more logical than headerdir. Old one still available
258
259* Mon Jul 04 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-4
260- Clang is not default anymore. End of experimentation phase
261
262* Wed Jun 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-3
263- Move package to be qt5 and create meta packages
264- Add new macro for qml dir
265
266* Mon Jun 13 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-2
267- Test repositories using clang by default
268
269
270* Thu Jun 09 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.0-1
271- Decouple macros from main qtbase package
Note: See TracBrowser for help on using the repository browser.