[vdr-scraper2vdr] Initial import (#1093408).

Martin Gansser martinkg at fedoraproject.org
Mon May 5 17:46:41 UTC 2014


commit 2bb64a46c9a9a6c955c35520ecf322fa908a0954
Author: Martin Gansser <mgansser at alice.de>
Date:   Mon May 5 19:46:41 2014 +0200

    Initial import (#1093408).

 .gitignore                     |    1 +
 sources                        |    1 +
 vdr-scraper2vdr-makefile.patch |   14 +++++++
 vdr-scraper2vdr.conf           |    6 +++
 vdr-scraper2vdr.spec           |   76 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 98 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a12fc16 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/vdr-plugin-scraper2vdr-30008b3000e6421e6a54d0dc43a2e952e6a6617d.tar.bz2
diff --git a/sources b/sources
index e69de29..0ef3306 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fdc09ff38b7e86e3879b7294e1c7c988  vdr-plugin-scraper2vdr-30008b3000e6421e6a54d0dc43a2e952e6a6617d.tar.bz2
diff --git a/vdr-scraper2vdr-makefile.patch b/vdr-scraper2vdr-makefile.patch
new file mode 100644
index 0000000..6adeb2e
--- /dev/null
+++ b/vdr-scraper2vdr-makefile.patch
@@ -0,0 +1,14 @@
+diff -Naur vdr-plugin-scraper2vdr-30008b3000e6421e6a54d0dc43a2e952e6a6617d/Makefile vdr-plugin-scraper2vdr-30008b3000e6421e6a54d0dc43a2e952e6a6617d.new/Makefile
+--- vdr-plugin-scraper2vdr-30008b3000e6421e6a54d0dc43a2e952e6a6617d/Makefile	2014-04-28 17:57:52.470953251 +0200
++++ vdr-plugin-scraper2vdr-30008b3000e6421e6a54d0dc43a2e952e6a6617d.new/Makefile	2014-04-28 17:58:25.169992119 +0200
+@@ -35,7 +35,9 @@
+ 
+ -include $(PLGCFG)
+ 
+-LIBS = -lmysqlclient_r -luuid
++LIBS = -luuid
++LIBS += $(shell mysql_config --libs)
++CFLAGS += $(shell mysql_config --include)
+ 
+ ### The name of the distribution archive:
+ 
diff --git a/vdr-scraper2vdr.conf b/vdr-scraper2vdr.conf
new file mode 100644
index 0000000..9efb545
--- /dev/null
+++ b/vdr-scraper2vdr.conf
@@ -0,0 +1,6 @@
+# Configuration snippet for vdr-scraper2vdr               -*- sh -*-
+#
+# Add command line options to pass to the scraper2vdr plugin to PLUGIN_OPTIONS.
+# See /usr/share/doc/vdr-scraper2vdr/README for info about available options.
+
+PLUGIN_OPTIONS=""
diff --git a/vdr-scraper2vdr.spec b/vdr-scraper2vdr.spec
new file mode 100644
index 0000000..3c8b46b
--- /dev/null
+++ b/vdr-scraper2vdr.spec
@@ -0,0 +1,76 @@
+%global commit  30008b3000e6421e6a54d0dc43a2e952e6a6617d
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global gitdate 20140428
+
+Name:           vdr-scraper2vdr
+Version:        0.1.1
+Release:        6.%{gitdate}git%{shortcommit}%{?dist}
+Summary:        A client plugin which provides scraped metadata from EPGD to other plugins
+
+Group:          Applications/Multimedia
+License:        GPL+
+URL:            http://projects.vdr-developer.org/projects/plg-scraper2vdr
+Source0:        http://projects.vdr-developer.org/git/vdr-plugin-scraper2vdr.git/snapshot/vdr-plugin-scraper2vdr-%{commit}.tar.bz2
+Source1:        %{name}.conf
+# patch reported upstream: http://projects.vdr-developer.org/issues/1811
+Patch0:         http://projects.vdr-developer.org/attachments/1690/vdr-scraper2vdr-makefile.patch
+
+BuildRequires:  libuuid-devel
+BuildRequires:  ImageMagick-c++-devel
+BuildRequires:  mariadb-devel
+BuildRequires:  vdr-devel >= 1.7.34
+Requires:       vdr(abi)%{?_isa} = %{vdr_apiversion}
+
+%description 
+Scraper2vdr acts as client and provides scraped metadata for tvshows and
+movies from epgd to other plugins via its service interface. The plugin 
+cares about caching the images locally and also cleans up the images if
+not longer needed. 
+
+epgd itself uses the thetvdb.com API for collecting series metadata and
+themoviedb.org API for movies. Check the websites of both services for
+the terms of use.
+
+%prep
+%setup -qn vdr-plugin-scraper2vdr-%{commit}
+iconv -f iso-8859-1 -t utf-8 README > README.utf8 ; mv README.utf8 README
+%patch0 -p1
+
+%build
+make CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC" %{?_smp_mflags} all
+
+%install
+make install DESTDIR=%{buildroot}
+# fix the perm
+chmod 0755 %{buildroot}/%{vdr_plugindir}/libvdr-*.so.%{vdr_apiversion}
+install -Dpm 644 %{SOURCE1} \
+    %{buildroot}%{_sysconfdir}/sysconfig/vdr-plugins.d/scraper2vdr.conf
+
+%find_lang %{name}
+
+%files -f %{name}.lang
+%doc COPYING HISTORY* README*
+%{vdr_plugindir}/libvdr-*.so.%{vdr_apiversion}
+%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/scraper2vdr.conf
+
+%changelog
+* Sat May 03 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.1.1-6.20140428git30008b3
+- fixed description
+- replaced RPM_BUILD_ROOT macro through %%{buildroot}
+
+* Fri May 02 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.1.1-5.20140428git30008b3
+- Fix patch path
+- Fix bogus date in %%changelog
+- Fix comments
+
+* Thu May 01 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.1.1-4.20140428git30008b3
+- added permission fix to solve unstripped-binary-or-object warning
+
+* Mon Apr 28 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.1.1-3.20140428git30008b3
+- rebuild for new git release 
+
+* Mon Apr 28 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.1.0-2.20140427gitc538d35
+- added conf file
+
+* Sun Apr 27 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.1.0-1.20140427gitc538d35
+- rebuild for initial release


More information about the scm-commits mailing list