%define python_sitepkgsdir %(echo `python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3] + '/site-packages/')"`)
Summary: Python XMLTools
+Summary(pl): Narzêdzia XML dla Pythona
Name: Narval
Version: 1.1
Release: 1
+License: GPL
+Group: Applications
Source0: ftp://ftp.logilab.org/pub/narval/%{name}-%{version}.tar.gz
Source1: horn.desktop
Patch0: %{name}-apps_dir.patch
-License: GPL
-Group: Applications
-Group(de): Applikationen
-Group(pl): Aplikacje
+URL: http://www.logilab.org/narval/index.html
BuildRequires: python >= 2.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Requires: python-PyXML
Requires: python-xmlrpc
Requires: python-xmltools
Requires: python-pygtk
-Url: http://www.logilab.org/narval/index.html
%description
NARVAL is the first software agent available as free software (Gnu
install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Applications
-gzip -9fn PKG-INFO README doc/ANNOUNCE* doc/CHANGELOG doc/CONTRIBUTORS doc/README.UNIX
-
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz doc/*.gz doc/*.xml doc/howtos doc/manuals
+%doc PKG-INFO README doc/ANNOUNCE* doc/CHANGELOG doc/CONTRIBUTORS doc/README.UNIX
+%doc doc/*.xml doc/howtos doc/manuals
%attr(755,root,root) %{_bindir}/*
%{python_sitepkgsdir}/narval
%{_datadir}/narval