]> git.pld-linux.org Git - packages/Narval.git/blob - Narval.spec
e59f299fb15c9020bff788a0e46e2695f2120ba4
[packages/Narval.git] / Narval.spec
1 %define python_sitepkgsdir %(echo `python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3] + '/site-packages/')"`)
2
3 Summary:        Python XMLTools
4 Summary(pl):    Narzêdzia XML dla Pythona
5 Name:           Narval
6 Version:        1.1
7 Release:        1
8 License:        GPL
9 Group:          Applications
10 Group(de):      Applikationen
11 Group(pl):      Aplikacje
12 Source0:        ftp://ftp.logilab.org/pub/narval/%{name}-%{version}.tar.gz
13 Source1:        horn.desktop
14 Patch0:         %{name}-apps_dir.patch
15 URL:            http://www.logilab.org/narval/index.html
16 BuildRequires:  python >= 2.0
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Requires:       python-PyXML
19 Requires:       python-4Suite
20 Requires:       python-xmlrpc
21 Requires:       python-xmltools
22 Requires:       python-pygtk
23
24 %description
25 NARVAL is the first software agent available as free software (Gnu
26 Public License).
27
28 Narval is the acronym of "Network Assistant Reasoning with a
29 Validating Agent Language".
30
31 Narval is a framework (language + interpreter + GUI/IDE) dedicated to
32 the setting up of intelligent personal assistants (IPAs). An
33 Intelligent Personal Assitant is a companion that will help you in
34 your daily work in the information world.
35
36 %description -l pl
37 NARVAL to pierwszy programowy agent dostêpny jako Wolne
38 Oprogramowanie.
39
40 Narval to skrót od "Network Assistant Reasoning with a Validating
41 Agent Language".
42
43 Narval to szkielet (jêzyk + interpreter + GUI/IDE) dedykowany
44 tworzeniu inteligentnych osobistych asystentów. Inteligentny osobisty
45 asystent to towarzysz, który pomo¿e ci w codziennej pracy w ¶wiecie
46 informacji.
47
48 %prep
49 %setup -q
50 %patch -p1
51
52 %build
53 CFLAGS="%{rpmcflags}" python setup.py build
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_datadir}/narval/apps,%{_applnkdir}/Applications}
58 python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
59
60 # these files seem missing after installation, so install them here
61 install share/dtd/* $RPM_BUILD_ROOT%{_datadir}/narval/dtd/
62 install share/transforms/Email/* $RPM_BUILD_ROOT%{_datadir}/narval/transforms/Email/
63
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Applications
65
66 gzip -9fn PKG-INFO README doc/ANNOUNCE* doc/CHANGELOG doc/CONTRIBUTORS doc/README.UNIX
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
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
76 %{_datadir}/narval
77 %{_applnkdir}/Applications/*
78 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
This page took 0.061159 seconds and 2 git commands to generate.