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