File mingw64-fontconfig.spec of Package mingw64-fontconfig

#
# spec file for package mingw64-fontconfig
#
# 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-fontconfig
Version:        2.13.93
Release:        0
Summary:        Configuring and customizing font access
License:        MIT
Group:          Development/Libraries
Url:            http://fontconfig.org/
Source:         http://www.freedesktop.org/software/fontconfig/release/fontconfig-%{version}.tar.xz
Patch1:         fontconfig-2.13.93-links-destdir-support.patch
#!BuildIgnore: post-build-checks
BuildRequires:  gperf
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-meson
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-freetype-devel
BuildRequires:  mingw64-libexpat-devel
BuildRequires:  mingw64-libxml2-devel
BuildRequires:  mingw64-zlib-devel
Requires:       %{name}-lang = %{version}
%_mingw64_package_header_debug
BuildArch:      noarch

%description
Fontconfig is a library designed to provide system-wide font configuration, customization and application access.

%package devel
Summary:        Configuring and customizing font access (development files)
Group:          Development/Libraries

%description devel
Fontconfig is a library designed to provide system-wide font configuration, customization and application access.

This package contains all necessary include files and libraries needed
to develop applications that require the provided includes and libraries.

%package tools
Summary:        Configuring and customizing font access (tools)
Group:          Development/Libraries

%description tools
Fontconfig is a library designed to provide system-wide font configuration, customization and application access.

This package contains several tools for accessing fontconfig functionality.

%_mingw64_debug_package

%lang_package

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

%build
%_mingw64_meson -Ddoc=disabled
%_mingw64_meson_build

%install
%_mingw64_meson_install

%_mingw64_find_lang fontconfig
%_mingw64_find_lang fontconfig-conf

%files
%defattr(-,root,root)
%{_mingw64_bindir}/libfontconfig-1.dll
%{_mingw64_sysconfdir}/fonts/
%{_mingw64_datadir}/fontconfig/
%dir %{_mingw64_datadir}/gettext
%dir %{_mingw64_datadir}/gettext/its
%{_mingw64_datadir}/gettext/its/fontconfig.its
%{_mingw64_datadir}/gettext/its/fontconfig.loc

%files devel
%defattr(-,root,root)
%{_mingw64_libdir}/libfontconfig.dll.a
%{_mingw64_libdir}/pkgconfig/fontconfig.pc
%{_mingw64_includedir}/fontconfig/
%{_mingw64_datadir}/xml/fontconfig/

%files tools
%defattr(-,root,root)
%{_mingw64_bindir}/fc-cache.exe
%{_mingw64_bindir}/fc-cat.exe
%{_mingw64_bindir}/fc-conflist.exe
%{_mingw64_bindir}/fc-list.exe
%{_mingw64_bindir}/fc-match.exe
%{_mingw64_bindir}/fc-pattern.exe
%{_mingw64_bindir}/fc-query.exe
%{_mingw64_bindir}/fc-scan.exe
%{_mingw64_bindir}/fc-validate.exe

%files lang -f fontconfig.lang -f fontconfig-conf.lang

%changelog
openSUSE Build Service is sponsored by