From 0fe1a52fdfa6ea5b58ddf3cc5ae1dd7bb9049d93 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:08:46 +0100 Subject: [PATCH] bump release to allow updating subpackage from monolithic build [release 5.15.2-2mamba;Fri Nov 05 2021] --- README.md | 2 + qt5-qtwebchannel.spec | 89 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 qt5-qtwebchannel.spec diff --git a/README.md b/README.md index cac23cc..5e8b5af 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qt5-qtwebchannel +Qt5 webchannel component. + diff --git a/qt5-qtwebchannel.spec b/qt5-qtwebchannel.spec new file mode 100644 index 0000000..740d23f --- /dev/null +++ b/qt5-qtwebchannel.spec @@ -0,0 +1,89 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: qt5-qtwebchannel +Version: 5.15.2 +Release: 2mamba +Summary: Qt5 webchannel component +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.qt.io/ +Source: https://download.qt.io/official_releases/qt/%{majver}/%{version}/submodules/qtwebchannel-everywhere-src-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libglvnd-devel +BuildRequires: libstdc++6-devel +BuildRequires: qt5-qtbase-devel +## AUTOBUILDREQ-END + +%description +Qt5 webchannel component. + +%package -n libQt5WebChannel +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n libQt5WebChannel +This package contains shared libraries for %{name}. + +%package -n libQt5WebChannel-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: libQt5WebChannel = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n libQt5WebChannel-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q -n qtwebchannel-everywhere-src-%{version} + +%build +%_qt5_qmake + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n libQt5WebChannel -p /sbin/ldconfig +%postun -n libQt5WebChannel -p /sbin/ldconfig + +%files -n libQt5WebChannel +%defattr(-,root,root) +%{_libdir}/libQt5WebChannel.so.* +%{_libdir}/qt5/qml/QtWebChannel/libdeclarative_webchannel.so +%{_libdir}/qt5/qml/QtWebChannel/plugins.qmltypes +%{_libdir}/qt5/qml/QtWebChannel/qmldir +%doc LICENSE.* + +%files -n libQt5WebChannel-devel +%defattr(-,root,root) +%dir %{_includedir}/qt5/QtWebChannel +%{_includedir}/qt5/QtWebChannel/* +%{_libdir}/libQt5WebChannel.la +%{_libdir}/libQt5WebChannel.prl +%{_libdir}/libQt5WebChannel.so +%{_libdir}/qt5/mkspecs/modules/qt_lib_webchannel.pri +%{_libdir}/qt5/mkspecs/modules/qt_lib_webchannel_private.pri +%dir %{_libdir}/cmake/Qt5WebChannel +%{_libdir}/cmake/Qt5WebChannel/Qt5WebChannelConfig*.cmake +%{_libdir}/pkgconfig/Qt5WebChannel.pc +%doc README.md + +%changelog +* Fri Nov 05 2021 Silvan Calarco 5.15.2-2mamba +- bump release to allow updating subpackage from monolithic build + +* Fri Nov 05 2021 Silvan Calarco 5.15.2-1mamba +- package created using the webbuild interface