10 Star 0 Fork 1

src-anolis-dde/dde-polkit-agent

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dde-polkit-agent.spec 2.11 KB
一键复制 编辑 原始数据 按行查看 历史
yangxianzhao 提交于 2024-01-12 15:21 . rebuild for qt5-qtbase
%define anolis_release .0.2
%global repo dde-polkit-agent
Name: dde-polkit-agent
Version: 5.5.21
Release: 1%{anolis_release}%{?dist}
Summary: Deepin Polkit Agent
License: GPLv3
URL: https://github.com/linuxdeepin/dde-polkit-agent
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
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
BuildRequires: make
BuildRequires: cmake
%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
export PATH=%{_qt5_bindir}:$PATH
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCHITECTURE=%{_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
* Fri Jan 12 2024 yangxianzhao <yangxianzhao@uniontech.com> - 5.5.21-1.0.2
- rebuild for qt5-qtbase
* Wed Sep 20 2023 yangxianzhao <yangxianzhao@uniontech.com> - 5.5.21-1.0.1
- rebuild for qt5-qtbase-5.15.3
* Thu Dec 29 2022 liweiganga <liweiganga@uniontech.com> - 5.5.21-1
- update: update to 5.5.21
* Mon Jun 13 2022 uoser <uoser@uniontech.com> - 5.4.17-1.01
- update: update to 5.4.17-1.01
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-anolis-dde/dde-polkit-agent.git
git@gitee.com:src-anolis-dde/dde-polkit-agent.git
src-anolis-dde
dde-polkit-agent
dde-polkit-agent
a8

搜索帮助

0d507c66 1850385 C8b1a773 1850385