File vobject.spec of Package vobject

#
# spec file for package vobject (Version 0.7.1)
#
# Copyright (c) 2008 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:           vobject
BuildRequires:  python-setuptools
Version:        0.7.1
Release:        1
License:        The Apache Software License
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Development/Languages/Python
Source0:        %{name}-%{version}.tar.bz2
Summary:        A python library to create and parse iCalendar and vCard objects
Requires:       python-dateutil

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



Authors:
--------
    Jeffrey Harris

%prep
%setup
sed -i -e "s@^use_setuptools@#use_setuptools@" setup.py

%build
python setup.py build

%install
python setup.py install \
    --prefix=/usr \
    --root=$RPM_BUILD_ROOT \
    --record-rpm=%{name}.files

%clean
rm -rf "$RPM_BUILD_ROOT"

%files -f %{name}.files
%defattr(-,root,root)
%doc README.txt LICENSE.txt

%changelog
* Fri Sep 12 2008 maw@suse.de
- Update to version 0.7.1:
  + Allow Outlook's technically illegal use of commas in TZIDs
  + Added introspection help for IPython so tab completion works
  with vobject's custom __getattr__
  + Made vobjects pickle-able
  + Added tolerance for the escaped semi-colons in RRULEs a Ruby
  iCalendar library generates
  + Add change_tz script for converting timezones in iCalendar
  files
  + Bug fixed: boo#12245.
* Wed Aug 13 2008 ro@suse.de
- do _not_ download setuptools, theq are buildrequired
* Thu Apr 03 2008 hpj@suse.de
- Upgrade to version 0.6.0:
  * Tolerate invalid UNTIL values for recurring events.
  * Minor improvements to logging and tracebacks.
  * Fix serialization of zero-delta durations.
  * Treat different tzinfo classes that represent UTC as equal.
  * Added ORG behavior to vCard handling, native value for ORG is now a list.
  * Added VAVAILABILITY support, thanks to the Calendar Server team.
  * Improved unicode line folding.
* Thu Nov 01 2007 maw@suse.de
- Require python-dateutil.
* Thu Nov 01 2007 maw@suse.de
- Package many more files.
* Wed Oct 10 2007 maw@suse.de
- Initial package.