Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Guillaume_G:WSL
mingw64-gpgme
mingw64-gpgme.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-gpgme.spec of Package mingw64-gpgme
# # spec file for package mingw64-gpgme # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _with_qt5 1 %define _name gpgme Name: mingw64-%{_name} Version: 1.23.2 Release: 0 Summary: A Library Designed to Give Applications Easy Access to GnuPG License: LGPL-2.1-or-later AND GPL-3.0-or-later Group: Productivity/Security URL: https://www.gnupg.org/related_software/gpgme/ Source: https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-%{version}.tar.bz2 Source1: https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-%{version}.tar.bz2.sig Source3: https://gnupg.org/signature_key.asc#/gpgme.keyring # used to have a fixed timestamp Source99: %{name}.changes # fix kmymoney5 builds Patch0: fix-mingw-builds.patch BuildRequires: gpg2 >= 2.0.10 BuildRequires: mingw64-cross-gcc-c++ BuildRequires: mingw64-cross-pkg-config BuildRequires: mingw64-gpg2 >= 2.0.10 BuildRequires: mingw64-libassuan-devel >= 2.4.2 BuildRequires: mingw64-libgpg-error-devel >= 1.24 Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} %_mingw64_package_header_debug BuildArch: noarch %if %{?_with_qt5} BuildRequires: mingw64-cross-libqt5-qmake BuildRequires: mingw64-libqt5-qtbase-devel %endif %description 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. 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. %package -n mingw64-libgpgme11 Summary: A Library Designed to give Applications easy Access to GnuPG Group: Development/Libraries/C and C++ Requires: gpg2 %description -n mingw64-libgpgme11 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. %package -n mingw64-libgpgme-devel Summary: A Library Designed to give Applications easy Access to GnuPG Group: Development/Libraries/C and C++ Requires: mingw64-libgpg-error-devel Requires: mingw64-libgpgme11 = %{version} Provides: mingw64-gpgme-devel = %{version} Obsoletes: mingw64-gpgme-devel < %{version} %requires_ge mingw64-libassuan-devel %description -n mingw64-libgpgme-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. %package -n mingw64-libgpgmepp6 Summary: Programmatic C++ library interface to GnuPG Group: System/Libraries Requires: mingw64-gpg2 %description -n mingw64-libgpgmepp6 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. This package contains the C++ bindings. %package -n mingw64-libgpgmepp-devel Summary: Development files for libgpgmepp, a C++ library for accessing GnuPG Group: Development/Libraries/C and C++ Requires: mingw64-libgpg-error-devel Requires: mingw64-libgpgme-devel = %{version} Requires: mingw64-libgpgmepp6 = %{version} %requires_ge mingw64-libassuan-devel %description -n mingw64-libgpgmepp-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. This subpackage contains the headers needed for building applications making use of libgpgmepp. %if %{?_with_qt5} %package -n mingw64-libqgpgme15 Summary: Programmatic Qt5 library interface to GnuPG Group: System/Libraries Requires: mingw64-gpg2 %description -n mingw64-libqgpgme15 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. This package contains the Qt5 bindings. %package -n mingw64-libqgpgme-devel Summary: Development files for libqgpgme, a Qt5 library for accessing GnuPG Group: Development/Libraries/C and C++ Requires: mingw64-libgpgme-devel = %{version} Requires: mingw64-libgpgmepp-devel = %{version} Requires: mingw64-libqgpgme15 = %{version} %description -n mingw64-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. This package contains the bindings to use the library in Qt5 C++ applications. %endif %_mingw64_debug_package %prep %setup -q -n %{_name}-%{version} %patch -P 0 -p1 %build build_timestamp=$(date -u +%{Y}-%{m}-%{dT}%{H}:%{M}+0000 -r %{SOURCE99}) echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache} %_mingw64_configure \ --disable-static \ --disable-fd-passing \ --enable-build-timestamp="${build_timestamp}" make %{?_smp_mflags} %install %_mingw64_make DESTDIR=%{buildroot} install # Do this now to make /usr/lib/rpm/brp-chuck-la happy: find %{buildroot} -type f -name "*.la" -delete -print mv %{buildroot}%{_mingw64_prefix}/libexec/gpgme-w32spawn.exe %{buildroot}%{_mingw64_prefix}/bin rm %{buildroot}%{_mingw64_libdir}/gpgme.def rm -rf %{buildroot}%{_mingw64_datadir}/info # remove buildroot from generated cmake files for i in $(find %{buildroot} -name *Config.cmake); do sed -i 's,%{buildroot},,g' $i done %check %if ! 0%{?qemu_user_space_build} #make check %endif %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog ChangeLog-2011 README NEWS THANKS TODO %{_mingw64_bindir}/gpgme-tool.exe %{_mingw64_bindir}/gpgme-json.exe %{_mingw64_bindir}/gpgme-w32spawn.exe %dir %{_mingw64_datadir}/common-lisp %{_mingw64_datadir}/common-lisp %files -n mingw64-libgpgme11 %defattr(-,root,root) %{_mingw64_bindir}/libgpgme-11.dll %files -n mingw64-libgpgme-devel %defattr(-,root,root) %{_mingw64_libdir}/libgpgme.dll.a %{_mingw64_libdir}/pkgconfig %{_mingw64_bindir}/gpgme-config %{_mingw64_datadir}/aclocal/gpgme.m4 %{_mingw64_includedir}/gpgme.h %files -n mingw64-libgpgmepp6 %defattr(-,root,root) %{_mingw64_bindir}/libgpgmepp-6.dll %files -n mingw64-libgpgmepp-devel %defattr(-,root,root) %{_mingw64_libdir}/libgpgmepp.dll.a %dir %{_mingw64_libdir}/cmake/Gpgmepp %{_mingw64_libdir}/cmake/Gpgmepp %{_mingw64_includedir}/gpgme++ %if %{?_with_qt5} %files -n mingw64-libqgpgme15 %defattr(-,root,root) %{_mingw64_bindir}/libqgpgme-15.dll %files -n mingw64-libqgpgme-devel %defattr(-,root,root) %{_mingw64_libdir}/libqgpgme.dll.a %dir %{_mingw64_libdir}/cmake/QGpgme %{_mingw64_libdir}/cmake/QGpgme %{_mingw64_includedir}/qgpgme %{_mingw64_includedir}/QGpgME %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor