A new user interface for you! Read more...

File vdr-plugin-epgfixer.spec of Package vdr-plugin-epgfixer

#
# spec file for package vdr-plugin-epgfixer
#
# Copyright (c) 2012 Marcel Witte
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 B1 Systems GmbH, Vohburg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define pluginname epgfixer
%define pluginversion 0.3.1
Name:           vdr-plugin-%{pluginname}
Version:        %{pluginversion}+git20140823
Release:        0
Summary:        Epgfixer is a VDR plugin for doing extra fixing of EPG data
License:        GPL-2.0
Group:          Hardware/TV
Url:            http://projects.vdr-developer.org/projects/plg-epgfixer
Source0:        vdr-%{pluginname}-%{pluginversion}.tar.bz2
Patch0:         git20140823.patch
BuildRequires:  gcc-c++
BuildRequires:  pcre-devel
BuildRequires:  pkg-config
BuildRequires:  vdr-devel
# FIXME: use proper Requires(pre/post/preun/...)
PreReq:         %{vdr_prereq}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Epgfixer is a VDR plugin for doing extra fixing of EPG data.

Features:

- Modifying EPG data using regular expressions. Correctly named back references are placed to the named EPG field.
- Character set conversions for channel using incorrect encoding.
- Both regular expressions and character set conversions can be applied to either all channels or only to selected channels.
- Editing regular expressions and character set conversions through setup menu.
- EPG bug fixes included in VDR individually selectable from setup menu.

%prep
%setup -q -n %{pluginname}-%{pluginversion}
%patch0 -p 1

%build
make %{?_smp_mflags}

%install
make DESTDIR=%{buildroot} install
%{vdr_find_locale}

%files -f vdrlocale.files
%defattr(-,root,root)
%{_libdir}/vdr/*
%attr(-,vdr,root) %dir %{vdr_sysconfdir}/plugins
%attr(-,vdr,root) %dir %{vdr_sysconfdir}/plugins/epgfixer
%attr(-,vdr,root) %config(noreplace) %{vdr_sysconfdir}/plugins/epgfixer/*
%{vdr_dirs}
%doc COPYING HISTORY README

%changelog