]> git.pld-linux.org Git - packages/fetchmail.git/blob - fetchmail.spec
release 3. SA_LEN fix. stb
[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.6.6
11 Release:        3
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}-ipv6.patch
24 Icon:           fetchmail.gif
25 URL:            http://www.tuxedo.org/~esr/fetchmail/
26 %{!?bcond_off_ssl:BuildRequires:        openssl-devel >= 0.9.4-2}
27 BuildRequires:  gettext-devel
28 BuildRequires:  flex
29 BuildRequires:  bison
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 %patch0 -p1
135
136 %build
137 chmod -R u+w *
138 gettextize --copy --force
139 %configure \
140         --enable-nls \
141         --without-included-gettext \
142         --enable-inet6 \
143         --enable-RPA \
144         --enable-NTLM \
145         --enable-SDPS \
146         %{!?bcond_off_ssl:--with-ssl=%{_prefix}} \
147         %{?bcond_off_ssl:--without-ssl} \
148         --without-kerberos
149 %{__make}
150
151 %install
152 rm -rf $RPM_BUILD_ROOT
153 install -d $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel \
154         $RPM_BUILD_ROOT%{_applnkdir}/Settings \
155         $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} \
156         $RPM_BUILD_ROOT/etc/logrotate.d
157
158 %{__make} install DESTDIR=$RPM_BUILD_ROOT
159
160 install rh-config/*.{xpm,init} $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel
161 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
162 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/fetchmail
163 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/fetchmail
164 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
165
166 gzip -9nf FEATURES README NEWS NOTES *.html FAQ
167
168 touch $RPM_BUILD_ROOT%{_sysconfdir}/fetchmailrc
169
170 %find_lang %{name}
171
172 %post daemon
173 /sbin/chkconfig --add fetchmail
174 if [ -f /var/lock/subsys/fetchmail ]; then
175         /etc/rc.d/init.d/fetchmail restart >&2
176 else
177         echo "Run \"/etc/rc.d/init.d/fetchmail start\" to start fetchamil daemon."
178 fi
179
180 %preun daemon
181 if [ "$1" = "0" ]; then
182         if [ -f /var/lock/subsys/fetchmail ]; then
183                 /etc/rc.d/init.d/fetchmail stop >&2
184         fi
185         /sbin/chkconfig --del fetchmail
186 fi
187
188 %clean
189 rm -rf $RPM_BUILD_ROOT
190
191 %files -f %{name}.lang
192 %defattr(644,root,root,755)
193 %doc *.gz sample.rcfile
194
195 %attr(755,root,root) %{_bindir}/fetchmail
196 %{_mandir}/man1/fetchmail.1*
197
198 %files -n fetchmailconf
199 %defattr(644,root,root,755)
200 %{_libdir}/rhs/control-panel/*
201 %attr(755,root,root) %{_bindir}/fetchmailconf
202 %{_applnkdir}/Settings/fetchmailconf.desktop
203 %{_mandir}/man1/fetchmailconf.1*
204
205 %files daemon
206 %defattr(644,root,root,755)
207 %attr(600,root,root) %config(noreplace,missingok) %{_sysconfdir}/fetchmailrc
208 %attr(754,root,root) /etc/rc.d/init.d/fetchmail
209 %attr(640,root,root) %config(noreplace) /etc/sysconfig/fetchmail
210 %attr(640,root,root) /etc/logrotate.d/fetchmail
This page took 0.041264 seconds and 3 git commands to generate.