diff --git a/README.md b/README.md index 940e150..e5fb5d3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qt5-qtwebglplugin +Qt5 web plugin component. + diff --git a/qt5-qtwebglplugin.spec b/qt5-qtwebglplugin.spec new file mode 100644 index 0000000..2839467 --- /dev/null +++ b/qt5-qtwebglplugin.spec @@ -0,0 +1,68 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: qt5-qtwebglplugin +Version: 5.15.2 +Release: 1mamba +Summary: Qt5 web plugin component +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.qt.io/ +Source: https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/qtwebglplugin-everywhere-src-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libQt5WebSockets-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libglvnd-devel +BuildRequires: libstdc++6-devel +BuildRequires: libz-devel +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtdeclarative-devel +## AUTOBUILDREQ-END + +%description +Qt5 web plugin component. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q -n qtwebglplugin-everywhere-src-%{version} + +%build +%_qt5_qmake + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/qt5/plugins/platforms/libqwebgl.so +%doc LICENSE.* + +%files devel +%defattr(-,root,root) +%{_libdir}/cmake/Qt5Gui/Qt5Gui_QWebGLIntegrationPlugin.cmake + +%changelog +* Wed Nov 10 2021 Silvan Calarco 5.15.2-1mamba +- package created using the webbuild interface