]> git.pld-linux.org Git - packages/python-pymssql.git/commitdiff
- raw from Michal Abramowicz <ab_1 at abram.eu.org>
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 18 Jan 2005 21:53:06 +0000 (21:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-pymssql.spec -> 1.1

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

diff --git a/python-pymssql.spec b/python-pymssql.spec
new file mode 100644 (file)
index 0000000..8c8e62a
--- /dev/null
@@ -0,0 +1,48 @@
+Summary:       A Python interface to MSSQL
+Summary(pl):   Interfejs Pythona do MSSQL
+Name:          pymssql
+Version:       0.6.0
+Release:       1
+License:       GPL
+Group:         Libraries/Python
+Source0:       http://optusnet.dl.sourceforge.net/sourceforge/pymssql/pymssql-0.6.0.tar.gz
+# Source0-md5: eb51a4261a68fc4dfb19768f539da68e
+URL:           http://pymssql.sourceforge.net/
+Requires:      python >= 2.4
+Requires:      python-libs >= 2.4
+Requires:      freetds
+Requires:      unixODBC
+BuildRequires: unixODBC-devel >= 2.2.9-2
+BuildRequires: freetds-devel >= 0.60
+BuildRequires:  python-devel >= 2.4
+BuildRequires: rpm-pythonprov
+%pyrequires_eq python-modules
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Python interface to MSSQL
+
+%description -l pl
+Interfejs Pythona do MSSQL
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+env CFLAGS="%{rpmcflags}" %{_bindir}/python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+python -- setup.py install \
+       --root=$RPM_BUILD_ROOT \
+       --install-lib=%{py_sitescriptdir} \
+       --optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc PKG-INFO
+%attr(755,root,root) %{py_sitescriptdir}/*.so
+%{py_sitescriptdir}/*.py*
This page took 0.052955 seconds and 4 git commands to generate.