commit 33afc5cf2d017eb7a71e45f2b31f32b63203e5f9 Author: Adrian Schröter Date: Mon Oct 14 15:02:27 2024 +0200 Sync from SUSE:ALP:Source:Standard:1.0 libmicrodns revision 70f170e9f36f9949004ccdc24ceb87f5 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/_service b/_service new file mode 100644 index 0000000..114c90c --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + git + https://github.com/videolabs/libmicrodns.git + master + @PARENT_TAG@+@TAG_OFFSET@ + (.*)\+0 + \1 + enable + + + + *.tar + xz + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..5d593f8 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/videolabs/libmicrodns.git + 1d4556e9da6330c05bf80151eab449d21bef8126 \ No newline at end of file diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..24bc18f --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libmicrodns1 diff --git a/libmicrodns-0.2.0+6.obscpio b/libmicrodns-0.2.0+6.obscpio new file mode 100644 index 0000000..99257f7 --- /dev/null +++ b/libmicrodns-0.2.0+6.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bc9bcff9f4ca738bbd1f08289805eb1a02d615a767af8a50a0da20ce1b4a5a6 +size 239627 diff --git a/libmicrodns.changes b/libmicrodns.changes new file mode 100644 index 0000000..39071b1 --- /dev/null +++ b/libmicrodns.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 6 08:06:15 UTC 2022 - Bjørn Lie + +- Add baselibs.conf + +------------------------------------------------------------------- +Mon Aug 29 10:30:24 UTC 2022 - bjorn.lie@gmail.com + +- Initial packaging for openSUSE. diff --git a/libmicrodns.obsinfo b/libmicrodns.obsinfo new file mode 100644 index 0000000..240acbe --- /dev/null +++ b/libmicrodns.obsinfo @@ -0,0 +1,4 @@ +name: libmicrodns +version: 0.2.0+6 +mtime: 1653678350 +commit: 1d4556e9da6330c05bf80151eab449d21bef8126 diff --git a/libmicrodns.spec b/libmicrodns.spec new file mode 100644 index 0000000..0c89520 --- /dev/null +++ b/libmicrodns.spec @@ -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