Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win64
mingw64-libqt5-qtwebchannel
mingw64-libqt5-qtwebchannel.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-libqt5-qtwebchannel.spec of Package mingw64-libqt5-qtwebchannel
# # spec file for package mingw64-libqt5-qtwebchannel # # Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define qt5_snapshot 1 %define libname libQt5WebChannel5 %define base_name libqt5 %define real_version 5.15.14 %define so_version 5.15.14 %define tar_version qtwebchannel-everywhere-src-%{version} %define _name libqt5-qtwebchannel Name: mingw64-%{_name} Version: 5.15.14+kde3 Release: 0 Summary: Qt 5 WebChannel Addon License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) Group: Development/Libraries/X11 URL: https://www.qt.io Source: %{tar_version}.tar.xz BuildRequires: mingw64-libqt5-qtbase-private-headers-devel >= %{real_version} BuildRequires: mingw64-libqt5-qtdeclarative-devel >= %{real_version} BuildRequires: mingw64-libqt5-qtwebsockets-devel >= %{real_version} BuildRequires: xz %if %{qt5_snapshot} #to create the forwarding headers BuildRequires: perl %endif %_mingw64_package_header_debug BuildArch: noarch %description Qt WebChannel enables peer-to-peer communication between a server (QML/C++ application) and a client (HTML/JavaScript or QML application). The module provides a JavaScript library for seamless integration of C++ and QML applications with HTML/JavaScript and QML clients. The clients must use the JavaScript library to access the serialized QObjects published by the host applications. %_mingw64_debug_package %prep %autosetup -p1 -n %{tar_version} %package -n mingw64-%{libname} Summary: Qt 5 WebChannel Addon Group: Development/Libraries/X11 %requires_ge mingw64-libQtQuick5 %description -n mingw64-%{libname} Qt WebChannel enables peer-to-peer communication between a server (QML/C++ application) and a client (HTML/JavaScript or QML application). The module provides a JavaScript library for seamless integration of C++ and QML applications with HTML/JavaScript and QML clients. The clients must use the JavaScript library to access the serialized QObjects published by the host applications. %package -n mingw64-%{libname}-imports Summary: QML imports for the Qt5 WebSockets library Group: Development/Libraries/X11 %requires_ge mingw64-libQtQuick5 Supplements: (%{libname} and libQtQuick5) # imports splited with 5.4.1 Conflicts: mingw64-%{libname} < 5.4.1 %description -n mingw64-%{libname}-imports The module provides a JavaScript library for seamless integration of C++ and QML applications with HTML/JavaScript and QML clients. %package devel Summary: Development files for the Qt5 WebChannel library Group: Development/Libraries/X11 Requires: mingw64-%{libname} = %{version} %description devel You need this package if you want to compile programs with qtwebchannel. %package private-headers-devel Summary: Non-ABI stable experimental API for the Qt5 WebChannel library Group: Development/Libraries/C and C++ Requires: %{name}-devel = %{version} Requires: mingw64-libQt5Core-private-headers-devel >= %{real_version} BuildArch: noarch %description private-headers-devel This package provides private headers of libqt5-qtwebchannel that are normally not used by application development and that do not have any ABI or API guarantees. The packages that build against these have to require the exact Qt version. %build %if %{qt5_snapshot} #force the configure script to generate the forwarding headers (it checks whether .git directory exists) mkdir .git %endif %_mingw64_qmake5 %_mingw64_make %install %_mingw64_qmake5_install # kill .la files rm -f %{buildroot}%{_mingw64_libqt5_libdir}/lib*.la %files -n mingw64-%{libname} %defattr(-,root,root,755) %license LICENSE.* %{_mingw64_libqt5_bindir}/libQt5WebChannel.dll %files -n mingw64-%{libname}-imports %defattr(-,root,root,755) %license LICENSE.* %{_mingw64_libqt5_qmldir}/QtWebChannel/ %exclude %{_mingw64_libqt5_qmldir}/QtWebChannel/*.debug %files private-headers-devel %defattr(-,root,root,755) %license LICENSE.* %{_mingw64_libqt5_includedir}/QtWebChannel/%{so_version} %files devel %defattr(-,root,root,755) %license LICENSE.* %exclude %{_mingw64_libqt5_includedir}/QtWebChannel/%{so_version} %{_mingw64_libqt5_includedir}/QtWebChannel %{_mingw64_libqt5_libdir}/cmake/Qt5WebChannel %{_mingw64_libqt5_libdir}/Qt5WebChannel.prl %{_mingw64_libqt5_libdir}/libQt5WebChannel.dll.a %{_mingw64_libqt5_libdir}/pkgconfig/Qt5WebChannel.pc %{_mingw64_libqt5_datadir}/mkspecs/modules/qt_lib_*.pri %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor