]> git.pld-linux.org Git - packages/fetchmail.git/blob - fetchmail.spec
9d1c0738a656c73021c29517ab997c14a6a5ea6e
[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 gettextize --copy --force
143 aclocal
144 autoconf
145 %configure \
146         --enable-nls \
147         --without-included-gettext \
148         --enable-inet6 \
149         --enable-RPA \
150         --enable-NTLM \
151         --enable-SDPS \
152         %{!?_without_ssl:--with-ssl=%{_prefix}} \
153         %{?_without_ssl:--without-ssl} \
154         --without-kerberos
155 %{__make}
156
157 %install
158 rm -rf $RPM_BUILD_ROOT
159 install -d $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel \
160         $RPM_BUILD_ROOT%{_applnkdir}/Settings \
161         $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} \
162         $RPM_BUILD_ROOT/etc/logrotate.d
163
164 %{__make} install DESTDIR=$RPM_BUILD_ROOT
165
166 install rh-config/*.{xpm,init} $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel
167 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
168 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/fetchmail
169 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/fetchmail
170 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name}
171
172 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
173 echo ".so fetchmail.1" > $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
174
175 gzip -9nf FEATURES README NEWS NOTES ABOUT-NLS INSTALL README.NTLM *.html FAQ
176
177 touch $RPM_BUILD_ROOT%{_sysconfdir}/fetchmailrc
178
179 %find_lang %{name}
180
181 %post daemon
182 /sbin/chkconfig --add fetchmail
183 if [ -f /var/lock/subsys/fetchmail ]; then
184         /etc/rc.d/init.d/fetchmail restart >&2
185 else
186         echo "Run \"/etc/rc.d/init.d/fetchmail start\" to start fetchmail daemon."
187 fi
188
189 %preun daemon
190 if [ "$1" = "0" ]; then
191         if [ -f /var/lock/subsys/fetchmail ]; then
192                 /etc/rc.d/init.d/fetchmail stop >&2
193         fi
194         /sbin/chkconfig --del fetchmail
195 fi
196
197 %clean
198 rm -rf $RPM_BUILD_ROOT
199
200 %files -f %{name}.lang
201 %defattr(644,root,root,755)
202 %doc *.gz
203
204 %attr(755,root,root) %{_bindir}/fetchmail
205 %{_mandir}/man1/fetchmail.1*
206
207 %files -n fetchmailconf
208 %defattr(644,root,root,755)
209 %{_libdir}/rhs/control-panel/*
210 %attr(755,root,root) %{_bindir}/fetchmailconf
211 %{_applnkdir}/Settings/fetchmailconf.desktop
212 %{_mandir}/man1/fetchmailconf.1*
213
214 %files daemon
215 %defattr(644,root,root,755)
216 %attr(600,root,root) %config(noreplace,missingok) %{_sysconfdir}/fetchmailrc
217 %attr(754,root,root) %{_sysconfdir}/rc.d/init.d/fetchmail
218 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/fetchmail
219 %attr(640,root,root) %{_sysconfdir}/logrotate.d/fetchmail
This page took 0.045769 seconds and 3 git commands to generate.