File vobject.spec of Package vobject

#
# spec file for package vobject (Version 0.8.1c)
#
# 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:           vobject
BuildRequires:  python-setuptools
Version:        0.8.1c
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-2.0.txt ACKNOWLEDGEMENTS.txt

%changelog
* Wed Jun 10 2009 vuntz@novell.com
- Update to version 0.8.1c:
  + Tweaked change_tz.py to keep it 2.4 compatible
- Change from version 0.8.1b:
  + Change behavior when import a VCALENDAR or VCARD with an older
  or absent VERSION line, now the most recent behavior (i.e.,
  VCARD 3.0 and iCalendar, VCALENDAR 2.0) is used
* Wed Dec 31 2008 mboman@suse.de
- Update to version 0.8.0:
  + Fixed a bad performance bug when parsing large text bodies
  + Changed license to Apache 2.0 from Apache 1.1
  + Worked around an issue with Apple Address Book's vcard PHOTO
  parser
* 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.
* Thu Oct 11 2007 maw@suse.de
- Initial package.
openSUSE Build Service is sponsored by