]> git.pld-linux.org Git - packages/Narval.git/blob - Narval.spec
- massive attack: adding Source-md5
[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 Source0:        ftp://ftp.logilab.org/pub/narval/%{name}-%{version}.tar.gz
11 # Source0-md5:  6bf5fb6e2242fafbbf8c7cd65fb89f38
12 Source1:        horn.desktop
13 Patch0:         %{name}-apps_dir.patch
14 URL:            http://www.logilab.org/narval/index.html
15 BuildRequires:  python >= 2.0
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Requires:       python-PyXML
18 Requires:       python-4Suite
19 Requires:       python-xmlrpc
20 Requires:       python-xmltools
21 Requires:       python-pygtk
22
23 %description
24 NARVAL is the first software agent available as free software (Gnu
25 Public License).
26
27 Narval is the acronym of "Network Assistant Reasoning with a
28 Validating Agent Language".
29
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.
34
35 %description -l pl
36 NARVAL to pierwszy programowy agent dostêpny jako Wolne
37 Oprogramowanie.
38
39 Narval to skrót od "Network Assistant Reasoning with a Validating
40 Agent Language".
41
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
45 informacji.
46
47 %prep
48 %setup -q
49 %patch -p1
50
51 %build
52 CFLAGS="%{rpmcflags}" python setup.py build
53
54 %install
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
58
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/
62
63 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Applications
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc PKG-INFO README doc/ANNOUNCE* doc/CHANGELOG doc/CONTRIBUTORS doc/README.UNIX
71 %doc doc/*.xml doc/howtos doc/manuals
72 %attr(755,root,root) %{_bindir}/*
73 %{python_sitepkgsdir}/narval
74 %{_datadir}/narval
75 %{_applnkdir}/Applications/*
76 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
This page took 0.038777 seconds and 3 git commands to generate.