File python-gdata.spec of Package python-gdata

# norootforbuild
BuildRequires:  python-devel python-setuptools 
Name:         python-gdata
License:      Apache License 2.0
Group:        Development/Libraries/Python
Version:      1.0.4
Release:      1
Autoreqprov:  on
Summary:      A library and source code that make it easy to access data through Google Data APIs
URL:          http://code.google.com/p/gdata-python-client
Source:       gdata.py-%{version}.tar.gz
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} < 1020
Requires: python-elementtree
%endif
%py_requires

%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.py-%{version}

%build

export CFLAGS="%{optflags}"

%{__python} setup.py build

%install

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

%clean

%{__rm} -rf %{buildroot}

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc samples

%changelog
openSUSE Build Service is sponsored by