%global pname epgfixer %global __provides_exclude_from ^%{vdr_plugindir}/ %global commit 354f28b0112ba27f08f6509243b410899f74b6ed %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global gitdate 20180416 # version we want build against %global vdr_version 2.6.1 %if 0%{?fedora} >= 38 %global vdr_version 2.6.3 %endif Name: vdr-%{pname} Version: 0.3.1 Release: 24.%{gitdate}git%{shortcommit}%{?dist} Summary: VDR plugin for doing extra fixing of EPG data License: GPLv2+ URL: https://projects.vdr-developer.org/projects/plg-epgfixer Source0: https://projects.vdr-developer.org/git/vdr-plugin-epgfixer.git/snapshot/vdr-plugin-epgfixer-%{commit}.tar.bz2 Source1: %{name}.conf BuildRequires: make BuildRequires: gcc-c++ BuildRequires: vdr-devel >= %{vdr_version} BuildRequires: pcre-devel Requires: vdr(abi)%{?_isa} = %{vdr_apiversion} %description Epgfixer is a VDR plugin for doing extra fixing of EPG data. Features include modifying EPG data using regular expressions, character set conversions, blacklists, cloning EPG data, removing HTML tags, and editing all settings through setup menu. %prep %autosetup -p1 -n vdr-plugin-%{pname}-%{commit} %build %make_build CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC" \ LIBDIR=. LOCALEDIR=./locale VDRDIR=%{_libdir}/vdr %install install -dm 755 $RPM_BUILD_ROOT%{vdr_configdir}/plugins/%{pname} install -pm 644 epgfixer/{blacklist,charset,epgclone,regexp}.conf \ $RPM_BUILD_ROOT%{vdr_configdir}/plugins/%{pname} install -Dpm 644 %{SOURCE1} \ $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}.conf %make_install %find_lang %{name} %files -f %{name}.lang %license COPYING %doc HISTORY README %config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}.conf %{vdr_plugindir}/libvdr-%{pname}*.so.%{vdr_apiversion} %defattr(-,%{vdr_user},root,-) %config(noreplace) %{vdr_configdir}/plugins/%{pname}/ %defattr(-,root,root,-) %changelog * Wed Dec 14 2022 Martin Gansser - 0.3.1-24.20180416git354f28b - Rebuilt for new VDR API version * Thu Dec 01 2022 Martin Gansser - 0.3.1-23.20180416git354f28b - Rebuilt for new VDR API version * Sat Jul 23 2022 Fedora Release Engineering - 0.3.1-22.20180416git354f28b - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Feb 04 2022 Martin Gansser - 0.3.1-21.20180416git354f28b - Rebuilt for new VDR API version * Sat Jan 22 2022 Fedora Release Engineering - 0.3.1-20.20180416git354f28b - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 30 2021 Martin Gansser - 0.3.1-19.20180416git354f28b - Rebuilt for new VDR API version * Fri Jul 23 2021 Fedora Release Engineering - 0.3.1-18.20180416git354f28b - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Apr 28 2021 Martin Gansser - 0.3.1-17.20180416git354f28b - Rebuilt for new VDR API version * Wed Jan 27 2021 Fedora Release Engineering - 0.3.1-16.20180416git354f28b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 03 2021 Martin Gansser - 0.3.1-15.20180416git354f28b - Rebuilt for new VDR API version * Fri Aug 28 2020 Martin Gansser - 0.3.1-14.20180416git354f28b - Rebuilt for new VDR API version * Wed Jul 29 2020 Fedora Release Engineering - 0.3.1-13.20180416git354f28b - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jan 31 2020 Fedora Release Engineering - 0.3.1-12.20180416git354f28b - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jul 27 2019 Fedora Release Engineering - 0.3.1-11.20180416git354f28b - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jun 19 2019 Martin Gansser - 0.3.1-10.20180416git354f28b - Rebuilt for new VDR API version * Sun Feb 03 2019 Fedora Release Engineering - 0.3.1-9.20180416git354f28b - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.3.1-8.20180416git354f28b - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Apr 26 2018 Martin Gansser - 0.3.1-7.20180416git354f28b - Update to 0.3.1-7.20180416git354f28b - Rebuilt for vdr-2.4.0 * Fri Feb 09 2018 Fedora Release Engineering - 0.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jan 1 2016 Ville Skyttä - 0.3.1-1 - First Fedora build