]> git.pld-linux.org Git - packages/fetchmail.git/blobdiff - fetchmail.spec
- update from Pawel Jagoda (CVE-2006-5867, CVE-2006-5974)
[packages/fetchmail.git] / fetchmail.spec
index 291b5ca6ebb5113ed2d8cd049e8ce0c5bbc7820f..0f9123f215097ea93f26d9db45e108073d1f457f 100644 (file)
@@ -15,23 +15,25 @@ Summary(tr):        POP2, POP3, APOP, IMAP protokolleri ile uzaktan mektup alma yaz
 Summary(uk):   õÔÉ̦ÔÁ ÏÔÒÉÍÁÎÎÑ ÐÏÛÔɠڠצÄÄÁÌÅÎϧ ÍÁÛÉÎÉ ÐÏ ÐÒÏÔÏËÏÌÁÍ POP/IMAP
 Summary(zh_CN):        ¹¦ÄÜÇ¿´óµÄ POP/IMAP µç×ÓÓʼþÊÕÈ¡ÊØ»¤½ø³Ì
 Name:          fetchmail
-Version:       6.3.2
+Version:       6.3.6
 Release:       1
 License:       GPL
 Group:         Applications/Mail
-Source0:       http://download.berlios.de/fetchmail/%{name}-%{version}.tar.bz2
-# Source0-md5: a532134a5e3b35b4f8b78a8184439837
+#Source0Download: http://developer.berlios.de/project/showfiles.php?group_id=1824
+Source0:       http://download2.berlios.de/fetchmail/%{name}-%{version}.tar.bz2
+# Source0-md5: 4fab7ca100ca36e41a2e8dbf5b32a3cf
 Source1:       %{name}conf.desktop
 Source2:       %{name}.sysconfig
 Source3:       %{name}.init
 Source4:       %{name}.logrotate
+Patch0:                %{name}-pl.po-update.patch
 URL:           http://fetchmail.berlios.de/
 BuildRequires: automake
 BuildRequires: bison
 BuildRequires: flex
 BuildRequires: gettext-devel
-%{?with_ssl:BuildRequires:     openssl-devel >= 0.9.7d}
-BuildRequires: rpmbuild(macros) >= 1.219
+%{?with_ssl:BuildRequires:     openssl-devel >= 0.9.7l}
+BuildRequires: rpmbuild(macros) >= 1.268
 Requires:      setup >= 2.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -166,6 +168,10 @@ demona.
 
 %prep
 %setup -q
+%patch0 -p1
+
+# to rebuild po/pl.gmo
+rm -f po/stamp-po
 
 %build
 cp -f /usr/share/automake/config.* .
@@ -209,17 +215,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %post daemon
 /sbin/chkconfig --add fetchmail
-if [ -f /var/lock/subsys/fetchmail ]; then
-       /etc/rc.d/init.d/fetchmail restart >&2
-else
-       echo "Run \"/etc/rc.d/init.d/fetchmail start\" to start fetchmail daemon."
-fi
+%service fetchmail restart "fetchmail daemon"
 
 %preun daemon
 if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/fetchmail ]; then
-               /etc/rc.d/init.d/fetchmail stop >&2
-       fi
+       %service fetchmail stop
        /sbin/chkconfig --del fetchmail
 fi
 
This page took 0.082526 seconds and 4 git commands to generate.