|
|
628e67d |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
628e67d |
|
|
|
628e67d |
Name: python-flickrapi
|
|
|
fe8d3ba |
Version: 1.2
|
|
|
ea8fda5 |
Release: 3%{?dist}
|
|
|
628e67d |
Summary: Python module for interfacing with the Flickr API
|
|
|
628e67d |
|
|
|
628e67d |
Group: Development/Languages
|
|
|
628e67d |
License: Python
|
|
|
fe8d3ba |
URL: http://stuvel.eu/projects/flickrapi
|
|
|
fe8d3ba |
Source0: http://pypi.python.org/packages/source/f/flickrapi/flickrapi-%{version}.tar.gz
|
|
|
628e67d |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
628e67d |
|
|
|
628e67d |
BuildArch: noarch
|
|
|
628e67d |
BuildRequires: python-devel, python-setuptools, python-docutils
|
|
|
628e67d |
|
|
|
628e67d |
|
|
|
628e67d |
%description
|
|
|
628e67d |
A Python module for interfacing with the Flickr API.
|
|
|
628e67d |
|
|
|
628e67d |
|
|
|
628e67d |
%prep
|
|
|
628e67d |
%setup -q -n flickrapi-%{version}
|
|
|
628e67d |
|
|
|
628e67d |
|
|
|
628e67d |
%build
|
|
|
628e67d |
%{__python} setup.py build
|
|
|
628e67d |
|
|
|
628e67d |
|
|
|
628e67d |
%install
|
|
|
628e67d |
rm -rf %{buildroot}
|
|
|
628e67d |
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
628e67d |
rm -rf %{buildroot}/%{_docdir}/*
|
|
|
628e67d |
sed -i -e "s|#!/usr/bin/env python||" %{buildroot}/%{python_sitelib}/flickrapi/__init__.py
|
|
|
628e67d |
|
|
|
628e67d |
|
|
|
628e67d |
%clean
|
|
|
628e67d |
rm -rf %{buildroot}
|
|
|
628e67d |
|
|
|
628e67d |
|
|
|
628e67d |
%files
|
|
|
628e67d |
%defattr(-,root,root,-)
|
|
|
628e67d |
%doc README LICENSE doc/documentation.css doc/flickrapi.html doc/html4css1.css
|
|
|
628e67d |
%{python_sitelib}/*
|
|
|
628e67d |
|
|
|
628e67d |
|
|
|
628e67d |
%changelog
|
|
|
ea8fda5 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
|
|
|
ea8fda5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
ea8fda5 |
|
|
|
6f5077d |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
|
|
|
6f5077d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
6f5077d |
|
|
|
fe8d3ba |
* Wed Dec 17 2008 Ian Weller <ianweller@gmail.com> 1.2-1
|
|
|
fe8d3ba |
- 1.2
|
|
|
fe8d3ba |
- Update URL and Source0 locations
|
|
|
fe8d3ba |
|
|
|
fe8d3ba |
* Tue Nov 11 2008 Ian Weller <ianweller@gmail.com> 1.1-5
|
|
|
fe8d3ba |
- More specfile cleanup
|
|
|
c68b4f8 |
|
|
|
628e67d |
* Wed Oct 22 2008 Ian Weller <ianweller@gmail.com> 1.1-4
|
|
|
628e67d |
- Remove python_sitearch variable
|
|
|
628e67d |
- Some specfile cleanup
|
|
|
628e67d |
|
|
|
628e67d |
* Tue Aug 05 2008 Kushal Das <kushal@fedoraproject.org> 1.1-3
|
|
|
628e67d |
- Fixed sha-bang in __init__.py
|
|
|
628e67d |
|
|
|
628e67d |
* Mon Aug 04 2008 Kushal Das <kushal@fedoraproject.org> 1.1-2
|
|
|
628e67d |
- Fixed build requires and %%files section
|
|
|
628e67d |
|
|
|
628e67d |
* Sun Aug 03 2008 Kushal Das <kushal@fedoraproject.org> 1.1-1
|
|
|
628e67d |
- Initial release
|