]> git.pld-linux.org Git - packages/fetchmail.git/blobdiff - fetchmail.spec
- updated to 5.7.6.
[packages/fetchmail.git] / fetchmail.spec
index 300bc4b89096baccb86c58a76f0aabf72cdf9b68..b7c36cbd914db3d83d0fe9c2f41d0268debed3df 100644 (file)
@@ -7,24 +7,26 @@ Summary(pl):  Zdalny demon pocztowy do protoko
 Summary(pt):   Busca mensagens de um servidor usando POP ou IMAP
 Summary(tr):   POP2, POP3, APOP, IMAP protokolleri ile uzaktan mektup alma yazýlýmý
 Name:          fetchmail
-Version:       5.6.2
+Version:       5.7.6
 Release:       1
 License:       GPL
+Vendor:                Eric S. Raymond <esr@thyrsus.com>
 Group:         Applications/Mail
 Group(de):     Applikationen/Post
 Group(pl):     Aplikacje/Poczta
 Group(pt):     Aplicações/Correio Eletrônico
-Vendor:                Eric S. Raymond <esr@thyrsus.com>
-Source0:       ftp://locke.ccil.org/pub/esr/fetchmail/%{name}-%{version}.tar.gz
+Source0:       http://www.tuxedo.org/~esr/fetchmail/%{name}-%{version}.tar.gz
 Source1:       %{name}conf.desktop
 Source2:       %{name}.sysconfig
 Source3:       %{name}.init
+Source4:       %{name}.logrotate
 Icon:          fetchmail.gif
 URL:           http://www.tuxedo.org/~esr/fetchmail/
-BuildRequires: openssl-devel >= 0.9.4-2
+%{!?bcond_off_ssl:BuildRequires:       openssl-devel >= 0.9.4-2}
 BuildRequires: gettext-devel
 BuildRequires: flex
 BuildRequires: bison
+BuildRequires: sed
 Requires:      smtpdaemon
 Requires:      setup >= 2.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -133,7 +135,6 @@ SySV init skrypt do uruchamiania systemowego fetchmaila jako daemon.
 %build
 chmod -R u+w *
 gettextize --copy --force
-CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -DSSL_ENABLE"
 %configure \
        --enable-nls \
        --without-included-gettext \
@@ -141,7 +142,8 @@ CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -DSSL_ENABLE"
        --enable-RPA \
        --enable-NTLM \
        --enable-SDPS \
-       --with-ssl=%{_prefix} \
+       %{!?bcond_off_ssl:--with-ssl=%{_prefix}} \
+       %{?bcond_off_ssl:--without-ssl} \
        --without-kerberos
 %{__make}
 
@@ -149,7 +151,8 @@ CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -DSSL_ENABLE"
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel \
        $RPM_BUILD_ROOT%{_applnkdir}/Settings \
-       $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
+       $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} \
+       $RPM_BUILD_ROOT/etc/logrotate.d
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
@@ -157,6 +160,7 @@ install rh-config/*.{xpm,init} $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel
 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/fetchmail
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/fetchmail
+install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
 
 gzip -9nf FEATURES README NEWS NOTES *.html FAQ
 
@@ -202,3 +206,4 @@ rm -rf $RPM_BUILD_ROOT
 %attr(600,root,root) %config(noreplace,missingok) %{_sysconfdir}/fetchmailrc
 %attr(754,root,root) /etc/rc.d/init.d/fetchmail
 %attr(640,root,root) %config(noreplace) /etc/sysconfig/fetchmail
+%attr(640,root,root) /etc/logrotate.d/fetchmail
This page took 0.033643 seconds and 4 git commands to generate.