Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
getmail
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Added
getmail.spec
@@ -0,0 +1,71 @@ +# +# spec file for package getmail (Version 4.7.6) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: getmail +Version: 4.7.6 +Release: 0 +# +Group: Productivity/Networking/Email/Utilities +License: Other License(s), see package +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-devel +%if ! 0%{?suse_version} +%define py_libdir %{_libdir}/python2.4/ +%endif +# +Url: http://pyropus.ca/software/getmail/ +Source: http://pyropus.ca/software/getmail/old-versions/getmail-%{version}.tar.gz +Summary: getmail is designed to replace other mail retrievers such as fetchmail. +# + +%description +getmail is a multi-protocol mail retrieval system withsupport for simple and +domain POP3 and IMAP4 mailboxes, domain SDPS mailboxes, POP3-over-SSL and +IMAP-over-SSL, mail sorting, message filtering, and delivery to Maildirs, +Mboxrd files, external MDAs, and other advanced features. + +getmail is designed to be secure, flexible, reliable, and easy-to-use. getmail +is designed to replace other mail retrievers such as fetchmail. + +Author: +-------- + Charles Cazabon <getmail@discworld.dyndns.org> + +%prep +%setup + +%build +CFLAGS="%{optflags}" \ +%{__python} setup.py build + +%install +%{__python} setup.py install --prefix %{_prefix} --root %{buildroot} +%{__install} -Dd -m 0755 %{buildroot}%{_docdir} +%{__mv} %{buildroot}%{_datadir}/doc/%{name}-%{version} %{buildroot}%{_docdir}/%{name} + +%clean +%{__rm} -rf %{buildroot}; + +%files +%defattr(-, root, root, 0755) +%doc %{_docdir}/%{name} +%{_bindir}/%{name}* +%{_mandir}/man?/%{name}* +%dir %{py_libdir}/site-packages/%{name}core +%{py_libdir}/site-packages/%{name}core/*.py +%{py_libdir}/site-packages/%{name}core/*.pyc +%if "x%{py_ver}" == "x2.5" +%{py_libdir}/site-packages/%{name}-%{version}-py%{py_ver}.egg-info +%endif + +%changelog