]> git.pld-linux.org Git - packages/python-ReportLab-rl_accel.git/commitdiff
- up to 2.0, separate C extension
authorPatryk Zawadzki <patrys@room-303.com>
Thu, 12 Apr 2007 12:11:01 +0000 (12:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-ReportLab-rl_accel.spec -> 1.1

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

diff --git a/python-ReportLab-rl_accel.spec b/python-ReportLab-rl_accel.spec
new file mode 100644 (file)
index 0000000..1b391c8
--- /dev/null
@@ -0,0 +1,39 @@
+%define                module  ReportLab
+%define                _snap   20070412
+Summary:       A C coded extension accelerator for the ReportLab Toolkit
+Name:          python-%{module}-rl_accel
+Version:       0.60
+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
+%pyrequires_eq python
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A C coded extension accelerator for the ReportLab Toolkit.
+
+%prep
+%setup -q -n rl_accel-%{version}-%{_snap}
+
+%build
+cd rl_accel
+CFLAGS="%{rpmcflags}"; export CFLAGS
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd rl_accel
+python setup.py install \
+       --root=$RPM_BUILD_ROOT \
+       --optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/*.so
This page took 0.066854 seconds and 4 git commands to generate.