]> git.pld-linux.org Git - packages/fetchmail.git/blob - fetchmail.spec
71499ba008ddfd7c0a3ab35a9291dc58bebc5134
[packages/fetchmail.git] / fetchmail.spec
1 Summary:        Remote mail fetch daemon for POP2, POP3, APOP, IMAP
2 Summary(da):    Alsidig POP/IMAP post-afhentnings dæmon
3 Summary(de):    Dämon zum Laden entfernter Mail (POP2, POP3, APOP, IMAP)
4 Summary(es):    Recolector de correo via POP/IMAP
5 Summary(fr):    Démon de récupération du mail pour POP2, POP3, APOP, IMAP
6 Summary(pl):    Zdalny demon pocztowy do protoko³ów POP2, POP3, APOP, IMAP
7 Summary(pt):    Busca mensagens de um servidor usando POP ou IMAP
8 Summary(ru):    õÔÉÌÉÔÁ ÉÚ×ÌÅÞÅÎÉÑ ÐÏÞÔÙ Ó ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÙ ÐÏ ÐÒÏÔÏËÏÌÁÍ POP/IMAP
9 Summary(tr):    POP2, POP3, APOP, IMAP protokolleri ile uzaktan mektup alma yazýlýmý
10 Summary(uk):    õÔÉ̦ÔÁ ÏÔÒÉÍÁÎÎÑ ÐÏÛÔɠڠצÄÄÁÌÅÎϧ ÍÁÛÉÎÉ ÐÏ ÐÒÏÔÏËÏÌÁÍ POP/IMAP
11 Name:           fetchmail
12 Version:        5.9.10
13 Release:        2
14 License:        GPL
15 Vendor:         Eric S. Raymond <esr@thyrsus.com>
16 Group:          Applications/Mail
17 Source0:        http://www.tuxedo.org/~esr/fetchmail/%{name}-%{version}.tar.gz
18 Source1:        %{name}conf.desktop
19 Source2:        %{name}.sysconfig
20 Source3:        %{name}.init
21 Source4:        %{name}.logrotate
22 Patch0:         %{name}-shroud.patch
23 Patch1:         %{name}-ac25x.patch
24 Icon:           fetchmail.gif
25 URL:            http://www.tuxedo.org/~esr/fetchmail/
26 BuildRequires:  autoconf
27 BuildRequires:  automake
28 BuildRequires:  bison
29 BuildRequires:  flex
30 BuildRequires:  gettext-devel
31 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6a}
32 Requires:       setup >= 2.3
33 Requires:       smtpdaemon
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 Fetchmail is a program that is used to retrieve mail from a remote
38 mail server. It can use the Post Office Protocol (POP) or IMAP
39 (Internet Mail Access Protocol) for this, and delivers the mail
40 through the local SMTP server (normally sendmail).
41
42 %description -l da
43 Fetchmail er et gratis, robust, alsidigt og vel-dokumenteret værktøj
44 til afhentning og videresending af elektronisk post via TCP/IP
45 baserede opkalds-forbindelser (såsom SLIP eller PPP forbindelser). Den
46 henter post fra en ekstern post-server, og videresender den til din
47 lokale klient-maskines post-system, så den kan læses af almindelige
48 mail klienter såsom mutt, elm, pine, (x)emacs/gnus, eller mailx. Der
49 medfølger også et interaktivt GUI-baseret konfigurations-program, som
50 kan bruges af almindelige brugere.
51
52 %description -l de
53 Fetchmail ist ein freies, vollständiges, robustes und
54 wohldokumentiertes Werkzeug zum Abholen und Weiterreichen von E-Mail,
55 gedacht zum Gebrauchüber temporäre TCP/IP-Verbindungen (wie z.B. SLIP-
56 oder PPP-Verbindungen). Es holt E-Mail von (weit) entfernten
57 Mail-Servern abund reicht sie an das Auslieferungssystem der lokalen
58 Client-Maschine weiter, damit sie dann von normalen MUAs ("mail user
59 agents") wie mutt, elm, pine, (x)emacs/gnus oder mailx gelesen werden
60 kann. Ein interaktiver GUI-Konfigurator auch gut geeignet zum Gebrauch
61 durch Endbenutzer wird mitgeliefert.
62
63 %description -l es
64 Fetchmail es una utilidad gratis, completa, robusta y bien documentada
65 para la recepción y reeenvío de correo pensada para ser usada en co-
66 nexiones TCP/IP por demanda (como SLIP y PPP). Recibe el correo de
67 servidores remotos y lo reenvía al sistema de entrega local, siendo de
68 ese modo posible leerlo con programas como mutt, elm, pine,
69 (x)emacs/gnus o mailx. Contiene un configurador GUI interactivo
70 pensado para usuarios.
71
72 %description -l fr
73 Fetchmail est un programme utilisé pour récupérer le mail depuis un
74 serveur distant. Il peut utiliser POP (Post Office Protocol) ou IMAP
75 (Internet Mail Access Protocol) pour cela, et achemine le courrier à
76 travers le serveur SMTP local (sendmail normal).
77
78 %description -l pl
79 Fetchmail jest programem do ¶ci±gania poczty ze zdalnych serwerów
80 pocztowych. Do ¶ci±gania poczty mo¿e on u¿ywaæ protoko³ów POP (Post
81 Office Protocol) lub IMAP (Internet Mail Access Protocol). ¦ci±gniêt±
82 pocztê dostarcza odbiorcom poprzez lokalny serwer SMTP.
83
84 %description -l pt
85 fetchmail é um programa que é usado para recuperar mensagens de um
86 servidor de mail remoto. Ele pode usar Post Office Protocol (POP) ou
87 IMAP (Internet Mail Access Protocol) para isso, e entrega o mail
88 através do servidor local SMTP (normalmente sendmail).
89
90 %description -l ru
91 Fetchmail - ÜÔÏ ÕÔÉÌÉÔÁ ÉÚ×ÌÅÞÅÎÉÑ ÐÏÞÔÙ Ó ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÙ É
92 ÆÏÒ×ÁÒÄÉÎÇÁ, ÐÒÅÄÎÁÚÎÁÞÅÎÎÁÑ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÎÁ on-demand TCP/IP
93 ÓÏÅÄÉÎÅÎÉÑÈ, ÔÁËÉÈ ËÁË SLIP ÉÌÉ PPP ÓÏÅÄÎÅÎÉÑ. Fetchmail ÐÏÄÄÅÒÖÉ×ÁÅÔ
94 ×ÓÅ ÉÓÐÏÌØÚÕÅÍÙÅ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ × éÎÅÒÎÅÔÅ ÐÒÏÔÏËÏÌÙ ÕÄÁÌÅÎÎÏÊ
95 ÐÏÞÔÙ (POP2, POP3, RPOP, APOP, KPOP, ×ÓÅ IMAPÙ, ESMTP ETRN). úÁÔÅÍ
96 Fetchmail ÆÏÒ×ÁÒÄÉÔ ÉÚ×ÌÅÞÅÎÎÕÀ ÐÏÞÔÕ ÞÅÒÅÚ SMTP, ÞÔÏÂÙ ×É ÍÏÇÌÉ
97 ÐÒÏÞÉÔÁÔØ ÅÅ Ó×ÏÉÍ ÌÀÂÉÍÙÍ ÐÏÞÔÏ×ÙÍ ËÌÉÅÎÔÏÍ.
98
99 %description -l tr
100 fetchmail yazýlýmý, POP veya IMAP desteði veren bir sunucuda yer alan
101 mektuplarýnýzý alýr.
102
103 %description -l uk
104 Fetchmail - ÃÅ ÕÔÉ̦ÔÁ ÏÔÒÉÍÁÎÎÑ ÐÏÛÔɠڠצÄÄÁÌÅÎϧ ÍÁÛÉÎÉ ÔÁ
105 ÆÏÒ×ÁÒÄÉÎÇÕ, ÐÒÉÚÎÁÞÅÎÁ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ ÎÁ on-demand TCP/IP
106 Ú'¤ÄÎÁÎÎÑÈ, ÔÁËÉÈ ÑË SLIP ÞÉ PPP Ú'¤ÄÎÁÎÎÑ. Fetchmail Ð¦ÄÔÒÉÍÕ¤ ×Ó¦
107 ×ÉËÏÒÉÓÔÏ×Õ×ÁΦ ÎÁ ÓØÏÇÏÄΦ ÐÒÏÔÏËÏÌɠצÄÄÁÌÅÎϧ ÐÏÛÔÉ (POP2, POP3,
108 RPOP, APOP, KPOP, ×Ó¦ IMAPÉ, ESMTP ETRN). ð¦ÓÌÑ ÏÔÒÉÍÁÎÎÑ Fetchmail
109 ÆÏÒ×ÁÒÄÉÔØ ÐÏÛÔÕ ÞÅÒÅÚ SMTP, ÝÏ ×É ÍÏÇÌÉ ÐÒÏÞÉÔÁÔÉ §§ Ó×ϧ͠ÕÌÀÂÌÅÎÉÍ
110 ÐÏÛÔÏ×ÉÍ Ë̦¤ÎÔÏÍ.
111
112 %package -n fetchmailconf
113 Summary:        A GUI configurator for generating fetchmail configuration files
114 Summary(es):    Configurador GUI interactivo por fetchmail
115 Summary(fr):    GUI configurateur pour fetchmail
116 Summary(pl):    GUI konfigurator do fetchmaila
117 Summary(pt):    Um configurador gráfico para a criação de arquivos de configuração para o fetchmail
118 Summary(ru):    çÒÁÆÉÞÅÓËÁÑ ÕÔÉÌÉÔÁ ÄÌÑ ËÏÎÆÉÇÕÒÁÃÉÉ ÐÒÅÄÐÏÞÔÅÎÉÊ ÄÌÑ fetchmail
119 Summary(uk):    çÒÁƦÞÎÁ ÕÔÉ̦ÔÁ ÄÌÑ ËÏÎƦÇÕÒÁ槠×ÐÏÄÏÂÁÎØ ÄÌÑ fetchmail
120 Group:          Applications/System
121 Requires:       %{name} = %{version}
122 Requires:       python
123 Requires:       tkinter
124
125 %description -n fetchmailconf
126 A GUI configurator for generating fetchmail configuration file writen
127 in python.
128
129 %description -n fetchmailconf -l de
130 Ein interaktiver GUI-Konfigurator für fetchmail in python.
131
132 %description -n fetchmailconf -l es
133 Configurador gráfico para fetchmail escrito en python.
134
135 %description -n fetchmailconf -l pl
136 GUI konfigurator do fetchmaila napisany w pythonie.
137
138 %description -n fetchmailconf -l pt
139 Um configurador gráfico para a criação de arquivos de configuração
140 para o fetchmail.
141
142 %description -n fetchmailconf
143 Fetchmailconf - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÎÁ TCL/TK ÄÌÑ ËÏÎÆÉÇÕÒÁÃÉÉ ×ÁÛÅÇÏ ÆÁÊÌÁ
144 ÐÒÅÄÐÏÞÔÅÎÉÊ ~/.fetchmailrc.
145
146 %description -n fetchmailconf
147 Fetchmailconf - ÃÅ ÐÒÏÇÒÁÍÁ ÎÁ TCL/TK ÄÌÑ ËÏÎƦÇÕÒÁ槠×ÁÛÏÇÏ ÆÁÊÌÁ
148 ×ÐÏÄÏÂÁÎØ ~/.fetchmailrc.
149
150 %package daemon
151 Summary:        SySV init script for demonize fetchmail for sucking emails
152 Summary(pl):    SySV init skrypt do uruchamiania systemowego fetchmaila jako daemon
153 Group:          Applications/System
154 Requires:       %{name} = %{version}
155 Prereq:         rc-scripts >= 0.2.0
156 Prereq:         /sbin/chkconfig
157
158 %description daemon
159 SySV init script for demonize fetchmail for sucking emails.
160
161 %description daemon -l pl
162 SySV init skrypt do uruchamiania systemowego fetchmaila jako daemon.
163
164 %prep
165 %setup -q
166 chmod -R u+w *
167 %patch0 -p1
168 %patch1 -p1
169
170 %build
171 gettextize --copy --force
172 aclocal
173 autoconf
174 cp -f /usr/share/automake/config.* .
175 %configure \
176         --enable-nls \
177         --without-included-gettext \
178         --enable-inet6 \
179         --enable-RPA \
180         --enable-NTLM \
181         --enable-SDPS \
182         %{!?_without_ssl:--with-ssl=%{_prefix}} \
183         %{?_without_ssl:--without-ssl} \
184         --without-kerberos
185 %{__make}
186
187 %install
188 rm -rf $RPM_BUILD_ROOT
189 install -d $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel \
190         $RPM_BUILD_ROOT%{_applnkdir}/Settings \
191         $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} \
192         $RPM_BUILD_ROOT/etc/logrotate.d
193
194 %{__make} install DESTDIR=$RPM_BUILD_ROOT
195
196 install rh-config/*.{xpm,init} $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel
197 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
198 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/fetchmail
199 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/fetchmail
200 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name}
201
202 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
203 echo ".so fetchmail.1" > $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
204
205 gzip -9nf FEATURES README NEWS NOTES ABOUT-NLS INSTALL README.NTLM *.html FAQ
206
207 touch $RPM_BUILD_ROOT%{_sysconfdir}/fetchmailrc
208
209 %find_lang %{name}
210
211 %clean
212 rm -rf $RPM_BUILD_ROOT
213
214 %post daemon
215 /sbin/chkconfig --add fetchmail
216 if [ -f /var/lock/subsys/fetchmail ]; then
217         /etc/rc.d/init.d/fetchmail restart >&2
218 else
219         echo "Run \"/etc/rc.d/init.d/fetchmail start\" to start fetchmail daemon."
220 fi
221
222 %preun daemon
223 if [ "$1" = "0" ]; then
224         if [ -f /var/lock/subsys/fetchmail ]; then
225                 /etc/rc.d/init.d/fetchmail stop >&2
226         fi
227         /sbin/chkconfig --del fetchmail
228 fi
229
230 %files -f %{name}.lang
231 %defattr(644,root,root,755)
232 %doc *.gz
233
234 %attr(755,root,root) %{_bindir}/fetchmail
235 %{_mandir}/man1/fetchmail.1*
236
237 %files -n fetchmailconf
238 %defattr(644,root,root,755)
239 %{_libdir}/rhs/control-panel/*
240 %attr(755,root,root) %{_bindir}/fetchmailconf
241 %{_applnkdir}/Settings/fetchmailconf.desktop
242 %{_mandir}/man1/fetchmailconf.1*
243
244 %files daemon
245 %defattr(644,root,root,755)
246 %attr(600,root,root) %config(noreplace,missingok) %{_sysconfdir}/fetchmailrc
247 %attr(754,root,root) %{_sysconfdir}/rc.d/init.d/fetchmail
248 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/fetchmail
249 %attr(640,root,root) %{_sysconfdir}/logrotate.d/fetchmail
This page took 0.080655 seconds and 2 git commands to generate.