|
|
628e67d |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
628e67d |
|
|
|
628e67d |
Name: python-flickrapi
|
|
|
5f2526f |
Version: 1.4.2
|
|
|
6eac635 |
Release: 10%{?dist}
|
|
|
628e67d |
Summary: Python module for interfacing with the Flickr API
|
|
|
628e67d |
|
|
|
628e67d |
Group: Development/Languages
|
|
|
628e67d |
License: Python
|
|
|
5f2526f |
URL: http://stuvel.eu/flickrapi
|
|
|
5f2526f |
Source0: http://pypi.python.org/packages/source/f/flickrapi/flickrapi-%{version}.zip
|
|
|
628e67d |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
628e67d |
|
|
|
1915b19 |
Patch0: setuptools.patch
|
|
|
1915b19 |
|
|
|
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}
|
|
|
1915b19 |
%patch0 -p1 -b .setuptools
|
|
|
1915b19 |
rm -v distribute_setup.py
|
|
|
628e67d |
|
|
|
628e67d |
%build
|
|
|
628e67d |
%{__python} setup.py build
|
|
|
66c3f78 |
make -C doc
|
|
|
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,-)
|
|
|
66c3f78 |
%doc README LICENSE doc/documentation.css doc/index.html doc/index.rst doc/html4css1.css
|
|
|
628e67d |
%{python_sitelib}/*
|
|
|
5f2526f |
%exclude /usr/LICENSE
|
|
|
5f2526f |
%exclude /usr/README
|
|
|
5f2526f |
%exclude /usr/UPGRADING
|
|
|
628e67d |
|
|
|
628e67d |
%changelog
|
|
|
6eac635 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-10
|
|
|
6eac635 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
6eac635 |
|
|
|
4632217 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-9
|
|
|
4632217 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
4632217 |
|
|
|
85a7db6 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-8
|
|
|
85a7db6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
85a7db6 |
|
|
|
5c3696c |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-7
|
|
|
5c3696c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
5c3696c |
|
|
|
1915b19 |
* Sun Aug 04 2013 Maxim Burgerhout <wzzrd@fedoraproject.org.> 1.4.2-6
|
|
|
1915b19 |
- Fixing breakage caused by distribute
|
|
|
1915b19 |
|
|
|
1c8c62c |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-5
|
|
|
1c8c62c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
1c8c62c |
|
|
|
7afd731 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-4
|
|
|
7afd731 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7afd731 |
|
|
|
26bfb32 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-3
|
|
|
26bfb32 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
26bfb32 |
|
|
|
c883587 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-2
|
|
|
c883587 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
c883587 |
|
|
|
5f2526f |
* Thu Mar 24 2011 Maxim Burgerhout <wzzrd@fedoraproject.org> - 1.4-1
|
|
|
5f2526f |
- "New" upstream release
|
|
|
5f2526f |
- Using auth_callback=False when authentication is actually required now raises
|
|
|
5f2526f |
a FlickrError exception.
|
|
|
5f2526f |
- The implementation uses self.flickr_host so that subclasses can override the
|
|
|
5f2526f |
API URLs.
|
|
|
5f2526f |
- Support for short URLs was added.
|
|
|
5f2526f |
- Changed source url to .zip because .tar.gz no longer seems to be available
|
|
|
5f2526f |
|
|
|
d01e75c |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-4
|
|
|
d01e75c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
d01e75c |
|
|
|
1d1157c |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.3-3
|
|
|
1d1157c |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
1d1157c |
|
|
|
0514d39 |
* Sun Jan 24 2010 Ian Weller <ian@ianweller.org> - 1.3-2
|
|
|
0514d39 |
- rebuild with inclusion of new tarball
|
|
|
0514d39 |
|
|
|
66c3f78 |
* Sun Jan 24 2010 Ian Weller <ian@ianweller.org> - 1.3-1
|
|
|
66c3f78 |
- 1.3
|
|
|
66c3f78 |
|
|
|
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
|