]> git.pld-linux.org Git - packages/python-simpleparse.git/blob - python-simpleparse.spec
- up to 2.0.1a2
[packages/python-simpleparse.git] / python-simpleparse.spec
1 %include        /usr/lib/rpm/macros.python
2 %define         module simpleparse
3 %define         cap_name SimpleParse
4
5 Summary:        Python package providing a simple parser generator for use with the mxTextTool
6 Summary(pl):    Pakiet zawieraj±cy prosty generator parserów dla mxTextTool
7 Name:           python-%{module}
8 Version:        2.0.1a2
9 Release:        1
10 License:        BSD
11 Group:          Development/Languages/Python
12 Source0:        http://dl.sourceforge.net/%{module}/%{cap_name}-%{version}.zip
13 # Source0-md5:  a270945935ec596ec87d5f5f19e806ad
14 URL:            http://simpleparse.sourceforge.net/
15 Requires:       python-mx-TextTools >= 2.1-0b5
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 SimpleParse allows you to generate tagging tables for use with the
20 text-tagging engine directly from your EBNF grammar.
21
22 %description -l pl
23 SimpleParse pozwala na generowanie tabeli taguj±cych do u¿ytku z
24 silnikiem taguj±cym tekst bezpo¶rendnio z gramatyk EBNF.
25
26 %prep
27 %setup -q -n %{cap_name}-%{version}
28
29 %build
30 python setup.py build
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{py_sitedir}
35
36 python setup.py install \
37         --root=$RPM_BUILD_ROOT --optimize=2
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44
45 %doc %{module}/doc %{module}/examples
46 %dir %{py_sitedir}/%{module}
47 %{py_sitedir}/%{module}/*.py[co]
48 %dir %{py_sitedir}/%{module}/common
49 %{py_sitedir}/%{module}/common/*.py[co]
50 %dir %{py_sitedir}/%{module}/xml
51 %{py_sitedir}/%{module}/xml/*.py[co]
This page took 0.059208 seconds and 3 git commands to generate.