File mingw64-libassuan.spec of Package mingw64-libassuan

#
# spec file for package mingw64-libassuan
#
# 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/
#


Name:           mingw64-libassuan
Version:        2.5.5
Release:        0
Summary:        IPC library used by GnuPG version 2
License:        GPL-2.0-or-later AND LGPL-2.1-or-later
Group:          Development/Libraries/C and C++
Url:            http://www.gnupg.org/aegypten2/index.html
Source0:        ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-%{version}.tar.bz2
Source1:        ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-%{version}.tar.bz2.sig
#!BuildIgnore: post-build-checks
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gnome-common
BuildRequires:  gtk-doc
BuildRequires:  libtool
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem >= 23
BuildRequires:  mingw64-libgpg-error-devel
BuildRequires:  mingw64-w32pth-devel
%_mingw64_package_header_debug
BuildArch:      noarch

%description
Libassuan is the IPC library used by gpg2 (GnuPG version 2).

%package -n mingw64-libassuan6-0
Summary:        IPC library used by GnuPG version 2
Group:          System/Libraries
Obsoletes:      %{name} < %{version}-%{release}
Provides:       %{name} = %{version}-%{release}

%description -n mingw64-libassuan6-0
Libassuan is the IPC library used by gpg2 (GnuPG version 2).

%package devel
Summary:        IPC library used by GnuPG version 2 (development tools)
Group:          Development/Libraries/C and C++

%description devel
Libassuan is the IPC library used by gpg2 (GnuPG version 2).

%_mingw64_debug_package

%prep
%setup -q -n libassuan-%{version}

%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
PATH="%{_mingw64_bindir}:$PATH" %{_mingw64_configure}
make %{?_smp_mflags} || make

%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}

%files -n mingw64-libassuan6-0
%defattr(-,root,root)
%{_mingw64_bindir}/libassuan6-0.dll

%files devel
%defattr(-,root,root)
%{_mingw64_bindir}/libassuan-config
%{_mingw64_libdir}/libassuan*.dll.a
%{_mingw64_libdir}/pkgconfig
%{_mingw64_datadir}/aclocal/libassuan.m4
%{_mingw64_infodir}/assuan.info*
%exclude %{_mingw64_infodir}/dir*
%{_mingw64_includedir}/assuan.h

%changelog
openSUSE Build Service is sponsored by