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