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