File ddccontrol-db.spec of Package ddccontrol-db

#
# spec file for package ddccontrol-db (Version 0.4.2.0.svn20091115)
#
# 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:           ddccontrol-db
Version:        0.0.20100211
%define _version git20100211
Release:        0
License:        BSD
Group:          Hardware/Other
Summary:        Display DDC Control Monitor Database
Url:            http://ddccontrol.sourceforge.net/
Source:         %{name}-%{_version}.tar.bz2
# PATCH-FEATURE-UPSTREAM ddccontrol-db-version.patch sbrabec@suse.cz -- Just a version bump.
Patch:          ddccontrol-db-version.patch
BuildRequires:  fdupes
# For autogen.sh:
BuildRequires:  intltool
Supplements:    ddccontrol
Requires:       ddccontrol-db-lang >= %{version}
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Control your monitor by software using the DDC/CI protocol.

Database of known monitors.

Authors:
--------
    Oleg I. Vdovikin <oleg@cs.msu.su>
    Nicolas Boichat <nicolas@boichat.ch>
    Roberto C. Sanchez <roberto@connexer.com>

%lang_package
%prep
%setup -q -n %{name}
%patch -p1

%build
./autogen.sh
%configure
%{__make} %{?jobs:-j%jobs}

%install
make DESTDIR=%buildroot install
%find_lang ddccontrol-db
%fdupes %buildroot%{_datadir}

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%{_datadir}/ddccontrol-db

%files lang -f ddccontrol-db.lang

%changelog
openSUSE Build Service is sponsored by