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

Revision 12375, 6.0 KB checked in by tomop, 8 months 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%global qt_module qtwebchannel
2
3#define docs 1
4
5#define prerelease
6
7%global qt5_minorver 5.12
8%global qt5_version 5.12.8
9#global qt5_patchlevel 1
10
11Summary: Qt5 - WebChannel component
12Name:    qt5-%{qt_module}
13Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}}
14Release: 1%{?_dist_release}
15
16# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
17# See also http://doc.qt.io/qt-5/licensing.html
18License: LGPLv2 with exceptions or GPLv3 with exceptions
19Url: https://qt.io/
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24Source0: https://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
25
26BuildRequires: cmake
27BuildRequires: qt5-rpm-macros
28BuildRequires: qt5-srpm-macros
29BuildRequires: qt5-qtbase-devel >= %{version}
30BuildRequires: qt5-qtbase-private-devel
31#libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit)
32%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
33BuildRequires: qt5-qtdeclarative-devel
34BuildRequires: qt5-qtwebsockets-devel
35
36%description
37The Qt WebChannel module provides a library for seamless integration of C++
38and QML applications with HTML/JavaScript clients. Any QObject can be
39published to remote clients, where its public API becomes available.
40
41%package devel
42Summary: Development files for %{name}
43Requires: %{name}%{?_isa} = %{version}-%{release}
44Requires: qt5-qtbase-devel%{?_isa}
45%description devel
46%{summary}.
47
48%if 0%{?docs}
49%package doc
50Summary: API documentation for %{name}
51License: GFDL
52Requires: %{name} = %{version}-%{release}
53BuildRequires: qt5-qdoc
54BuildRequires: qt5-qhelpgenerator
55BuildArch: noarch
56%description doc
57%{summary}.
58%endif
59
60%package examples
61Summary: Programming examples for %{name}
62Requires: %{name}%{?_isa} = %{version}-%{release}
63%description examples
64%{summary}.
65
66
67%prep
68%setup -q -n %{qt_module}-everywhere-src-%{qt5_version}
69
70
71%build
72mkdir %{_target_platform}
73pushd %{_target_platform}
74%{qmake_qt5} ..
75
76make %{?_smp_mflags}
77
78%if 0%{?docs}
79# HACK to avoid multilib conflicts in noarch content
80# see also https://bugreports.qt.io/browse/QTBUG-42071
81QT_HASH_SEED=0; export QT_HASH_SEED
82make %{?_smp_mflags} docs
83%endif
84popd
85
86
87%install
88make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
89
90%if 0%{?docs}
91make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
92%endif
93
94## .prl/.la file love
95# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
96pushd %{buildroot}%{_qt5_libdir}
97for prl_file in libQt5*.prl ; do
98  sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
99  if [ -f "$(basename ${prl_file} .prl).so" ]; then
100    rm -fv "$(basename ${prl_file} .prl).la"
101    sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
102  fi
103done
104popd
105
106
107%post -p /sbin/ldconfig
108%postun -p /sbin/ldconfig
109
110%files
111%license LICENSE.*
112%{_qt5_libdir}/libQt5WebChannel.so.5*
113%{_qt5_archdatadir}/qml/QtWebChannel/
114
115%files devel
116%{_qt5_headerdir}/QtWebChannel/
117%{_qt5_libdir}/libQt5WebChannel.so
118%{_qt5_libdir}/libQt5WebChannel.prl
119%dir %{_qt5_libdir}/cmake/Qt5WebChannel/
120%{_qt5_libdir}/cmake/Qt5WebChannel/Qt5WebChannelConfig*.cmake
121%{_qt5_libdir}/pkgconfig/Qt5WebChannel.pc
122%{_qt5_archdatadir}/mkspecs/modules/qt_lib_webchannel*.pri
123
124%if 0%{?docs}
125%files doc
126%license LICENSE.FDL
127%{_qt5_docdir}/%{qt_module}.qch
128%{_qt5_docdir}/%{qt_module}/
129%endif
130
131%if 0%{?_qt5_examplesdir:1}
132%files examples
133%{_qt5_examplesdir}/
134%endif
135
136
137%changelog
138* Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
139- new upstream release.
140
141* Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
142- new upstream release.
143
144* Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1
145- new upstream release.
146
147* Tue Jan 09 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.3-1
148- new upstream release.
149
150* Sun Jul 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
151- initial build for Vine Linux.
152- new upstream release.
153
154* Wed Jun 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-2
155- drop pkg-config-style deps, BR: qt5-qtbase-private-devel
156
157* Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
158- Update to 5.6.1
159
160* Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
161- rebuild
162
163* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
164- rebuild
165
166* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
167- 5.6.0 final release
168
169* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.8.rc
170- Update to final RC
171
172* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7
173- Update RC release
174
175* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.6.rc
176- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
177
178* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.5.rc
179- update source URL, use %%license, BR: cmake
180
181* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.4
182- Update to final rc release
183
184* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
185- Official rc release
186
187* Sun Dec 06 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.2
188- restore bootstrap macro support
189
190* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
191- Start to implement 5.6.0 rc
192
193* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
194- Update for final qt 5.5.1
195
196* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
197- Update to Qt 5.5.1 RC1
198
199* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
200- -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
201
202* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
203- tighten qtbase dep (#1233829)
204
205* Thu Jul 09 2015 Jan Grulich <jgrulich@redhat.com> - 5.5.0-1
206- 5.5.0
207
208* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4.2-2
209- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
210
211* Sun Jun 07 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.2-1
212- 5.4.2
213
214* Tue Dec 23 2014 Taylor Braun-Jones <taylor.braun-jones@ge.com> - 5.4.0-1
215- Initial release.
Note: See TracBrowser for help on using the repository browser.