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