rpms/pymssql/devel pymssql.spec,NONE,1.1

Ray Van Dolson rayvd at fedoraproject.org
Wed Oct 1 16:49:18 UTC 2008


Author: rayvd

Update of /cvs/pkgs/rpms/pymssql/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25685

Added Files:
	pymssql.spec 
Log Message:
spec file



--- NEW FILE pymssql.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:           pymssql
Version:        0.8.0
Release:        2%{?dist}
Summary:        A simple database interface to MS-SQL for Python
Group:          Development/Languages
License:        LGPLv2+
URL:            http://pymssql.sourceforge.net/
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:       python >= 2.4, freetds >= 0.63
BuildRequires:  freetds-devel >= 0.63
BuildRequires:  python-devel >= 2.4

%description
An "almost" DB-API 2.0 compliant module for access to Microsoft SQL
servers from Python.  Features:

  - Supports connecting to Microsoft SQL 2000 and SQL 2005 servers, all
    editions and service pack levels (see also FAQ / Troubleshooting
    page).
  - Supports named instances and non-standard port numbers.
  - Great performance: it uses MS SQL DB-Library for C instead of Win32
    ODBC.
  - Multiple Query/Multiple Result.

%prep
%setup -q
%{__sed} -i 's/\r//' TODO
%{__sed} -i 's/\r//' ChangeLog

%build
%{__python} setup.py build

%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc README README.freetds ChangeLog TODO
%{python_sitearch}/*

%changelog
* Wed Aug 20 2008 Ray Van Dolson <rayvd at fedoraproject.org> - 0.8.0-2
- Fixed some CRLF's in text files.
- Added python-devel BuildReq

* Fri Jul 08 2008 Ray Van Dolson <rayvd at fedoraproject.org> - 0.8.0-1
- Initial package




More information about the scm-commits mailing list