!4 Update deepin-devicemanager to 5.5.9.36

From: @weidongkl
Reviewed-by: @yeqinglong01
Signed-off-by: @yeqinglong01
This commit is contained in:
openeuler-ci-bot 2021-07-20 05:52:25 +00:00 committed by Gitee
commit 5216c89be9
3 changed files with 46 additions and 31 deletions

Binary file not shown.

View File

@ -1,55 +1,70 @@
%bcond_with check
%global with_debug 1
%if 0%{?with_debug}
%global debug_package %{nil}
%endif
Name: deepin-devicemanager Name: deepin-devicemanager
Version: 5.5.4.4 Version: 5.5.9.36
Release: 2 Release: 1
Summary: Device Manager is a handy tool for viewing hardware information and managing the devices. Summary: Device Manager is a handy tool for viewing hardware information and managing the devices
License: GPLv3+ License: GPLv3+
URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-devicemanager/ URL: https://github.com/linuxdeepin/deepin-devicemanager
Source0: %{name}-%{version}.orig.tar.xz Source0: %{name}-%{version}.tar.gz
BuildRequires: qt5-qtbase-devel BuildRequires: gcc-c++
BuildRequires: cmake3
BuildRequires: dtkcore-devel BuildRequires: dtkcore-devel
BuildRequires: dtkwidget-devel BuildRequires: dtkwidget-devel
BuildRequires: dde-qt-dbus-factory-devel BuildRequires: systemd-devel
BuildRequires: qt5-qtsvg-devel BuildRequires: libicu-devel
BuildRequires: qt5-rpm-macros
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qttools-devel
BuildRequires: cups-devel BuildRequires: cups-devel
BuildRequires: pkgconfig(dframeworkdbus)
Requires: smartmontools
Requires: dmidecode
Requires: xorg-x11-server-utils
Requires: hwinfo
Requires: cups
Requires: upower
Requires: deepin-shortcut-viewer
Requires: lshw
Requires: util-linux
%description %description
Device Manager is a handy tool for viewing hardware information and managing the devices. %{summary}.
%prep %prep
%autosetup %autosetup
%build %build
mkdir build && cd build # help find (and prefer) qt5 utilities, e.g. qmake, lrelease
%{_libdir}/qt5/bin/qmake .. export PATH=%{_qt5_bindir}:$PATH
%{__make} sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt")
%install mkdir build && pushd build
pushd %{_builddir}/%{name}-%{version}/build %cmake ../ -DCMAKE_BUILD_TYPE=Release -DAPP_VERSION=%{version} -DVERSION=%{version}
%make_install INSTALL_ROOT=%{buildroot} %make_build
popd popd
%install
%make_install -C build INSTALL_ROOT="%buildroot"
%files %files
%{_bindir}/deepin-devicemanager
%{_bindir}/deepin-devicemanager-authenticateProxy
%{_datadir}/%{name}/*
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/scalable/apps/deepin-devicemanager.svg
%{_datadir}/polkit-1/actions/com.deepin.pkexec.deepin-devicemanager-authenticateProxy.policy
%license LICENSE
%doc README.md %doc README.md
%license LICENSE
%{_bindir}/%{name}
%{_bindir}/%{name}-authenticateProxy
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/translations/*.qm
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/polkit-1/actions/*.policy
%changelog %changelog
* Mon Jul 12 2021 weidong <weidong@uniontech.com> - 5.5.9.36-1
- Update 5.5.9.36
* Fri Aug 28 2020 chenbo pan <panchenbo@uniontech.com> - 5.5.4.4-2 * Fri Aug 28 2020 chenbo pan <panchenbo@uniontech.com> - 5.5.4.4-2
- fix compile fail - fix compile fail
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.5.4.4-1 * Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.5.4.4-1
- Package init - Package init