File mingw32-pkgconf.spec of Package mingw32-pkgconf

# spec file for package mingw32-pkgconf
# Copyright (c) 2019 SUSE LLC
# 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

%define pkgconfig_ver 0.29.2
# For obsoleting pkgconfig, bump the ver to a number higher than latest version
%define pkgconfig_obsver %{pkgconfig_ver}+1

Name:           mingw32-pkgconf
Version:        1.6.3
Release:        0
Summary:        Package compiler and linker metadata toolkit
License:        ISC
Group:          Development/Tools/Building
#!BuildIgnore: post-build-checks
BuildRequires:  mingw32-cross-binutils
BuildRequires:  mingw32-cross-gcc
BuildRequires:  mingw32-filesystem
Conflicts:      mingw32-pkg-config < %{pkgconfig_obsver}
Obsoletes:      mingw32-pkg-config < %{pkgconfig_obsver}
Provides:       mingw32-pkg-config = %{pkgconfig_obsver}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

pkgconf is a program which helps to configure compiler and linker flags
for development frameworks. It is similar to pkg-config from
and handles .pc files in a similar manner as pkg-config.


%setup -q -n pkgconf-%{version}

%{_mingw32_configure} \

make %{?_smp_mflags} || make

make DESTDIR=%{buildroot} install %{?_smp_mflags}
# compat
ln -s pkgconf.exe %{buildroot}%{_mingw32_bindir}/pkg-config.exe


openSUSE Build Service is sponsored by