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