Compare commits
No commits in common. "78c646688bcf0cb9a58fa446040cf5c2083e77f7" and "da54d3b33627a107e3d30df8a3593be13fb03eee" have entirely different histories.
78c646688b
...
da54d3b336
Binary file not shown.
@ -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
|
||||
|
||||
BIN
dde-polkit-agent_5.0.10-test+c1.orig.tar.xz
Normal file
BIN
dde-polkit-agent_5.0.10-test+c1.orig.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user