qt5-qtquickcontrols/qt5-qtquickcontrols.spec

62 lines
1.7 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: qt5-qtquickcontrols
Version: 5.15.7
Release: 1mamba
Summary: Qt5 Quick controls components
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/5.15/%{version}/submodules/qtquickcontrols-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 Quick controls components.
%debug_package
%prep
%setup -q -n qtquickcontrols-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)
%dir %{_libdir}/qt5/qml/QtQuick
%dir %{_libdir}/qt5/qml/QtQuick/Controls
%{_libdir}/qt5/qml/QtQuick/Controls/*
%dir %{_libdir}/qt5/qml/QtQuick/Dialogs
%{_libdir}/qt5/qml/QtQuick/Dialogs/*
%dir %{_libdir}/qt5/qml/QtQuick/Extras
%{_libdir}/qt5/qml/QtQuick/Extras/*
%dir %{_libdir}/qt5/qml/QtQuick/PrivateWidgets
%{_libdir}/qt5/qml/QtQuick/PrivateWidgets/*
%doc LICENSE.*
%changelog
* Mon Nov 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.7-1mamba
- update to 5.15.7
* Wed Nov 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
- package created using the webbuild interface