Mageia Bugzilla – Attachment 580 Details for
Bug 1753
getmail is a missing package when upgrading from mandriva
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
getmail spec file
getmail.spec (text/plain), 1.40 KB, created by
Olivier Delaune
on 2011-06-17 23:02:52 CEST
(
hide
)
Description:
getmail spec file
Filename:
MIME Type:
Creator:
Olivier Delaune
Created:
2011-06-17 23:02:52 CEST
Size:
1.40 KB
patch
obsolete
>%define name getmail >%define version 4.20.3 >%define release %mkrel 1 > >Name: %{name} >Summary: POP3 mail retriever with reliable Maildir delivery >Version: %{version} >Release: %{release} > >License: GPLv2 >Group: Networking/Mail >URL: http://pyropus.ca/software/getmail/ >Source: http://pyropus.ca/software/getmail/old-versions/%{name}-%{version}.tar.gz >Requires: python >BuildRequires: python-devel >BuildArch: noarch >Buildroot: %{_tmppath}/%{name}-buildroot > > >%description >getmail is intended as a simple replacement for fetchmail for those people >who do not need its various and sundry configuration options, complexities, >and bugs. It retrieves mail from one or more POP3 servers for one or more >email accounts, and reliably delivers into a Maildir specified on a >per-account basis. It can also deliver into mbox files, although this >should not be attempted over NFS. getmail is written entirely in python. > > >%prep > >%setup -q ># workaround a bug in 4.7.8 >#perl -pi -e 's/^.*getmail\.spec.*$//' setup.py > >%build > >%install >rm -rf $RPM_BUILD_ROOT >python setup.py install --root=$RPM_BUILD_ROOT >rm -Rf $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version} > >%clean >rm -rf $RPM_BUILD_ROOT > >%files >%defattr(-,root,root) >%doc docs/* >%{py_puresitedir}/getmailcore/ >%{py_puresitedir}/*.egg-info >%_bindir/getmail* >%_mandir/man1/* > > >%changelog >* Fri Jun 17 2011 Olivier Delaune <olivier.delaune@wanadoo.fr> 4.20.3-1.mga1 >- Specfile adaptations for Mageia >
%define name getmail %define version 4.20.3 %define release %mkrel 1 Name: %{name} Summary: POP3 mail retriever with reliable Maildir delivery Version: %{version} Release: %{release} License: GPLv2 Group: Networking/Mail URL: http://pyropus.ca/software/getmail/ Source: http://pyropus.ca/software/getmail/old-versions/%{name}-%{version}.tar.gz Requires: python BuildRequires: python-devel BuildArch: noarch Buildroot: %{_tmppath}/%{name}-buildroot %description getmail is intended as a simple replacement for fetchmail for those people who do not need its various and sundry configuration options, complexities, and bugs. It retrieves mail from one or more POP3 servers for one or more email accounts, and reliably delivers into a Maildir specified on a per-account basis. It can also deliver into mbox files, although this should not be attempted over NFS. getmail is written entirely in python. %prep %setup -q # workaround a bug in 4.7.8 #perl -pi -e 's/^.*getmail\.spec.*$//' setup.py %build %install rm -rf $RPM_BUILD_ROOT python setup.py install --root=$RPM_BUILD_ROOT rm -Rf $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc docs/* %{py_puresitedir}/getmailcore/ %{py_puresitedir}/*.egg-info %_bindir/getmail* %_mandir/man1/* %changelog * Fri Jun 17 2011 Olivier Delaune <olivier.delaune@wanadoo.fr> 4.20.3-1.mga1 - Specfile adaptations for Mageia
View Attachment As Raw
Actions:
View
Attachments on
bug 1753
: 580