From dd662eab1041b12a1dd96090bdf25f1103fb03929c600b7f080fb015e8a10de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 6 May 2024 13:38:23 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main libmicrodns revision 70f170e9f36f9949004ccdc24ceb87f5 --- .gitattributes | 23 ++++++++++++ _service | 19 ++++++++++ _servicedata | 4 ++ baselibs.conf | 1 + libmicrodns-0.2.0+6.obscpio | 3 ++ libmicrodns.changes | 9 +++++ libmicrodns.obsinfo | 4 ++ libmicrodns.spec | 75 +++++++++++++++++++++++++++++++++++++ 8 files changed, 138 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 _servicedata create mode 100644 baselibs.conf create mode 100644 libmicrodns-0.2.0+6.obscpio create mode 100644 libmicrodns.changes create mode 100644 libmicrodns.obsinfo create mode 100644 libmicrodns.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /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..64c9754 --- /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..65cce0a --- /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..d9e0197 --- /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..ab0ea5e --- /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..8b310ee --- /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..3e0f209 --- /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..3639886 --- /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