Compare commits
12 Commits
3f869e0a88
...
20a85db70e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20a85db70e | ||
|
|
eb6d23a58b | ||
|
|
0737ad2064 | ||
|
|
087f528ba9 | ||
|
|
d6c37ac7c6 | ||
|
|
67242a2f1f | ||
|
|
33e33e4000 | ||
|
|
624e0aad9f | ||
|
|
5f78bf0407 | ||
|
|
b9560f7342 | ||
|
|
41cf72e79d | ||
|
|
76971ac135 |
@ -3,7 +3,7 @@
|
||||
%global _unpackaged_files_terminate_build 0
|
||||
Name: deepin-graphics-driver-manager
|
||||
Version: 5.0.0
|
||||
Release: 1
|
||||
Release: 6
|
||||
Summary: deepin driver manager.
|
||||
|
||||
License: GPLv3
|
||||
@ -12,6 +12,7 @@ Source0: %{name}-%{version}.orig.tar.xz
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: dtkcore-devel
|
||||
BuildRequires: dtkwidget-devel
|
||||
BuildRequires: deepin-gettext-tools
|
||||
BuildRequires: freeglut
|
||||
@ -25,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 .
|
||||
@ -32,19 +36,32 @@ 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
|
||||
* 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user