75 lines
1.8 KiB
RPMSpec
75 lines
1.8 KiB
RPMSpec
Name: gupnp-av
|
|
Version: 0.12.10
|
|
Release: 7
|
|
Summary: A small utility library that aims to ease the handing and implimation of UPnP AV.
|
|
License: LGPLv2+
|
|
URL: http://www.gupnp.org/
|
|
Source0: http://download.gnome.org/sources/gupnp-av/0.12/gupnp-av-%{version}.tar.xz
|
|
BuildRequires: glib2-devel gtk-doc gobject-introspection-devel >= 1.36.0 libxml2-devel
|
|
BuildRequires: libsoup-devel vala
|
|
|
|
%description
|
|
GUPnP is an object-oriented open source framework for creating UPnP
|
|
devices and control points, written in C using GObject and libsoup.
|
|
The GUPnP API is intended to be easy to use, efficient and flexible.
|
|
|
|
GUPnP-AV is a collection of helpers for building AV (audio/video)
|
|
applications using GUPnP.
|
|
|
|
%package devel
|
|
Summary: Development package for gupnp-av
|
|
Requires: gupnp-av = %{version}-%{release}
|
|
|
|
%description devel
|
|
Files for development with gupnp-av.
|
|
|
|
%package help
|
|
Summary: Documentation files for gupnp-av
|
|
Requires: gupnp-av = %{version}-%{release}
|
|
BuildArch: noarch
|
|
Provides: gupnp-av-docs = %{version}-%{release}
|
|
Obsoletes: gupnp-av-docs < %{version}-%{release}
|
|
|
|
%description help
|
|
This package contains developer documentation for gupnp-av.
|
|
|
|
%prep
|
|
%autosetup -n gupnp-av-%{version} -p1
|
|
|
|
%build
|
|
%configure --disable-static
|
|
%make_build V=1
|
|
|
|
%install
|
|
%make_install
|
|
%delete_la
|
|
|
|
%check
|
|
make check %{?_smp_mflags} V=1
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%files
|
|
%doc AUTHORS COPYING README
|
|
%{_libdir}/libgupnp-av-1.0.so.*
|
|
%{_libdir}/girepository-1.0/GUPnPAV-1.0.typelib
|
|
%{_datadir}/gupnp-av
|
|
|
|
%files devel
|
|
%{_includedir}/gupnp-av-1.0
|
|
%{_libdir}/pkgconfig/gupnp-av-1.0.pc
|
|
%{_libdir}/libgupnp-av-1.0.so
|
|
%{_datadir}/gir-1.0/GUPnPAV-1.0.gir
|
|
%{_datadir}/vala/vapi/gupnp-av*
|
|
|
|
%files help
|
|
%{_datadir}/gtk-doc/html/gupnp-av
|
|
|
|
%changelog
|
|
* Thu Apr 16 2020 wangerfeng <wangerfeng@huawei.com> - 0.12.10-7
|
|
- Package init
|