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