File ddccontrol-db.spec of Package ddccontrol-db

#
# spec file for package ddccontrol-db
#
# Copyright (c) 2016 SUSE LINUX 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:           ddccontrol-db
Url:            http://ddccontrol.sourceforge.net/
Version:        20120905+git130da80
Release:        0
Summary:        Monitor database for ddccontrol
License:        GPL-2.0+
Group:          Hardware/Other
Source0:        %{name}-%{version}.tar.bz2
Source1:        %{name}-rpmlintrc
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExcludeArch:    s390 s390x
BuildRequires:  autoconf automake libtool
BuildRequires:  intltool
BuildRequires:  perl >= 5.8.1, perl-XML-Parser

Recommends:     %{name}-lang = %version


%description
Database of well-known monitors and their DDC/CI controls
used by ddccontrol.


%lang_package


%prep
%setup -q
./autogen.sh


%build
%configure
make %{?_smp_mflags}


%install
make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr
%find_lang %{name}


%files
%defattr(-,root,root)
%dir %{_datadir}/ddccontrol-db
%dir %{_datadir}/ddccontrol-db/monitor
%{_datadir}/ddccontrol-db/monitor/*
%{_datadir}/ddccontrol-db/options.xml
%doc AUTHORS COPYING ChangeLog NEWS README

%files lang -f ddccontrol-db.lang
%defattr(-,root,root)


%changelog
openSUSE Build Service is sponsored by