]> git.pld-linux.org Git - packages/fetchmail.git/blob - fetchmail.spec
071eaa7a735cc38a9c6cd9b71bf0c7d17e8b9301
[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 Summary(zh_CN): ¹¦ÄÜÇ¿´óµÄ POP/IMAP µç×ÓÓʼþÊÕÈ¡ÊØ»¤½ø³Ì
12 Name:           fetchmail
13 Version:        6.1.0
14 Release:        3
15 License:        GPL
16 Vendor:         Eric S. Raymond <esr@thyrsus.com>
17 Group:          Applications/Mail
18 Source0:        http://www.tuxedo.org/~esr/fetchmail/%{name}-%{version}.tar.gz
19 Source1:        %{name}conf.desktop
20 Source2:        %{name}.sysconfig
21 Source3:        %{name}.init
22 Source4:        %{name}.logrotate
23 Patch0:         %{name}-shroud.patch
24 Patch1:         %{name}-po_updates.patch
25 Icon:           fetchmail.gif
26 URL:            http://www.tuxedo.org/~esr/fetchmail/
27 BuildRequires:  autoconf
28 BuildRequires:  automake
29 BuildRequires:  bison
30 BuildRequires:  flex
31 BuildRequires:  gettext-devel
32 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6a}
33 Requires:       setup >= 2.3
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):    Konfigurator GUI 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 written
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 Konfigurator GUI 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 -l ru
143 Fetchmailconf - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÎÁ TCL/TK ÄÌÑ ËÏÎÆÉÇÕÒÁÃÉÉ ×ÁÛÅÇÏ ÆÁÊÌÁ
144 ÐÒÅÄÐÏÞÔÅÎÉÊ ~/.fetchmailrc.
145
146 %description -n fetchmailconf -l uk
147 Fetchmailconf - ÃÅ ÐÒÏÇÒÁÍÁ ÎÁ TCL/TK ÄÌÑ ËÏÎƦÇÕÒÁ槠×ÁÛÏÇÏ ÆÁÊÌÁ
148 ×ÐÏÄÏÂÁÎØ ~/.fetchmailrc.
149
150 %package daemon
151 Summary:        SysV init script for demonize fetchmail for sucking emails
152 Summary(pl):    Skrypt startowy SysV do uruchamiania systemowego fetchmaila jako demona
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 Skrypt startowy SysV do uruchamiania systemowego fetchmaila jako demona.
163
164 %prep
165 %setup -q
166 chmod -R u+w *
167 %patch0 -p1
168 %patch1 -p1
169
170 %build
171 %{__gettextize}
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%{_applnkdir}/Settings \
190         $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} \
191         $RPM_BUILD_ROOT/etc/logrotate.d
192
193 %{__make} install DESTDIR=$RPM_BUILD_ROOT
194
195 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
196 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/fetchmail
197 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/fetchmail
198 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name}
199
200 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
201 echo ".so fetchmail.1" > $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
202
203 > $RPM_BUILD_ROOT%{_sysconfdir}/fetchmailrc
204
205 %find_lang %{name}
206
207 %clean
208 rm -rf $RPM_BUILD_ROOT
209
210 %post daemon
211 /sbin/chkconfig --add fetchmail
212 if [ -f /var/lock/subsys/fetchmail ]; then
213         /etc/rc.d/init.d/fetchmail restart >&2
214 else
215         echo "Run \"/etc/rc.d/init.d/fetchmail start\" to start fetchmail daemon."
216 fi
217
218 %preun daemon
219 if [ "$1" = "0" ]; then
220         if [ -f /var/lock/subsys/fetchmail ]; then
221                 /etc/rc.d/init.d/fetchmail stop >&2
222         fi
223         /sbin/chkconfig --del fetchmail
224 fi
225
226 %files -f %{name}.lang
227 %defattr(644,root,root,755)
228 %doc FEATURES README NEWS NOTES ABOUT-NLS INSTALL README.NTLM *.html FAQ
229 %attr(755,root,root) %{_bindir}/fetchmail
230 %{_mandir}/man1/fetchmail.1*
231
232 %files -n fetchmailconf
233 %defattr(644,root,root,755)
234 %attr(755,root,root) %{_bindir}/fetchmailconf
235 %{_applnkdir}/Settings/fetchmailconf.desktop
236 %{_mandir}/man1/fetchmailconf.1*
237
238 %files daemon
239 %defattr(644,root,root,755)
240 %attr(600,root,root) %config(noreplace,missingok) %{_sysconfdir}/fetchmailrc
241 %attr(754,root,root) %{_sysconfdir}/rc.d/init.d/fetchmail
242 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/fetchmail
243 %attr(640,root,root) %{_sysconfdir}/logrotate.d/fetchmail
This page took 0.062134 seconds and 2 git commands to generate.