File touchcal.spec of Package touchcal

#
# spec file for package touchcal (Version 0.31)
#
# 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:           touchcal
Summary:        Touchscreen (EloGraphics and MicroTouch) calibration utility
Version:        0.31
Release:        2
Url:            http://touchcal.sourceforge.net
License:        GPL v2 or later
Group:          System/X11/Utilities
AutoReqProv:    on
Requires:       ncurses
BuildRequires:  ncurses-devel
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
A tool to calibrate Touch Screens (namely ones with serial controller
manufactured by EloGraphics and MicroTouch) for use with X.



Authors:
--------
    Christoph Baumann <cgb@debian.org>
    Daniel Drake <ddrake@brontes3d.com>

%prep
%setup

%build
%configure

%install
%makeinstall
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/doc/packages/touchcal
install -m 644 {README,AUTHORS,ChangeLog,COPYING,NEWS} $RPM_BUILD_ROOT/%{_datadir}/doc/packages/touchcal

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%dir %{_datadir}/doc/packages/touchcal
%{_bindir}/*
%{_datadir}/doc/packages/touchcal/*

%changelog
* Mon Dec 08 2008 dkukawka@suse.de
- initial package
openSUSE Build Service is sponsored by