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