9 Star 6 Fork 9

src-openEuler/deepin-graphics-driver-manager

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
deepin-graphics-driver-manager.spec 1.61 KB
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2023-04-03 03:11 . feat: fix fPIE
%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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/deepin-graphics-driver-manager.git
git@gitee.com:src-openeuler/deepin-graphics-driver-manager.git
src-openeuler
deepin-graphics-driver-manager
deepin-graphics-driver-manager
master

搜索帮助