Name:           grilo-plugins
Version:        0.2.14
Release:        2%{?_dist_release}
Summary:        A collection of plugins for the Grilo framework
Summary(ja):    Grilo フレームワーク用のプラグイン集

Group:          System Environment/Libraries
License:        LGPLv2
URL:            https://live.gnome.org/Grilo
Source0:        http://download.gnome.org/sources/%{name}/0.2/%{name}-%{version}.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-root

BuildRequires:  grilo-devel >= 0.2.6
BuildRequires:  libdmapsharing-devel >= 2.9.12
BuildRequires:  avahi-gobject-devel
BuildRequires:  sqlite3-devel
BuildRequires:  libgdata-devel
BuildRequires:  libsoup-devel
BuildRequires:  libgdata-devel
BuildRequires:  libgcrypt-devel
BuildRequires:  json-glib-devel
BuildRequires:  rest-devel
BuildRequires:  totem-pl-parser-devel >= 3.4.1
BuildRequires:  gmime-devel
BuildRequires:  tracker-devel
BuildRequires:  libmediaart-devel
BuildRequires:  gom-devel
BuildRequires:  yelp-tools

Vendor:		Project Vine
Distribution:	Vine Linux
Packager:	Takemikaduchi


%description
%{summary}


%prep
%setup -q

%build
%configure \
	--disable-static \
	--disable-lua-factory
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'

rm -f $RPM_BUILD_ROOT%{_datadir}/help/C/examples/example-tmdb.c

%find_lang %{name} --with-gnome

%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/grilo-0.2/grl-apple-trailers.xml
%{_libdir}/grilo-0.2/grl-bliptv.xml
%{_libdir}/grilo-0.2/grl-bookmarks.xml
%{_libdir}/grilo-0.2/grl-dleyna.xml
%{_libdir}/grilo-0.2/grl-dmap.xml
%{_libdir}/grilo-0.2/grl-filesystem.xml
%{_libdir}/grilo-0.2/grl-flickr.xml
%{_libdir}/grilo-0.2/grl-freebox.xml
%{_libdir}/grilo-0.2/grl-gravatar.xml
%{_libdir}/grilo-0.2/grl-jamendo.xml
%{_libdir}/grilo-0.2/grl-lastfm-albumart.xml
%{_libdir}/grilo-0.2/grl-local-metadata.xml
%{_libdir}/grilo-0.2/grl-magnatune.xml
%{_libdir}/grilo-0.2/grl-metadata-store.xml
%{_libdir}/grilo-0.2/grl-optical-media.xml
%{_libdir}/grilo-0.2/grl-opensubtitles.xml
%{_libdir}/grilo-0.2/grl-pocket.xml
%{_libdir}/grilo-0.2/grl-podcasts.xml
%{_libdir}/grilo-0.2/grl-raitv.xml
%{_libdir}/grilo-0.2/grl-shoutcast.xml
%{_libdir}/grilo-0.2/grl-thetvdb.xml
%{_libdir}/grilo-0.2/grl-tmdb.xml
%{_libdir}/grilo-0.2/grl-tracker.xml
%{_libdir}/grilo-0.2/grl-vimeo.xml
%{_libdir}/grilo-0.2/grl-youtube.xml
%{_libdir}/grilo-0.2/libgrlappletrailers.so
%{_libdir}/grilo-0.2/libgrlbliptv.so
%{_libdir}/grilo-0.2/libgrlbookmarks.so
%{_libdir}/grilo-0.2/libgrldleyna.so
%{_libdir}/grilo-0.2/libgrldmap.so
%{_libdir}/grilo-0.2/libgrlfilesystem.so
%{_libdir}/grilo-0.2/libgrlflickr.so
%{_libdir}/grilo-0.2/libgrlfreebox.so
%{_libdir}/grilo-0.2/libgrlgravatar.so
%{_libdir}/grilo-0.2/libgrljamendo.so
%{_libdir}/grilo-0.2/libgrllastfm-albumart.so
%{_libdir}/grilo-0.2/libgrllocalmetadata.so
%{_libdir}/grilo-0.2/libgrlmagnatune.so
%{_libdir}/grilo-0.2/libgrlmetadatastore.so
%{_libdir}/grilo-0.2/libgrlopensubtitles.so
%{_libdir}/grilo-0.2/libgrloptical-media.so
%{_libdir}/grilo-0.2/libgrlpocket.so
%{_libdir}/grilo-0.2/libgrlpodcasts.so
%{_libdir}/grilo-0.2/libgrlraitv.so
%{_libdir}/grilo-0.2/libgrlshoutcast.so
%{_libdir}/grilo-0.2/libgrlthetvdb.so
%{_libdir}/grilo-0.2/libgrltmdb.so
%{_libdir}/grilo-0.2/libgrltracker.so
%{_libdir}/grilo-0.2/libgrlvimeo.so
%{_libdir}/grilo-0.2/libgrlyoutube.so


%changelog
* Wed Jul 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.14-2
- add BuildRequires: gom-devel

* Sun Mar 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.14-1
- new upstream release

* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.13-2
- rebuild with libgdata-0.16.0

* Sun Aug 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.13-1
- new upstream release

* Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.12-1
- new upstream release
- add BuildRequires: yelp-tools, avahi-gobject-devel, libmediaart-devel
- remove BuildRequires: libquvi-devel

* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.9-2
- rebuild with VineSeed environment

* Sat Aug 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.9-1
- new upstream release

* Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.8-1
- new upstream release

* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.7-1
- new upstream release

* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3-1
- new upstream release

* Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1
- initial build
