File dvbtune.spec of Package dvbtune
#
# spec file for package dvbtune (Version 0.5)
#
# Copyright (c) 2009 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/
#
# norootforbuild
Name: dvbtune
BuildRequires: dvb libxml2-devel
Url: http://www.linuxstb.org/dvbtune/index.shtml
License: GPL-2.0+
Group: Hardware/TV
#Requires: xforms
AutoReqProv: on
Version: 0.5
Release: 145
Summary: Tuning Application for DVB Cards
Source: %name-cvs.tar.bz2
Patch: %name-use-rpmopts
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
DVBtune is a tuning application for DVB cards supported by the Linux
DVB driver.
The package includes two applications--dvbtune for command line tuning
of DVB cards and xml2vdr for converting dumped service information into
VDR's channels.conf format.
dvbtune has the option to dump the metadata from a DVB
transponder/multiplex into an XML file. This XML file is hopefully
self-explanatory and should be read in conjunction with the DVB-SI
standard (EN 300 468) available from www.etsi.org.
xml2vdr can convert this XML file into a "channels.conf" file suitable
for use with the VDR application.
Authors:
--------
David Chapman <dave@dchapman.com>
%prep
%setup -n dvbtune-cvs
rm -rf scripts/CVS
%patch -p1
%build
# This package failed when testing with -Wl,-as-needed being default.
# So we disable it here, if you want to retest, just delete this comment and the line below.
export SUSE_ASNEEDED=0
make
make xml2vdr
%install
bins="dvbtune xml2vdr"
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -m 755 $bins $RPM_BUILD_ROOT/usr/bin
%files
%defattr(-,root,root)
%doc README scripts
/usr/bin/dvbtune
/usr/bin/xml2vdr
%changelog
* Fri Jun 19 2009 coolo@novell.com
- disable as-needed for this package as it fails to build with it
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Jan 21 2006 schwab@suse.de
- Don't strip binaries.
* Mon Nov 14 2005 duwe@suse.de
- update to current CVS, version 0.5
* Wed Oct 05 2005 dmueller@suse.de
- add norootforbuild
* Fri May 16 2003 coolo@suse.de
- use BuildRoot
* Mon Jan 13 2003 ro@suse.de
- update to cvs version to compile with current driver
* Wed May 29 2002 uli@suse.de
- initial package