File vobject.spec of Package vobject

# spec file for package vobject
# Copyright (c) 2013 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

Name:           vobject
BuildRequires:  python-setuptools
Version:        0.8.1c
Release:        0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %{name}-%{version}.tar.bz2
Summary:        A python library to create and parse iCalendar and vCard objects
License:        Apache-2.0
Group:          Development/Languages/Python
Requires:       python-dateutil

VObject simplifies the process of parsing and creating iCalendar and
vCard objects.

    Jeffrey Harris

sed -i -e "s@^use_setuptools@#use_setuptools@"

python build

python install \
    --prefix=/usr \
    --root=$RPM_BUILD_ROOT \

rm -rf "$RPM_BUILD_ROOT"

%files -f %{name}.files