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