]> git.pld-linux.org Git - packages/fetchmail.git/blobdiff - fetchmail.spec
- update to rc7; adapterized
[packages/fetchmail.git] / fetchmail.spec
index 4200f507998552a9c9708acff65ed702bc811387..bf13a7857f0f7914f8728f7a54a3110138e1f258 100644 (file)
@@ -16,11 +16,13 @@ Summary(uk):        
 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
@@ -32,6 +34,7 @@ BuildRequires:        bison
 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)
 
@@ -153,18 +156,19 @@ Fetchmailconf - 
 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.* .
@@ -201,6 +205,8 @@ echo ".so fetchmail.1" > $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
 
 %find_lang %{name}
 
+%py_postclean
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.339898 seconds and 4 git commands to generate.