File mingw64-gsasl.spec of Package mingw64-gsasl
#
# spec file for package mingw64-gsasl
#
# Copyright (c) 2014 SUSE LINUX Products 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-gsasl
Version: 1.10.0
Release: 0
Summary: Implementation of the SASL framework and a few common SASL mechanisms
License: LGPL-2.1-or-later and GPL-3.0-or-later
Group: Development/Libraries/C and C++
Url: http://www.gnu.org/software/gsasl/
Source: libgsasl-%{version}.tar.gz
BuildRequires: gettext-tools
BuildRequires: mingw64-cross-gcc-c++
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-libgnutls-devel
BuildRequires: mingw64-libidn-devel
BuildRequires: mingw64-libintl-devel
%_mingw64_package_header_debug
BuildArch: noarch
#!BuildIgnore: post-build-checks
%description
GNU SASL is an implementation of the Simple Authentication and
Security Layer framework and a few common SASL mechanisms. SASL is
used by network servers (e.g., IMAP, SMTP) to request authentication
from clients, and in clients to authenticate against servers.
%package -n mingw64-libgsasl7
Summary: Implementation of the SASL framework and a few common SASL mechanisms
Group: System/Libraries
%description -n mingw64-libgsasl7
GNU SASL is an implementation of the Simple Authentication and
Security Layer framework and a few common SASL mechanisms. SASL is
used by network servers (e.g., IMAP, SMTP) to request authentication
from clients, and in clients to authenticate against servers.
%package -n mingw64-libgsasl-devel
Summary: Implementation of the SASL framework and a few common SASL mechanisms
Group: Development/Libraries/C and C++
%description -n mingw64-libgsasl-devel
GNU SASL is an implementation of the Simple Authentication and
Security Layer framework and a few common SASL mechanisms. SASL is
used by network servers (e.g., IMAP, SMTP) to request authentication
from clients, and in clients to authenticate against servers.
%_mingw64_debug_package
%lang_package
%prep
%autosetup -p1 -n libgsasl-%{version}
%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure} \
--disable-static
make %{?_smp_mflags} || make
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -f %{buildroot}%{_mingw64_bindir}/*.def
rm -rf %{buildroot}%{_mingw64_datadir}/info
%_mingw64_find_lang libgsasl
%files -n mingw64-libgsasl7
%defattr (-, root, root)
%{_mingw64_bindir}/*.dll
%files -n mingw64-libgsasl-devel
%defattr (-, root, root)
%{_mingw64_includedir}/gsas*.h
%{_mingw64_libdir}/*.dll.a
%{_mingw64_libdir}/pkgconfig/*.pc
%files lang -f libgsasl.lang
%defattr(-,root,root)
%changelog