Blame vdr-scraper2vdr.spec

Martin Gansser 2bb64a
Name:           vdr-scraper2vdr
Martin Gansser 66216d
Version:        0.1.4
Martin Gansser 66216d
Release:        1%{?dist}
Martin Gansser 2bb64a
Summary:        A client plugin which provides scraped metadata from EPGD to other plugins
Martin Gansser 2bb64a
Martin Gansser 2bb64a
Group:          Applications/Multimedia
Martin Gansser 2bb64a
License:        GPL+
Martin Gansser 2bb64a
URL:            http://projects.vdr-developer.org/projects/plg-scraper2vdr
Martin Gansser 66216d
Source0:        http://projects.vdr-developer.org/attachments/download/1794/%{name}-%{version}.tgz
Martin Gansser 2bb64a
Source1:        %{name}.conf
Martin Gansser 2bb64a
Martin Gansser 2bb64a
BuildRequires:  libuuid-devel
Martin Gansser 2bb64a
BuildRequires:  ImageMagick-c++-devel
Martin Gansser 2bb64a
BuildRequires:  mariadb-devel
Martin Gansser 6bd9f6
BuildRequires:  libcurl-devel
Martin Gansser adf76d
BuildRequires:  imlib2-devel
Martin Gansser 2bb64a
BuildRequires:  vdr-devel >= 1.7.34
Martin Gansser 2bb64a
Requires:       vdr(abi)%{?_isa} = %{vdr_apiversion}
Martin Gansser 2bb64a
Martin Gansser 2bb64a
%description 
Martin Gansser 2bb64a
Scraper2vdr acts as client and provides scraped metadata for tvshows and
Martin Gansser 2bb64a
movies from epgd to other plugins via its service interface. The plugin 
Martin Gansser 2bb64a
cares about caching the images locally and also cleans up the images if
Martin Gansser 2bb64a
not longer needed. 
Martin Gansser 2bb64a
Martin Gansser 2bb64a
epgd itself uses the thetvdb.com API for collecting series metadata and
Martin Gansser 2bb64a
themoviedb.org API for movies. Check the websites of both services for
Martin Gansser 2bb64a
the terms of use.
Martin Gansser 2bb64a
Martin Gansser 2bb64a
%prep
Martin Gansser 66216d
%setup -qn scraper2vdr-%{version}
Martin Gansser 2bb64a
iconv -f iso-8859-1 -t utf-8 README > README.utf8 ; mv README.utf8 README
Martin Gansser 66216d
Martin Gansser 66216d
# fedora specific
Martin Gansser 66216d
sed -i -e 's|#include <errmsg.h>|#include <mysql errmsg.h="">|' lib/db.c
Martin Gansser 2bb64a
Martin Gansser 2bb64a
%build
Martin Gansser 66216d
make CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC" %{?_smp_mflags} all
Martin Gansser 2bb64a
Martin Gansser 2bb64a
%install
Martin Gansser 2bb64a
make install DESTDIR=%{buildroot}
Martin Gansser 2bb64a
# fix the perm
Martin Gansser 2bb64a
chmod 0755 %{buildroot}/%{vdr_plugindir}/libvdr-*.so.%{vdr_apiversion}
Martin Gansser 2bb64a
install -Dpm 644 %{SOURCE1} \
Martin Gansser 2bb64a
    %{buildroot}%{_sysconfdir}/sysconfig/vdr-plugins.d/scraper2vdr.conf
Martin Gansser 2bb64a
Martin Gansser 2bb64a
%find_lang %{name}
Martin Gansser 2bb64a
Martin Gansser 2bb64a
%files -f %{name}.lang
Martin Gansser 2bb64a
%doc COPYING HISTORY* README*
Martin Gansser 2bb64a
%{vdr_plugindir}/libvdr-*.so.%{vdr_apiversion}
Martin Gansser 2bb64a
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/scraper2vdr.conf
Martin Gansser 2bb64a
Martin Gansser 2bb64a
%changelog
Martin Gansser 66216d
* Sun Sep 28 2014 Martin Gansser <martinkg@fedoraproject.org> - 0.1.4-1
Martin Gansser 66216d
- Update to 0.1.4
Martin Gansser 66216d
- added perl command to find errmsg.h header file
2b18ff
Martin Gansser 755d7a
* Thu May 15 2014 Martin Gansser <martinkg@fedoraproject.org> - 0.1.3-2.20140515git2bfb7c7
Martin Gansser 755d7a
- rebuild for new git release
Martin Gansser 755d7a
Martin Gansser fbb725
* Wed May 14 2014 Martin Gansser <martinkg@fedoraproject.org> - 0.1.3-1
Martin Gansser fbb725
- Update to 0.1.3
Martin Gansser fbb725
Martin Gansser b07e0f
* Sun May 11 2014 Martin Gansser <martinkg@fedoraproject.org> - 0.1.2-3.20140511git7231362
Martin Gansser 66216d
- rebuild for new git release
Martin Gansser b07e0f
Martin Gansser 0346d0
* Sun May 11 2014 Martin Gansser <martinkg@fedoraproject.org> - 0.1.2-2.20140510gitea862b3
Martin Gansser 0346d0
- added patch to build parallel again
Martin Gansser 0346d0
Martin Gansser 800a3c
* Sat May 10 2014 Martin Gansser <martinkg@fedoraproject.org> - 0.1.2-1.20140510gitea862b3
Martin Gansser 66216d
- rebuild for new git release
Martin Gansser 800a3c
- added Fedora %%optflags for CFLAGS and CXXFLAGS
Martin Gansser 6bd9f6
- Add BR libcurl-devel
Martin Gansser adf76d
- Add BR imlib2-devel
Martin Gansser 800a3c
Martin Gansser 66216d
* Fri May 09 2014 Martin Gansser <martinkg@fedoraproject.org> - 0.1.2-1
Martin Gansser 66216d
- Update to 0.1.2
Martin Gansser 66216d
Martin Gansser 2bb64a
* Sat May 03 2014 Martin Gansser <martinkg@fedoraproject.org> - 0.1.1-6.20140428git30008b3
Martin Gansser 2bb64a
- fixed description
Martin Gansser 2bb64a
- replaced RPM_BUILD_ROOT macro through %%{buildroot}
Martin Gansser 2bb64a
Martin Gansser 2bb64a
* Fri May 02 2014 Martin Gansser <martinkg@fedoraproject.org> - 0.1.1-5.20140428git30008b3
Martin Gansser 2bb64a
- Fix patch path
Martin Gansser 2bb64a
- Fix bogus date in %%changelog
Martin Gansser 2bb64a
- Fix comments
Martin Gansser 2bb64a
Martin Gansser 2bb64a
* Thu May 01 2014 Martin Gansser <martinkg@fedoraproject.org> - 0.1.1-4.20140428git30008b3
Martin Gansser 2bb64a
- added permission fix to solve unstripped-binary-or-object warning
Martin Gansser 2bb64a
Martin Gansser 2bb64a
* Mon Apr 28 2014 Martin Gansser <martinkg@fedoraproject.org> - 0.1.1-3.20140428git30008b3
Martin Gansser 2bb64a
- rebuild for new git release 
Martin Gansser 2bb64a
Martin Gansser 2bb64a
* Mon Apr 28 2014 Martin Gansser <martinkg@fedoraproject.org> - 0.1.0-2.20140427gitc538d35
Martin Gansser 2bb64a
- added conf file
Martin Gansser 2bb64a
Martin Gansser 2bb64a
* Sun Apr 27 2014 Martin Gansser <martinkg@fedoraproject.org> - 0.1.0-1.20140427gitc538d35
Martin Gansser 2bb64a
- rebuild for initial release