Compare commits

..

No commits in common. "834c75f94b6c968106f71ece5180682854d475af" and "da54d3b33627a107e3d30df8a3593be13fb03eee" have entirely different histories.

5 changed files with 87 additions and 36 deletions

36
README.en.md Normal file
View File

@ -0,0 +1,36 @@
# dde-polkit-agent
#### Description
dde polkit agent
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

37
README.md Normal file
View File

@ -0,0 +1,37 @@
# dde-polkit-agent
#### 介绍
dde polkit agent
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

Binary file not shown.

View File

@ -1,33 +1,27 @@
%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
%global release_name test+c1
Name: dde-polkit-agent
Version: 5.5.21
Release: %{specrelease}
Version: 5.0.10
Release: 1
Summary: Deepin Polkit Agent
License: GPLv3
URL: https://github.com/linuxdeepin/dde-polkit-agent
Source0: %{name}-%{version}.tar.gz
Source0: %{repo}_%{version}-%{release_name}.orig.tar.xz
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: dtkwidget-devel >= 5.1.1
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: qt5-linguist
BuildRequires: gsettings-qt-devel
BuildRequires: qt5-qtmultimedia-devel
BuildRequires: qt5-qtmultimedia-devel
BuildRequires: qt5-qtx11extras-devel
%description
DDE Polkit Agent is the polkit agent used in Deepin Desktop Environment.
@ -39,14 +33,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Header files and libraries for %{name}.
%prep
%setup -q -n %{repo}-%{version}
%setup -q -n %{repo}-%{version}-%{release_name}
sed -i 's|lrelease|lrelease-qt5|' translate_generation.sh
# fix polkit1authagent_adaptor.*
sed -i 's/qdbusxml2cpp/qdbusxml2cpp-qt5/g' CMakeLists.txt
sed -i 's|/usr/lib|/usr/libexec|' dde-polkit-agent.pro polkit-dde-authentication-agent-1.desktop \
pluginmanager.cpp
%build
export PATH=%{qt5_bindir}:$PATH
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCHITCETURE=%{_arch} .
%qmake_qt5 PREFIX=%{_prefix}
%make_build
%install
@ -55,7 +48,7 @@ export PATH=%{qt5_bindir}:$PATH
%files
%doc README.md
%license LICENSE
%{_prefix}/lib/polkit-1-dde/dde-polkit-agent
/usr/libexec/polkit-1-dde/dde-polkit-agent
%{_datadir}/%{repo}/
%files devel
@ -63,20 +56,5 @@ export PATH=%{qt5_bindir}:$PATH
%{_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

Binary file not shown.