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