diff --git a/gupnp-dlna-0.10.5.tar.xz b/gupnp-dlna-0.10.5.tar.xz new file mode 100644 index 0000000..5c55641 Binary files /dev/null and b/gupnp-dlna-0.10.5.tar.xz differ diff --git a/gupnp-dlna.spec b/gupnp-dlna.spec new file mode 100644 index 0000000..c05b707 --- /dev/null +++ b/gupnp-dlna.spec @@ -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 - 0.10.5-10 +- Package init diff --git a/gupnp-dlna.yaml b/gupnp-dlna.yaml new file mode 100644 index 0000000..85d62bf --- /dev/null +++ b/gupnp-dlna.yaml @@ -0,0 +1,4 @@ +version_control: gitlab.gnome +src_repo: gupnp-dlna +tag_prefix: "^gupnp-dlna-" +seperator: "."