fc7789
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
fc7789
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
fc7789
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
fc7789
%endif
fc7789
fc7789
Name:		googlecl
2a484f
Version:	0.9.14
c6355b
Release:	14%{?dist}
fc7789
Summary:	Command line tools for the Google Data APIs
fc7789
fc7789
License:	ASL 2.0
fc7789
URL:		http://code.google.com/p/googlecl/
fc7789
Source0:	http://googlecl.googlecode.com/files/%{name}-%{version}.tar.gz
fc7789
fc7789
BuildArch:	noarch
6b0427
BuildRequires:	python2-setuptools
fc7789
BuildRequires:	python2-devel
6b0427
Requires:	python2-gdata
fc7789
fc7789
fc7789
%description
fc7789
This package provides command-line access to some Google services via
fc7789
their GData APIs.
fc7789
fc7789
fc7789
%prep
fc7789
%setup -q
fc7789
fc7789
fc7789
%build
2ef182
%py2_build
fc7789
fc7789
fc7789
%install
69630d
%py2_install
fc7789
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
fc7789
cp -av man/google.1 $RPM_BUILD_ROOT%{_mandir}/man1
3c923a
# remove unit test
3c923a
rm -f $RPM_BUILD_ROOT%{python_sitelib}/googlecl/calendar/date_test.py*
fc7789
fc7789
fc7789
%files
fc7789
%doc README.config README.txt changelog
fc7789
%{_bindir}/google
73e644
%{python2_sitelib}/*
fc7789
%{_mandir}/man1/*
fc7789
fc7789
fc7789
%changelog
c6355b
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.14-14
c6355b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c6355b
6d6bf4
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.14-13
6d6bf4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6d6bf4
fde7d9
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.14-12
fde7d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
fde7d9
853ae4
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.14-11
853ae4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
853ae4
6b0427
* Fri Jan 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.9.14-10
6b0427
- Update Python 2 dependency declarations to new packaging standards
6b0427
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
6b0427
1187b5
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.14-9
1187b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1187b5
303c20
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.14-8
303c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
303c20
72ca58
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.14-7
72ca58
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
72ca58
2d4c5d
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.14-6
2d4c5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2d4c5d
9a767a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.14-5
9a767a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9a767a
86886e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.14-4
86886e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
86886e
fd3181
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.14-3
fd3181
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fd3181
7142ed
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.14-2
7142ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7142ed
2a484f
* Sun Jan 06 2013 Christian Krause <chkr@fedoraproject.org> - 0.9.14-1
2a484f
- New upstream release, see http://code.google.com/p/googlecl/source/browse/trunk/changelog (BZ 890972)
2a484f
e873ac
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.13-3
e873ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e873ac
94430e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.13-2
94430e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
94430e
3c923a
* Mon Jul 25 2011 Christian Krause <chkr@fedoraproject.org> - 0.9.13-1
3c923a
- New upstream release, see http://code.google.com/p/googlecl/source/browse/trunk/changelog
3c923a
133b08
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.10-2
133b08
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
133b08
7b9751
* Mon Sep  6 2010 Adam Goode <adam@spicenitz.org> - 0.9.10-1
7b9751
- New upstream release, see http://code.google.com/p/googlecl/source/browse/trunk/changelog
7b9751
465f17
* Fri Jul 30 2010 Adam Goode <adam@spicenitz.org> - 0.9.9-2
465f17
- Add python-setuptools to BuildRequires
465f17
7c4d23
* Thu Jul 29 2010 Adam Goode <adam@spicenitz.org> - 0.9.9-1
7c4d23
- New upstream release, see http://code.google.com/p/googlecl/source/browse/trunk/changelog
7c4d23
d3beba
* Sun Jul 11 2010 Adam Goode <adam@spicenitz.org> - 0.9.8-1
d3beba
- New upstream release, see http://code.google.com/p/googlecl/source/browse/trunk/changelog
d3beba
48bef4
* Sun Jun 20 2010 Adam Goode <adam@spicenitz.org> - 0.9.7-1
48bef4
- New upstream release, see http://code.google.com/p/googlecl/source/browse/trunk/changelog
48bef4
fc7789
* Sat Jun 19 2010 Adam Goode <adam@spicenitz.org> - 0.9.5-3
fc7789
- Add clean section for F12
fc7789
- Add python macros for F12
fc7789
- Add changelog to doc
fc7789
fc7789
* Fri Jun 18 2010 Adam Goode <adam@spicenitz.org> - 0.9.5-2
fc7789
- Don't BuildRequires python-gdata
fc7789
- Don't manually gzip the man page
fc7789
fc7789
* Fri Jun 18 2010 Adam Goode <adam@spicenitz.org> - 0.9.5-1
fc7789
- Initial package