1 %define python_sitepkgsdir %(echo `python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3] + '/site-packages/')"`)
3 Summary: Python XMLTools
7 Source0: ftp://ftp.logilab.org/pub/narval/%{name}-%{version}.tar.gz
9 Patch0: %{name}-apps_dir.patch
12 Group(de): Applikationen
14 BuildRequires: python >= 2.0
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Requires: python-PyXML
17 Requires: python-4Suite
18 Requires: python-xmlrpc
19 Requires: python-xmltools
20 Requires: python-pygtk
21 Url: http://www.logilab.org/narval/index.html
24 NARVAL is the first software agent available as free software (Gnu
27 Narval is the acronym of "Network Assistant Reasoning with a
28 Validating Agent Language".
30 Narval is a framework (language + interpreter + GUI/IDE) dedicated to
31 the setting up of intelligent personal assistants (IPAs). An
32 Intelligent Personal Assitant is a companion that will help you in
33 your daily work in the information world.
36 NARVAL to pierwszy programowy agent dostêpny jako Wolne
39 Narval to skrót od "Network Assistant Reasoning with a Validating
42 Narval to szkielet (jêzyk + interpreter + GUI/IDE) dedykowany
43 tworzeniu inteligentnych osobistych asystentów. Inteligentny osobisty
44 asystent to towarzysz, który pomo¿e ci w codziennej pracy w ¶wiecie
52 CFLAGS="%{rpmcflags}" python setup.py build
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_datadir}/narval/apps,%{_applnkdir}/Applications}
57 python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
59 # these files seem missing after installation, so install them here
60 install share/dtd/* $RPM_BUILD_ROOT%{_datadir}/narval/dtd/
61 install share/transforms/Email/* $RPM_BUILD_ROOT%{_datadir}/narval/transforms/Email/
63 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Applications
65 gzip -9fn PKG-INFO README doc/ANNOUNCE* doc/CHANGELOG doc/CONTRIBUTORS doc/README.UNIX
69 rm -rf $RPM_BUILD_ROOT
72 %defattr(644,root,root,755)
73 %doc *.gz doc/*.gz doc/*.xml doc/howtos doc/manuals
74 %attr(755,root,root) %{_bindir}/*
75 %{python_sitepkgsdir}/narval
77 %{_applnkdir}/Applications/*
78 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*