9 Star 6 Fork 8

src-openEuler/dde-polkit-agent

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dde-polkit-agent.spec 2.14 KB
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2023-08-01 09:47 . upgrade to version 5.5.21
%global repo dde-polkit-agent
%define pkgrelease 1
%if 0%{?openeuler}
%define specrelease %{pkgrelease}
%else
## allow specrelease to have configurable %%{?dist} tag in other distribution
%define specrelease %{pkgrelease}%{?dist}
%endif
Name: dde-polkit-agent
Version: 5.5.21
Release: %{specrelease}
Summary: Deepin Polkit Agent
License: GPLv3
URL: https://github.com/linuxdeepin/dde-polkit-agent
Source0: %{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: dtkwidget-devel >= 5.1.1
BuildRequires: dde-qt-dbus-factory-devel
BuildRequires: pkgconfig(polkit-qt5-1)
BuildRequires: qt5-devel
BuildRequires: qt5-linguist
BuildRequires: gsettings-qt-devel
BuildRequires: qt5-qtmultimedia-devel
BuildRequires: qt5-qtx11extras-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
# fix polkit1authagent_adaptor.*
sed -i 's/qdbusxml2cpp/qdbusxml2cpp-qt5/g' CMakeLists.txt
%build
export PATH=%{qt5_bindir}:$PATH
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCHITCETURE=%{_arch} .
%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
* Tue Aug 01 2023 leeffo <liweiganga@uniontech.com> - 5.5.21-1
- upgrade to version 5.5.21
* Thu Mar 30 2023 liweiganga <liweiganga@uniontech.com> - 5.4.17-1
- update: update to 5.4.17
* Mon Jul 18 2022 konglidong <konglidong@uniontech.com> - 5.4.5-1
- Update to 5.4.5
* Tue Jul 20 2021 weidong <weidong@uniontech.com> - 5.3.0.1-2
- Update to 5.3.0.1
* Fri Aug 28 2020 chenbo pan <panchenbo@uniontech.com> - 5.0.10-2
- fix compile fail
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.0.10-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/dde-polkit-agent.git
git@gitee.com:src-openeuler/dde-polkit-agent.git
src-openeuler
dde-polkit-agent
dde-polkit-agent
master

搜索帮助