File xvattr.spec of Package xvattr
#
# spec file for package xvattr
#
# Copyright (c) 2013 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: xvattr
Summary: Getting and setting Xv Attributes
License: GPL-2.0+
Group: System/X11/Utilities
Version: 1.3
Release: 0
Url: http://www.dtek.chalmers.se/groups/dvd/
Source: %name-%version.tar.bz2
Patch: xvattr-nogtk.patch
Patch1: %name-optflags.patch
Patch2: xvattr-fix-pod-syntax.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: xorg-x11
BuildRequires: xorg-x11-devel
%description
This program is used for getting and setting X11 Xv attributes such as
XV_BRIGHTNESS, XV_CONTRAST, XV_SATURATION, XV_HUE, XV_COLORKEY, etc.
You must have a version of X11 with the XVideo extension and a graphic
card that has Xv graphics acceleration. to work with this program .
%prep
%setup -q
%patch
%patch1
%patch2 -p1
%build
./configure --prefix=%_prefix --mandir=%_mandir \
--disable-gtktest
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/*
%{_mandir}/man?/*
%changelog