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