source: projects/specs/branches/6/p/python-gdata/python-gdata-vl.spec @ 521

Revision 521, 2.1 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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:        2%{?_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* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.1-2
52- rebuild with python-2.6
53
54* Mon Jul 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-1
55- new upstream release
56- build with python2.5
57
58* Mon Apr 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-1
59- initial build for Vine Linux
60
61* Tue Nov 13 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.9-1
62- Update to 1.0.9
63
64* Sun Oct 21 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-3
65- Remove CFLAGS from the make part, as there's no native compilation,
66  spotted by Parag AN <panemade@gmail.com>
67
68* Tue Oct 16 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-2
69- Remove python-elementtree dep, it's builtin to Python 2.5
70- Add samples to the docs, for documentation purposes
71- Remove unneeded macro
72
73* Fri Oct 12 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-1
74- Initial RPM release
Note: See TracBrowser for help on using the repository browser.