Release: 1
Vendor: Eric Conspiracy Secret Labs
Packager: Eric S. Raymond <esr@thyrsus.com>
-URL: http://www.tuxedo.org/~esr/fetchmail
+URL: http://www.tuxedo.org/~esr/fetchmail/
Source: %{name}-%{version}.tar.gz
Group: Applications/Mail
Group(pt_BR): Aplicações/Correio Eletrônico
-Copyright: GPL
+License: GPL
Icon: fetchmail.xpm
Requires: smtpdaemon
BuildRoot: /var/tmp/%{name}-%{version}
%setup -q
%build
-CFLAGS="\$RPM_OPT_FLAGS" LDFLAGS="-s"
+LDFLAGS="-s"
export CFLAGS LDFLAGS
-./configure --prefix=/usr --mandir=%{_mandir}
- # Add --enable-nls --without-included-gettext
+./configure --prefix=/usr --disable-nls --without-kerberos --mandir=%{_mandir} --with-ssl --enable-inet6
+ # Remove --disable-nls, add --without-included-gettext
# for internationalization. Also look below.
-make "LOADLIBS=-lkrb4 -ldes425 -lcrypt -lresolv -lkrb5 -lcom_err -lfl"
+make
%install
if [ -d \$RPM_BUILD_ROOT ]; then rm -rf \$RPM_BUILD_ROOT; fi
%files
%defattr (644, root, root, 755)
-%doc README NEWS NOTES FAQ COPYING FEATURES sample.rcfile contrib
+%doc README NEWS NOTES FAQ COPYING FEATURES contrib
%doc fetchmail-features.html fetchmail-FAQ.html design-notes.html
%attr(644, root, man) %{_mandir}/man1/*.1*
%attr(755, root, root) /usr/bin/fetchmail