Sync from SUSE:SLFO:Main libmicrodns revision 70f170e9f36f9949004ccdc24ceb87f5

This commit is contained in:
Adrian Schröter 2024-05-06 13:38:23 +02:00
commit dd662eab10
8 changed files with 138 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

19
_service Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/videolabs/libmicrodns.git</param>
<param name="revision">master</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="manual" />
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/videolabs/libmicrodns.git</param>
<param name="changesrevision">1d4556e9da6330c05bf80151eab449d21bef8126</param></service></servicedata>

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libmicrodns1

BIN
libmicrodns-0.2.0+6.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

9
libmicrodns.changes Normal file
View File

@ -0,0 +1,9 @@
-------------------------------------------------------------------
Tue Sep 6 08:06:15 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Add baselibs.conf
-------------------------------------------------------------------
Mon Aug 29 10:30:24 UTC 2022 - bjorn.lie@gmail.com
- Initial packaging for openSUSE.

4
libmicrodns.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: libmicrodns
version: 0.2.0+6
mtime: 1653678350
commit: 1d4556e9da6330c05bf80151eab449d21bef8126

75
libmicrodns.spec Normal file
View File

@ -0,0 +1,75 @@
#
# 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
Source99: baselibs.conf
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