]> git.pld-linux.org Git - packages/python-pymssql.git/blob - python-pymssql.spec
cde56ea4e998ff8ed44bc0eb832684c00e5508f7
[packages/python-pymssql.git] / python-pymssql.spec
1 Summary:        A Python interface to MSSQL
2 Summary(pl):    Interfejs Pythona do MSSQL
3 Name:           python-pymssql
4 Version:        0.6.0
5 Release:        5
6 License:        GPL
7 Group:          Libraries/Python
8 Source0:        http://dl.sourceforge.net/pymssql/pymssql-%{version}.tar.gz
9 # Source0-md5:  eb51a4261a68fc4dfb19768f539da68e
10 Patch0:         %{name}-buildfix.patch
11 URL:            http://pymssql.sourceforge.net/
12 BuildRequires:  freetds-devel >= 0.60
13 BuildRequires:  python
14 BuildRequires:  python-devel >= 1:2.4
15 %pyrequires_eq  python-modules
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 A Python interface to MSSQL.
20
21 %description -l pl
22 Interfejs Pythona do MSSQL.
23
24 %prep
25 %setup -q -n pymssql-%{version}
26 %patch0 -p0
27
28 %build
29 env CFLAGS="%{rpmcflags}" %{_bindir}/python setup.py build
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 python -- setup.py install \
35         --root=$RPM_BUILD_ROOT \
36         --optimize=2
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc PKG-INFO
44 %attr(755,root,root) %{py_sitedir}/*.so
45 %{py_sitedir}/*.py[co]
This page took 0.082578 seconds and 3 git commands to generate.