Name: gettext-lint
Summary: Gettext linting tools.
Version: @VERSION@
Release: 1
Vendor: Pedro Morais
License: GPL
URL: http://gettext-lint.sourceforge.net/
Source: http://dl.sourceforge.net/gettext-lint/gettext-lint-%version.tar.gz
Group: Development/Tools
Packager: Pedro Morais <morais@kde.org>
Requires: python >= 2.0 gettext
BuildArchitectures: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
The gettext lint tools are a collection of tools for checking the validity,
consistency and spelling of PO and POT files.
An experimental glossary building tool is also included.

%prep
%setup -q

%build
%configure
%{__make} %{?_smp_mflags}

%install
%makeinstall

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/POFileChecker
%{_bindir}/POFileConsistency
%{_bindir}/POFileEquiv
%{_bindir}/POFileFill
%{_bindir}/POFileSpell
%{_bindir}/POFileStatus
%{_bindir}/POFileClean
%{_bindir}/POFileGlossary
%{_mandir}/man1/POFileChecker.1*
%{_mandir}/man1/POFileConsistency.1*
%{_mandir}/man1/POFileEquiv.1*
%{_mandir}/man1/POFileFill.1*
%{_mandir}/man1/POFileSpell.1*
%{_mandir}/man1/POFileStatus.1*
%{_mandir}/man1/POFileClean.1*
%{_mandir}/man1/POFileGlossary.1*
%{_datadir}/%{name}
%doc COPYING README NEWS AUTHORS