grilo-plugins/grilo-plugins.spec
2022-02-28 09:58:58 +08:00

73 lines
2.9 KiB
RPMSpec

Name: grilo-plugins
Version: 0.3.13
Release: 3
Summary: Plugins for the Grilo framework
License: LGPLv2+
URL: https://gitlab.gnome.org/GNOME/grilo-plugins
Source0: https://download.gnome.org/sources/grilo-plugins/0.3/grilo-plugins-%{version}.tar.xz
Patch0001: 0001-solve_an_error_of-Lua_API_attempt_to_call_a_nil_value.patch
BuildRequires: gcc meson avahi-gobject-devel avahi-gobject glib2-devel grilo-devel >= 0.3.8
BuildRequires: gom-devel gperf intltool gnome-online-accounts-devel >= 3.17.91 gettext
BuildRequires: libgcrypt-devel libxml2-devel itstool libarchive-devel libmediaart-devel
BuildRequires: libsoup-devel lua-devel rest-devel sqlite-devel libgdata-devel
BuildRequires: totem-pl-parser-devel tracker3-devel libdmapsharing-devel json-glib-devel cmake liboauth-devel
Requires: dleyna-server gnome-online-accounts%{_isa} >= 3.17.91 grilo%{_isa} >= 0.3.8
%description
The framework named grilo which provides access to different sources of multimedia
content, using a pluggable system. This package`s plugins to get information from
theses sources:Apple Trailers,Bookmarks,Euronews,Filesystem,Flickr,Freebox,Gravatar,
iTunes Music Sharing,Jamendo,Last.fm,Local metadata,Metadata Store,Pocket,Podcasts,
Radio France,Shoutcast,The Guardian Videos,Tracker,Vimeo,Youtube
%prep
%autosetup -n grilo-plugins-%{version} -p1
%build
%meson -Denable-static=no -Denable-shoutcast=no -Denable-bookmarks=yes \
-Denable-dleyna=yes -Denable-dmap=yes -Denable-filesystem=yes \
-Denable-flickr=yes -Denable-freebox=yes -Denable-gravatar=yes \
-Denable-jamendo=yes -Denable-lua-factory=yes -Denable-metadata-store=yes \
-Denable-podcasts=yes -Denable-tmdb=yes -Denable-vimeo=yes \
-Denable-youtube=yes -Denable-tracker=no -Denable-tracker3=yes
%meson_build
%install
%meson_install
%find_lang grilo-plugins --with-gnome
%files -f grilo-plugins.lang
%license COPYING
%doc AUTHORS NEWS README.md
%doc %{_datadir}/help/*/examples/example-tmdb.c
%{_datadir}/grilo-plugins/
%{_libdir}/pkgconfig/*.pc
%{_libdir}/grilo-0.3/*.so*
%exclude %{_libdir}/grilo-0.3/*.la
%exclude %{_bindir}/*
%changelog
* Fri Feb 25 2022 weijin deng <weijin.deng@turbolinux.com.cn> - 0.3.13-3
- Solve bug of "PANIC: unprotected error in call to Lua API
(attempt to call a nil value) Aborted"
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.3.13-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Thu Jun 17 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 0.3.13-1
- Upgrade to 0.3.13
- Change meson configurations
* Mon Jun 7 2021 baizhonggui <baizhonggui@huawei.com> - 0.3.8-4
- Fix building error: /usr/bin/git: No such file or directory
- Add git/cmake/liboauth-devel in BuildRequires
* Thu Jul 16 2020 lingsheng <lingsheng@huawei.com> - 0.3.8-3
- Add buildrequire avahi-gobject to fix build fail
* Thu Apr 16 2020 Jeffery.Gao <gaojianxing@huawei.com> - 0.3.8-2
- Package init