LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File tivodecode.spec of Package tivodecode (Project multimedia:apps)

#
# Copyright 2012 Archie L. Cobbs.
# 
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
# 
#     http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
# 

%define basevers    0.2pre4

Name:           tivodecode
Version:        0.3pre4
Release:        1
License:        BSD-3-Clause
Summary:        TiVo File Decoder
Group:          Productivity/Multimedia/Video/Editors and Convertors
Source0:        https://downloads.sourceforge.net/project/${name}/${name}/%{basevers}/%{name}-%{basevers}.tar.gz
# PATCH-FEATURE-UPSTREAM transport-stream.patch
Patch1:         transport-stream.patch
URL:            http://tivodecode.sourceforge.net/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This software converts a .TiVo file (produced by the TiVoToGo functionality
on recent TiVo software releases) to a normal MPEG file. This has the same
functionality as using TiVo's supplied DirectShow DLL on Windows with a
tool such as DirectShowDump, but is portable to different architectures and
operating systems, and runs on the command line using files or pipes. The
conversion still requires the valid MAK of the TiVo which recorded the file,
so it cannot be used to circumvent their protection, simply to provide the
same level of access as is already available on Windows.

This version includes the MPEG2 Transport Stream supported patch from the
kmttg project (see http://code.google.com/p/kmttg), and so is equivalent
to the unofficial "0.3pre4" version supplied by that project.

%prep
%setup -q -n %{name}-%{basevers}
%patch1 -p1

%build
%configure
make %{?_smp_mflags}

%install
%make_install

%files
%attr(755,root,root) %{_bindir}/*

%package devel
Summary:        TiVo File Decoder Development Library
Group:          Development/Libraries/C and C++

%description devel
Developer include files and static library associated with the %{name} utility.

%files devel
%attr(644,root,root) %{_libdir}/*
%defattr(644,root,root,755)
%{_includedir}/%{name}

%changelog