]> git.pld-linux.org Git - packages/python-pyRXP.git/commitdiff
- initial release, NFY but works
authordeejay1 <deejay1@pld-linux.org>
Sun, 22 Jun 2003 09:34:32 +0000 (09:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-pyRXP.spec -> 1.1

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

diff --git a/python-pyRXP.spec b/python-pyRXP.spec
new file mode 100644 (file)
index 0000000..49da178
--- /dev/null
@@ -0,0 +1,48 @@
+# ToDo:
+# - descriptions
+%include       /usr/lib/rpm/macros.python
+
+%define module pyRXP
+
+Summary:       A Python wrapper for the RXP parser 
+Summary(pl):   Wrapper na parser XML RXP
+Name:          python-%{module}
+Version:       0.9
+Release:       0.4
+License:       GPL v2
+Group:         Libraries/Python
+Source0:       http://www.reportlab.com/ftp/%{module}-0-9.tgz
+# Source0-md5: 7d69870d3884f9e40f111a62525e0d77
+URL:           http://www.reportlab.com/xml/pyrxp.html
+BuildRequires: rpm-pythonprov
+BuildRequires: python >= 2.2.1
+%pyrequires_eq python-modules
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+pyRXP is a python wrapper for RXP, a validating namespace-aware
+XML parser in C.
+
+%prep
+%setup -q -c %{module}-%{version}
+
+%build
+CFLAGS="%{rpmcflags}"
+export CLFAGS
+python setup.py build 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+       --root=$RPM_BUILD_ROOT --optimize=2
+
+find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm {} \;
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{py_sitedir}/*.so
This page took 0.233735 seconds and 4 git commands to generate.