File tvtime.spec of Package tvtime
#
# spec file for package tvtime
#
# Copyright (c) 2012 SUSE LINUX Products 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
BuildRequires: SDL-devel
BuildRequires: freetype2-devel
BuildRequires: gcc-c++
BuildRequires: libpng-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: update-desktop-files
BuildRequires: xorg-x11-devel
Version: 1.0.2
Release: 0
Summary: High Quality Television Application
License: GPL-2.0+
Group: Hardware/TV
Url: http://tvtime.net
Source: %{name}-%{version}.tar.bz2
Patch: tvtime-gcc41.patch
Patch1: tvtime-1.0.2-videoinput.patch
Patch2: tvtime.linux-compiler.patch
Patch3: tvtime-glibc.patch
# I haven't sent libpng15.patch upstream, because project from url
# seems to be dead
Patch4: tvtime-libpng15.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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/.
Authors:
--------
Billy Biggs <vektor@dumbterm.net>
Doug Bell <drbell@users.sourceforge.net>
Achim Schneider <batchall@mordor.ch>
Alexandr S. Belov <asbel@sice.ru>
%prep
%setup -q
%patch
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
autoreconf -i -f
%ifarch %ix86
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mmmx"
export CXXFLAGS="-mmmx"
%endif
export CFLAGS="$RPM_OPT_FLAGS"
%configure --with-pic
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file -i net-tvtime AudioVideo TV
%find_lang %{name}
%clean
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-, root, root)
%doc NEWS AUTHORS COPYING INSTALL ChangeLog README docs/html
%doc data/COPYING*
%{_bindir}/*
%dir %{_sysconfdir}/tvtime
%config(noreplace) %{_sysconfdir}/tvtime/*
%{_datadir}/tvtime
%{_datadir}/applications/net-tvtime.desktop
%{_datadir}/icons/hicolor/
%{_datadir}/pixmaps/tvtime.*
%{_mandir}/*/*
%changelog