libmicrodns/libmicrodns.spec
Takashi Iwai cc24ce8b78 Accepting request 999924 from home:iznogood
Needed for gstreamer-plugins-bad, subbing here and not network as the only consumer will be gst-bad and upstream is only targeting this for usage within audio/video applications.

OBS-URL: https://build.opensuse.org/request/show/999924
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libmicrodns?expand=0&rev=1
2022-08-30 05:17:32 +00:00

76 lines
1.8 KiB
RPMSpec

#
# spec file for package libmicrodns
#
# 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 https://bugs.opensuse.org/
#
%define libname libmicrodns1
Name: libmicrodns
Version: 0.2.0+6
Release: 0
Summary: Minimal mDNS resolver library
License: LGPL-2.1-or-later
URL: https://github.com/videolabs/libmicrodns
Source: %{name}-%{version}.tar.xz
BuildRequires: meson
BuildRequires: pkgconfig
%description
Minimal mDNS resolver (and announcer) library.
%package -n %{libname}
Summary: Shared library files for %{name}
%description -n %{libname}
Minimal mDNS resolver (and announcer) library.
The %{libname} package contains shared libraries files for %{name}.
%package devel
Summary: Development files for %{name}
Requires: %{libname} = %{version}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%check
%meson_test
%ldconfig_scriptlets -n %{libname}
%files -n %{libname}
%license COPYING
%{_libdir}/libmicrodns.so.*
%files devel
%doc AUTHORS NEWS README.md
%{_includedir}/microdns
%{_libdir}/libmicrodns.so
%{_libdir}/pkgconfig/microdns.pc
%changelog