File c-stdaux.spec of Package c-stdaux

#
# spec file for package c-stdaux
#
# Copyright (c) 2022 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 http://bugs.opensuse.org/
#


Name:           c-stdaux
%define lname	libcstdaux0
Version:        1.3.0
Release:        0
Summary:        Auxiliary macros and functions for the C standard library
License:        Apache-2.0 OR LGPL-2.1-or-later
Group:          Development/Libraries/C and C++
URL:            https://github.com/c-util/c-stdaux
Source:         https://github.com/c-util/c-stdaux/archive/refs/tags/v%version.tar.gz
BuildRequires:  meson >= 0.60
BuildRequires:  pkg-config >= 0.29 

%description
c-stdaux contains support macros and auxiliary functions around
the functionality of common C standard libraries. This includes
helpers for the ISO C Standard Library, but also other common
specifications like POSIX or common extended features of
widespread compilers like gcc and clang.

%package devel
Summary:        Header files for the c-stdaux library
Group:          Development/Libraries/C and C++

%description devel
c-stdaux contains support macros and auxiliary functions around
the functionality of common C standard libraries. This includes
helpers for the ISO C Standard Library, but also other common
specifications like POSIX or common extended features of
widespread compilers like gcc and clang.

%prep
%autosetup

%build
%meson --includedir="%_includedir/%name"
%meson_build

%install
%meson_install

%files devel
%_includedir/%name/
%_libdir/pkgconfig/*.pc
%license AUTHORS

%changelog
openSUSE Build Service is sponsored by