From 2be30f94bd7964dc92e75aa22ab31814d2ece858398f5cf2078e1214be732456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 20 Dec 2018 12:38:38 +0000 Subject: [PATCH] Accepting request 658923 from home:tiwai A new library for dealing with AVTP, which will be required for the upcoming alsa-plugins update This is a revised submission after adding %check and 32bit build fix. OBS-URL: https://build.opensuse.org/request/show/658923 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libavtp?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + libavtp-0.1.g2f0b071.tar.xz | 3 ++ libavtp.changes | 10 +++++ libavtp.spec | 81 +++++++++++++++++++++++++++++++++++++ 5 files changed, 118 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libavtp-0.1.g2f0b071.tar.xz create mode 100644 libavtp.changes create mode 100644 libavtp.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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libavtp-0.1.g2f0b071.tar.xz b/libavtp-0.1.g2f0b071.tar.xz new file mode 100644 index 0000000..3ce530f --- /dev/null +++ b/libavtp-0.1.g2f0b071.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b227a7c3dd5854473f2ebccd8bcbca80468d3a975b2fbfea9413e25a2ff2287b +size 17112 diff --git a/libavtp.changes b/libavtp.changes new file mode 100644 index 0000000..889cdca --- /dev/null +++ b/libavtp.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Mon Dec 17 14:30:18 CET 2018 - tiwai@suse.de + +- Update to git 2f0b071: fix 32bit builds + +------------------------------------------------------------------- +Mon Dec 10 11:12:17 CET 2018 - tiwai@suse.de + +- Initial package: git SHA 1936451 + diff --git a/libavtp.spec b/libavtp.spec new file mode 100644 index 0000000..003b367 --- /dev/null +++ b/libavtp.spec @@ -0,0 +1,81 @@ +# +# spec file for package libavtp +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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/ +# + +%define git_version %{version}.g2f0b071 + +Name: libavtp +Version: 0.1 +Release: 0 +Summary: Audio Video Transport Protocol (AVTP) Support Library +License: BSD-3-Clause +Group: System/Libraries +URL: https://github.com/AVnu/libavtp.git +Source: %{name}-%{git_version}.tar.xz +BuildRequires: meson +BuildRequires: pkgconfig +BuildRequires: pkgconfig(cmocka) + +%description +Open source implementation of Audio Video Transport Protocol (AVTP) specified +in IEEE 1722-2016 spec. + +%package -n libavtp0 +Summary: Audio Video Transport Protocol (AVTP) Support Library +License: BSD-3-Clause +Group: System/Libraries + +%description -n libavtp0 +Open source implementation of Audio Video Transport Protocol (AVTP) specified +in IEEE 1722-2016 spec. + +%package devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: libavtp0 = %{version} + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require libavtp. + +%prep +%setup -q -n %{name} + +%build +%meson +%meson_build + +%install +%meson_install + +%check +%meson_test + +%post -n libavtp0 -p /sbin/ldconfig +%postun -n libavtp0 -p /sbin/ldconfig + +%files -n libavtp0 +%{_libdir}/libavtp.so.0 +%{_libdir}/libavtp.so.0.* + +%files devel +%doc README.md +%license LICENSE +%{_includedir}/*.h +%{_libdir}/libavtp.so +%{_libdir}/pkgconfig/avtp.pc + +%changelog