]> git.pld-linux.org Git - packages/Narval.git/blob - Narval.spec
- removed all Group fields translations (oure rpm now can handle translating
[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 Source1:        horn.desktop
12 Patch0:         %{name}-apps_dir.patch
13 URL:            http://www.logilab.org/narval/index.html
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
22 %description
23 NARVAL is the first software agent available as free software (Gnu
24 Public License).
25
26 Narval is the acronym of "Network Assistant Reasoning with a
27 Validating Agent Language".
28
29 Narval is a framework (language + interpreter + GUI/IDE) dedicated to
30 the setting up of intelligent personal assistants (IPAs). An
31 Intelligent Personal Assitant is a companion that will help you in
32 your daily work in the information world.
33
34 %description -l pl
35 NARVAL to pierwszy programowy agent dostêpny jako Wolne
36 Oprogramowanie.
37
38 Narval to skrót od "Network Assistant Reasoning with a Validating
39 Agent Language".
40
41 Narval to szkielet (jêzyk + interpreter + GUI/IDE) dedykowany
42 tworzeniu inteligentnych osobistych asystentów. Inteligentny osobisty
43 asystent to towarzysz, który pomo¿e ci w codziennej pracy w ¶wiecie
44 informacji.
45
46 %prep
47 %setup -q
48 %patch -p1
49
50 %build
51 CFLAGS="%{rpmcflags}" python setup.py build
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT{%{_datadir}/narval/apps,%{_applnkdir}/Applications}
56 python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
57
58 # these files seem missing after installation, so install them here
59 install share/dtd/* $RPM_BUILD_ROOT%{_datadir}/narval/dtd/
60 install share/transforms/Email/* $RPM_BUILD_ROOT%{_datadir}/narval/transforms/Email/
61
62 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Applications
63
64 gzip -9fn PKG-INFO README doc/ANNOUNCE* doc/CHANGELOG doc/CONTRIBUTORS doc/README.UNIX
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc *.gz doc/*.gz 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.060806 seconds and 3 git commands to generate.