]> git.pld-linux.org Git - packages/fetchmail.git/blob - fetchmail.spec
- updated to 5.8.15.
[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.8.15
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 Group:          Applications/System
101 Group(de):      Applikationen/System
102 Group(pl):      Aplikacje/System
103 Requires:       %{name} = %{version}
104 Requires:       python
105 Requires:       tkinter
106
107 %description -n fetchmailconf
108 A GUI configurator for generating fetchmail configuration file writen
109 in python.
110
111 %description -n fetchmailconf -l de
112 Ein interaktiver GUI-Konfigurator für fetchmail in python.
113
114 %description -n fetchmailconf -l es
115 Configurador gráfico para fetchmail escrito en python.
116
117 %description -n fetchmailconf -l pl 
118 GUI konfigurator do fetchmaila napisany w pythonie.
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 Group(de):      Applikationen/System
125 Group(pl):      Aplikacje/System
126 Requires:       %{name} = %{version}
127 Prereq:         rc-scripts >= 0.2.0
128
129 %description daemon
130 SySV init script for demonize fetchmail for sucking emails.
131
132 %description -l pl daemon
133 SySV init skrypt do uruchamiania systemowego fetchmaila jako daemon.
134
135 %prep
136 %setup -q
137 %patch0 -p1
138 chmod -R u+w *
139
140 %build
141 gettextize --copy --force
142 aclocal
143 autoconf
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 ln -s fetchmail.1.gz $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.074895 seconds and 3 git commands to generate.