!8 update to upstream version 0.114.0

Merge pull request !8 from pei-jiankang/master
This commit is contained in:
openeuler-ci-bot 2022-01-20 08:36:19 +00:00 committed by Gitee
commit ab4dab55a6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 16 additions and 21 deletions

Binary file not shown.

BIN
polkit-qt-1-0.114.0.tar.xz Normal file

Binary file not shown.

View File

@ -1,7 +1,6 @@
Name: polkit-qt-1
Version: 0.113.0
Release: 1%{?dist}
Version: 0.114.0
Release: 1
Summary: Qt bindings for PolicyKit
License: GPLv2+
@ -12,27 +11,23 @@ BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig(polkit-agent-1) pkgconfig(polkit-gobject-1)
BuildRequires: pkgconfig(Qt5DBus) pkgconfig(Qt5Gui) pkgconfig(Qt5Widgets)
# when/if building docs
#BuildRequires: doxygen
# when/if building examples too
#pkgconfig(Qt5Xml)
%description
Polkit-qt is a library that lets developers use the PolicyKit API
through a nice Qt-styled API.
%package doc
Summary: Doxygen documentation for the PolkitQt API
Obsoletes: polkit-qt-doc < %{version}-%{release}
Provides: polkit-qt-doc = %{version}-%{release}
BuildArch: noarch
Summary: Doxygen documentation for the PolkitQt API
Obsoletes: polkit-qt-doc < %{version}-%{release}
Provides: polkit-qt-doc = %{version}-%{release}
BuildArch: noarch
%description doc
%{summary}.
%package -n polkit-qt5-1
Summary: PolicyKit Qt5 bindings
Obsoletes: polkit-qt5 < 0.112.0-3
Provides: polkit-qt5 = %{version}-%{release}
Summary: PolicyKit Qt5 bindings
Obsoletes: polkit-qt5 < 0.112.0-3
Provides: polkit-qt5 = %{version}-%{release}
%description -n polkit-qt5-1
Polkit-qt is a library that lets developers use the PolicyKit API
through a nice Qt-styled API.
@ -58,24 +53,18 @@ pushd %{_target_platform}
popd
%make_build -C %{_target_platform}
## build docs, needswork
#doxygen Mainpage.dox
# Remove installdox file - it is not necessary here
#rm -fv html/installdox
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
#files doc
#doc html/*
%ldconfig_scriptlets -n polkit-qt5-1
%files -n polkit-qt5-1
%doc AUTHORS README
%license COPYING
%license LICENSES/*
%{_libdir}/libpolkit-qt5-core-1.so.1*
%{_libdir}/libpolkit-qt5-gui-1.so.1*
%{_libdir}/libpolkit-qt5-agent-1.so.1*
@ -93,6 +82,12 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog
* Thu Jan 13 2022 pei-jiankang <peijiankang@kylinos.cn> - 0.114.0-1
- update to upstream version 0.114.0
* Mon Dec 13 2021 huayadong <huayadong@kylinos.cn> - 0.113.0-2
- remove %{?dist}
* Thu Jul 23 2020 Zhao Yang <yangzhao1@kylinos.cn> - 0.113.0-1
- Initial release for OpenEuler