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