代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/qt5-qtxmlpatterns 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: qt5-qtxmlpatterns
Version: 5.11.1
Release: 4
Summary: Provide support for XQuery, XPath, etc
License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://www.qt.io
Source0: https://download.qt.io/archive/qt/5.11/5.11.1/submodules/qtxmlpatterns-everywhere-src-5.11.1.tar.xz
BuildRequires: qt5-qtbase-devel >= %{version} qt5-qtbase-private-devel
%description
This package is qt5-qtxmlpatterns component. It provides support for XQuery, XPath, etc.
%package devel
Summary: Programming examples and libraries for qt5-qtxmlpatterns development
Requires: %{name} = %{version}-%{release} qt5-qtbase-devel
Provides: qt5-qtxmlpatterns-examples = %{version}-%{release}
Obsoletes: qt5-qtxmlpatterns-examples < %{version}-%{release}
%description devel
This package contains the programming examples and libraries for qt5-qtxmlpatterns development.
%prep
%autosetup -n qtxmlpatterns-everywhere-src-%{version} -p1
%build
%{qmake_qt5}
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
mkdir %{buildroot}%{_bindir}
cd %{buildroot}%{_qt5_bindir}
for i in *
do
if [ ${i} = "xmlpatterns" ]
then
ln ${i} %{buildroot}%{_bindir}/${i}-qt5
ln -s ${i} ${i}-qt5
elif [ ${i} = "xmlpatternsvalidator" ]
then
ln ${i} %{buildroot}%{_bindir}/${i}-qt5
ln -s ${i} ${i}-qt5
else
ln ${i} %{buildroot}%{_bindir}/${i}
fi
done
cd -
cd %{buildroot}%{_qt5_libdir}
for prl_file in libQt5*.prl
do
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
if [ -f "$(basename ${prl_file} .prl).so" ]
then
rm -fv "$(basename ${prl_file} .prl).la"
sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
fi
done
cd -
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license LICENSE.LGPL*
%{_qt5_libdir}/libQt5*.*
%files devel
%{_qt5_bindir}/xmlpatterns*
%{_bindir}/xmlpatterns*
%{_qt5_headerdir}/Qt*/
%{_qt5_libdir}/cmake/Qt5*/
%{_qt5_libdir}/pkgconfig/Qt5*.pc
%{_qt5_archdatadir}/mkspecs/modules/*.pri
%{_qt5_examplesdir}/
%changelog
* Mon Oct 28 2019 dongjian <dongjian13@huawei.com> - 5.11.1-4
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。