65 lines
1.5 KiB
RPMSpec
65 lines
1.5 KiB
RPMSpec
%bcond_with check
|
|
%global debug_package %{nil}
|
|
%global _unpackaged_files_terminate_build 0
|
|
Name: deepin-graphics-driver-manager
|
|
Version: 5.0.0
|
|
Release: 5
|
|
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"|' 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
|
|
* 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
|