2020-02-14 14:39:06 +08:00
|
|
|
%global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$
|
|
|
|
|
|
|
|
|
|
Name: qt5-qtquickcontrols
|
2021-10-13 17:37:35 +08:00
|
|
|
Version: 5.15.2
|
|
|
|
|
Release: 1
|
2020-02-14 14:39:06 +08:00
|
|
|
Summary: Qt5 Quick controls module
|
|
|
|
|
License: LGPLv2 or LGPLv3 and GFDL
|
|
|
|
|
Url: http://www.qt.io
|
2021-10-13 17:37:35 +08:00
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/qtquickcontrols-everywhere-src-%{version}.tar.xz
|
2020-02-14 14:39:06 +08:00
|
|
|
|
2021-10-13 17:37:35 +08:00
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: qt5-qtbase-devel >= %{version} qt5-qtbase-static >= %{version} qt5-qtbase-private-devel qt5-qtdeclarative-devel
|
|
|
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
2020-02-14 14:39:06 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This qt module provides a set of quick controls using for building complete interfaces in Qt Quick.
|
|
|
|
|
|
|
|
|
|
%package devel
|
2021-10-13 17:37:35 +08:00
|
|
|
Summary: %{name} programming demos
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Provides: %{name}-examples = %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-examples < %{version}-%{release}
|
2020-02-14 14:39:06 +08:00
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Qt Quick controls module's programming demos.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n qtquickcontrols-everywhere-src-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{qmake_qt5}
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE.*
|
|
|
|
|
%{_qt5_archdatadir}/qml/QtQuick/
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%if 0%{?_qt5_examplesdir:1}
|
|
|
|
|
%{_qt5_examplesdir}/
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
2021-10-13 17:37:35 +08:00
|
|
|
* Wed Oct 13 2021 peijiankang <peijiankang@kylinos.cn> - 5.15.2-1
|
|
|
|
|
- update to upstream version 5.15.2
|
|
|
|
|
|
2020-09-14 14:24:11 +08:00
|
|
|
* Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-5
|
|
|
|
|
- Fix Source0
|
|
|
|
|
|
2020-02-14 14:39:06 +08:00
|
|
|
* Fri Feb 14 2020 lingsheng <lingsheng@huawei.com> - 5.11.1-4
|
|
|
|
|
- Package init
|