]> git.pld-linux.org Git - packages/python-ReportLab-rl_accel.git/blobdiff - python-ReportLab-rl_accel.spec
BR: rpmbuild(macros) >= 1.710
[packages/python-ReportLab-rl_accel.git] / python-ReportLab-rl_accel.spec
index 6c3004d849807d3a13b5ad28fcda50719eec6737..7f975146ae9255954a489fe715c640dd464be1f4 100644 (file)
@@ -1,15 +1,17 @@
-%define                _snap   20070412
+%define                _snap   20071106
 Summary:       A C coded extension accelerator for the ReportLab Toolkit
 Summary(pl.UTF-8):     Napisany w C akcelerator rozszerzeń dla toolkitu ReportLab
 Name:          python-ReportLab-rl_accel
-Version:       0.60
+Version:       0.61
 Release:       1
 License:       distributable
 Group:         Libraries/Python
 Source0:       http://www.reportlab.org/daily/rl_accel-%{version}-daily-unix.tgz
-# Source0-md5: 3ab351d94797eda2ef77d6b88426597f
-URL:           http://www.reportlab.com/
-BuildRequires: python-devel >= 1:2.4
+# Source0-md5: 9a0fb2cf175bdcd6bafb92b19dc15047
+URL:           http://www.reportlab.org/
+BuildRequires: rpmbuild(macros) >= 1.710
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: rpm-pythonprov
 %pyrequires_eq python
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -25,18 +27,17 @@ Napisany w C akcelerator rozszerzeń dla toolkitu ReportLab.
 %build
 cd rl_accel
 CFLAGS="%{rpmcflags}"; export CFLAGS
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 cd rl_accel
-python setup.py install \
-       --root=$RPM_BUILD_ROOT \
-       --optimize=2
+%py_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%{py_sitedir}/_rl_accel-%{version}-py*.egg-info
 %attr(755,root,root) %{py_sitedir}/*.so
This page took 0.059182 seconds and 4 git commands to generate.