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