Compare commits
10 Commits
da54d3b336
...
78c646688b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
78c646688b | ||
|
|
cdc0e27e84 | ||
|
|
6b32c6b021 | ||
|
|
8e993a7a74 | ||
|
|
ba88659713 | ||
|
|
3a1d88b1cd | ||
|
|
7a4f0b3068 | ||
|
|
d64f37f47c | ||
|
|
ed09b5bbe5 | ||
|
|
1ab7bda916 |
BIN
dde-polkit-agent-5.5.21.tar.gz
Normal file
BIN
dde-polkit-agent-5.5.21.tar.gz
Normal file
Binary file not shown.
@ -1,27 +1,33 @@
|
||||
%global repo dde-polkit-agent
|
||||
%global release_name test+c1
|
||||
|
||||
%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.0.10
|
||||
Release: 1
|
||||
Version: 5.5.21
|
||||
Release: %{specrelease}
|
||||
Summary: Deepin Polkit Agent
|
||||
License: GPLv3
|
||||
URL: https://github.com/linuxdeepin/dde-polkit-agent
|
||||
Source0: %{repo}_%{version}-%{release_name}.orig.tar.xz
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
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: pkgconfig(Qt5)
|
||||
BuildRequires: pkgconfig(Qt5DBus)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: qt5-devel
|
||||
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.
|
||||
|
||||
@ -33,13 +39,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Header files and libraries for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{repo}-%{version}-%{release_name}
|
||||
%setup -q -n %{repo}-%{version}
|
||||
sed -i 's|lrelease|lrelease-qt5|' translate_generation.sh
|
||||
sed -i 's|/usr/lib|/usr/libexec|' dde-polkit-agent.pro polkit-dde-authentication-agent-1.desktop \
|
||||
pluginmanager.cpp
|
||||
# fix polkit1authagent_adaptor.*
|
||||
sed -i 's/qdbusxml2cpp/qdbusxml2cpp-qt5/g' CMakeLists.txt
|
||||
|
||||
%build
|
||||
%qmake_qt5 PREFIX=%{_prefix}
|
||||
export PATH=%{qt5_bindir}:$PATH
|
||||
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCHITCETURE=%{_arch} .
|
||||
%make_build
|
||||
|
||||
%install
|
||||
@ -48,7 +55,7 @@ sed -i 's|/usr/lib|/usr/libexec|' dde-polkit-agent.pro polkit-dde-authentication
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
/usr/libexec/polkit-1-dde/dde-polkit-agent
|
||||
%{_prefix}/lib/polkit-1-dde/dde-polkit-agent
|
||||
%{_datadir}/%{repo}/
|
||||
|
||||
%files devel
|
||||
@ -56,5 +63,20 @@ sed -i 's|/usr/lib|/usr/libexec|' dde-polkit-agent.pro polkit-dde-authentication
|
||||
%{_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.
Loading…
x
Reference in New Issue
Block a user