Accepting request 434649 from home:luca_b:branches:Base:System
- Switch on the Qt bindings - Add missing buildrequires, files, and needed adjustments for the Qt build OBS-URL: https://build.opensuse.org/request/show/434649 OBS-URL: https://build.opensuse.org/package/show/Base:System/gpgme?expand=0&rev=69
This commit is contained in:
parent
cc41d0397c
commit
efc1738687
@ -1,2 +1,3 @@
|
|||||||
libgpgme11
|
libgpgme11
|
||||||
libgpgmepp6
|
libgpgmepp6
|
||||||
|
libqgpgme6
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 12 22:09:27 UTC 2016 - lbeltrame@kde.org
|
||||||
|
|
||||||
|
- Switch on the Qt bindings
|
||||||
|
- Add missing buildrequires, files, and needed adjustments for the
|
||||||
|
Qt build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 11 18:11:33 UTC 2016 - lbeltrame@kde.org
|
Tue Oct 11 18:11:33 UTC 2016 - lbeltrame@kde.org
|
||||||
|
|
||||||
|
75
gpgme.spec
75
gpgme.spec
@ -19,7 +19,7 @@
|
|||||||
%define with_cpp 1
|
%define with_cpp 1
|
||||||
%define with_python2 1
|
%define with_python2 1
|
||||||
%define with_python3 0
|
%define with_python3 0
|
||||||
%define with_qt 0
|
%define with_qt 1
|
||||||
Name: gpgme
|
Name: gpgme
|
||||||
Version: 1.7.0
|
Version: 1.7.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -59,6 +59,7 @@ BuildRequires: gcc-c++
|
|||||||
%endif # with_cpp
|
%endif # with_cpp
|
||||||
%if 0%{with_qt}
|
%if 0%{with_qt}
|
||||||
BuildRequires: pkgconfig(Qt5Core)
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
|
BuildRequires: pkgconfig(Qt5Test)
|
||||||
%endif # with_qt
|
%endif # with_qt
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -226,6 +227,57 @@ of standard widgets for common key selection tasks is even planned.
|
|||||||
This package contains the bindings to use the library from Python 3 applications.
|
This package contains the bindings to use the library from Python 3 applications.
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
|
%if 0%{with_qt}
|
||||||
|
%package -n libqgpgme6
|
||||||
|
Summary: A Library Designed to give Qt Applications easy Access to GnuPG
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: gpg2
|
||||||
|
|
||||||
|
%description -n libqgpgme6
|
||||||
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
||||||
|
easier for applications. It provides a high-level Crypto API for
|
||||||
|
encryption, decryption, signing, signature verification, and key
|
||||||
|
management. Currently it uses GnuPG as its back-end, but the API is not
|
||||||
|
restricted to this engine.
|
||||||
|
|
||||||
|
Who Should use GPGME?
|
||||||
|
|
||||||
|
Because the direct use of GnuPG from an application can be a
|
||||||
|
complicated programming task, it is suggested that all software should
|
||||||
|
try to use GPGME instead. This way bug fixes or improvements can be
|
||||||
|
done at a central place and every application benefits from this.
|
||||||
|
Authors of MUAs should especially consider using GPGME. Creating a set
|
||||||
|
of standard widgets for common key selection tasks is even planned.
|
||||||
|
|
||||||
|
This package contains the Qt bindings.
|
||||||
|
|
||||||
|
%package -n libqgpgme-devel
|
||||||
|
Summary: A Library Designed to give C++ Qt Applications easy Access to GnuPG
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libgpgme-devel = %{version}
|
||||||
|
Requires: libgpgmepp-devel = %{version}
|
||||||
|
Requires: libqgpgme6 = %{version}
|
||||||
|
|
||||||
|
%description -n libqgpgme-devel
|
||||||
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
||||||
|
easier for applications. It provides a high-level Crypto API for
|
||||||
|
encryption, decryption, signing, signature verification, and key
|
||||||
|
management. Currently it uses GnuPG as its back-end, but the API is not
|
||||||
|
restricted to this engine.
|
||||||
|
|
||||||
|
Who Should use GPGME?
|
||||||
|
|
||||||
|
Because the direct use of GnuPG from an application can be a
|
||||||
|
complicated programming task, it is suggested that all software should
|
||||||
|
try to use GPGME instead. This way bug fixes or improvements can be
|
||||||
|
done at a central place and every application benefits from this.
|
||||||
|
Authors of MUAs should especially consider using GPGME. Creating a set
|
||||||
|
of standard widgets for common key selection tasks is even planned.
|
||||||
|
|
||||||
|
This package contains the bindings to use the library in Qt C++ applications.
|
||||||
|
|
||||||
|
%endif # with_qt
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
@ -287,6 +339,11 @@ make %{?_smp_mflags} check
|
|||||||
%postun -n libgpgmepp6 -p /sbin/ldconfig
|
%postun -n libgpgmepp6 -p /sbin/ldconfig
|
||||||
%endif # with_cpp
|
%endif # with_cpp
|
||||||
|
|
||||||
|
%if 0%{with_qt}
|
||||||
|
%post -n libqgpgme6 -p /sbin/ldconfig
|
||||||
|
%postun -n libqgpgme6 -p /sbin/ldconfig
|
||||||
|
%endif # with_qt
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/gpgme.info.gz
|
%install_info --info-dir=%{_infodir} %{_infodir}/gpgme.info.gz
|
||||||
|
|
||||||
@ -343,4 +400,20 @@ make %{?_smp_mflags} check
|
|||||||
%{python3_sitearch}/pyme
|
%{python3_sitearch}/pyme
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
|
%if 0%{with_qt}
|
||||||
|
%files -n libqgpgme6
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libqgpgme.so.*
|
||||||
|
|
||||||
|
%files -n libqgpgme-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/qgpgme/
|
||||||
|
%{_includedir}/QGpgME/
|
||||||
|
%dir %{_libdir}/cmake
|
||||||
|
%dir %{_libdir}/cmake/Gpgmepp
|
||||||
|
%{_libdir}/cmake/Gpgmepp/QGpgmeConfig*.cmake
|
||||||
|
%{_includedir}/qgpgme_version.h
|
||||||
|
%{_libdir}/libqgpgme.so
|
||||||
|
%endif # with_qt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user