代码拉取完成,页面将自动刷新
%bcond_with check
%global debug_package %{nil}
%global _unpackaged_files_terminate_build 0
Name: deepin-graphics-driver-manager
Version: 5.0.0
Release: 6
Summary: deepin driver manager.
License: GPLv3
URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-graphics-driver-manager/
Source0: %{name}-%{version}.orig.tar.xz
BuildRequires: cmake
BuildRequires: qt5-qtbase-devel
BuildRequires: dtkcore-devel
BuildRequires: dtkwidget-devel
BuildRequires: deepin-gettext-tools
BuildRequires: freeglut
BuildRequires: freeglut-devel
BuildRequires: pciutils
BuildRequires: pciutils-devel
%description
deepin driver manager.
%prep
%setup
# fix strip
sed -i 's|-Wall"|-Wall -s -fPIE"|' CMakeLists.txt
%build
export PATH=$PATH:/usr/lib64/qt5/bin
cmake .
make
%install
%make_install
rm -rf %{?buildroot}/usr/lib/%{name}/debug/
%files
/lib/systemd/system/driver-installer.service
%{_bindir}/%{name}
/usr/lib/*
%{_datadir}/*
%doc README.md
%changelog
* Mon Apr 03 2023 liweiganga <liweiganga@uniontech.com> - 5.0.0-6
- feat: fix fPIE
* Thu Mar 16 2023 liweiganga <liweiganga@uniontech.com> - 5.0.0-5
- feat: fix strip
* Mon Mar 13 2023 guoqinglan <guoqinglan@uniontech.com> - 5.0.0-4
- Modify the installation path from `/usr/lib64` to `/usr/lib` ,cause the program hardcodes `/usr/lib` as the path for calling scripts.
* Wed Dec 21 2022 liweiganga <liweiganga@uniontech.com> - 5.0.0-3
- enable debuginfo for fix strip
* Fri Aug 28 2020 chenbo pan <panchenbo@uniontech.com> - 5.0.0-2
- fix compile fail
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.0.0-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。