Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:code933k
python-libgmail
python-libgmail.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-libgmail.spec of Package python-libgmail
# # spec file for package python-libgmail (Version 0.1.11) # # Copyright 2009 Mario García H. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. %define python_version %(echo "`%{__python} -c 'import sys; print (sys.version[:3])'`") %define sforge http://downloads.sourceforge.net/project %define dist_name libgmail Summary: Pure Python binding to provide access to Google's Gmail web-mail service Name: python-%{dist_name} Version: 0.1.11 Release: 1 Source0: %{dist_name}-%{version}.tar.gz #Source1: %{sforge}/libgmail/libgmail/%{version}/%{dist_name}-%{version}.tar.gz Source2: %{name}-rpmlintrc Vendor: %{vendor} URL: http://libgmail.sourceforge.net/ License: GPLv2 Group: Development/Languages/Python BuildRequires: python python-mechanize python-ClientForm dos2unix BuildRoot: %{_builddir}/%{name}-%{version}-build %description Archive Gmail messages to mbox format: The library currently ships with one demonstration utility to archive messages from an Gmail account into mbox files, suitable for importing into a local email client. Use your Gmail account as a SMTP server: The library now includes a demonstration utility gmailsmtp.py that sets up a SMTP proxy on port 8025 of your computer to enable you to use a standard mail client (e.g. Mozilla, Mail.app) to send messages. (Attachments are now supported) Use your Gmail account as a POP server: The library now includes a demonstration utility gmailpopd.py that sets up a POP3 proxy on port 8110 of your computer to enable you to use a standard mail client (e.g. Mozilla, Mail.app) to retrieve messages. Use your Gmail account as a FTP server: The included demonstration gmailftpd.py sets up a download-only FTP proxy on port 8021 of your computer to enable you to use a standard ftp client to retrieve message attachments that have the label 'ftp'. %prep %setup -q -n %{dist_name}-%{version} %build %install %{__python} setup.py install --root="%{buildroot}" if [ -d %{buildroot}/usr/local/%{_lib} ] then %{__mv} -f %{buildroot}/usr/local/%{_lib} %{buildroot}%{_libdir} else %{__mv} -f %{buildroot}/usr/local/lib %{buildroot}%{_libdir} fi dos2unix %{buildroot}%{_libdir}/python%{python_version}/site-packages/gmail_transport.py %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_libdir}/python%{python_version}/site-packages/gmail_transport.py %{_libdir}/python%{python_version}/site-packages/gmail_transport.pyc %{_libdir}/python%{python_version}/site-packages/lgconstants.py %{_libdir}/python%{python_version}/site-packages/lgconstants.pyc %{_libdir}/python%{python_version}/site-packages/%{dist_name}-%{version}-py%{python_version}.egg-info %{_libdir}/python%{python_version}/site-packages/%{dist_name}.py* %changelog * Tue Aug 11 2009 Mario García H. <code933k@gmail.com> - 0.1.11 - Initial package.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor