File tvtime.spec of Package tvtime
#
# spec file for package tvtime
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, 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/
#
Name: tvtime
Version: 1.0.8
Release: 0
Summary: High Quality Television Application
License: GPL-2.0+
Group: Hardware/TV
Url: http://www.linuxtv.org/
Source: http://www.linuxtv.org/downloads/tvtime/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: libpng-devel
#BuildRequires: libtool
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xtst)
BuildRequires: pkgconfig(xv)
BuildRequires: pkgconfig(xxf86vm)
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%lang_package
%description
tvtime is a high quality television application for use with video
capture cards. tvtime processes the input from a capture card and
displays it on a computer monitor or projector. Unlike other
television applications, tvtime focuses on high visual quality.
tvtime supports: * Deinterlaced output at a full interlaced rate of
59.94 frames per second for NTSC source or 50 frames per second
for PAL sources. This gives smoothness of motion and high visual
quality.
* Multiple deinterlacing algorithms for finding the optimal mode for
your video content and available processor speed.
* 16:9 aspect ratio mode for the highest available resolution when
processing input from an external DVD player or digital satellite
receiver.
* A super-slick on-screen display for the complete television
experience, with a feature-rich menu system.
* 2-3 Pulldown detection for optimal quality viewing of film content
from NTSC sources.
You can find more information at http://tvtime.net/.
%prep
%setup -q
%build
#autoreconf -i -f
%ifarch %ix86
RPM_OPT_FLAGS="%{optflags} -mmmx"
export CXXFLAGS="-mmmx"
%endif
export CFLAGS="%{optflags}"
%configure --with-pic
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%suse_update_desktop_file -i tvtime AudioVideo TV
%find_lang %{name}
%files
%defattr(-, root, root)
%doc NEWS AUTHORS COPYING ChangeLog README docs/html
%doc data/COPYING*
%{_bindir}/*
%dir %{_sysconfdir}/tvtime
%config(noreplace) %{_sysconfdir}/tvtime/*
%{_datadir}/tvtime
%{_datadir}/applications/tvtime.desktop
%{_datadir}/icons/hicolor/
%{_datadir}/pixmaps/tvtime.*
%{_mandir}/*/*
%files lang -f %{name}.lang
%defattr(-, root, root)
%changelog