commit 8fd9384a4d1b6fdc3396506bfecb0587afd9e295 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:51:54 2019 -0400 Package init diff --git a/grilo-0.3.9.tar.xz b/grilo-0.3.9.tar.xz new file mode 100644 index 0000000..7ffcd52 Binary files /dev/null and b/grilo-0.3.9.tar.xz differ diff --git a/grilo.spec b/grilo.spec new file mode 100644 index 0000000..76e357c --- /dev/null +++ b/grilo.spec @@ -0,0 +1,81 @@ +Name: grilo +Version: 0.3.9 +Release: 1 +Summary: A framework for browsing and searching media content + +License: LGPLv2+ +URL: https://wiki.gnome.org/Projects/Grilo +Source0: https://github.com/GNOME/grilo/archive/%{name}-%{version}.tar.xz + +BuildRequires: chrpath glib2-devel gettext gobject-introspection-devel >= 0.9.0 +BuildRequires: gtk-doc gtk3-devel liboauth-devel libsoup-devel libxml2-devel +BuildRequires: meson totem-pl-parser-devel vala >= 0.27.1 + +%description +Grilo is a framework focused on making media discovery and browsing easy for +application developers. + +More precisely, Grilo provides: + +A single, high-level API that abstracts the differences among various media +content providers, allowing application developers to integrate content from +various services and sources easily. +A collection of plugins for accessing content from various media providers. +Developers can share efforts and code by writing plugins for the framework +that are application agnostic. +A flexible API that allows plugin developers to write plugins of various kinds. + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} +Obsoletes: grilo-vala < 0.2.13 + +%description devel +Libraries and header files are contained in %{name}-devel package. You need to +install the %{name}-devel package if you want to develop applications that use +%{name}. + +%package_help + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%meson -Denable-gtk-doc=true + +%meson_build + +%install +%meson_install +mkdir -p %{buildroot}%{_libdir}/grilo-0.3 +mkdir -p %{buildroot}%{_datadir}/grilo-0.3/plugins +%find_lang grilo + +%ldconfig_scriptlets + +%files -f grilo.lang +%doc NEWS AUTHORS +%{_bindir}/*-0.3 +%{_libdir}/*-0.3.so.* +%dir %{_libdir}/grilo-0.3/ +%{_libdir}/girepository-1.0/*-0.3.typelib +%dir %{_datadir}/grilo-0.3/plugins/ +%license COPYING + +%files devel +%{_includedir}/grilo-0.3/*.h +%{_includedir}/grilo-0.3/net/*.h +%{_includedir}/grilo-0.3/pls/*.h +%{_libdir}/pkgconfig/*.pc +%{_datadir}/gir-1.0/*.gir +%{_datadir}/vala/vapi/* +%{_libdir}/*.so + +%files help +%doc README.md TODO +%{_mandir}/man1/*.gz +%{_datadir}/gtk-doc/html/grilo/ + +%changelog +* Tue Aug 27 2019 openEuler Buildteam - 0.3.9-1 +- Package Init