File mtx.spec of Package mtx
#
# spec file for package mtx
#
# Copyright (c) 2014 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: mtx
BuildRequires: automake
Summary: A Program for Controlling the Robotic Mechanism in DDS Auto Loaders
License: GPL-2.0+
Group: Hardware/Other
Version: 1.3.12
Release: 0
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-1.3.12-param_h.patch
Patch2: %{name}-1.3.12-autoconf.patch
Patch3: mtx-1.3.11-large-slots.patch
Url: http://mtx.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A program for controlling the robotic mechanism in DDS auto loaders.
Authors:
--------
Leonard N. Zubkoff <lnz@dandelion.com>
%prep
%setup
%patch
%patch2
%patch3
%build
%{?suse_update_config:%{suse_update_config -f}}
autoreconf -f -i
%configure
make
%install
make sbindir=$RPM_BUILD_ROOT/usr/sbin \
mandir=$RPM_BUILD_ROOT/usr/share/man install
%files
%defattr(-,root,root)
%doc README TODO LICENSE CHANGES FAQ mtx.doc
/usr/sbin/*
/usr/share/man/man1/*
%clean
rm -rf $RPM_BUILD_ROOT
%changelog