Summary(zh_CN): ¹¦ÄÜÇ¿´óµÄ POP/IMAP µç×ÓÓʼþÊÕÈ¡ÊØ»¤½ø³Ì
Name: fetchmail
Version: 6.2.9
-Release: 0.rc6.2
+%define _rc rc7
+%define _rel 1
+Release: 0.%{_rc}.%{_rel}
License: GPL
Group: Applications/Mail
-Source0: http://download.berlios.de/fetchmail/%{name}-%{version}-rc6.tar.bz2
-# Source0-md5: 9e48f58338fcfc63f8920cd720a63e3e
+Source0: http://download.berlios.de/fetchmail/%{name}-%{version}-%{_rc}.tar.bz2
+# Source0-md5: 6a2b96b2e0661353582f88b8fd3eb6d9
Source1: %{name}conf.desktop
Source2: %{name}.sysconfig
Source3: %{name}.init
BuildRequires: flex
BuildRequires: gettext-devel
%{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
+BuildRequires: rpmbuild(macros) >= 1.219
Requires: setup >= 2.3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary: SysV init script for demonize fetchmail for sucking emails
Summary(pl): Skrypt startowy SysV do uruchamiania systemowego fetchmaila jako demona
Group: Applications/System
-Requires: %{name} = %{version}-%{release}
-PreReq: rc-scripts >= 0.2.0
Requires(post,preun): /sbin/chkconfig
+Requires: %{name} = %{version}-%{release}
+Requires: rc-scripts
%description daemon
SysV init script for demonize fetchmail for sucking emails.
%description daemon -l pl
-Skrypt startowy SysV do uruchamiania systemowego fetchmaila jako demona.
+Skrypt startowy SysV do uruchamiania systemowego fetchmaila jako
+demona.
%prep
-%setup -q -n %{name}-%{version}-rc6
+%setup -q -n %{name}-%{version}-%{_rc}
%build
cp -f /usr/share/automake/config.* .
%find_lang %{name}
+%py_postclean
+
%clean
rm -rf $RPM_BUILD_ROOT