]> git.pld-linux.org Git - packages/fetchmail.git/blob - fetchmail.spec
- fix in pl.po-update patch, release 4
[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.2.5
19 Release:        4
20 License:        GPL
21 Group:          Applications/Mail
22 Source0:        http://catb.org/~esr/fetchmail/%{name}-%{version}.tar.gz
23 # Source0-md5:  9956b30139edaa4f5f77c4d0dbd80225
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 Patch1:         %{name}-home_etc.patch
30 Icon:           fetchmail.gif
31 URL:            http://www.catb.org/~esr/fetchmail/
32 BuildRequires:  automake
33 BuildRequires:  bison
34 BuildRequires:  flex
35 BuildRequires:  gettext-devel
36 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7d}
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}
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:       %{name} = %{version}
159 PreReq:         rc-scripts >= 0.2.0
160 Requires(post,preun):   /sbin/chkconfig
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 demona.
167
168 %prep
169 %setup -q
170 %patch0 -p1
171 %patch1 -p1
172
173 %build
174 cp -f /usr/share/automake/config.* .
175 %configure \
176         --enable-nls \
177         --without-included-gettext \
178         %{?with_ipv6:--enable-inet6} \
179         --enable-RPA \
180         --enable-NTLM \
181         --enable-SDPS \
182         %{?with_ssl:--with-ssl=%{_prefix}} \
183         %{!?with_ssl:--without-ssl} \
184         --without-kerberos
185 %{__make}
186
187 %install
188 rm -rf $RPM_BUILD_ROOT
189 install -d $RPM_BUILD_ROOT%{_applnkdir}/Settings \
190         $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} \
191         $RPM_BUILD_ROOT/etc/logrotate.d
192
193 %{__make} install \
194         DESTDIR=$RPM_BUILD_ROOT
195
196 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
197 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/fetchmail
198 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/fetchmail
199 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
200
201 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
202 echo ".so fetchmail.1" > $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
203
204 > $RPM_BUILD_ROOT%{_sysconfdir}/fetchmailrc
205
206 %find_lang %{name}
207
208 %clean
209 rm -rf $RPM_BUILD_ROOT
210
211 %post daemon
212 /sbin/chkconfig --add fetchmail
213 if [ -f /var/lock/subsys/fetchmail ]; then
214         /etc/rc.d/init.d/fetchmail restart >&2
215 else
216         echo "Run \"/etc/rc.d/init.d/fetchmail start\" to start fetchmail daemon."
217 fi
218
219 %preun daemon
220 if [ "$1" = "0" ]; then
221         if [ -f /var/lock/subsys/fetchmail ]; then
222                 /etc/rc.d/init.d/fetchmail stop >&2
223         fi
224         /sbin/chkconfig --del fetchmail
225 fi
226
227 %files -f %{name}.lang
228 %defattr(644,root,root,755)
229 %doc FEATURES README NEWS NOTES README.NTLM *.html FAQ
230 %attr(755,root,root) %{_bindir}/fetchmail
231 %{_mandir}/man1/fetchmail.1*
232
233 %files -n fetchmailconf
234 %defattr(644,root,root,755)
235 %attr(755,root,root) %{_bindir}/fetchmailconf
236 %{_applnkdir}/Settings/fetchmailconf.desktop
237 %{_mandir}/man1/fetchmailconf.1*
238
239 %files daemon
240 %defattr(644,root,root,755)
241 %attr(600,root,root) %config(noreplace,missingok) %{_sysconfdir}/fetchmailrc
242 %attr(754,root,root) /etc/rc.d/init.d/fetchmail
243 %attr(640,root,root) %config(noreplace) /etc/sysconfig/fetchmail
244 %attr(640,root,root) /etc/logrotate.d/fetchmail
This page took 0.039931 seconds and 3 git commands to generate.