]> git.pld-linux.org Git - packages/fetchmail.git/blob - fetchmail.spec
fetchmailconf requires tkinter
[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.2
11 Release:        2
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:      /tmp/%{name}-%{version}-root
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 do koñcowych odbiorców 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
116 %description daemon
117 SySV init script for demonize fetchmail for sucking emails.
118
119 %description -l pl daemon
120 SySV init skrypt do uruchamiania systemowego fetchmaila jako daemon.
121
122 %prep
123 %setup -q
124 %patch0 -p0
125
126 %build
127 chmod -R u+w *
128 gettextize --copy --force
129 aclocal
130 autoconf
131 LDFLAGS="-s"; export LDFLAGS
132 CFLAGS="$RPM_OPT_FLAGS -DSSL_ENABLE"
133 %configure \
134         --enable-nls \
135         --without-included-gettext \
136         --enable-inet6 \
137         --enable-RPA \
138         --enable-NTLM \
139         --enable-SDPS \
140         --with-ssl=/usr
141 make
142
143 %install
144 rm -rf $RPM_BUILD_ROOT
145 install -d $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel \
146         $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Administration \
147         $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
148
149 make install DESTDIR=$RPM_BUILD_ROOT
150
151 install rh-config/*.{xpm,init} $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel
152 install %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Administration
153 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/fetchmail
154 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/fetchmail
155
156 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
157         FEATURES README NEWS NOTES *.html FAQ
158
159 touch $RPM_BUILD_ROOT/etc/fetchmailrc
160
161 %find_lang %{name}
162
163 %post daemon
164 /sbin/chkconfig --add fetchmail
165 if [ -f /var/lock/subsys/fetchmail ]; then
166         /etc/rc.d/init.d/fetchmail restart >&2
167 else
168         echo "Run \"/etc/rc.d/init.d/httpd start\" to start fetchamil daemon."
169 fi
170
171 %preun daemon
172 if [ "$1" = "0" ]; then
173         if [ -f /var/lock/subsys/fetchmail ]; then
174                 /etc/rc.d/init.d/fetchmail stop >&2
175         fi
176         /sbin/checkconfig --del fetchmail
177 fi
178
179 %clean
180 rm -rf $RPM_BUILD_ROOT
181
182 %files -f %{name}.lang
183 %defattr(644,root,root,755)
184 %doc *.gz sample.rcfile
185
186 %attr(755,root,root) %{_bindir}/fetchmail
187 %{_mandir}/man1/fetchmail.1*
188
189 %files -n fetchmailconf
190 %defattr(644,root,root,755)
191 %{_libdir}/rhs/control-panel/*
192 %attr(755,root,root) %{_bindir}/fetchmailconf
193 %{_mandir}/man1/fetchmailconf.1*
194
195 /usr/X11R6/share/applnk/Administration/fetchmailconf.desktop
196
197 %files daemon
198 %attr(600,root,root) %config(noreplace,missingok) /etc/fetchmailrc
199 %attr(754,root,root) /etc/rc.d/init.d/fetchmail
200 %attr(640,root,root) %config(noreplace) /etc/sysconfig/fetchmail
This page took 0.04476 seconds and 4 git commands to generate.