diff --git a/README.md b/README.md deleted file mode 100644 index 1fa98e56ded55f4c171db20feb82b1fdad4f53f8..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,12 +0,0 @@ -Anolis OS -======================================= -# 代码仓库说明 -## 分支说明 ->进行代码开发工作时,请注意选择当前版本对应的分支 -* aX分支为对应大版本的主分支,如a8分支对应当前最新版本 -* aX.Y分支为对应小版本的维护分支,如a8.2分支对应8.2版本 -## 开发流程 -1. 首先fork目标分支到自己的namespace -2. 在自己的fork分支上做出修改 -3. 向对应的仓库中提交merge request,源分支为fork分支 - diff --git a/dde-polkit-agent-5.5.21.tar.gz b/dde-polkit-agent-5.5.21.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d414c7c3f4411354d36a462edb95ac2033f29b36 Binary files /dev/null and b/dde-polkit-agent-5.5.21.tar.gz differ diff --git a/dde-polkit-agent.spec b/dde-polkit-agent.spec new file mode 100644 index 0000000000000000000000000000000000000000..0f49c5c676e2e65c9e5b3ddb58d8bea09927e2c3 --- /dev/null +++ b/dde-polkit-agent.spec @@ -0,0 +1,68 @@ +%global repo dde-polkit-agent + +Name: dde-polkit-agent +Version: 5.5.21 +Release: 1%{?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 +* Thu Dec 29 2022 liweiganga - 5.5.21-1 +- update: update to 5.5.21 + +* Mon Jun 13 2022 uoser - 5.4.17-1.01 +- update: update to 5.4.17-1.01