]> Pileus Git - ~andy/fetchmail/blob - specgen.sh
SSL port fix.
[~andy/fetchmail] / specgen.sh
1 cat <<EOF
2 # Note: Do not hack fetchmail.spec by hand -- it's generated by specgen.sh
3 Name:           fetchmail
4 Version:        $1
5 Release:        1
6 Vendor:         Eric Conspiracy Secret Labs
7 Packager:       Eric S. Raymond <esr@thyrsus.com>
8 URL:            http://www.tuxedo.org/~esr/fetchmail/
9 Source:         %{name}-%{version}.tar.gz
10 Group:          Applications/Mail
11 Group(pt_BR):   Aplicações/Correio Eletrônico
12 License:        GPL
13 Icon:           fetchmail.xpm
14 Requires:       smtpdaemon
15 BuildRoot:      /var/tmp/%{name}-%{version}
16 Summary:        Full-featured POP/IMAP mail retrieval daemon
17 Summary(fr):    Collecteur (POP/IMAP) de courrier électronique
18 Summary(de):    Program zum Abholen von E-Mail via POP/IMAP
19 Summary(pt):    Busca mensagens de um servidor usando POP ou IMAP
20 Summary(es):    Recolector de correo via POP/IMAP
21 Summary(pl):    Zdalny demon pocztowy do protoko³ów POP2, POP3, APOP, IMAP
22 Summary(tr):    POP2, POP3, APOP, IMAP protokolleri ile uzaktan mektup alma yazýlýmý
23 Summary(da):    Alsidig POP/IMAP post-afhentnings dæmon
24
25 %description
26 Fetchmail is a free, full-featured, robust, and well-documented remote
27 mail retrieval and forwarding utility intended to be used over
28 on-demand TCP/IP links (such as SLIP or PPP connections).  It
29 retrieves mail from remote mail servers and forwards it to your local
30 (client) machine's delivery system, so it can then be be read by
31 normal mail user agents such as mutt, elm, pine, (x)emacs/gnus, or mailx.
32 Comes with an interactive GUI configurator suitable for end-users.
33
34 %description -l fr
35 Fetchmail est un programme qui permet d'aller rechercher du courrier
36 électronique sur un serveur de mail distant. Fetchmail connait les
37 protocoles POP (Post Office Protocol), IMAP (Internet Mail Access
38 Protocol) et délivre le courrier électronique a travers le
39 serveur SMTP local (habituellement sendmail).
40
41 %description -l de
42 Fetchmail ist ein freies, vollständiges, robustes und
43 wohldokumentiertes Werkzeug zum Abholen und Weiterreichen von E-Mail,
44 gedacht zum Gebrauch über temporäre TCP/IP-Verbindungen (wie
45 z.B. SLIP- oder PPP-Verbindungen).  Es holt E-Mail von (weit)
46 entfernten Mail-Servern ab und reicht sie an das Auslieferungssystem
47 der lokalen Client-Maschine weiter, damit sie dann von normalen MUAs
48 ("mail user agents") wie mutt, elm, pine, (x)emacs/gnus oder mailx
49 gelesen werden können.  Ein interaktiver GUI-Konfigurator auch gut
50 geeignet zum Gebrauch durch Endbenutzer wird mitgeliefert.
51
52 %description -l pt
53 Fetchmail é um programa que é usado para recuperar mensagens de um
54 servidor de mail remoto. Ele pode usar Post Office Protocol (POP)
55 ou IMAP (Internet Mail Access Protocol) para isso, e entrega o mail
56 através do servidor local SMTP (normalmente sendmail).
57 Vem com uma interface gráfica para sua configuração. 
58
59 %description -l es
60 Fetchmail es una utilidad gratis, completa, robusta y bien documentada
61 para la recepción y reenvío de correo pensada para ser usada en
62 conexiones TCP/IP temporales (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, (x)emacs/gnus
65 o mailx. Contiene un configurador GUI interactivo pensado para usuarios.
66
67 %description -l pl
68 Fetchmail jest programem do ¶ci±gania poczty ze zdalnych serwerów
69 pocztowych. Do ¶ci±gania poczty mo¿e on uzywaæ protoko³ów POP (Post Office
70 Protocol) lub IMAP (Internet Mail Access Protocol). ¦ci±gniêt± pocztê
71 dostarcza do koñcowych odbiorców poprzez lokalny serwer SMTP.
72
73 %description -l tr
74 fetchmail yazýlýmý, POP veya IMAP desteði veren bir sunucuda yer alan
75 mektuplarýnýzý alýr.
76
77 %description -l da
78 Fetchmail er et gratis, robust, alsidigt og vel-dokumenteret værktøj 
79 til afhentning og videresending af elektronisk post via TCP/IP
80 baserede opkalds-forbindelser (såsom SLIP eller PPP forbindelser).   
81 Den henter post fra en ekstern post-server, og videresender den
82 til din lokale klient-maskines post-system, så den kan læses af
83 almindelige mail klienter såsom mutt, elm, pine, (x)emacs/gnus,
84 eller mailx. Der medfølger også et interaktivt GUI-baseret
85 konfigurations-program, som kan bruges af almindelige brugere.
86
87 %package -n fetchmailconf
88 Summary:        A GUI configurator for generating fetchmail configuration files
89 Summary(pl):    GUI konfigurator do fetchmaila
90 Summary(fr):    GUI configurateur pour fetchmail
91 Summary(es):    Configurador GUI interactivo para fetchmail
92 Summary(pt):    Um configurador gráfico para o fetchmail
93 Group:          Utilities/System
94 Group(pt):              Utilitários/Sistema
95 Requires:       %{name} = %{version}, python
96
97 %description -n fetchmailconf
98 A GUI configurator for generating fetchmail configuration file written in
99 python
100
101 %description -n fetchmailconf -l pt
102 Um configurador gráfico para a geração de arquivos de configuração do
103 fetchmail. Feito em python.
104
105 %description -n fetchmailconf -l es
106 Configurador gráfico para fetchmail escrito en python
107
108 %description -n fetchmailconf -l de
109 Ein interaktiver GUI-Konfigurator für fetchmail in python
110
111 %description -n fetchmailconf -l pl
112 GUI konfigurator do fetchmaila napisany w pythonie.
113
114 %prep
115 %setup -q
116
117 %build
118 LDFLAGS="-s"
119 export CFLAGS LDFLAGS
120 ./configure --prefix=/usr --disable-nls --without-kerberos --mandir=%{_mandir} --with-SSL --enable-inet6
121                          # Remove --disable-nls, add --without-included-gettext
122                          # for internationalization. Also look below.
123 make
124
125 %install
126 if [ -d \$RPM_BUILD_ROOT ]; then rm -rf \$RPM_BUILD_ROOT; fi
127 mkdir -p \$RPM_BUILD_ROOT/{etc/X11/wmconfig,usr/lib/rhs/control-panel}
128 make install prefix=\$RPM_BUILD_ROOT/usr mandir=\$RPM_BUILD_ROOT%{_mandir}/man1
129 cp rh-config/*.{xpm,init} \$RPM_BUILD_ROOT/usr/lib/rhs/control-panel
130 rm -rf contrib/RCS
131 chmod 644 contrib/*
132 cp rh-config/fetchmailconf.wmconfig \$RPM_BUILD_ROOT/etc/X11/wmconfig/fetchmailconf
133 cd \$RPM_BUILD_ROOT%{_mandir}/man1
134 ln -sf fetchmail.1 fetchmailconf.1
135
136 %clean
137 rm -rf \$RPM_BUILD_ROOT
138
139 %files
140 %defattr (644, root, root, 755)
141 %doc README NEWS NOTES FAQ COPYING FEATURES contrib
142 %doc fetchmail-features.html fetchmail-FAQ.html design-notes.html
143 %attr(644, root, man) %{_mandir}/man1/*.1*
144 %attr(755, root, root) /usr/bin/fetchmail
145 # Uncomment the following to support internationalization
146 # %attr(644,root,root) /usr/share/locale/*/LC_MESSAGES/fetchmail.mo
147 # Uncomment the following to make split fetchmail and fetchmailconf packages
148 # %files -n fetchmailconf
149 %attr(644,root,root) /etc/X11/wmconfig/fetchmailconf
150 %attr(755,root,root) /usr/bin/fetchmailconf
151 /usr/lib/rhs/control-panel/fetchmailconf.xpm
152 /usr/lib/rhs/control-panel/fetchmailconf.init
153 EOF