]> git.pld-linux.org Git - packages/fetchmail.git/blob - fetchmail.spec
- copy fresh config.* files (to recognize athlon-pld-linux)
[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.8
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 #Patch1:                %{name}-from64tobits.patch
22 Icon:           fetchmail.gif
23 URL:            http://www.tuxedo.org/~esr/fetchmail/
24 BuildRequires:  autoconf
25 BuildRequires:  automake
26 BuildRequires:  bison
27 BuildRequires:  flex
28 BuildRequires:  gettext-devel
29 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6a}
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 Summary(pt):    Um configurador gráfico para a criação de arquivos de configuração para o fetchmail
99 Group:          Applications/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 %description -n fetchmailconf -l pt
118 Um configurador gráfico para a criação de arquivos de configuração
119 para o fetchmail.
120
121 %package daemon
122 Summary:        SySV init script for demonize fetchmail for sucking emails
123 Summary(pl):    SySV init skrypt do uruchamiania systemowego fetchmaila jako daemon
124 Group:          Applications/System
125 Requires:       %{name} = %{version}
126 Prereq:         rc-scripts >= 0.2.0
127 Prereq:         /sbin/chkconfig
128
129 %description daemon
130 SySV init script for demonize fetchmail for sucking emails.
131
132 %description daemon -l pl
133 SySV init skrypt do uruchamiania systemowego fetchmaila jako daemon.
134
135 %prep
136 %setup -q
137 chmod -R u+w *
138 %patch0 -p1
139 #%patch1 -p1
140
141 %build
142 cp -f /usr/share/automake/config.* .
143 gettextize --copy --force
144 aclocal
145 autoconf
146 %configure \
147         --enable-nls \
148         --without-included-gettext \
149         --enable-inet6 \
150         --enable-RPA \
151         --enable-NTLM \
152         --enable-SDPS \
153         %{!?_without_ssl:--with-ssl=%{_prefix}} \
154         %{?_without_ssl:--without-ssl} \
155         --without-kerberos
156 %{__make}
157
158 %install
159 rm -rf $RPM_BUILD_ROOT
160 install -d $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel \
161         $RPM_BUILD_ROOT%{_applnkdir}/Settings \
162         $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} \
163         $RPM_BUILD_ROOT/etc/logrotate.d
164
165 %{__make} install DESTDIR=$RPM_BUILD_ROOT
166
167 install rh-config/*.{xpm,init} $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel
168 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
169 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/fetchmail
170 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/fetchmail
171 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name}
172
173 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
174 echo ".so fetchmail.1" > $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
175
176 gzip -9nf FEATURES README NEWS NOTES ABOUT-NLS INSTALL README.NTLM *.html FAQ
177
178 touch $RPM_BUILD_ROOT%{_sysconfdir}/fetchmailrc
179
180 %find_lang %{name}
181
182 %post daemon
183 /sbin/chkconfig --add fetchmail
184 if [ -f /var/lock/subsys/fetchmail ]; then
185         /etc/rc.d/init.d/fetchmail restart >&2
186 else
187         echo "Run \"/etc/rc.d/init.d/fetchmail start\" to start fetchmail daemon."
188 fi
189
190 %preun daemon
191 if [ "$1" = "0" ]; then
192         if [ -f /var/lock/subsys/fetchmail ]; then
193                 /etc/rc.d/init.d/fetchmail stop >&2
194         fi
195         /sbin/chkconfig --del fetchmail
196 fi
197
198 %clean
199 rm -rf $RPM_BUILD_ROOT
200
201 %files -f %{name}.lang
202 %defattr(644,root,root,755)
203 %doc *.gz
204
205 %attr(755,root,root) %{_bindir}/fetchmail
206 %{_mandir}/man1/fetchmail.1*
207
208 %files -n fetchmailconf
209 %defattr(644,root,root,755)
210 %{_libdir}/rhs/control-panel/*
211 %attr(755,root,root) %{_bindir}/fetchmailconf
212 %{_applnkdir}/Settings/fetchmailconf.desktop
213 %{_mandir}/man1/fetchmailconf.1*
214
215 %files daemon
216 %defattr(644,root,root,755)
217 %attr(600,root,root) %config(noreplace,missingok) %{_sysconfdir}/fetchmailrc
218 %attr(754,root,root) %{_sysconfdir}/rc.d/init.d/fetchmail
219 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/fetchmail
220 %attr(640,root,root) %{_sysconfdir}/logrotate.d/fetchmail
This page took 0.086983 seconds and 4 git commands to generate.