2018-12-20 13:38:38 +01:00
|
|
|
#
|
|
|
|
# spec file for package libavtp
|
|
|
|
#
|
2019-01-08 19:40:53 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2018-12-20 13:38:38 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-01-08 19:40:53 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-12-20 13:38:38 +01:00
|
|
|
#
|
|
|
|
|
2019-01-08 19:40:53 +01:00
|
|
|
|
2018-12-20 13:38:38 +01:00
|
|
|
%define git_version %{version}.g2f0b071
|
|
|
|
|
|
|
|
Name: libavtp
|
|
|
|
Version: 0.1
|
|
|
|
Release: 0
|
|
|
|
Summary: Audio Video Transport Protocol (AVTP) Support Library
|
|
|
|
License: BSD-3-Clause
|
2019-01-08 19:40:53 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-12-20 13:38:38 +01:00
|
|
|
URL: https://github.com/AVnu/libavtp.git
|
|
|
|
Source: %{name}-%{git_version}.tar.xz
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(cmocka)
|
|
|
|
|
|
|
|
%description
|
2019-01-08 19:40:53 +01:00
|
|
|
An implementation of Audio Video Transport Protocol (AVTP) as specified
|
|
|
|
in IEEE 1722-2016.
|
2018-12-20 13:38:38 +01:00
|
|
|
|
|
|
|
%package -n libavtp0
|
|
|
|
Summary: Audio Video Transport Protocol (AVTP) Support Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libavtp0
|
2019-01-08 19:40:53 +01:00
|
|
|
An implementation of Audio Video Transport Protocol (AVTP) as specified
|
|
|
|
in IEEE 1722-2016.
|
2018-12-20 13:38:38 +01:00
|
|
|
|
|
|
|
%package devel
|
2019-01-08 19:40:53 +01:00
|
|
|
Summary: Header files for the Audio/Video Transport Protocol support library
|
2018-12-20 13:38:38 +01:00
|
|
|
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
|