2010-02-11 15:18:48 +00:00
|
|
|
#
|
2011-05-30 14:39:01 +00:00
|
|
|
# spec file for package python-flickrapi
|
2010-02-11 15:18:48 +00:00
|
|
|
#
|
2011-05-30 14:39:01 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-02-11 15:18:48 +00:00
|
|
|
#
|
|
|
|
# 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-flickrapi
|
|
|
|
%define _name flickrapi
|
|
|
|
License: Python 2.5 license
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Version: 1.3
|
|
|
|
Release: 1
|
|
|
|
Summary: Python interface to Flickr
|
|
|
|
Url: http://stuvel.eu/projects/flickrapi
|
|
|
|
Source: %{_name}-%{version}.tar.bz2
|
|
|
|
BuildRequires: docutils
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
BuildRequires: python-xml
|
|
|
|
Requires: python-xml
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%py_requires
|
|
|
|
%if %suse_version <= 1110
|
|
|
|
%define python_sitelib %{py_sitedir}
|
|
|
|
%else
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
The easiest to use, most complete, and most actively developed
|
|
|
|
Python interface to the Flickr API. It includes support for
|
|
|
|
authorized and non-authorized access, uploading and replacing
|
|
|
|
photos, and all Flickr API functions.
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
License: Python 2.5 license
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Summary: Python interface to Flickr - Documentation
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
The easiest to use, most complete, and most actively developed
|
|
|
|
Python interface to the Flickr API. It includes support for
|
|
|
|
authorized and non-authorized access, uploading and replacing
|
|
|
|
photos, and all Flickr API functions.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc LICENSE README UPGRADING
|
2010-09-03 12:54:24 +00:00
|
|
|
%{python_sitelib}/%{_name}-%{version}-py%{py_ver}.egg-info
|
2010-02-11 15:18:48 +00:00
|
|
|
%{python_sitelib}/%{_name}/
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/doc/%{_name}-%{version}
|
|
|
|
|
|
|
|
%changelog
|