File python-gdata.spec of Package python-gdata

#
# spec file for package python-gdata (Version 2.0.1)
#
# 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-gdata
BuildRequires:  python-devel python-setuptools
License:        Apache Software License ..
Group:          Development/Libraries/Python
Version:        2.0.1
Release:        2
Summary:        Python library to access data through Google Data APIs
Url:            http://code.google.com/p/gdata-python-client
Source:         gdata-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%py_requires
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%else
BuildArch:      noarch
%endif

%description 
The Google data Python Client Library provides a library and source
code that make it easy to access data through Google Data APIs.



Authors:
--------
    The Google data API Team

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

%build
%{__python} setup.py build

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

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root)
%{python_sitelib}/gdata-2.0.1-py2.6.egg-info
%defattr(0755,root,root)
%{python_sitelib}/gdata
%{python_sitelib}/atom

%changelog
openSUSE Build Service is sponsored by