!2 package init

Merge pull request !2 from yaokai13/master
This commit is contained in:
openeuler-ci-bot 2020-06-23 09:50:48 +08:00 committed by Gitee
commit f744eae8ab
3 changed files with 80 additions and 0 deletions

BIN
gupnp-dlna-0.10.5.tar.xz Normal file

Binary file not shown.

76
gupnp-dlna.spec Normal file
View File

@ -0,0 +1,76 @@
Name: gupnp-dlna
Version: 0.10.5
Release: 10
Summary: A collection of helpers applications for building UPnP AV
License: LGPLv2+
URL: http://www.gupnp.org/
Source0: http://ftp.gnome.org/pub/GNOME/sources/gupnp-dlna/0.10/gupnp-dlna-%{version}.tar.xz
BuildRequires: glib2-devel gobject-introspection-devel >= 1.36 gssdp-devel gstreamer1-plugins-base-devel
BuildRequires: gupnp-devel gupnp-av-devel libxml2-devel vala gtk-doc gstreamer1-devel
%description
GUPnP is an open source framework for creating general-purpose plug-and-play devices
and control points,written in C,using GObject and libsoup,with the goal of being easy
to use and efficient and flexible.
GUPnP is a group of assistants for building DLNA(Digital Living Network Alliance)
%package devel
Summary: Development the gupnp-dlna package
Requires: gupnp-dlna = %{version}-%{release}
%description devel
Libraries and header files required for application development using gunp-dlna.
%package help
Summary: Development the gupnp-dlna package
Requires: gupnp-dlna = %{version}-%{release}
Provides: gupnp-dlna-docs = %{version}-%{release}
Obsoletes: gupnp-dlna-docs < %{version}-%{release}
BuildArch: noarch
%description help
Provides the developer documentation for gupnp-dlna.
%prep
%autosetup -n gupnp-dlna-%{version} -p1
%build
%configure --disable-static
%make_build V=1
%install
%make_install
%delete_la
%check
make check
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%license COPYING
%{_bindir}/gupnp-dlna*
%{_libdir}/lib*.so.*
%{_libdir}/gupnp-dlna/libgstreamer.so
%{_libdir}/girepository-1.0/{GUPnPDLNA-2.0.typelib,GUPnPDLNAGst-2.0.typelib}
%{_datadir}/gupnp-dlna-2.0/
%files devel
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/{gupnp-dlna-2.0.pc,gupnp-dlna-gst-2.0.pc,gupnp-dlna-metadata-2.0.pc}
%{_datadir}/gir-1.0/{GUPnPDLNA-2.0.gir,GUPnPDLNAGst-2.0.gir}
%{_includedir}/gupnp-dlna-2.0/
%{_datadir}/vala/vapi/gupnp-dlna*
%files help
%doc AUTHORS README TODO
%{_datadir}/gtk-doc/html/{gupnp-dlna,gupnp-dlna-gst,gupnp-dlna-metadata}
%changelog
* Thu Apr 16 2020 yaokai<yaokai13@huawei.com> - 0.10.5-10
- Package init

4
gupnp-dlna.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: gitlab.gnome
src_repo: gupnp-dlna
tag_prefix: "^gupnp-dlna-"
seperator: "."