]> git.pld-linux.org Git - packages/fetchmail.git/blob - fetchmail.spec
- PLD-style /etc/rc.d/init.d/fetchmail script.
[packages/fetchmail.git] / fetchmail.spec
1 Summary:        Remote mail fetch daemon for POP2, POP3, APOP, IMAP
2 Summary(da):    Alsidig POP/IMAP post-afhentnings dæmon
3 Summary(de):    Dämon zum Laden entfernter Mail (POP2, POP3, APOP, IMAP)
4 Summary(es):    Recolector de correo via POP/IMAP
5 Summary(fr):    Démon de récupération du mail pour POP2, POP3, APOP, IMAP.
6 Summary(pl):    Zdalny demon pocztowy do protoko³ów POP2, POP3, APOP, IMAP
7 Summary(pt):    Busca mensagens de um servidor usando POP ou IMAP
8 Summary(tr):    POP2, POP3, APOP, IMAP protokolleri ile uzaktan mektup alma yazýlýmý
9 Name:           fetchmail
10 Version:        5.3.0
11 Release:        2
12 Copyright:      freely redistributable
13 Group:          Applications/Mail
14 Group(pl):      Aplikacje/Poczta
15 Group(pt):      Aplicações/Correio Eletrônico
16 Vendor:         Eric S. Raymond <esr@thyrsus.com>
17 Source0:        ftp://locke.ccil.org/pub/esr/fetchmail/%{name}-%{version}.tar.gz
18 Source1:        fetchmailconf.desktop
19 Source2:        fetchmail.sysconfig
20 Source3:        fetchmail.init
21 Patch0:         fetchmail-DESTDIR.patch
22 Patch1:         fetchmail-IPv6.patch
23 Icon:           fetchmail.gif
24 URL:            http://www.tuxedo.org/~esr/fetchmail/
25 BuildRequires:  openssl-devel >= 0.9.4-2
26 BuildRequires:  gettext-devel
27 Requires:       smtpdaemon
28 BuildRoot:      /tmp/%{name}-%{version}-root
29
30 %description
31 Fetchmail is a program that is used to retrieve mail from a remote mail
32 server. It can use the Post Office Protocol (POP) or IMAP (Internet Mail
33 Access Protocol) for this, and delivers the mail through the local SMTP
34 server (normally sendmail).
35
36 %description -l da
37 Fetchmail er et gratis, robust, alsidigt og vel-dokumenteret værktøj til
38 afhentning og videresending af elektronisk post via TCP/IP baserede
39 opkalds-forbindelser (såsom SLIP eller PPP forbindelser).  Den henter post
40 fra en ekstern post-server, og videresender den til din lokale
41 klient-maskines post-system, så den kan læses af almindelige mail klienter
42 såsom mutt, elm, pine, (x)emacs/gnus, eller mailx. Der medfølger også et
43 interaktivt GUI-baseret konfigurations-program, som kan bruges af
44 almindelige brugere.
45
46 %description -l de
47 Fetchmail ist ein freies, vollständiges, robustes und wohldokumentiertes
48 Werkzeug zum Abholen und Weiterreichen von E-Mail, gedacht zum Gebrauchüber
49 temporäre TCP/IP-Verbindungen (wie z.B. SLIP- oder PPP-Verbindungen). Es
50 holt E-Mail von (weit) entfernten Mail-Servern abund reicht sie an das
51 Auslieferungssystem der lokalen Client-Maschine weiter, damit sie dann von
52 normalen MUAs ("mail user agents") wie mutt, elm, pine, (x)emacs/gnus oder
53 mailx gelesen werden kann. Ein interaktiver GUI-Konfigurator auch gut
54 geeignet zum Gebrauch durch Endbenutzer wird mitgeliefert.
55
56 %description -l es
57 Fetchmail es una utilidad gratis, completa, robusta y bien documentada para
58 la recepción y reeenvío de correo pensada para ser usada en co- nexiones
59 TCP/IP por demanda (como SLIP y PPP). Recibe el correo de servidores remotos
60 y lo reenvía al sistema de entrega local, siendo de ese modo posible leerlo
61 con programas como mutt, elm, pine, (x)emacs/gnus o mailx. Contiene un
62 configurador GUI interactivo pensado para usuarios.
63
64 %description -l fr
65 Fetchmail est un programme utilisé pour récupérer le mail depuis un serveur
66 distant. Il peut utiliser POP (Post Office Protocol) ou IMAP (Internet Mail
67 Access Protocol) pour cela, et achemine le courrier à travers le serveur
68 SMTP local (sendmail normal).
69
70 %description -l pl
71 Fetchmail jest programem do ¶ci±gania poczty ze zdalnych serwerów
72 pocztowych. Do ¶ci±gania poczty mo¿e on u¿ywaæ protoko³ów POP (Post Office
73 Protocol) lub IMAP (Internet Mail Access Protocol). ¦ci±gniêt± pocztê
74 dostarcza do koñcowych odbiorców poprzez lokalny serwer SMTP.
75
76 %description -l pt
77 fetchmail é um programa que é usado para recuperar mensagens de um servidor
78 de mail remoto. Ele pode usar Post Office Protocol (POP) ou IMAP (Internet
79 Mail Access Protocol) para isso, e entrega o mail através do servidor local
80 SMTP (normalmente sendmail).
81
82 %description -l tr
83 fetchmail yazýlýmý, POP veya IMAP desteði veren bir sunucuda yer alan
84 mektuplarýnýzý alýr.
85
86 %package -n fetchmailconf
87 Summary:        A GUI configurator for generating fetchmail configuration files
88 Summary(es):    Configurador GUI interactivo por fetchmail
89 Summary(fr):    GUI configurateur pour fetchmail
90 Summary(pl):    GUI konfigurator do fetchmaila
91 Group:          Utilities/System
92 Group(pl):      Narzêdzia/System
93 Requires:       %{name} = %{version}, python
94
95 %description -n fetchmailconf
96 A GUI configurator for generating fetchmail configuration file writen in
97 python
98
99 %description -n fetchmailconf -l de
100 Ein interaktiver GUI-Konfigurator für fetchmail in python
101
102 %description -n fetchmailconf -l es
103 Configurador gráfico para fetchmail escrito en python
104
105 %description -n fetchmailconf -l pl 
106 GUI konfigurator do fetchmaila napisany w pythonie.
107
108 %prep
109 %setup -q
110 %patch0 -p0
111 %patch1 -p1
112
113 %build
114 chmod -R u+w *
115 gettextize --copy --force
116 aclocal
117 autoconf
118 LDFLAGS="-s"; export LDFLAGS
119 CFLAGS="$RPM_OPT_FLAGS -DSSL_ENABLE"
120 %configure \
121         --enable-nls \
122         --without-included-gettext \
123         --enable-inet6 \
124         --enable-RPA \
125         --enable-NTLM \
126         --enable-SDPS \
127         --with-ssl=/usr
128 make
129
130 %install
131 rm -rf $RPM_BUILD_ROOT
132 install -d $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel \
133         $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Administration \
134         $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
135
136 make install DESTDIR=$RPM_BUILD_ROOT
137
138 install rh-config/*.{xpm,init} $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel
139 install %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Administration
140 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/fetchmail
141 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/fetchmail
142
143 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
144         FEATURES README NEWS NOTES *.html FAQ COPYING
145
146 %find_lang %{name}
147
148 %post
149 /sbin/chkconfig --add fetchmail
150 /etc/rc.d/init.d/fetchmail restart >&2
151
152 %preun
153 if [ "$1" = "0" ]; then
154         /etc/rc.d/init.d/fetchmail stop >&2
155         /sbin/checkconfig --del fetchmail
156 fi
157
158 %clean
159 rm -rf $RPM_BUILD_ROOT
160
161 %files -f %{name}.lang
162 %defattr(644,root,root,755)
163 %doc {FEATURES,README,NEWS,NOTES,*.html,FAQ,COPYING}.gz sample.rcfile
164
165 %attr(755,root,root) %{_bindir}/fetchmail
166 %{_mandir}/man1/fetchmail.1*
167
168 # %attr(600,root,root) %config(noreplace,missingok) /etc/fetchmailrc
169 %attr(755,root,root) /etc/rc.d/init.d/fetchmail
170 %config(noreplace) /etc/sysconfig/fetchmail
171
172 %files -n fetchmailconf
173 %defattr(644,root,root,755)
174 %{_libdir}/rhs/control-panel/*
175 %attr(755,root,root) %{_bindir}/fetchmailconf
176 %{_mandir}/man1/fetchmailconf.1*
177
178 /usr/X11R6/share/applnk/Administration/fetchmailconf.desktop
This page took 0.048983 seconds and 4 git commands to generate.