93 lines
2.7 KiB
RPMSpec
93 lines
2.7 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: qt5-qtwebchannel
|
|
Version: 5.15.7
|
|
Release: 1mamba
|
|
Summary: Qt5 webchannel component
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.qt.io/
|
|
Source: https://download.qt.io/official_releases/qt/%{majver}/%{version}/submodules/qtwebchannel-everywhere-opensource-src-%{version}.tar.xz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglvnd-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: qt5-qtdeclarative-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.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
|
|
* Mon Nov 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.7-1mamba
|
|
- update to 5.15.7
|
|
|
|
* Fri Nov 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
|
|
- bump release to allow updating subpackage from monolithic build
|
|
|
|
* Fri Nov 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
|
|
- package created using the webbuild interface
|