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