X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=clamav.spec;h=452b83f59ecc21fa5b96e4083148084f3bb9848a;hb=c3cae60de1455227f0e4b983b0e048f251b314d1;hp=80871593d04383d833857a26cdeea814bd103596;hpb=a36a2739a7c9ed5965ef7c3118dd113f9740dda5;p=packages%2Fclamav.git diff --git a/clamav.spec b/clamav.spec index 8087159..452b83f 100644 --- a/clamav.spec +++ b/clamav.spec @@ -8,13 +8,13 @@ Summary: An anti-virus utility for Unix Summary(pl.UTF-8): Narzędzie antywirusowe dla Uniksów Name: clamav -Version: 0.95.3 -Release: 2 +Version: 0.96.1 +Release: 1 Epoch: 0 License: GPL v2+ -Group: Applications -Source0: http://dl.sourceforge.net/clamav/%{name}-%{version}.tar.gz -# Source0-md5: eaf9fccc3cc3567605a9732313652967 +Group: Daemons +Source0: http://downloads.sourceforge.net/clamav/0.96rc1/%{name}-%{version}.tar.gz +# Source0-md5: 38e7870db6e9ad0e569518499a6f3651 Source1: %{name}.init Source2: %{name}.sysconfig Source3: %{name}-milter.init @@ -24,6 +24,7 @@ Source8: %{name}-post-updatedb Source9: %{name}-milter.sysconfig Patch0: %{name}-pld_config.patch Patch1: %{name}-nolibs.patch +Patch2: am-nosilentrules.patch URL: http://www.clamav.net/ BuildRequires: autoconf BuildRequires: automake @@ -31,8 +32,10 @@ BuildRequires: bzip2-devel BuildRequires: gmp-devel BuildRequires: libltdl-devel %{?with_milter:BuildRequires: libmilter-devel} +BuildRequires: libstdc++-devel BuildRequires: libtool %{?with_milter:BuildRequires: libwrap-devel} +BuildRequires: ncurses-devel BuildRequires: rpmbuild(macros) >= 1.514 BuildRequires: zlib-devel Requires(post,preun): /sbin/chkconfig @@ -148,6 +151,7 @@ Biblioteki statyczne clamav. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %{__libtoolize} @@ -281,6 +285,7 @@ fi %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog FAQ NEWS README docs/*.pdf +%attr(755,root,root) %{_bindir}/clambc %attr(755,root,root) %{_bindir}/clamdscan %attr(755,root,root) %{_bindir}/clamdtop %attr(755,root,root) %{_bindir}/clamscan @@ -291,7 +296,7 @@ fi %attr(755,root,root) %{_sbindir}/clamav-cron-updatedb %attr(755,root,root) %{_sbindir}/clamav-post-updatedb %attr(755,clamav,root) %dir /var/lib/%{name} -%ghost %attr(644,clamav,root) %verify(not md5 mtime size) /var/lib/clamav/*.cvd +%attr(644,clamav,root) %ghost %verify(not md5 mtime size) /var/lib/clamav/*.cvd %attr(640,clamav,root) %ghost /var/log/freshclam.log %attr(750,clamav,clamav) %dir /var/run/%{name}