]> git.pld-linux.org Git - packages/fetchmail.git/blame - fetchmail.spec
- updated gettext BR
[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
46a2a680 18Version: 6.3.26
ae7563aa 19Release: 1
5b498eb7 20License: GPL v2 with OpenSSL exception
9450acc5 21Group: Applications/Mail
f3cd7b3d 22#Source0Download: http://developer.berlios.de/project/showfiles.php?group_id=1824
46a2a680
AM
23Source0: http://downloads.sourceforge.net/fetchmail/%{name}-%{version}.tar.xz
24# Source0-md5: 61b66faad044afa26e142bb1791aa2b3
8453a08e 25Source1: %{name}conf.desktop
26Source2: %{name}.sysconfig
27Source3: %{name}.init
233866a9 28Source4: %{name}.logrotate
18fdc0ce 29URL: http://fetchmail.berlios.de/
7bc7e607 30BuildRequires: automake
7bc7e607 31BuildRequires: flex
dd163608 32BuildRequires: gettext-tools >= 0.14.6
fa0d56f5 33%{?with_ssl:BuildRequires: openssl-devel >= 0.9.7l}
5b498eb7
JB
34BuildRequires: python >= 2.0
35BuildRequires: python-modules >= 2.0
705e7861 36BuildRequires: rpm-pythonprov
9aca716b 37BuildRequires: rpmbuild(macros) >= 1.268
5b498eb7
JB
38BuildRequires: tar >= 1:1.22
39BuildRequires: xz
1a417665 40Requires: setup >= 2.3
9d33bdb6 41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3eeb7f55 42
43%description
06b78117 44Fetchmail is a program that is used to retrieve mail from a remote
45mail server. It can use the Post Office Protocol (POP) or IMAP
46(Internet Mail Access Protocol) for this, and delivers the mail
47through the local SMTP server (normally sendmail).
3eeb7f55 48
9a62c593
JR
49%description -l da.UTF-8
50Fetchmail er et gratis, robust, alsidigt og vel-dokumenteret værktøj
06b78117 51til afhentning og videresending af elektronisk post via TCP/IP
9a62c593 52baserede opkalds-forbindelser (såsom SLIP eller PPP forbindelser). Den
06b78117 53henter post fra en ekstern post-server, og videresender den til din
9a62c593
JR
54lokale klient-maskines post-system, så den kan læses af almindelige
55mail klienter såsom mutt, elm, pine, (x)emacs/gnus, eller mailx. Der
56medfølger også et interaktivt GUI-baseret konfigurations-program, som
06b78117 57kan bruges af almindelige brugere.
508cd0ae 58
9a62c593
JR
59%description -l de.UTF-8
60Fetchmail ist ein freies, vollständiges, robustes und
06b78117 61wohldokumentiertes Werkzeug zum Abholen und Weiterreichen von E-Mail,
9a62c593 62gedacht zum Gebrauchüber temporäre TCP/IP-Verbindungen (wie z.B. SLIP-
06b78117 63oder PPP-Verbindungen). Es holt E-Mail von (weit) entfernten
64Mail-Servern abund reicht sie an das Auslieferungssystem der lokalen
65Client-Maschine weiter, damit sie dann von normalen MUAs ("mail user
66agents") wie mutt, elm, pine, (x)emacs/gnus oder mailx gelesen werden
67kann. Ein interaktiver GUI-Konfigurator auch gut geeignet zum Gebrauch
68durch Endbenutzer wird mitgeliefert.
3eeb7f55 69
9a62c593 70%description -l es.UTF-8
06b78117 71Fetchmail es una utilidad gratis, completa, robusta y bien documentada
9a62c593 72para la recepción y reeenvío de correo pensada para ser usada en co-
06b78117 73nexiones TCP/IP por demanda (como SLIP y PPP). Recibe el correo de
9a62c593 74servidores remotos y lo reenvía al sistema de entrega local, siendo de
06b78117 75ese modo posible leerlo con programas como mutt, elm, pine,
76(x)emacs/gnus o mailx. Contiene un configurador GUI interactivo
77pensado para usuarios.
508cd0ae 78
9a62c593
JR
79%description -l fr.UTF-8
80Fetchmail est un programme utilisé pour récupérer le mail depuis un
06b78117 81serveur distant. Il peut utiliser POP (Post Office Protocol) ou IMAP
9a62c593 82(Internet Mail Access Protocol) pour cela, et achemine le courrier à
06b78117 83travers le serveur SMTP local (sendmail normal).
3eeb7f55 84
9a62c593
JR
85%description -l pl.UTF-8
86Fetchmail jest programem do ściągania poczty ze zdalnych serwerów
87pocztowych. Do ściągania poczty może on używać protokołów POP (Post
88Office Protocol) lub IMAP (Internet Mail Access Protocol). Ściągniętą
89pocztę dostarcza odbiorcom poprzez lokalny serwer SMTP.
3eeb7f55 90
9a62c593
JR
91%description -l pt.UTF-8
92fetchmail é um programa que é usado para recuperar mensagens de um
06b78117 93servidor de mail remoto. Ele pode usar Post Office Protocol (POP) ou
94IMAP (Internet Mail Access Protocol) para isso, e entrega o mail
9a62c593
JR
95através do servidor local SMTP (normalmente sendmail).
96
97%description -l ru.UTF-8
98Fetchmail - это утилита извлечения почты с удаленной машины и
99форвардинга, предназначенная для использования на on-demand TCP/IP
100соединениях, таких как SLIP или PPP соеднения. Fetchmail поддерживает
101все используемые в настоящее время в Инернете протоколы удаленной
102почты (POP2, POP3, RPOP, APOP, KPOP, все IMAPы, ESMTP ETRN). Затем
103Fetchmail форвардит извлеченную почту через SMTP, чтобы ви могли
104прочитать ее своим любимым почтовым клиентом.
105
106%description -l tr.UTF-8
107fetchmail yazılımı, POP veya IMAP desteği veren bir sunucuda yer alan
108mektuplarınızı alır.
109
110%description -l uk.UTF-8
111Fetchmail - це утиліта отримання пошти з віддаленої машини та
112форвардингу, призначена для використання на on-demand TCP/IP
113з'єднаннях, таких як SLIP чи PPP з'єднання. Fetchmail підтримує всі
114використовувані на сьогодні протоколи віддаленої пошти (POP2, POP3,
115RPOP, APOP, KPOP, всі IMAPи, ESMTP ETRN). Після отримання Fetchmail
116форвардить пошту через SMTP, щоб ви могли прочитати її своїм улюбленим
117поштовим клієнтом.
bd1ff90b 118
3eeb7f55 119%package -n fetchmailconf
9450acc5 120Summary: A GUI configurator for generating fetchmail configuration files
cb48536f
ER
121Summary(es.UTF-8): Configurador GUI interactivo por fetchmail
122Summary(fr.UTF-8): GUI configurateur pour fetchmail
123Summary(pl.UTF-8): Konfigurator GUI do fetchmaila
124Summary(pt.UTF-8): Um configurador gráfico para a criação de arquivos de configuração para o fetchmail
125Summary(ru.UTF-8): Графическая утилита для конфигурации предпочтений для fetchmail
126Summary(uk.UTF-8): Графічна утиліта для конфігурації вподобань для fetchmail
009b1c9e 127Group: Applications/System
11148396 128Requires: %{name} = %{version}-%{release}
3c0a3c3c 129Requires: python
51d02ff8 130Requires: python-tkinter
3eeb7f55 131
132%description -n fetchmailconf
83987afc 133A GUI configurator for generating fetchmail configuration file written
06b78117 134in python.
3eeb7f55 135
9a62c593
JR
136%description -n fetchmailconf -l de.UTF-8
137Ein interaktiver GUI-Konfigurator für fetchmail in python.
2669bc97 138
9a62c593
JR
139%description -n fetchmailconf -l es.UTF-8
140Configurador gráfico para fetchmail escrito en python.
2669bc97 141
9a62c593 142%description -n fetchmailconf -l pl.UTF-8
83987afc 143Konfigurator GUI do fetchmaila napisany w pythonie.
3eeb7f55 144
9a62c593
JR
145%description -n fetchmailconf -l pt.UTF-8
146Um configurador gráfico para a criação de arquivos de configuração
f9a20aca 147para o fetchmail.
148
9a62c593
JR
149%description -n fetchmailconf -l ru.UTF-8
150Fetchmailconf - это программа на Tcl/Tk для конфигурации вашего файла
151предпочтений ~/.fetchmailrc.
bd1ff90b 152
9a62c593
JR
153%description -n fetchmailconf -l uk.UTF-8
154Fetchmailconf - це програма на Tcl/Tk для конфігурації вашого файла
155вподобань ~/.fetchmailrc.
bd1ff90b 156
a8b0d105 157%package daemon
83987afc 158Summary: SysV init script for demonize fetchmail for sucking emails
cb48536f 159Summary(pl.UTF-8): Skrypt startowy SysV do uruchamiania systemowego fetchmaila jako demona
009b1c9e 160Group: Applications/System
749c83f0 161Requires(post,preun): /sbin/chkconfig
d44a0243
ER
162Requires: %{name} = %{version}-%{release}
163Requires: rc-scripts
a8b0d105 164
165%description daemon
83987afc 166SysV init script for demonize fetchmail for sucking emails.
a8b0d105 167
9a62c593 168%description daemon -l pl.UTF-8
d44a0243
ER
169Skrypt startowy SysV do uruchamiania systemowego fetchmaila jako
170demona.
a8b0d105 171
3eeb7f55 172%prep
387e3244 173%setup -q
c5c28a4a 174
3eeb7f55 175%build
86cbd65d 176cp -f /usr/share/automake/config.* .
cd966eab 177%configure \
6ff0b625
JB
178 ac_cv_header_md5_h=no \
179 ac_cv_search_MD5Init=no \
3eeb7f55 180 --enable-nls \
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)
5b498eb7
JB
229# COPYING contains detailed description of licenses
230%doc COPYING FEATURES README NEWS NOTES README.NTLM *.html FAQ
39df3a54 231%attr(755,root,root) %{_bindir}/fetchmail
d80c7939 232%{_mandir}/man1/fetchmail.1*
6625d954 233
3eeb7f55 234%files -n fetchmailconf
6625d954 235%defattr(644,root,root,755)
39df3a54 236%attr(755,root,root) %{_bindir}/fetchmailconf
14ceb279 237%{_desktopdir}/fetchmailconf.desktop
9450acc5 238%{_mandir}/man1/fetchmailconf.1*
16a12675 239%{py_sitescriptdir}/*.py[co]
30ae3b37 240
a8b0d105 241%files daemon
43f5a066 242%defattr(644,root,root,755)
11148396 243%attr(600,root,root) %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/fetchmailrc
a61d1677 244%attr(754,root,root) /etc/rc.d/init.d/fetchmail
11148396
JB
245%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/fetchmail
246%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/fetchmail
This page took 0.124946 seconds and 4 git commands to generate.