1 Star 0 Fork 9

chenyx2012/qt5-qtx11extras

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
qt5-qtx11extras.spec 1.83 KB
一键复制 编辑 原始数据 按行查看 历史
chenyx2012 提交于 2022-07-13 06:36 . License compliance rectification
%global majmin %(echo %{version} | cut -d. -f1-2)
Name: qt5-qtx11extras
Version: 5.15.2
Release: 2
Summary: Qt GUI toolkit
License: LGPLv2 with exceptions or GPLv3 with exceptions and GFDL-1.3-only
Url: http://www.qt.io
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/qtx11extras-everywhere-src-%{version}.tar.xz
BuildRequires: make
BuildRequires: qt5-qtbase-devel >= %{version} qt5-qtbase-private-devel
Requires: qt5-qtbase = %{version}
%description
Provides specific APIs for X11.
%package devel
Summary: Header files for qt5-qtx11extras
Requires: qt5-qtbase-devel %{name} = %{version}-%{release}
%description devel
Header files for qt5-qtx11extras
%prep
%autosetup -n qtx11extras-everywhere-src-%{version}
%build
%{qmake_qt5}
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
%delete_la
pushd %{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
popd
%ldconfig_scriptlets
%files
%license LICENSE.LGPL* LICENSE.GPL*
%{_libdir}/*.so.5*
%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libQt5X11Extras.so
%{_libdir}/libQt5X11Extras.prl
%{_libdir}/cmake/Qt5X11Extras/*.cmake
%{_libdir}/qt5/mkspecs/modules/*.pri
%{_includedir}/qt5/QtX11Extras
%changelog
* Wed Jul 13 2022 Chenyx <chenyixiong3@huawei.com> - 5.15.2-2
- License compliance rectification
* Wed Oct 13 2021 peijiankang <peijiankang@kylinos.cn> - 5.15.2-1
- update to upstream version 5.15.2
* Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-6
- Fix Source0
* Fri Feb 14 2020 Ling Yang <lingyang2@huawei.com> - 5.11.1-5
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/YixiongChen/qt5-qtx11extras.git
git@gitee.com:YixiongChen/qt5-qtx11extras.git
YixiongChen
qt5-qtx11extras
qt5-qtx11extras
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385