]> git.pld-linux.org Git - packages/python-simpleparse.git/commitdiff
- Version 2.0.0-1.
authorMateusz Korniak <matkor@pld-linux.org>
Sun, 27 Apr 2003 15:08:55 +0000 (15:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-simpleparse.spec -> 1.1

python-simpleparse.spec [new file with mode: 0644]

diff --git a/python-simpleparse.spec b/python-simpleparse.spec
new file mode 100644 (file)
index 0000000..a1c9c60
--- /dev/null
@@ -0,0 +1,51 @@
+%include       /usr/lib/rpm/macros.python
+%define        module simpleparse
+%define        cap_name SimpleParse
+
+Summary:       Python package providing a simple parser generator for use with the mxTextTool
+Summary(pl):   Pakiet zawieraj±cy prosty generator parserów dla mxTextTool
+Name:          python-%{module}
+Version:       2.0.0
+Release:       1
+License:       BSD
+Group:         Development/Languages/Python
+#Source0:      http://unc.dl.sourceforge.net/sourceforge/simpleparse/SimpleParse-2.0.0.zip
+Source0:       http://dl.sourceforge.net/sourceforge/%{module}/%{cap_name}-%{version}.zip
+URL:           http://simpleparse.sourceforge.net/
+Requires:      python-mx-TextTools >= 2.1-0b5
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+SimpleParse allows you to generate tagging tables for use with the
+text-tagging engine directly from your EBNF grammar.
+
+%description -l pl
+SimpleParse pozwala na generowanie tabeli taguj±cych do u¿ytku z
+silnikiem taguj±cym tekst bezpo¶rendnio z gramatyk EBNF.
+
+%prep
+%setup -q -n %{cap_name}-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{py_sitedir}
+
+python setup.py install \
+        --root=$RPM_BUILD_ROOT --optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+
+%doc %{module}/doc %{module}/examples
+%dir %{py_sitedir}/%{module}
+%{py_sitedir}/%{module}/*.py[co]
+%dir %{py_sitedir}/%{module}/common
+%{py_sitedir}/%{module}/common/*.py[co]
+%dir %{py_sitedir}/%{module}/xml
+%{py_sitedir}/%{module}/xml/*.py[co]
This page took 0.046827 seconds and 4 git commands to generate.