source: projects/specs/trunk/p/python-gdata/python-gdata-vl.spec @ 5701

Revision 5701, 2.2 KB checked in by Takemikaduchi, 12 years ago (diff)

python-2.7.2

Line 
1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Summary:        A Python module for accessing online Google services
4Summary(ja):    オンライン Google サービスにアクセスするための Python モジュール
5Name:           python-gdata
6Version:        1.1.1
7Release:        3%{?_dist_release}
8
9Group:          Development/Languages
10License:        ASL 2.0
11URL:            http://code.google.com/p/gdata-python-client/
12Source0:        http://gdata-python-client.googlecode.com/files/gdata.py-%{version}.tar.gz
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
14
15BuildArch:      noarch
16BuildRequires:  python-devel
17Requires:       python
18Requires:       python-elementtree
19
20%description
21This is a Python module for accessing online Google services, such as:
22- Blogger
23- Calendar
24- Picasa Web Albums
25- Spreadsheets
26- YouTube
27- Notebook
28
29%prep
30%setup -q -n gdata.py-%{version}
31
32%build
33%{__python} setup.py build
34
35chmod -x samples/*/*.py
36
37%install
38rm -rf $RPM_BUILD_ROOT
39%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
40 
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(-,root,root,-)
46%doc README.txt RELEASE_NOTES.txt samples/
47%{python_sitelib}/atom
48%{python_sitelib}/gdata
49
50%changelog
51* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-3
52- rebuild with python-2.7.2
53
54* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.1-2
55- rebuild with python-2.6
56
57* Mon Jul 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-1
58- new upstream release
59- build with python2.5
60
61* Mon Apr 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-1
62- initial build for Vine Linux
63
64* Tue Nov 13 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.9-1
65- Update to 1.0.9
66
67* Sun Oct 21 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-3
68- Remove CFLAGS from the make part, as there's no native compilation,
69  spotted by Parag AN <panemade@gmail.com>
70
71* Tue Oct 16 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-2
72- Remove python-elementtree dep, it's builtin to Python 2.5
73- Add samples to the docs, for documentation purposes
74- Remove unneeded macro
75
76* Fri Oct 12 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-1
77- Initial RPM release
Note: See TracBrowser for help on using the repository browser.