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