LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pkg-config.spec of Package pkg-config (Project GNOME:Next)

# spec file for package pkg-config
# Copyright (c) 2018 SUSE LINUX 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:           pkg-config
Version:        0.29.2
Release:        0
Summary:        A library management system
License:        GPL-2.0-or-later
Group:          System/Packages
URL:            http://pkgconfig.freedesktop.org/
Source:         http://pkgconfig.freedesktop.org/releases/%{name}-%{version}.tar.gz
# Old name for version <= 0.17 and SuSE Linux <= 10.2 & CODE10
# Mandriva 2009 and Fedora 11 still use old name "pkgconfig"
# pkg-config has a virtual internal pkg-config.pc file, so we should provide it
Provides:       pkgconfig = %{version}
Obsoletes:      pkgconfig < 0.21

The pkg-config program is used to retrieve information about installed
libraries in the system. It is typically used to compile and link
against one or more libraries.

%setup -q

    --with-internal-glib \
%if "%{_lib}" == "lib"
make %{?_smp_mflags}

# We'll put it with the other docs
rm %{buildroot}%{_datadir}/doc/pkg-config/pkg-config-guide.html

%license COPYING
%doc AUTHORS NEWS README ChangeLog pkg-config-guide.html
%ifarch s390 s390x
%dir %{_datadir}/aclocal