]> git.pld-linux.org Git - packages/python-ReportLab-rl_accel.git/blob - python-ReportLab-rl_accel.spec
- up to 2.0, separate C extension
[packages/python-ReportLab-rl_accel.git] / python-ReportLab-rl_accel.spec
1 %define         module  ReportLab
2 %define         _snap   20070412
3 Summary:        A C coded extension accelerator for the ReportLab Toolkit
4 Name:           python-%{module}-rl_accel
5 Version:        0.60
6 Release:        1
7 License:        distributable
8 Group:          Libraries/Python
9 Source0:        http://www.reportlab.org/daily/rl_accel-%{version}-daily-unix.tgz
10 # Source0-md5:  3ab351d94797eda2ef77d6b88426597f
11 URL:            http://www.reportlab.com/
12 BuildRequires:  python-devel >= 1:2.4
13 %pyrequires_eq  python
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 A C coded extension accelerator for the ReportLab Toolkit.
18
19 %prep
20 %setup -q -n rl_accel-%{version}-%{_snap}
21
22 %build
23 cd rl_accel
24 CFLAGS="%{rpmcflags}"; export CFLAGS
25 python setup.py build
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 cd rl_accel
30 python setup.py install \
31         --root=$RPM_BUILD_ROOT \
32         --optimize=2
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %attr(755,root,root) %{py_sitedir}/*.so
This page took 0.067141 seconds and 4 git commands to generate.