代码拉取完成,页面将自动刷新
Name: qt5-qtquickcontrols2
Summary: Qt5 - module for embedded QtQuick control set
Version: 5.11.1
Release: 4
License: GPLv2+ or LGPLv3 and GFDL
Url: http://www.qt.io
Source0: http://download.qt.io/new_archive/qt/5.11/5.11.1/submodules/qtquickcontrols2-everywhere-src-5.11.1.tar.xz
BuildRequires: qt5-qtbase-devel >= %{version} qt5-qtbase-private-devel qt5-qtdeclarative-devel
Requires: qt5-qtdeclarative >= %{version} qt5-qtgraphicaleffects >= %{version}
%{?_qt5:Requires: %{_qt5} = %{_qt5_version}}
%global majmin %(echo %{version} | cut -d. -f1-2)
%global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$
%description
This package provides a set of controls for building a complete interface in Qt Quick.
These controls are the first choice for hardware with limited resources as it is
optimized for embedded systems.
%package devel
Summary: Development and Examples files for %{name}
Requires: %{name} = %{version}-%{release} qt5-qtbase-devel qt5-qtdeclarative-devel
Provides: %{name}-examples = %{version}-%{release}
Obsoletes: %{name}-examples < %{version}-%{release}
%description devel
This package provides module for embedded QtQuick control set
%prep
%autosetup -n qtquickcontrols2-everywhere-src-%{version} -p1
%build
%{qmake_qt5}
%make_build
%install
make install INSTALL_ROOT=%{buildroot}
cd %{buildroot}%{_qt5_libdir}
for file in libQt5*.prl ; do
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${file}
if [ -f "$(basename ${file} .prl).so" ]; then
sed -i -e "/^QMAKE_PRL_LIBS/d" ${file}
rm -f "$(basename ${file} .prl).la"
fi
done
cd -
%delete_la
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%license LICENSE.LGPLv3 LICENSE.GPLv3
%{_qt5_libdir}/libQt5Quick*.so.5*
%{_qt5_qmldir}/Qt/labs/*
%{_qt5_archdatadir}/qml/QtQuick/*.2/
%files devel
%{_qt5_examplesdir}/quickcontrols2/
%{_qt5_headerdir}/
%{_qt5_libdir}/pkgconfig/*.pc
%{_qt5_libdir}/libQt5Quick*2.so
%{_qt5_libdir}/libQt5Quick*2.prl
%{_qt5_libdir}/qt5/mkspecs/modules/*
%{_libdir}/cmake/Qt5QuickControls2/
%changelog
* Tue Sep 15 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-4
- Fix Source0
* Wed Nov 27 2019 likexin<likexin4@huawei.com> - 5.11.1-3
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。