]> git.pld-linux.org Git - packages/fetchmail.git/blame - fetchmail.spec
- up to 6.3.7
[packages/fetchmail.git] / fetchmail.spec
CommitLineData
250b7340 1# TODO: kerberos5/gssapi support?
da9c144b 2#
3# Conditional build:
4%bcond_without ssl # build without SSL support
5%bcond_without ipv6 # build without IPv6 support
35adbe06 6#
9450acc5 7Summary: Remote mail fetch daemon for POP2, POP3, APOP, IMAP
cb48536f
ER
8Summary(da.UTF-8): Alsidig POP/IMAP post-afhentnings dæmon
9Summary(de.UTF-8): Dämon zum Laden entfernter Mail (POP2, POP3, APOP, IMAP)
10Summary(es.UTF-8): Recolector de correo via POP/IMAP
11Summary(fr.UTF-8): Démon de récupération du mail pour POP2, POP3, APOP, IMAP
12Summary(pl.UTF-8): Zdalny demon pocztowy do protokołów POP2, POP3, APOP, IMAP
13Summary(pt.UTF-8): Busca mensagens de um servidor usando POP ou IMAP
14Summary(ru.UTF-8): Утилита извлечения почты с удаленной машины по протоколам POP/IMAP
15Summary(tr.UTF-8): POP2, POP3, APOP, IMAP protokolleri ile uzaktan mektup alma yazılımı
16Summary(uk.UTF-8): Утиліта отримання пошти з віддаленої машини по протоколам POP/IMAP
17Summary(zh_CN.UTF-8): 功能强大的 POP/IMAP 电子邮件收取守护进程
9450acc5 18Name: fetchmail
c4d56e28
AM
19Version: 6.3.7
20Release: 1
a8b0d105 21License: GPL
9450acc5 22Group: Applications/Mail
f3cd7b3d
JB
23#Source0Download: http://developer.berlios.de/project/showfiles.php?group_id=1824
24Source0: http://download2.berlios.de/fetchmail/%{name}-%{version}.tar.bz2
c4d56e28 25# Source0-md5: 9ef60ab06661108c3c6605aad97e8325
8453a08e 26Source1: %{name}conf.desktop
27Source2: %{name}.sysconfig
28Source3: %{name}.init
233866a9 29Source4: %{name}.logrotate
18fdc0ce 30URL: http://fetchmail.berlios.de/
7bc7e607 31BuildRequires: automake
c4d2ad30 32BuildRequires: bison
7bc7e607 33BuildRequires: flex
34BuildRequires: gettext-devel
fa0d56f5 35%{?with_ssl:BuildRequires: openssl-devel >= 0.9.7l}
9aca716b 36BuildRequires: rpmbuild(macros) >= 1.268
1a417665 37Requires: setup >= 2.3
9d33bdb6 38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3eeb7f55 39
40%description
06b78117 41Fetchmail is a program that is used to retrieve mail from a remote
42mail server. It can use the Post Office Protocol (POP) or IMAP
43(Internet Mail Access Protocol) for this, and delivers the mail
44through the local SMTP server (normally sendmail).
3eeb7f55 45
9a62c593
JR
46%description -l da.UTF-8
47Fetchmail er et gratis, robust, alsidigt og vel-dokumenteret værktøj
06b78117 48til afhentning og videresending af elektronisk post via TCP/IP
9a62c593 49baserede opkalds-forbindelser (såsom SLIP eller PPP forbindelser). Den
06b78117 50henter post fra en ekstern post-server, og videresender den til din
9a62c593
JR
51lokale klient-maskines post-system, så den kan læses af almindelige
52mail klienter såsom mutt, elm, pine, (x)emacs/gnus, eller mailx. Der
53medfølger også et interaktivt GUI-baseret konfigurations-program, som
06b78117 54kan bruges af almindelige brugere.
508cd0ae 55
9a62c593
JR
56%description -l de.UTF-8
57Fetchmail ist ein freies, vollständiges, robustes und
06b78117 58wohldokumentiertes Werkzeug zum Abholen und Weiterreichen von E-Mail,
9a62c593 59gedacht zum Gebrauchüber temporäre TCP/IP-Verbindungen (wie z.B. SLIP-
06b78117 60oder PPP-Verbindungen). Es holt E-Mail von (weit) entfernten
61Mail-Servern abund reicht sie an das Auslieferungssystem der lokalen
62Client-Maschine weiter, damit sie dann von normalen MUAs ("mail user
63agents") wie mutt, elm, pine, (x)emacs/gnus oder mailx gelesen werden
64kann. Ein interaktiver GUI-Konfigurator auch gut geeignet zum Gebrauch
65durch Endbenutzer wird mitgeliefert.
3eeb7f55 66
9a62c593 67%description -l es.UTF-8
06b78117 68Fetchmail es una utilidad gratis, completa, robusta y bien documentada
9a62c593 69para la recepción y reeenvío de correo pensada para ser usada en co-
06b78117 70nexiones TCP/IP por demanda (como SLIP y PPP). Recibe el correo de
9a62c593 71servidores remotos y lo reenvía al sistema de entrega local, siendo de
06b78117 72ese modo posible leerlo con programas como mutt, elm, pine,
73(x)emacs/gnus o mailx. Contiene un configurador GUI interactivo
74pensado para usuarios.
508cd0ae 75
9a62c593
JR
76%description -l fr.UTF-8
77Fetchmail est un programme utilisé pour récupérer le mail depuis un
06b78117 78serveur distant. Il peut utiliser POP (Post Office Protocol) ou IMAP
9a62c593 79(Internet Mail Access Protocol) pour cela, et achemine le courrier à
06b78117 80travers le serveur SMTP local (sendmail normal).
3eeb7f55 81
9a62c593
JR
82%description -l pl.UTF-8
83Fetchmail jest programem do ściągania poczty ze zdalnych serwerów
84pocztowych. Do ściągania poczty może on używać protokołów POP (Post
85Office Protocol) lub IMAP (Internet Mail Access Protocol). Ściągniętą
86pocztę dostarcza odbiorcom poprzez lokalny serwer SMTP.
3eeb7f55 87
9a62c593
JR
88%description -l pt.UTF-8
89fetchmail é um programa que é usado para recuperar mensagens de um
06b78117 90servidor de mail remoto. Ele pode usar Post Office Protocol (POP) ou
91IMAP (Internet Mail Access Protocol) para isso, e entrega o mail
9a62c593
JR
92através do servidor local SMTP (normalmente sendmail).
93
94%description -l ru.UTF-8
95Fetchmail - это утилита извлечения почты с удаленной машины и
96форвардинга, предназначенная для использования на on-demand TCP/IP
97соединениях, таких как SLIP или PPP соеднения. Fetchmail поддерживает
98все используемые в настоящее время в Инернете протоколы удаленной
99почты (POP2, POP3, RPOP, APOP, KPOP, все IMAPы, ESMTP ETRN). Затем
100Fetchmail форвардит извлеченную почту через SMTP, чтобы ви могли
101прочитать ее своим любимым почтовым клиентом.
102
103%description -l tr.UTF-8
104fetchmail yazılımı, POP veya IMAP desteği veren bir sunucuda yer alan
105mektuplarınızı alır.
106
107%description -l uk.UTF-8
108Fetchmail - це утиліта отримання пошти з віддаленої машини та
109форвардингу, призначена для використання на on-demand TCP/IP
110з'єднаннях, таких як SLIP чи PPP з'єднання. Fetchmail підтримує всі
111використовувані на сьогодні протоколи віддаленої пошти (POP2, POP3,
112RPOP, APOP, KPOP, всі IMAPи, ESMTP ETRN). Після отримання Fetchmail
113форвардить пошту через SMTP, щоб ви могли прочитати її своїм улюбленим
114поштовим клієнтом.
bd1ff90b 115
3eeb7f55 116%package -n fetchmailconf
9450acc5 117Summary: A GUI configurator for generating fetchmail configuration files
cb48536f
ER
118Summary(es.UTF-8): Configurador GUI interactivo por fetchmail
119Summary(fr.UTF-8): GUI configurateur pour fetchmail
120Summary(pl.UTF-8): Konfigurator GUI do fetchmaila
121Summary(pt.UTF-8): Um configurador gráfico para a criação de arquivos de configuração para o fetchmail
122Summary(ru.UTF-8): Графическая утилита для конфигурации предпочтений для fetchmail
123Summary(uk.UTF-8): Графічна утиліта для конфігурації вподобань для fetchmail
009b1c9e 124Group: Applications/System
11148396 125Requires: %{name} = %{version}-%{release}
3c0a3c3c 126Requires: python
51d02ff8 127Requires: python-tkinter
3eeb7f55 128
129%description -n fetchmailconf
83987afc 130A GUI configurator for generating fetchmail configuration file written
06b78117 131in python.
3eeb7f55 132
9a62c593
JR
133%description -n fetchmailconf -l de.UTF-8
134Ein interaktiver GUI-Konfigurator für fetchmail in python.
2669bc97 135
9a62c593
JR
136%description -n fetchmailconf -l es.UTF-8
137Configurador gráfico para fetchmail escrito en python.
2669bc97 138
9a62c593 139%description -n fetchmailconf -l pl.UTF-8
83987afc 140Konfigurator GUI do fetchmaila napisany w pythonie.
3eeb7f55 141
9a62c593
JR
142%description -n fetchmailconf -l pt.UTF-8
143Um configurador gráfico para a criação de arquivos de configuração
f9a20aca 144para o fetchmail.
145
9a62c593
JR
146%description -n fetchmailconf -l ru.UTF-8
147Fetchmailconf - это программа на Tcl/Tk для конфигурации вашего файла
148предпочтений ~/.fetchmailrc.
bd1ff90b 149
9a62c593
JR
150%description -n fetchmailconf -l uk.UTF-8
151Fetchmailconf - це програма на Tcl/Tk для конфігурації вашого файла
152вподобань ~/.fetchmailrc.
bd1ff90b 153
a8b0d105 154%package daemon
83987afc 155Summary: SysV init script for demonize fetchmail for sucking emails
cb48536f 156Summary(pl.UTF-8): Skrypt startowy SysV do uruchamiania systemowego fetchmaila jako demona
009b1c9e 157Group: Applications/System
749c83f0 158Requires(post,preun): /sbin/chkconfig
d44a0243
ER
159Requires: %{name} = %{version}-%{release}
160Requires: rc-scripts
a8b0d105 161
162%description daemon
83987afc 163SysV init script for demonize fetchmail for sucking emails.
a8b0d105 164
9a62c593 165%description daemon -l pl.UTF-8
d44a0243
ER
166Skrypt startowy SysV do uruchamiania systemowego fetchmaila jako
167demona.
a8b0d105 168
3eeb7f55 169%prep
387e3244 170%setup -q
3eeb7f55 171
c5c28a4a
JB
172# to rebuild po/pl.gmo
173rm -f po/stamp-po
174
3eeb7f55 175%build
86cbd65d 176cp -f /usr/share/automake/config.* .
cd966eab 177%configure \
3eeb7f55 178 --enable-nls \
8689f7f8 179 --without-included-gettext \
da9c144b 180 %{?with_ipv6:--enable-inet6} \
5bdb5715
AF
181 --enable-RPA \
182 --enable-NTLM \
183 --enable-SDPS \
da9c144b 184 %{?with_ssl:--with-ssl=%{_prefix}} \
185 %{!?with_ssl:--without-ssl} \
c4d2ad30 186 --without-kerberos
4750c757 187%{__make}
3eeb7f55 188
189%install
190rm -rf $RPM_BUILD_ROOT
14ceb279 191install -d $RPM_BUILD_ROOT%{_desktopdir} \
382a4000 192 $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} \
233866a9 193 $RPM_BUILD_ROOT/etc/logrotate.d
3eeb7f55 194
860e7d9c
PG
195%{__make} install \
196 DESTDIR=$RPM_BUILD_ROOT
3eeb7f55 197
14ceb279 198install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
a61d1677 199install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/fetchmail
200install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/fetchmail
701d4d32 201install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
3eeb7f55 202
e796b687
MB
203sed 's,\.py,\.pyc,' fetchmailconf > $RPM_BUILD_ROOT%{_bindir}/fetchmailconf
204
ea8cff5a 205rm -f $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
19e454dc 206echo ".so fetchmail.1" > $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
ea8cff5a 207
83987afc 208> $RPM_BUILD_ROOT%{_sysconfdir}/fetchmailrc
3eeb7f55 209
3f8b67c9 210%find_lang %{name}
9450acc5 211
d44a0243
ER
212%py_postclean
213
04b21785
JB
214%clean
215rm -rf $RPM_BUILD_ROOT
216
a8b0d105 217%post daemon
023856a4 218/sbin/chkconfig --add fetchmail
9aca716b 219%service fetchmail restart "fetchmail daemon"
21b6ca3c 220
a8b0d105 221%preun daemon
023856a4 222if [ "$1" = "0" ]; then
9aca716b 223 %service fetchmail stop
023856a4 224 /sbin/chkconfig --del fetchmail
225fi
21b6ca3c 226
3f8b67c9 227%files -f %{name}.lang
6625d954 228%defattr(644,root,root,755)
a55aad73 229%doc FEATURES README NEWS NOTES README.NTLM *.html FAQ
39df3a54 230%attr(755,root,root) %{_bindir}/fetchmail
d80c7939 231%{_mandir}/man1/fetchmail.1*
6625d954 232
3eeb7f55 233%files -n fetchmailconf
6625d954 234%defattr(644,root,root,755)
39df3a54 235%attr(755,root,root) %{_bindir}/fetchmailconf
14ceb279 236%{_desktopdir}/fetchmailconf.desktop
9450acc5 237%{_mandir}/man1/fetchmailconf.1*
16a12675 238%{py_sitescriptdir}/*.py[co]
30ae3b37 239
a8b0d105 240%files daemon
43f5a066 241%defattr(644,root,root,755)
11148396 242%attr(600,root,root) %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/fetchmailrc
a61d1677 243%attr(754,root,root) /etc/rc.d/init.d/fetchmail
11148396
JB
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 0.145416 seconds and 4 git commands to generate.