File python-managesieve.spec of Package python-managesieve

#
# spec file for package python-managesieve (Version 0.4.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 Guido Berhoerster.
#
# 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/
#



Name:           python-managesieve
Summary:        Python Module Implementing the ManageSieve Protocol
Version:        0.4.2
Release:        1
License:        GPL, MIT License (or similar)
Group:          Development/Libraries/Python
AutoReqProv:    on
Source:         http://download.origo.ethz.ch/python-managesieve/1573/managesieve-0.4.2.tar.bz2
Url:            http://python-managesieve.origo.ethz.ch/wiki/python_managesieve
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel
BuildRequires:  python-setuptools >= 0.6c9
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch:      noarch
%endif

%description
python-managesieve is a Python module implementing the ManageSieve client
protocol. It also includes an user application (the interactive sieveshell).

Authors:
--------
    Hartmut Goebel <h.goebel@crazy-compilers.com>
    Ulrich Eck <ueck@net-labs.de>


%prep
%setup -q -n managesieve-%{version}

%build
%{__python} setup.py build

%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root,-)
%doc draft-martin-managesieve-07.txt HISTORY README TODO

%changelog
openSUSE Build Service is sponsored by