From 6d52e04a3bfef828c66d6abf1924bacf719fde81015ff2a6c84f2b2b6c9ecd9b Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 11 Feb 2010 15:18:48 +0000 Subject: [PATCH] Accepting request 30318 from home:vuntz Copy from home:vuntz/python-flickrapi via accept of submit request 30318 revision 2. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/30318 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flickrapi?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + flickrapi-1.3.tar.bz2 | 3 ++ python-flickrapi.changes | 5 +++ python-flickrapi.spec | 83 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 115 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 flickrapi-1.3.tar.bz2 create mode 100644 python-flickrapi.changes create mode 100644 python-flickrapi.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/flickrapi-1.3.tar.bz2 b/flickrapi-1.3.tar.bz2 new file mode 100644 index 0000000..8527428 --- /dev/null +++ b/flickrapi-1.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80a4b90740279cbd3a95db43f44ccd087a5e828ae45fb9f0af153164e7b202a5 +size 35083 diff --git a/python-flickrapi.changes b/python-flickrapi.changes new file mode 100644 index 0000000..2cde665 --- /dev/null +++ b/python-flickrapi.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Jan 22 20:46:17 CET 2010 - vuntz@opensuse.org + +- Initial packaging, with version 1.3. + diff --git a/python-flickrapi.spec b/python-flickrapi.spec new file mode 100644 index 0000000..61912f1 --- /dev/null +++ b/python-flickrapi.spec @@ -0,0 +1,83 @@ +# +# spec file for package python-flickrapi (Version 1.3) +# +# 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-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 +%{python_sitelib}/%{_name}-%{version}-py2.6.egg-info +%{python_sitelib}/%{_name}/ + +%files doc +%defattr(-,root,root) +%{_datadir}/doc/%{_name}-%{version} + +%changelog