File atitvout.spec of Package atitvout

#
# spec file for package atitvout (Version 0.4)
#
# Copyright (c) 2008 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:           atitvout
Url:            http://www.stud.uni-hamburg.de/users/lennart/projects/atitvout/
License:        GPL v2 or later
Group:          Hardware/TV
AutoReqProv:    on
Version:        0.4
Release:        312
Summary:        Tool for Controlling the TV Output of Several ATI Video Boards
Source:         %name-%version.tar.bz2
Patch:          atitvout.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  %ix86

%description
This tool enables you to control the video output of ATI Rage Mobility
P/M/M3/M4, Rage 128, and Radeon-based video hardware. You can switch
the LCD, external VGA, and TV outputs on and off and change the video
norm on the TV output.



Authors:
--------
    Lennart Poettering <mz617469@poettering.de>

%prep
%setup -n atitvout
%patch

%build
make
make README

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/sbin
install -m 755 atitvout $RPM_BUILD_ROOT/usr/sbin

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc README HARDWARE COPYING
/usr/sbin/atitvout

%changelog
* Tue Sep 09 2008 ro@suse.de
- fix build with 2.6.27
* Wed Aug 13 2008 ro@suse.de
- add exclusivearch
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jul 04 2005 sndirsch@suse.de
- use RPM_OPT_FLAGS everywhere
* Fri May 13 2005 sndirsch@suse.de
- use norootforbuild
* Mon Mar 29 2004 sndirsch@suse.de
- fixed permissions (Bug #37391)
* Wed Jul 23 2003 coolo@suse.de
- use BuildRoot
* Mon Sep 16 2002 uli@suse.de
- initial package (x86 only)