Bastien Nocera 5338776
# first two digits of version
Bastien Nocera 5338776
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
Bastien Nocera 5338776
Bastien Nocera 5338776
Name:		grilo-plugins
b931cbc
Version:	0.2.9
45034a3
Release:	3%{?dist}
Bastien Nocera 5338776
Summary:	Plugins for the Grilo framework
Bastien Nocera 5338776
Bastien Nocera 5338776
Group:		Applications/Multimedia
Bastien Nocera 5338776
License:	LGPLv2+
Bastien Nocera 5338776
Url:		https://live.gnome.org/Grilo
Bastien Nocera 5680228
Source0:	http://ftp.gnome.org/pub/GNOME/sources/grilo-plugins/%{release_version}/grilo-plugins-%{version}.tar.xz
45034a3
# Trivial patch to support newer tracker, equivalent commits in
45034a3
# git.gnome are dd5b447bf20 and 5145299309
45034a3
Patch0:		grilo-plugins-0.2.9-tracker_version.patch
Bastien Nocera 5338776
698127b
BuildRequires:	grilo-devel >= 0.2.6
Bastien Nocera 5338776
BuildRequires:	glib2-devel >= 2.26.0
5db84b0
BuildRequires:	libgcrypt-devel
Bastien Nocera 5338776
BuildRequires:	libxml2-devel
Bastien Nocera 5338776
BuildRequires:	gupnp-devel >= 0.13.0
Bastien Nocera 5338776
BuildRequires:	gupnp-av-devel >= 0.5.0
6e55faf
BuildRequires:	intltool
b931cbc
BuildRequires:	libsoup-devel
Bastien Nocera 5338776
BuildRequires:	sqlite-devel
Bastien Nocera 5338776
BuildRequires:	libgdata-devel
b931cbc
BuildRequires:	totem-pl-parser-devel
Bastien Nocera 5338776
BuildRequires:	tracker-devel >= 0.9.0
Bastien Nocera b82489b
BuildRequires:	gmime-devel
Bastien Nocera 71966d7
BuildRequires:	libdmapsharing-devel
Bastien Nocera e8bdc80
BuildRequires:	json-glib-devel
45034a3
# Needed when running autoreconf for patch0, drop if not autoreconfing
45034a3
BuildRequires:	gnome-common
Bastien Nocera 5338776
698127b
Requires:	grilo >= 0.2.6
Bastien Nocera 5338776
Requires:	gupnp >= 0.13.0
Bastien Nocera 5338776
Requires:	gupnp-av >= 0.5.0
Bastien Nocera 5338776
Bastien Nocera 5338776
%description
Bastien Nocera 5338776
Grilo is a framework that provides access to different sources of
Bastien Nocera 5338776
multimedia content, using a pluggable system.
Bastien Nocera 5338776
This package contains plugins to get information from theses sources:
Bastien Nocera 5338776
- Apple Trailers
Bastien Nocera 5338776
- Bookmarks
Bastien Nocera 5338776
- Filesystem
Bastien Nocera 5338776
- Flickr
Bastien Nocera 5338776
- Gravatar
Bastien Nocera 71966d7
- iTunes Music Sharing
Bastien Nocera 5338776
- Jamendo
Bastien Nocera 5338776
- Last.fm (for album arts)
Bastien Nocera 5338776
- Local metadata (album arts and thumbnails)
Bastien Nocera 5338776
- Metadata Store
Bastien Nocera 5338776
- Podcasts
Bastien Nocera 5338776
- Shoutcast
Bastien Nocera 5338776
- Tracker
Bastien Nocera 5338776
- UPnP
Bastien Nocera 5338776
- Vimeo
Bastien Nocera 5338776
- Youtube
Bastien Nocera 5338776
Bastien Nocera 5338776
%prep
Bastien Nocera 5338776
%setup -q
45034a3
%patch0 -p1
Bastien Nocera 1ea7552
Bastien Nocera 5338776
%build
45034a3
# needed for patch0
45034a3
autoreconf -i
45034a3
Bastien Nocera 5338776
%configure				\
Bastien Nocera 5338776
	--disable-static		\
Bastien Nocera 5338776
	--disable-fakemetadata		\
Bastien Nocera 5338776
	--disable-shoutcast		\
Bastien Nocera 5338776
	--enable-apple-trailers		\
Bastien Nocera 5338776
	--enable-bookmarks		\
Bastien Nocera 71966d7
	--enable-dmap			\
Bastien Nocera 5338776
	--enable-filesystem		\
Bastien Nocera 5338776
	--enable-flickr			\
Bastien Nocera 5338776
	--enable-gravatar		\
Bastien Nocera 5338776
	--enable-jamendo		\
Bastien Nocera 5338776
	--enable-lastfm-albumart	\
Bastien Nocera 5338776
	--enable-localmetadata		\
Bastien Nocera 5338776
	--enable-metadata-store		\
Bastien Nocera 5338776
	--enable-podcasts		\
Bastien Nocera e8bdc80
	--enable-tmdb			\
Bastien Nocera 5338776
	--enable-tracker		\
Bastien Nocera 5338776
	--enable-upnp			\
Bastien Nocera 5338776
	--enable-vimeo			\
Bastien Nocera b2f7665
	--enable-youtube		\
Bastien Nocera b2f7665
	--enable-tracker
Bastien Nocera 5338776
275bb5c
# Silence unused-direct-shlib-dependency
275bb5c
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
275bb5c
Bastien Nocera 5338776
make %{?_smp_mflags}
Bastien Nocera 5338776
Bastien Nocera 5338776
Bastien Nocera 5338776
%install
Bastien Nocera 5338776
make install DESTDIR=$RPM_BUILD_ROOT
Bastien Nocera 5338776
Bastien Nocera 5338776
# Remove files that will not be packaged
Bastien Nocera 5338776
rm -f $RPM_BUILD_ROOT%{_libdir}/grilo-%{release_version}/*.la
Bastien Nocera 5338776
rm -f $RPM_BUILD_ROOT%{_bindir}/*
Bastien Nocera 5338776
8df9408
%find_lang grilo-plugins --with-gnome
8df9408
8df9408
%files -f grilo-plugins.lang
Bastien Nocera 5338776
%doc AUTHORS COPYING NEWS README
Bastien Nocera 5338776
%{_libdir}/grilo-%{release_version}/*.so*
Bastien Nocera b337414
%{_libdir}/grilo-%{release_version}/*.xml
Bastien Nocera 5338776
Bastien Nocera 5338776
%changelog
45034a3
* Thu Dec 19 2013 Adam Williamson <awilliam@redhat.com> - 0.2.9-3
45034a3
- patch to build against newer tracker, rebuild for tracker bump
45034a3
9f0b516
* Thu Sep 19 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.9-2
9f0b516
- Rebuilt for totem-pl-parser soname bump
9f0b516
b931cbc
* Sun Aug 25 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.9-1
b931cbc
- Update to 0.2.9
b931cbc
5db84b0
* Sun Aug  4 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.2.8-4
5db84b0
- Fix FTBFS
5db84b0
a23b25a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8-3
a23b25a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a23b25a
885e74a
* Thu Jun 06 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.8-2
885e74a
- Backport a patch to avoid DNS delays at plugin init (#969123)
885e74a
6a0fd5b
* Sat May 25 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.8-1
6a0fd5b
- Update to 0.2.8
6a0fd5b
698127b
* Sat May 18 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.7-1
698127b
- Update to 0.2.7
698127b
8df9408
* Sat May 18 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.6-2
8df9408
- Use the find_lang --with-gnome macro for help files
8df9408
- Drop the dep on yelp (#964421)
8df9408
0388411
* Wed Mar 20 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.6-1
0388411
- Update to 0.2.6
0388411
9335d26
* Mon Jan 28 2013 Matthias Clasen <mclasen@redhat.com> - 0.2.5-3
9335d26
- Fix build against newer tracker
9335d26
8d4ea6d
* Sun Jan 27 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.2.5-2
8d4ea6d
- Rebuild for tracker
8d4ea6d
Bastien Nocera 6227ae1
* Thu Dec 20 2012 Bastien Nocera <bnocera@redhat.com> 0.2.5-1
Bastien Nocera 6227ae1
- Update to 0.2.5
Bastien Nocera 6227ae1
Bastien Nocera 46472e0
* Tue Dec 04 2012 Bastien Nocera <bnocera@redhat.com> 0.2.4-1
Bastien Nocera 46472e0
- Update to 0.2.4
Bastien Nocera 46472e0
7c1b986
* Tue Nov 13 2012 Kalev Lember <kalevlember@gmail.com> 0.2.3-1
7c1b986
- Update to 0.2.3
7c1b986
Bastien Nocera e8bdc80
* Fri Oct 05 2012 Bastien Nocera <bnocera@redhat.com> 0.2.2-1
Bastien Nocera e8bdc80
- Update to 0.2.2
Bastien Nocera e8bdc80
Bastien Nocera 71966d7
* Wed Oct 03 2012 Bastien Nocera <bnocera@redhat.com> 0.2.1-1
Bastien Nocera 71966d7
- Update to 0.2.1
Bastien Nocera 71966d7
275bb5c
* Fri Aug 31 2012 Debarshi Ray <rishi@fedoraproject.org> 0.2.0-1
275bb5c
- update to 0.2.0
275bb5c
96be8d7
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.19-2
96be8d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
96be8d7
Bastien Nocera a6b12b5
* Fri May 25 2012 Bastien Nocera <bnocera@redhat.com> 0.1.19-1
Bastien Nocera a6b12b5
- Update to 0.1.19
Bastien Nocera a6b12b5
73fa90c
* Fri Mar 16 2012 Adam Williamson <awilliam@redhat.com> - 0.1.18-4
73fa90c
- Rebuild for new tracker again
73fa90c
d75c627
* Tue Feb 28 2012 Matthias Clasen <mclasen@redhat.com> - 0.1.18-3
d75c627
- Rebuild for new tracker
d75c627
f93e9ee
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.18-2
f93e9ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f93e9ee
Bastien Nocera 9a4c2a7
* Mon Dec 12 2011 Bastien Nocera <bnocera@redhat.com> 0.1.18-1
Bastien Nocera 9a4c2a7
- Update to 0.1.18
Bastien Nocera 9a4c2a7
Daniel Drake bcea9e2
* Thu Nov 17 2011 Daniel Drake <dsd@laptop.org> 0.1.17-2
Daniel Drake bcea9e2
- rebuild for libquvi.so.7
Daniel Drake bcea9e2
Bastien Nocera b2f7665
* Mon Oct 17 2011 Bastien Nocera <bnocera@redhat.com> 0.1.17-1
Bastien Nocera b2f7665
- Update to 0.1.17
Bastien Nocera b2f7665
Bastien Nocera 5680228
* Mon Jul 04 2011 Bastien Nocera <bnocera@redhat.com> 0.1.16-1
Bastien Nocera 5680228
- Update to 0.1.16
Bastien Nocera 5680228
8cd94e0
* Fri Jun 17 2011 Peter Robinson <pbrobinson@gmail.com> 0.1.15-5
8cd94e0
- rebuild for new gupnp/gssdp
8cd94e0
Bastien Nocera ba6c00c
* Fri May 20 2011 Bastien Nocera <bnocera@redhat.com> 0.1.15-4
Bastien Nocera ba6c00c
- Update with more comments from Kalev Lember <kalev@smartlink.ee>
Bastien Nocera ba6c00c
Bastien Nocera 5338776
* Fri May 20 2011 Bastien Nocera <bnocera@redhat.com> 0.1.15-3
Bastien Nocera 5338776
- Update with comments from Kalev Lember <kalev@smartlink.ee>
Bastien Nocera 5338776
Bastien Nocera 5338776
* Fri May 20 2011 Bastien Nocera <bnocera@redhat.com> 0.1.15-2
Bastien Nocera 5338776
- Fix a few rpmlint warnings
Bastien Nocera 5338776
Bastien Nocera 5338776
* Thu Apr 21 2011 Bastien Nocera <bnocera@redhat.com> 0.1.15-1
Bastien Nocera 5338776
- Fist package, based on upstream work by Juan A.
Bastien Nocera 5338776
  Suarez Romero <jasuarez@igalia.com>
Bastien Nocera 5338776