66 lines
1.7 KiB
RPMSpec
66 lines
1.7 KiB
RPMSpec
%global repo dde-polkit-agent
|
|
|
|
Name: dde-polkit-agent
|
|
Version: 5.4.17
|
|
Release: 2
|
|
Summary: Deepin Polkit Agent
|
|
License: GPLv3
|
|
URL: https://github.com/linuxdeepin/dde-polkit-agent
|
|
Source0: %{name}-%{version}.orig.tar.xz
|
|
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: dtkwidget-devel >= 5.1.1
|
|
BuildRequires: pkgconfig(dframeworkdbus) >= 2.0
|
|
BuildRequires: dde-qt-dbus-factory-devel
|
|
BuildRequires: dde-qt-dbus-factory
|
|
BuildRequires: pkgconfig(polkit-qt5-1)
|
|
BuildRequires: qt5-devel
|
|
BuildRequires: pkgconfig(Qt5)
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
BuildRequires: pkgconfig(gsettings-qt)
|
|
BuildRequires: pkgconfig(Qt5Multimedia)
|
|
BuildRequires: pkgconfig(Qt5MultimediaWidgets)
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
BuildRequires: qt5-linguist
|
|
BuildRequires: qt5-qttools-devel
|
|
BuildRequires: dtkcore-devel
|
|
|
|
%description
|
|
DDE Polkit Agent is the polkit agent used in Deepin Desktop Environment.
|
|
|
|
%package devel
|
|
Summary: Development package for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Header files and libraries for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{repo}-%{version}
|
|
sed -i 's|lrelease|lrelease-qt5|' translate_generation.sh
|
|
|
|
%build
|
|
%qmake_qt5 PREFIX=%{_prefix}
|
|
%make_build
|
|
|
|
%install
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_prefix}/lib/polkit-1-dde/dde-polkit-agent
|
|
%{_datadir}/%{repo}/
|
|
|
|
%files devel
|
|
%{_includedir}/dpa/agent-extension-proxy.h
|
|
%{_includedir}/dpa/agent-extension.h
|
|
|
|
%changelog
|
|
* Fri Nov 17 2023 hanshuang <hanshuang@uniontech.com> - 5.4.17-2
|
|
- modify version info
|
|
|
|
* Mon Jun 13 2022 uoser <uoser@uniontech.com> - 5.4.17-1.01
|
|
- update: update to 5.4.17-1.01
|