]> git.pld-linux.org Git - SPECS.git/blob - Narval.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / Narval.spec
1 Summary:        Python XMLTools
2 Summary(pl.UTF-8):      Narzędzia XML dla Pythona
3 Name:           Narval
4 %define         _subname        narval
5 Version:        2.0.2
6 Release:        0.1
7 License:        GPL
8 Group:          Applications
9 Source0:        ftp://ftp.logilab.org/pub/narval/%{_subname}-%{version}.tar.gz
10 # Source0-md5:  b996c2eb0eaf20a0569b311fecabd1e3
11 Source1:        horn.desktop
12 Patch0:         %{name}-apps_dir.patch
13 URL:            http://www.logilab.org/narval/
14 BuildRequires:  rpmbuild(macros) >= 1.710
15 BuildRequires:  python >= 2.0
16 Requires:       python-4Suite
17 Requires:       python-PyXML
18 Requires:       python-modules
19 Requires:       python-pygtk-gtk
20 Requires:       python-xmltools
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.UTF-8
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 -n %{_subname}-%{version}
49 #/%patch -p1
50
51 %build
52 CFLAGS="%{rpmcflags}" %py_build
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_datadir}/narval/apps,%{_desktopdir},%{py_sitedir}/narval/}
57
58 %py_install \
59         --record=INSTALLED_FILES
60
61 # these files seem missing after installation, so install them here
62 cp -r   share/data/* $RPM_BUILD_ROOT%{_datadir}/narval/data/
63 install share/dtd/* $RPM_BUILD_ROOT%{_datadir}/narval/dtd/
64 install share/recipes/* $RPM_BUILD_ROOT%{_datadir}/narval/recipes/
65 cp -r   share/tests/* $RPM_BUILD_ROOT%{_datadir}/narval/tests
66
67 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
68
69 # move files to proper directories
70 cp -r $RPM_BUILD_ROOT%{_datadir}/python2.4/ $RPM_BUILD_ROOT%{_libdir}
71 cp -r $RPM_BUILD_ROOT/usr/etc/ $RPM_BUILD_ROOT
72 rm -frd $RPM_BUILD_ROOT/usr/etc/ $RPM_BUILD_ROOT%{_datadir}/python2.4/
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %doc DEPENDS RECOMMENDS PKG-INFO README SUGGESTS
80 %doc doc/*.xml doc/technical_manual/*.xml doc/programmer_handbook/*.xml
81 %doc doc/*.pdf doc/technical_manual/*.pdf doc/programmer_handbook/*.pdf
82 %attr(755,root,root) %{_bindir}/*
83 #%{python_sitepkgsdir}/narval
84 %dir %{py_sitedir}/narval
85 %{py_sitedir}/narval/*
86 %{_datadir}/narval
87 %{_desktopdir}/*.desktop
88 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
This page took 0.063093 seconds and 3 git commands to generate.