tvtime/tvtime.spec

Name: tvtime
Summary: High quality TV viewer
Version: 1.0.2
Release: 2
License: GPL
Group: Applications/Multimedia
URL: http://tvtime.sourceforge.net/
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 making it ideal for videophiles.

CentOS 7 x86_64

The build could not start because the following file is missing: tvtime-1.0.2.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: tvtime-1.0.2.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Billy Biggs <vektor$dumbterm,net>

%{?el4:%define _without_modxorg 1}

%{?el3:%define _without_modxorg 1}

%{?el2:%define _without_modxorg 1}
%{?el2:%define _without_freedesktop 1}

%define desktop_vendor rpmforge

Summary: High quality TV viewer
Name: tvtime
Version: 1.0.2
Release: 2%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://tvtime.sourceforge.net/

Source0: http://dl.sf.net/tvtime/tvtime-%{version}.tar.gz
Patch0: tvtime-1.0.2-glibc-2.10.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

ExcludeArch: sparc sparc64

BuildRequires: freetype-devel >= 2.0
BuildRequires: gcc-c++
BuildRequires: libpng-devel
BuildRequires: libxml2-devel
BuildRequires: SDL-devel
BuildRequires: zlib-devel
#BuildRequires: libstdc++-devel
%{!?_without_modxorg:BuildRequires: libX11-devel}
%{?_without_modxorg:BuildRequires: XFree86-devel}
%{!?_without_freedesktop:BuildRequires: desktop-file-utils}

%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 making it ideal for
videophiles.

%prep
%setup
%patch0 -p1
%{__perl} -pi -e "s|#include <linux/compiler.h>||g;" src/videodev2.h
%{__perl} -pi -e "s|DScalerFilterGreedyH::||g;" plugins/greedyh.asm
%{__perl} -pi -e "s|DScalerFilterTomsMoComp::||g;" plugins/tomsmocomp/TomsMoCompAll2.inc
%{__perl} -pi -e "s|DScalerFilterTomsMoComp::||g;" plugins/tomsmocomp.*

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"
%find_lang %{name}

%if %{!?_without_freedesktop:1}0
    desktop-file-install --vendor %{desktop_vendor}    \
        --delete-original                          \
        --add-category X-Red-Hat-Base              \
        --dir %{buildroot}%{_datadir}/applications \
        %{buildroot}%{_datadir}/applications/net-tvtime.desktop
%endif

%clean
%{__rm} -rf %{buildroot}

%files -f %{name}.lang
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING data/COPYING* docs/html/ NEWS README*
%doc %{_mandir}/man?/*
%doc %{_mandir}/de/man?/*
%doc %{_mandir}/es/man?/*
%config(noreplace) %{_sysconfdir}/tvtime/
%{_bindir}/tvtime-command
%{_bindir}/tvtime-configure
%{_bindir}/tvtime-scanner
%{_datadir}/applications/%{desktop_vendor}-net-tvtime.desktop
%{_datadir}/icons/hicolor/*/apps/tvtime.png
%{_datadir}/pixmaps/*
%{_datadir}/tvtime/

%defattr(4775, root, root, 0755)
%{_bindir}/tvtime

%changelog
* Tue Aug  4 2007 Dries Verachtert <dries@ulyssis.org> - 1.0.2-2
- Fix: removed the linux/compiler.h include, thanks to Tony.

* Thu Nov 10 2005 Dries Verachtert <dries$ulyssis,org> - 1.0.2-1
- Updated to release 1.0.2.

* Thu Sep 08 2005 Dag Wieers <dag@wieers.com> - 1.0.1-1
- Updated to release 1.0.1.

* Sat Apr 30 2005 Dag Wieers <dag@wieers.com> - 0.99-1
- Updated to release 0.99.

* Sun Oct 31 2004 Dag Wieers <dag@wieers.com> - 0.9.15-1
- Updated to release 0.9.15.

* Mon Sep 27 2004 Dag Wieers <dag@wieers.com> - 0.9.13-1
- Updated to release 0.9.13.

* Thu Jul 08 2004 Dag Wieers <dag@wieers.com> - 0.9.12-1
- Cosmetic changes.

* Sat Nov 22 2003 Dag Wieers <dag@wieers.com> - 0.9.12-0
- Updated to release 0.9.12.

* Thu Nov 13 2003 Dag Wieers <dag@wieers.com> - 0.9.11-0
- Updated to release 0.9.11.

* Sun Sep 14 2003 Dag Wieers <dag@wieers.com> - 0.9.10-1
- Updated to release 0.9.10.

* Wed Sep 03 2003 Dag Wieers <dag@wieers.com> - 0.9.9-0
- Updated to release 0.9.9.

* Sat Jun 21 2003 Dag Wieers <dag@wieers.com> - 0.9.8.5-0
- Initial package. (using DAR)