# version we want build against %global vdr_version 2.6.3 %if 0%{?fedora} >= 40 %global vdr_version 2.6.9 %endif Name: vdr-markad Version: 4.0.2 Release: 2%{?dist} Summary: Advanced commercial detection for VDR License: GPLv2+ URL: https://github.com/kfb77/vdr-plugin-markad Source0: https://github.com/kfb77/vdr-plugin-markad/archive/refs/tags/V%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}.conf BuildRequires: make BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: vdr-devel >= %{vdr_version} BuildRequires: ffmpeg-devel >= 4.1 BuildRequires: doxygen Requires: vdr(abi)%{?_isa} = %{vdr_apiversion} %description VDR-Plugin: markad - %{summary} %package docs Summary: Documentation files for %{name} BuildArch: noarch %description docs The %{name}-doc package contains html documentation that use %{name}. %prep %autosetup -p 1 -n vdr-plugin-markad-%{version} sed -i -e 's|$(DESTDIR)/var/lib/markad|$(DESTDIR)%{vdr_vardir}/markad/|' command/Makefile sed -i -e 's|/LC_MESSAGES/markad.mo|/LC_MESSAGES/vdr-markad.mo|' command/Makefile %build %make_build CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC" all # update docs doxygen -u command/doxygen.conf # build docs doxygen command/doxygen.conf %install %make_install install -dm 755 %{buildroot}%{vdr_plugindir} install -Dpm 644 %{SOURCE1} \ %{buildroot}%{_sysconfdir}/sysconfig/vdr-plugins.d/markad.conf %find_lang %{name} %post # make sure /etc/services has a svdrp entry if ! grep E '\' /etc/services > /dev/null 2>&1 ; then echo "svdrp 6419/tcp # VDR" >> /etc/services fi %files -f %{name}.lang %doc COPYING README HISTORY %config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/markad.conf %{_mandir}/man1/markad.1.* %{_bindir}/markad %{_libdir}/vdr/libvdr-markad.so.%{vdr_apiversion} %{vdr_vardir}/markad/ %files docs %doc html %changelog * Wed Jul 24 2024 Martin Gansser - 4.0.2-2 - Rebuilt for new VDR API version 2.6.9 * Mon Jul 22 2024 Martin Gansser - 4.0.2-1 - Update to 4.0.2 * Mon Jul 15 2024 Martin Gansser - 4.0.1-1 - Update to 4.0.1 * Sun Jul 14 2024 Martin Gansser - 4.0.0-1 - Update to 4.0.0 * Fri Jul 12 2024 Martin Gansser - 3.6.8-2 - Rebuilt for new VDR API version 2.6.8 * Sun Jun 23 2024 Martin Gansser - 3.6.8-1 - Update to 3.6.8 * Sun Jun 16 2024 Martin Gansser - 3.6.7-1 - Update to 3.6.7 * Tue Jun 04 2024 Martin Gansser - 3.6.6-1 - Update to 3.6.6 * Fri May 31 2024 Martin Gansser - 3.6.5-1 - Update to 3.6.5 * Tue May 21 2024 Martin Gansser - 3.6.4-1 - Update to 3.6.4 * Sat May 11 2024 Martin Gansser - 3.6.3-1 - Update to 3.6.3 * Thu May 02 2024 Martin Gansser - 3.6.1-1 - Update to 3.6.1 * Sun Apr 21 2024 Martin Gansser - 3.6.0-1 - Update to 3.6.0 * Tue Apr 16 2024 Martin Gansser - 3.5.3-1 - Update to 3.5.3 - Rebuilt for new VDR API version * Sun Mar 31 2024 Martin Gansser - 3.5.1-1 - Update to 3.5.1 * Sun Mar 24 2024 Martin Gansser - 3.5.0-1 - Update to 3.5.0 * Sat Mar 16 2024 Martin Gansser - 3.4.13-1 - Update to 3.4.13 * Mon Mar 11 2024 Martin Gansser - 3.4.12-1 - Update to 3.4.12 * Sun Mar 10 2024 Martin Gansser - 3.4.11-1 - Update to 3.4.11 * Sat Mar 09 2024 Martin Gansser - 3.4.10-1 - Update to 3.4.10 * Sun Feb 11 2024 Martin Gansser - 3.4.9-1 - Update to 3.4.9 * Sat Feb 10 2024 Martin Gansser - 3.4.8-1 - Update to 3.4.8 * Sun Feb 04 2024 RPM Fusion Release Engineering - 3.4.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 29 2024 Martin Gansser - 3.4.7-1 - Update to 3.4.7 * Fri Jan 26 2024 Martin Gansser - 3.4.6-2 - Rebuilt for new VDR API version * Sun Jan 21 2024 Martin Gansser - 3.4.6-1 - Update to 3.4.6 * Sun Jan 14 2024 Martin Gansser - 3.4.5-1 - Update to 3.4.5 * Mon Jan 08 2024 Martin Gansser - 3.4.4-1 - Update to 3.4.4 - Add BR gettext for rawhide * Sun Dec 24 2023 Martin Gansser - 3.4.2-1 - Update to 3.4.2 * Thu Nov 30 2023 Martin Gansser - 3.4.1-1 - Update to 3.4.1 * Wed Oct 04 2023 Martin Gansser - 3.3.6-1 - Update to 3.3.6 * Thu Aug 24 2023 Martin Gansser - 3.3.5-1 - Update to 3.3.5 * Sun Aug 13 2023 Martin Gansser - 3.3.4-1 - Update to 3.3.4 * Sun Jul 23 2023 Martin Gansser - 3.3.3-1 - Update to 3.3.3 * Mon Jul 10 2023 Martin Gansser - 3.3.2-1 - Update to 3.3.2 * Fri Jul 07 2023 Martin Gansser - 3.3.1-1 - Update to 3.3.1 * Fri Jun 23 2023 Martin Gansser - 3.3.0-1 - Update to 3.3.0 * Sun Jun 18 2023 Martin Gansser - 3.2.9-1 - Update to 3.2.9 * Wed May 31 2023 Martin Gansser - 3.2.8-1 - Update to 3.2.8 * Thu May 18 2023 Martin Gansser - 3.2.7-1 - Update to 3.2.7 * Fri May 05 2023 Martin Gansser - 3.2.6-1 - Update to 3.2.6 * Tue May 02 2023 Martin Gansser - 3.2.5-1 - Update to 3.2.5 * Sun Apr 30 2023 Martin Gansser - 3.2.4-1 - Update to 3.2.4 * Tue Apr 18 2023 Martin Gansser - 3.2.3-1 - Update to 3.2.3 * Fri Mar 24 2023 Martin Gansser - 3.2.1-1 - Update to 3.2.1 * Wed Mar 15 2023 Martin Gansser - 3.2.0-1 - Update to 3.2.0 * Thu Mar 02 2023 Leigh Scott - 3.1.1-2 - Rebuild for new ffmpeg * Mon Jan 09 2023 Martin Gansser - 3.1.1-1 - Update to 3.1.1 * Mon Jan 02 2023 Martin Gansser - 3.1.0-1 - Update to 3.1.0 * Sat Dec 24 2022 Martin Gansser - 3.0.29-1 - Update to 3.0.29 * Sun Dec 18 2022 Martin Gansser - 3.0.28-2 - Rebuilt for new VDR API version * Mon Dec 05 2022 Martin Gansser - 3.0.28-1 - Update to 3.0.28 * Sat Dec 03 2022 Martin Gansser - 3.0.27-2 - Rebuilt for new VDR API version * Tue Nov 08 2022 Martin Gansser - 3.0.27-1 - Update to 3.0.27 * Sat Sep 24 2022 Martin Gansser - 3.0.26-1 - Update to 3.0.26 * Mon Aug 08 2022 RPM Fusion Release Engineering - 3.0.25-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg 5.1 * Sun Jul 31 2022 Martin Gansser - 3.0.25-1 - Update to 3.0.25 * Mon Jun 20 2022 Martin Gansser - 3.0.24-1 - Update to 3.0.24 * Sun Jun 05 2022 Martin Gansser - 3.0.23-1 - Update to 3.0.23 * Tue May 17 2022 Martin Gansser - 3.0.22-2 - Add html docs * Fri May 06 2022 Martin Gansser - 3.0.22-1 - Update to 3.0.22 * Fri Mar 25 2022 Martin Gansser - 3.0.21-1 - Update to 3.0.21 * Mon Mar 07 2022 Martin Gansser - 3.0.20-1 - Update to 3.0.20 * Sat Feb 05 2022 Martin Gansser - 3.0.19-3 - Rebuilt for new VDR API version * Thu Dec 30 2021 Martin Gansser - 3.0.19-2 - Rebuilt for new VDR API version * Fri Dec 24 2021 Martin Gansser - 3.0.19-1 - Update to 3.0.19 * Tue Nov 30 2021 Martin Gansser - 3.0.18-1 - Update to 3.0.18 * Thu Nov 04 2021 Martin Gansser - 3.0.17-1 - Update to 3.0.17 * Fri Oct 22 2021 Martin Gansser - 3.0.16-1 - Update to 3.0.16 * Fri Oct 08 2021 Martin Gansser - 3.0.15-1 - Update to 3.0.15 * Fri Oct 01 2021 Martin Gansser - 3.0.14-1 - Update to 3.0.14 * Thu Sep 23 2021 Martin Gansser - 3.0.13-1 - Update to 3.0.13 * Sat Sep 11 2021 Martin Gansser - 3.0.12-1 - Update to 3.0.12 * Wed Sep 01 2021 Martin Gansser - 3.0.11-1 - Update to 3.0.11 * Tue Aug 17 2021 Martin Gansser - 3.0.10-1 - Update to 3.0.10 * Tue Aug 17 2021 Martin Gansser - 3.0.9-1 - Update to 3.0.9 * Tue Aug 03 2021 RPM Fusion Release Engineering - 3.0.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jul 23 2021 Martin Gansser - 3.0.8-1 - Update to 3.0.8 * Wed Jul 14 2021 Martin Gansser - 3.0.7-1 - Update to 3.0.7 * Wed Jun 30 2021 Martin Gansser - 3.0.6-1 - Update to 3.0.6 * Wed Jun 16 2021 Martin Gansser - 3.0.5-1 - Update to 3.0.5 * Sat Jun 05 2021 Martin Gansser - 3.0.4-1 - Update to 3.0.4 * Sun May 16 2021 Martin Gansser - 3.0.3-1 - Update to 3.0.3 * Sun May 09 2021 Martin Gansser - 3.0.2-1 - Update to 3.0.2 * Wed May 05 2021 Martin Gansser - 3.0.1-1 - Update to 3.0.1 * Mon Apr 26 2021 Martin Gansser - 3.0.0-2 - Rebuilt for new VDR API version * Sat Apr 24 2021 Martin Gansser - 3.0.0-1 - Update to 3.0.0 * Thu Apr 22 2021 Martin Gansser - 2.6.8-1 - Update to 2.6.8 * Sat Mar 27 2021 Martin Gansser - 2.6.7-1 - Update to 2.6.7 * Sat Mar 13 2021 Martin Gansser - 2.6.6-1 - Update to 2.6.6 * Sat Mar 06 2021 Martin Gansser - 2.6.5-1 - Update to 2.6.5 * Thu Mar 04 2021 Martin Gansser - 2.6.4-1 - Update to 2.6.4 * Fri Feb 26 2021 Martin Gansser - 2.6.3-1 - Update to 2.6.3 * Tue Feb 16 2021 Martin Gansser - 2.6.2-1 - Update to 2.6.2 * Thu Feb 04 2021 Martin Gansser - 2.6.0-1 - Update to 2.6.0 * Sat Jan 30 2021 Martin Gansser - 2.5.6-1 - Update to 2.5.6 * Mon Jan 18 2021 Martin Gansser - 2.5.3-1 - Update to 2.5.3 * Fri Jan 08 2021 Martin Gansser - 2.5.2-1 - Update to 2.5.2 * Mon Jan 04 2021 Martin Gansser - 2.5.1-2 - Rebuilt for new VDR API version * Fri Jan 01 2021 Martin Gansser - 2.5.1-1 - Update to 2.5.1 * Thu Dec 24 2020 Martin Gansser - 2.5.0-1 - Update to 2.5.0 * Sat Dec 19 2020 Martin Gansser - 2.4.4-1 - Update to 2.4.4 * Fri Dec 04 2020 Martin Gansser - 2.4.3-1 - Update to 2.4.3 * Wed Oct 21 2020 Martin Gansser - 2.4.2-1 - Update to 2.4.2 - Rebuilt for new VDR API version * Thu Sep 17 2020 Martin Gansser - 2.4.0-1 - Update to 2.4.0 * Sun Aug 30 2020 Martin Gansser - 2.3.6-1 - Update to 2.3.6 * Fri Aug 28 2020 Martin Gansser - 2.3.4-3 - Rebuilt for new VDR API version * Tue Aug 18 2020 RPM Fusion Release Engineering - 2.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 22 2020 Martin Gansser - 2.3.4-1 - Update to 2.3.4 * Tue Jul 14 2020 Martin Gansser - 2.3.3-1 - Update to 2.3.3 * Mon May 25 2020 Martin Gansser - 2.1.0-1 - Update to 2.1.0 * Sat May 16 2020 Martin Gansser - 2.0.4-1 - Update to 2.0.4 * Sun May 03 2020 Martin Gansser - 2.0.3-1 - Switched URL to https://github.com/kfb77/vdr-plugin-markad - Update to 2.0.3 - Dropped 03-markad-decoder-V1-00.diff * Fri Mar 13 2020 Martin Gansser - 0.1.4-33.20170313gitea2e182 - Replace 03-markad-decoder-V0-59.diff by 03-markad-decoder-V0-59.diff - Dropped 00-markad-libavcodec58-V0-02.diff - Dropped 01-markad-Makefile-V0-06.diff - Dropped 02-markad-deprecated-V0-05.diff * Sat Feb 22 2020 RPM Fusion Release Engineering - 0.1.4-32.20170313gitea2e182 - Rebuild for ffmpeg-4.3 git * Wed Feb 05 2020 RPM Fusion Release Engineering - 0.1.4-31.20170313gitea2e182 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 13 2020 Martin Gansser - 0.1.4-30.20170313gitea2e182 - Replace 00-markad-libavcodec58-V0-01.diff by 00-markad-libavcodec58-V0-02.diff - Replace 02-deprecated-V0-04.diff by 02-markad-deprecated-V0-05.diff - Replace 03-markad-decoder-V0-31.diff by 03-markad-decoder-V0-59.diff * Sun Dec 15 2019 Martin Gansser - 0.1.4-29.20170313gitea2e182 - Replace 03-markad-decoder-V0-31.diff by 03-markad-decoder-V0-50.diff * Thu Dec 05 2019 Martin Gansser - 0.1.4-28.20170313gitea2e182 - Replace 03-markad-decoder-V0-24.diff by 03-markad-decoder-V0-31.diff * Tue Dec 03 2019 Martin Gansser - 0.1.4-27.20170313gitea2e182 - Cleanup spec file * Tue Dec 03 2019 Martin Gansser - 0.1.4-26.20170313gitea2e182 - Dropped vdr-markad-ffmpeg4-fix.patch - Add 00-markad-libavcodec58-V0-01.diff - Add 01-markad-Makefile-V0-06.diff - Add 02-deprecated-V0-04.diff - Add 04-markad-decoder-V0-24.diff * Wed Aug 07 2019 Leigh Scott - 0.1.4-25.20170313gitea2e182 - Rebuild for new ffmpeg version * Mon Jul 01 2019 Martin Gansser - 0.1.4-24.20170313gitea2e182 - Rebuilt for new VDR API version 2.4.1 * Sun Jun 30 2019 Martin Gansser - 0.1.4-23.20170313gitea2e182 - Rebuilt for new VDR API version * Tue Jun 18 2019 Martin Gansser - 0.1.4-22.20170313gitea2e182 - Rebuilt for new VDR API version * Mon Mar 04 2019 RPM Fusion Release Engineering - 0.1.4-21.20170313gitea2e182 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Dec 27 2018 Martin Gansser - 0.1.4-20.20170313gitea2e182 - Add vdr-markad-ffmpeg4-fix.patch - Spec file cleanup * Thu Oct 11 2018 Martin Gansser - 0.1.4-19.20170313gitea2e182 - Add BR gcc-c++ * Sun Aug 19 2018 Leigh Scott - 0.1.4-18.20170313gitea2e182 - Rebuilt for Fedora 29 Mass Rebuild binutils issue * Fri Jul 27 2018 RPM Fusion Release Engineering - 0.1.4-17.20170313gitea2e182 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Feb 26 2018 Leigh Scott - 0.1.4-16.20170313gitea2e182 - Use compat-ffmpeg28 for F28 * Thu Jan 18 2018 Leigh Scott - 0.1.4-15.20170313gitea2e182 - Rebuilt for ffmpeg-3.5 git * Thu Aug 31 2017 RPM Fusion Release Engineering - 0.1.4-14.20170313gitea2e182 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Apr 30 2017 Leigh Scott - 0.1.4-13.20170313gitea2e182 - Rebuild for ffmpeg update * Fri Mar 24 2017 Martin Gansser - 0.1.4-12.20170313gitea2e182 - rebuild for new git version * Mon Sep 26 2016 Martin Gansser - 0.1.4-11.20160925git3681d3a - rebuild for new git version * Sat Jul 30 2016 Julian Sikorski - 0.1.4-10.20151016git74e2a8c - Rebuilt for ffmpeg-3.1.1 * Wed Jun 29 2016 Martin Gansser - 0.1.4-9.20151016git74e2a8c - replaced function avcodec_alloc_frame(); by av_frame_alloc(); due ffmpeg3 version * Sat Oct 17 2015 Martin Gansser - 0.1.4-8.20151016git74e2a8c - rebuild for new git version * Fri Oct 02 2015 Martin Gansser - 0.1.4-7.20150926git5345436 - rebuild for new git version * Mon Oct 20 2014 Sérgio Basto - 0.1.4-6.20140902gitc55f43f - Rebuilt for FFmpeg 2.4.3 * Tue Sep 02 2014 Martin Gansser - 0.1.4-5.20140902gitc55f43f - rebuild for new git version * Fri May 02 2014 Martin Gansser - 0.1.4-4.20140421git3c99d47 - removed %%config(noreplace) flag in %%file section for logo dir - added %%{optflags} macro in build section * Mon Apr 21 2014 Martin Gansser - 0.1.4-3.20140421git3c99d47 - rebuild for new git version * Sun Jan 19 2014 Martin Gansser - 0.1.4-2.20131115git09617a6 - added gitdate for fedora naming schema - added tarball download instructions * Fri Jan 10 2014 Martin Gansser - 0.1.4-1.09617a6 - rebuild for new git version * Tue Sep 25 2012 Martin Gansser - 0.1.4-2 - used macro pname in file section - added manpage patch * Mon Sep 24 2012 Martin Gansser - 0.1.4-1 - rebuild for new release * Tue May 22 2012 Martin Gansser - 0.1.3-8.20120522git - new git release - removed readme patch * Sat May 19 2012 Martin Gansser - 0.1.3-7.20120519git - new git release - added plugin option file - added patch for readme file * Tue May 15 2012 Martin Gansser - 0.1.3-6.20120504git - added correct permissions for vdr_vardir * Sun May 13 2012 Martin Gansser - 0.1.3-5.20120504git - fixed unstripped-binary-or-object messages - fsf-address upstream bug - fixed dependencies * Tue May 08 2012 Martin Gansser - 0.1.3-4.20120504git - solved unstripped-binary-or-object - removed warning deprecated-grep - removed mixed-use-of-spaces-and-tabs - removed unneeded global settings - added path for tv logos * Mon May 07 2012 Martin Gansser - 0.1.3-3.20120504git - added svdrp to /etc/services - removed defattr in file section * Sun May 06 2012 Martin Gansser - 0.1.3-2.20120504git - new git version - changed name of source package * Sun Apr 29 2012 Martin Gansser - 0.1.3-1.20120310git - first build for fc17 * Wed Sep 21 2011 Sebastian Vahl - 0.1.2-1 - initial release