File mingw32-libtasn1.spec of Package mingw32-libtasn1
#
# spec file for package mingw32-libtasn1
#
# 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: mingw32-libtasn1
Version: 4.7
Release: 0
Summary: ASN.1 parsing library
License: GPL-3.0-or-later and LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Url: https://www.gnu.org/software/libtasn1/
Source: https://ftp.gnu.org/gnu/libtasn1/libtasn1-%version.tar.gz
Source2: https://ftp.gnu.org/gnu/libtasn1/libtasn1-%version.tar.gz.sig
#!BuildIgnore: post-build-checks
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem
%_mingw32_package_header_debug
BuildArch: noarch
%description
This is the ASN.1 library used in GNUTLS. More up to date information
can be found at http://www.gnu.org/software/gnutls and http://www.gnutls.org
%package -n mingw32-libtasn1-6
Summary: ASN.1 parsing library
Group: System/Libraries
Obsoletes: %{name} < %{version}
Provides: %{name} = %{version}
%description -n mingw32-libtasn1-6
This is the ASN.1 library used in GNUTLS. More up to date information
can be found at http://www.gnu.org/software/gnutls and http://www.gnutls.org
%package tools
Summary: ASN.1 parsing library (tools)
Group: Development/Libraries
%description tools
This is the ASN.1 library used in GNUTLS.
%package devel
Summary: ASN.1 parsing library (development files)
Group: Development/Libraries/C and C++
%description devel
This is the ASN.1 library used in GNUTLS.
%_mingw32_debug_package
%prep
%setup -q -n libtasn1-%{version}
%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
%{_mingw32_configure} --enable-shared --disable-static
%{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make}
%install
%{_mingw32_make} DESTDIR=%{buildroot} install
rm -rf %{buildroot}%{_mingw32_infodir}
%files -n mingw32-libtasn1-6
%defattr(-,root,root)
%{_mingw32_bindir}/libtasn1-6.dll
%files tools
%defattr(-,root,root)
%{_mingw32_bindir}/asn1Parser.exe
%{_mingw32_bindir}/asn1Coding.exe
%{_mingw32_bindir}/asn1Decoding.exe
%{_mingw32_mandir}/man1/asn1Parser.1*
%{_mingw32_mandir}/man1/asn1Coding.1*
%{_mingw32_mandir}/man1/asn1Decoding.1*
%files devel
%defattr(-,root,root)
%{_mingw32_libdir}/libtasn1.dll.a
%{_mingw32_libdir}/pkgconfig/libtasn1.pc
%{_mingw32_includedir}/libtasn1.h
%{_mingw32_mandir}/man3/asn1*.3*
%changelog