2020-07-14 10:32:07 +08:00
|
|
|
%bcond_with check
|
|
|
|
|
|
|
|
|
|
%global with_debug 1
|
|
|
|
|
%if 0%{?with_debug}
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
%endif
|
|
|
|
|
Name: deepin-devicemanager
|
|
|
|
|
Version: 5.5.4.4
|
|
|
|
|
Release: 1
|
|
|
|
|
Summary: Device Manager is a handy tool for viewing hardware information and managing the devices.
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-devicemanager/
|
|
|
|
|
Source0: %{name}-%{version}.orig.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
BuildRequires: dtkwidget-devel
|
|
|
|
|
BuildRequires: dde-qt-dbus-factory-devel
|
|
|
|
|
BuildRequires: qt5-qtsvg-devel
|
|
|
|
|
BuildRequires: cups-devel
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Device Manager is a handy tool for viewing hardware information and managing the devices.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
mkdir build && cd build
|
|
|
|
|
%{_libdir}/qt5/bin/qmake ..
|
|
|
|
|
%{__make}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
pushd %{_builddir}/%{name}-%{version}/build
|
|
|
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-07-30 15:57:54 +08:00
|
|
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.5.4.4-1
|
|
|
|
|
- Package init
|