# Copyright 2000-2005 Double Precision, Inc.  See COPYING for
# distribution information.

Summary: sysconftool configuration tool
Name: sysconftool
Version: @VERSION@
Release: 1%{?dist}
License: GPL
Group: Development/Tools
Source: sysconftool-@VERSION@.tar.gz
BuildRoot: /var/tmp/sysconftool-install
BuildArch: noarch
BuildPreReq: automake
ExclusiveArch: noarch

%description
sysconftool is a script that is used by applications to update configuration
files when a new version of the application is installed. sysconftool reads
the new application configuration files, reads any older versions of those
files that are already installed, then replaces the old versions with the
new ones, but preserving any custom changes contained in the old versions.

%prep
%setup
%configure
%build
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%files
%defattr(-, bin, bin)
%{_datadir}/sysconftool
%{_bindir}/*
%{_mandir}/*/*
%(aclocal --print-ac-dir)/*
%doc AUTHORS COPYING ChangeLog NEWS README *.html
%clean
rm -rf $RPM_BUILD_ROOT
