Blob Blame Raw
Name:           vdr-tvguide
Version:        1.2.14
Release:        1%{?dist}
Summary:        TvGuide is a highly customizable 2D EPG viewer plugin
License:        GPLv2+
URL:            http://projects.vdr-developer.org/projects/plg-tvguide
Source0:        https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git/snapshot/vdr-plugin-tvguide-%{version}.tar.bz2
# Configuration files for plugin parameters. These are Fedora specific and not in upstream.
Source1:        %{name}.conf
BuildRequires:  gcc
BuildRequires:  gcc-c++
BuildRequires:  GraphicsMagick-c++-devel
BuildRequires:  vdr-devel >= 2.0.0
Requires:       vdr(abi)%{?_isa} = %{vdr_apiversion}

%description 
VDR plugin: tvguide - %{summary}

%prep
%autosetup -p1 -n vdr-plugin-tvguide-%{version}
iconv -f iso-8859-1 -t utf-8 README > README.utf8 ; mv README.utf8 README

%build
make CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC" IMAGELIB=graphicsmagick %{?_smp_mflags} all

%install
# make install would install the themes under /etc, let's not use that
make install-lib install-i18n install-icons DESTDIR=%{buildroot}
# install the themes to the custom location used in Fedora
install -dm 755 %{buildroot}%{vdr_vardir}/themes
install -pm 644 themes/*.theme %{buildroot}%{vdr_vardir}/themes/

# tvguide.conf
install -Dpm 644 %{SOURCE1} \
    %{buildroot}%{_sysconfdir}/sysconfig/vdr-plugins.d/tvguide.conf

%find_lang %{name}

%files -f %{name}.lang
%doc COPYING HISTORY* README*
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/tvguide.conf
%{vdr_plugindir}/libvdr-*.so.%{vdr_apiversion}
%{vdr_vardir}/themes/tvguide-*.theme
%{vdr_resdir}/plugins/tvguide/

%changelog
* Sun Oct 20 2019 Martin Gansser <martinkg@fedoraproject.org> - 1.2.14-1
- Update to 1.2.14

* Tue Oct 15 2019 Martin Gansser <martinkg@fedoraproject.org> - 1.2.13-1
- Update to 1.2.13

* Mon Oct 14 2019 Martin Gansser <martinkg@fedoraproject.org> - 1.2.12-1
- Update to 1.2.12

* Wed Sep 11 2019 Martin Gansser <martinkg@fedoraproject.org> - 1.2.11-1
- Update to 1.2.11
- Use Graphicsmagick again, fixed segfault with graphicsmagick > 1.3.31

* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Mon Jul 22 2019 Martin Gansser <martinkg@fedoraproject.org> - 1.2.10-1
- Update to 1.2.10

* Fri Jul 05 2019 Martin Gansser <martinkg@fedoraproject.org> - 1.2.9-1
- Update to 1.2.9

* Tue Jul 02 2019 Martin Gansser <martinkg@fedoraproject.org> - 1.2.8-2
- Use Imagemagick due segfault with Graphicsmagick

* Sat Jun 22 2019 Martin Gansser <martinkg@fedoraproject.org> - 1.2.8-1
- Update to 1.2.8
- Spec file cleanup

* Tue Jun 18 2019 Martin Gansser <martinkg@fedoraproject.org> - 1.2.2-18
- Rebuilt for new VDR API version

* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Sat Jul 21 2018 Martin Gansser <martinkg@fedoraproject.org> - 1.2.2-16
- Fix FTBFS due missing BR gcc (RHBZ#1606892)
- Add vdr-2.3.1-tvguide.diff
- Add vdr-2.3.5-tvguide.diff
- Add vdr-2.3.7-tvguide.diff

* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Sun Oct 04 2015 Rex Dieter <rdieter@fedoraproject.org> 1.2.2-9
- rebuild(GraphicsMagick)

* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.2.2-7
- Rebuilt for GCC 5 C++11 ABI change

* Mon Apr 06 2015 Ville Skyttä <ville.skytta@iki.fi> - 1.2.2-6
- Rebuild (vdr)

* Mon Mar 09 2015 Rex Dieter <rdieter@fedoraproject.org> 1.2.2-5
- rebuild (GraphicsMagick)

* Thu Feb 19 2015 Ville Skyttä <ville.skytta@iki.fi> - 1.2.2-4
- Rebuild

* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sun May 11 2014 Martin Gansser <martinkg@fedoraproject.org> - 1.2.2-1
- Update to 1.2.2

* Thu Apr 24 2014 Ville Skyttä <ville.skytta@iki.fi> - 1.2.1-3
- Rebuild

* Sun Mar 23 2014 Ville Skyttä <ville.skytta@iki.fi> - 1.2.1-2
- Rebuild

* Sat Feb 08 2014 Martin Gansser <martinkg@fedoraproject.org> - 1.2.1-1
- Update to 1.2.1

* Mon Feb 03 2014 Martin Gansser <martinkg@fedoraproject.org> - 1.2.0-2
- removed BuildRequires on freetype-devel

* Sat Feb 01 2014 Martin Gansser <martinkg@fedoraproject.org> - 1.2.0-1
- rebuild for new release
- replaced ImageMagick as requirement due big dependencies through GraphicsMagick

* Wed Jan 29 2014 Martin Gansser <martinkg@fedoraproject.org> - 1.0.0-11
- reverted back to stable branch
- added ImageMagick-c++-devel package
- spec file cleanup

* Mon Jan 27 2014 Martin Gansser <martinkg@fedoraproject.org> - 1.0.0-10.20140126git5eabb6e
- rebuild for new git release
- added correct license tag
- removed data subpackage
- removed ImageMagick-c++-devel package
- added GraphicsMagick-c++-devel package
- added CXXFLAGS and -fPIC build flag

* Wed Jan 22 2014 Martin Gansser <martinkg@fedoraproject.org> - 1.0.0-9.20140122git0d3d2ef
- rebuild for new git release
- removed GraphicsMagick patch

* Wed Jan 22 2014 Martin Gansser <martinkg@fedoraproject.org> - 1.0.0-8.20140117git662a17d
- replaced ImageMagick as requirement due big dependencies through GraphicsMagick
- added Patch to compile with GraphicsMagick
- replaced RPM_BUILD_ROOT macro through %%{buildroot}

* Sun Jan 19 2014 Martin Gansser <martinkg@fedoraproject.org> - 1.0.0-7.20140119gita65fca4
- rebuild for new git release
- added vdr-tvguide-data as requirement
- corrected tarball download instructions

* Wed Jan 15 2014 Martin Gansser <martinkg@fedoraproject.org> - 1.0.0-6.20140114gitd0651a4
- installed themes and themeconfigs to the custom location used in Fedora
- added gitdate for fedora naming schema
- added tarball download instructions

* Tue Jan 14 2014 Martin Gansser <martinkg@fedoraproject.org> - 1.0.0-5.a8b7c95
- rebuild for new git release

* Sun Jan 12 2014 Martin Gansser <martinkg@fedoraproject.org> - 1.0.0-4.d0651a4
- rebuild for new git release

* Sat Jan 11 2014 Martin Gansser <martinkg@fedoraproject.org> - 1.0.0-3.3121910
- rebuild for new git release
- added themes and themeconfigs file
- added compiler flags in build section
- removed additional localization install section
- corrected path to README in skinnopacity.conf
- added icons directory to noarch sub-package

* Sat Jan 11 2014 Martin Gansser <martinkg@fedoraproject.org> - 1.0.0-2.15dbae6
- rebuild for new git release

* Sun Sep 15 2013 Martin Gansser <martinkg@fedoraproject.org> - 1.0.0-1
- rebuild for new release

* Fri Jul 12 2013 Martin Gansser <martinkg@fedoraproject.org> - 0.0.6-1
- rebuild for new release

* Sun Jun 02 2013 Martin Gansser <martinkg@fedoraproject.org> - 0.0.5-1
- rebuild for new release

* Fri May 24 2013 Martin Gansser <martinkg@fedoraproject.org> - 0.0.4-1
- rebuild for new git version

* Sun Mar 31 2013 Martin Gansser <martinkg@fedoraproject.org> - 0.0.2-1
- rebuild.