]> git.pld-linux.org Git - packages/fetchmail.git/blob - fetchmail.spec
- updated to 5.9.9,
[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.9
11 Release:        1
12 License:        GPL
13 Vendor:         Eric S. Raymond <esr@thyrsus.com>
14 Group:          Applications/Mail
15 Source0:        http://www.tuxedo.org/~esr/fetchmail/%{name}-%{version}.tar.gz
16 Source1:        %{name}conf.desktop
17 Source2:        %{name}.sysconfig
18 Source3:        %{name}.init
19 Source4:        %{name}.logrotate
20 Patch0:         %{name}-shroud.patch
21 Icon:           fetchmail.gif
22 URL:            http://www.tuxedo.org/~esr/fetchmail/
23 BuildRequires:  autoconf
24 BuildRequires:  automake
25 BuildRequires:  bison
26 BuildRequires:  flex
27 BuildRequires:  gettext-devel
28 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6a}
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 Summary(pt):    Um configurador gráfico para a criação de arquivos de configuração para o fetchmail
98 Group:          Applications/System
99 Requires:       %{name} = %{version}
100 Requires:       python
101 Requires:       tkinter
102
103 %description -n fetchmailconf
104 A GUI configurator for generating fetchmail configuration file writen
105 in python.
106
107 %description -n fetchmailconf -l de
108 Ein interaktiver GUI-Konfigurator für fetchmail in python.
109
110 %description -n fetchmailconf -l es
111 Configurador gráfico para fetchmail escrito en python.
112
113 %description -n fetchmailconf -l pl
114 GUI konfigurator do fetchmaila napisany w pythonie.
115
116 %description -n fetchmailconf -l pt
117 Um configurador gráfico para a criação de arquivos de configuração
118 para o fetchmail.
119
120 %package daemon
121 Summary:        SySV init script for demonize fetchmail for sucking emails
122 Summary(pl):    SySV init skrypt do uruchamiania systemowego fetchmaila jako daemon
123 Group:          Applications/System
124 Requires:       %{name} = %{version}
125 Prereq:         rc-scripts >= 0.2.0
126 Prereq:         /sbin/chkconfig
127
128 %description daemon
129 SySV init script for demonize fetchmail for sucking emails.
130
131 %description daemon -l pl
132 SySV init skrypt do uruchamiania systemowego fetchmaila jako daemon.
133
134 %prep
135 %setup -q
136 chmod -R u+w *
137 %patch0 -p1
138
139 %build
140 gettextize --copy --force
141 aclocal
142 autoconf
143 automake -a -c -f || :
144 %configure \
145         --enable-nls \
146         --without-included-gettext \
147         --enable-inet6 \
148         --enable-RPA \
149         --enable-NTLM \
150         --enable-SDPS \
151         %{!?_without_ssl:--with-ssl=%{_prefix}} \
152         %{?_without_ssl:--without-ssl} \
153         --without-kerberos
154 %{__make}
155
156 %install
157 rm -rf $RPM_BUILD_ROOT
158 install -d $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel \
159         $RPM_BUILD_ROOT%{_applnkdir}/Settings \
160         $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} \
161         $RPM_BUILD_ROOT/etc/logrotate.d
162
163 %{__make} install DESTDIR=$RPM_BUILD_ROOT
164
165 install rh-config/*.{xpm,init} $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel
166 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
167 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/fetchmail
168 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/fetchmail
169 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name}
170
171 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
172 echo ".so fetchmail.1" > $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
173
174 gzip -9nf FEATURES README NEWS NOTES ABOUT-NLS INSTALL README.NTLM *.html FAQ
175
176 touch $RPM_BUILD_ROOT%{_sysconfdir}/fetchmailrc
177
178 %find_lang %{name}
179
180 %post daemon
181 /sbin/chkconfig --add fetchmail
182 if [ -f /var/lock/subsys/fetchmail ]; then
183         /etc/rc.d/init.d/fetchmail restart >&2
184 else
185         echo "Run \"/etc/rc.d/init.d/fetchmail start\" to start fetchmail daemon."
186 fi
187
188 %preun daemon
189 if [ "$1" = "0" ]; then
190         if [ -f /var/lock/subsys/fetchmail ]; then
191                 /etc/rc.d/init.d/fetchmail stop >&2
192         fi
193         /sbin/chkconfig --del fetchmail
194 fi
195
196 %clean
197 rm -rf $RPM_BUILD_ROOT
198
199 %files -f %{name}.lang
200 %defattr(644,root,root,755)
201 %doc *.gz
202
203 %attr(755,root,root) %{_bindir}/fetchmail
204 %{_mandir}/man1/fetchmail.1*
205
206 %files -n fetchmailconf
207 %defattr(644,root,root,755)
208 %{_libdir}/rhs/control-panel/*
209 %attr(755,root,root) %{_bindir}/fetchmailconf
210 %{_applnkdir}/Settings/fetchmailconf.desktop
211 %{_mandir}/man1/fetchmailconf.1*
212
213 %files daemon
214 %defattr(644,root,root,755)
215 %attr(600,root,root) %config(noreplace,missingok) %{_sysconfdir}/fetchmailrc
216 %attr(754,root,root) %{_sysconfdir}/rc.d/init.d/fetchmail
217 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/fetchmail
218 %attr(640,root,root) %{_sysconfdir}/logrotate.d/fetchmail
This page took 0.076748 seconds and 4 git commands to generate.