]> Pileus Git - ~andy/fetchmail/blobdiff - specgen.sh
Handle Resent-From envelope correctly.
[~andy/fetchmail] / specgen.sh
index 4393a8a7b79dd04262d4598f0d06fc72c3e4032f..882f1a73d133278d9c7334e84b2a6f520e411d15 100755 (executable)
@@ -9,7 +9,7 @@ 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}
@@ -115,12 +115,12 @@ GUI konfigurator do fetchmaila napisany w pythonie.
 %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} 
+                         # 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
@@ -138,7 +138,7 @@ rm -rf \$RPM_BUILD_ROOT
 
 %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