File mingw64-fribidi.spec of Package mingw64-fribidi

#
# spec file for package mingw64-fribidi
#
# 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-fribidi
Version:        0.19.7
Release:        0
Summary:        Free Implementation of the Unicode BiDi Algorithm
License:        GPL-2.0-or-later
Group:          Development/Libraries/C and C++
Url:            http://fribidi.org/
Source0:        http://fribidi.org/download/fribidi-%{version}.tar.bz2
#!BuildIgnore: post-build-checks
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-glib2-devel
%_mingw64_package_header_debug
BuildArch:      noarch

%description
This library implements the algorithm as described in "Unicode
Standard Annex #9, the Bidirectional Algorithm".

%package -n mingw64-libfribidi0
Summary:        Free Implementation of the Unicode BiDi Algorithm
Group:          System/Libraries
Obsoletes:      mingw64-libfribidi

%description -n mingw64-libfribidi0
This library implements the algorithm as described in the "Unicode
Standard Annex #9, the Bidirectional Algorithm,
http://www.unicode.org/unicode/reports/tr9/". FriBidi is exhaustively
tested against the Bidi Reference Code and, to the best of the
developers' knowledge, does notcontain any conformance bugs.

The API was inspired by the document "Bi-Di languages support - BiDi
API proposal" by Franck Portaneri, which he wrote as a proposal for
adding BiDi support to Mozilla.

%package -n mingw64-libfribidi-devel
Summary:        Import Libraries and Header Files for FriBiDi
Group:          Development/Libraries/C and C++

%description -n mingw64-libfribidi-devel
This package provides the import libraries and header files for
FriBiDi.

%_mingw64_debug_package

%prep
%autosetup -p1 -n fribidi-%{version}

%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure} \
	--enable-shared --disable-static \
	--with-glib=yes
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}

%install

%{_mingw64_make} DESTDIR=%{buildroot} install

%files
%defattr(-,root,root)
%{_mingw64_bindir}/fribidi.exe

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

%files -n mingw64-libfribidi-devel
%defattr(-,root,root)
%{_mingw64_includedir}/fribidi
%{_mingw64_libdir}/libfribidi.dll.a
%{_mingw64_libdir}/pkgconfig/fribidi.pc
%{_mingw64_mandir}/man3

%changelog
openSUSE Build Service is sponsored by