Compare commits
10 Commits
5f78bf0407
...
4ff495c397
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ff495c397 | ||
|
|
7365b373ab | ||
|
|
8c58370d38 | ||
|
|
a674766145 | ||
|
|
ffc9029abc | ||
|
|
bcf0f69c73 | ||
|
|
8881d044ea | ||
|
|
1de9ce0092 | ||
|
|
51efc005c2 | ||
|
|
628abc8645 |
@ -3,11 +3,11 @@
|
||||
%global _unpackaged_files_terminate_build 0
|
||||
Name: deepin-graphics-driver-manager
|
||||
Version: 5.0.0
|
||||
Release: 2
|
||||
Release: 7
|
||||
Summary: deepin driver manager.
|
||||
|
||||
License: GPLv3
|
||||
URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-graphics-driver-manager/
|
||||
URL: https://github.com/linuxdeepin/deepin-graphics-driver-manager
|
||||
Source0: %{name}-%{version}.orig.tar.xz
|
||||
|
||||
BuildRequires: cmake
|
||||
@ -26,6 +26,9 @@ 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 .
|
||||
@ -33,21 +36,34 @@ make
|
||||
|
||||
%install
|
||||
%make_install
|
||||
mkdir -p %{?buildroot}%{_libdir}
|
||||
mv %{?buildroot}/usr/lib/* %{?buildroot}%{_libdir}/
|
||||
rm -rf %{?buildroot}%{_libdir}/%{name}/debug/
|
||||
rm -rf %{?buildroot}/usr/lib/%{name}/debug/
|
||||
|
||||
|
||||
%files
|
||||
/lib/systemd/system/driver-installer.service
|
||||
%{_bindir}/%{name}
|
||||
%{_libdir}/*
|
||||
/usr/lib/*
|
||||
%{_datadir}/*
|
||||
%doc README.md
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 28 2020 chenbo pan <panchenbo@uniontech.com> - 5.0.10-2
|
||||
* Mon Mar 25 2024 liuzhilin <liuzhilin@uniontech.com> - 5.0.0-7
|
||||
- fix url error
|
||||
|
||||
* 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user