File python-smbc.spec of Package python-smbc
#
# spec file for package python-smbc (Version 1.0.6)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: python-smbc
BuildRequires: libsmbclient-devel
BuildRequires: python-devel
Version: 1.0.6
Release: 2
Group: Development/Libraries/Python
License: GPL v2 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://cyberelk.net/tim/software/pysmbc/
Source: pysmbc-%{version}.tar.bz2
Summary: Python bindings for samba clients (libsmbclient)
%py_requires
%description
A module for using the Samba client API in Python programs.
Authors:
--------
Tim Waugh <twaugh@redhat.com>
%prep
%setup -q -n pysmbc-%{version}
%build
CFLAGS="%{optflags} -DVERSION=\\\"%version\\\"" \
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root %{buildroot}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
%doc ChangeLog COPYING NEWS README
%{py_sitedir}/smbc.so
%{py_sitedir}/smbc*egg-info
%changelog
* Sat Feb 21 2009 vuntz@novell.com
- Split from system-config-printer.