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