]> git.pld-linux.org Git - packages/fetchmail.git/blob - fetchmail.spec
- pl.po update for 6.3.1
[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.0
19 Release:        1
20 License:        GPL
21 Group:          Applications/Mail
22 Source0:        http://download.berlios.de/fetchmail/%{name}-%{version}.tar.bz2
23 # Source0-md5:  b547b59f352af956911ce812773b3976
24 Source1:        %{name}conf.desktop
25 Source2:        %{name}.sysconfig
26 Source3:        %{name}.init
27 Source4:        %{name}.logrotate
28 Icon:           fetchmail.gif
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
171 %build
172 cp -f /usr/share/automake/config.* .
173 %configure \
174         --enable-nls \
175         --without-included-gettext \
176         %{?with_ipv6:--enable-inet6} \
177         --enable-RPA \
178         --enable-NTLM \
179         --enable-SDPS \
180         %{?with_ssl:--with-ssl=%{_prefix}} \
181         %{!?with_ssl:--without-ssl} \
182         --without-kerberos
183 %{__make}
184
185 %install
186 rm -rf $RPM_BUILD_ROOT
187 install -d $RPM_BUILD_ROOT%{_desktopdir} \
188         $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} \
189         $RPM_BUILD_ROOT/etc/logrotate.d
190
191 %{__make} install \
192         DESTDIR=$RPM_BUILD_ROOT
193
194 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
195 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/fetchmail
196 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/fetchmail
197 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
198
199 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
200 echo ".so fetchmail.1" > $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
201
202 > $RPM_BUILD_ROOT%{_sysconfdir}/fetchmailrc
203
204 %find_lang %{name}
205
206 %py_postclean
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 %{_desktopdir}/fetchmailconf.desktop
237 %{_mandir}/man1/fetchmailconf.1*
238 %{py_sitescriptdir}/*.py[co]
239
240 %files daemon
241 %defattr(644,root,root,755)
242 %attr(600,root,root) %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/fetchmailrc
243 %attr(754,root,root) /etc/rc.d/init.d/fetchmail
244 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/fetchmail
245 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/fetchmail
This page took 1.783362 seconds and 3 git commands to generate.