/[smeserver]/rpms/clamav/sme10/clamav.spec
ViewVC logotype

Diff of /rpms/clamav/sme10/clamav.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by vip-ire, Thu Feb 4 11:54:50 2016 UTC Revision 1.5 by vip-ire, Tue May 3 19:41:59 2016 UTC
# Line 1  Line 1 
1  # $Id$  # $Id: clamav.spec,v 1.4 2016/05/03 19:19:44 vip-ire Exp $
2  # Authority: dag  # Authority: dag
3  # Upstream: <clamav-devel$lists,sf,net>  # Upstream: <clamav-devel$lists,sf,net>
4    
# Line 13  Line 13 
13    
14  Summary: Anti-virus software  Summary: Anti-virus software
15  Name: clamav  Name: clamav
16  Version: 0.98.7  Version: 0.99.2
17  Release: 1%{?dist}  Release: 1%{?dist}
18  License: GPL  License: GPL
19  Group: Applications/System  Group: Applications/System
# Line 35  BuildRequires: zlib-devel Line 35  BuildRequires: zlib-devel
35  BuildRequires: check-devel  BuildRequires: check-devel
36  BuildRequires: openssl-devel  BuildRequires: openssl-devel
37  BuildRequires: libxml2-devel  BuildRequires: libxml2-devel
38    BuildRequires: pcre-devel
39    
40    
41  ### Do not require the latest release of clamav-db specifically (people may use freshclam onward)  ### Do not require the latest release of clamav-db specifically (people may use freshclam onward)
# Line 288  fi Line 289  fi
289  /usr/sbin/useradd -r -d /var/clamav -s /sbin/nologin -c "Clam Anti Virus Checker" -g clamav clamav 2>/dev/null || :  /usr/sbin/useradd -r -d /var/clamav -s /sbin/nologin -c "Clam Anti Virus Checker" -g clamav clamav 2>/dev/null || :
290    
291  %post -n clamd  %post -n clamd
292  /sbin/chkconfig --add clamd  %systemd_post clamav-daemon.service
293    
294  %preun -n clamd  %preun -n clamd
295  if [ $1 -eq 0 ]; then  %systemd_preun clamav-daemon.service
     /sbin/service clamd stop &>/dev/null || :  
     /sbin/chkconfig --del clamd  
 fi  
296    
297  %postun -n clamd  %postun -n clamd
298  /sbin/service clamd condrestart &>/dev/null || :  %systemd_postun
299    
300  %post milter  %post milter
301  /sbin/chkconfig --add clamav-milter  /sbin/chkconfig --add clamav-milter
# Line 315  fi Line 313  fi
313  /usr/sbin/groupadd -r clamav 2>/dev/null || :  /usr/sbin/groupadd -r clamav 2>/dev/null || :
314  /usr/sbin/useradd -r -d /var/clamav -s /sbin/nologin -c "Clam Anti Virus Checker" -g clamav clamav 2>/dev/null || :  /usr/sbin/useradd -r -d /var/clamav -s /sbin/nologin -c "Clam Anti Virus Checker" -g clamav clamav 2>/dev/null || :
315    
316    %post db
317    %systemd_post clamav-freshclam.service
318    
319    %preun db
320    %systemd_preun clamav-freshclam.service
321    
322    %postun db
323    %systemd_postun
324    
325  %clean  %clean
326  %{__rm} -rf %{buildroot}  %{__rm} -rf %{buildroot}
327    
# Line 332  fi Line 339  fi
339  %doc %{_mandir}/man1/freshclam.1*  %doc %{_mandir}/man1/freshclam.1*
340  %doc %{_mandir}/man5/freshclam.conf.5*  %doc %{_mandir}/man5/freshclam.conf.5*
341  %config(noreplace) %{_sysconfdir}/freshclam.conf  %config(noreplace) %{_sysconfdir}/freshclam.conf
342    %{_unitdir}/clamav-freshclam.service
343  %{_bindir}/clambc  %{_bindir}/clambc
344  %{_bindir}/clamscan  %{_bindir}/clamscan
345  %{_bindir}/freshclam  %{_bindir}/freshclam
# Line 358  fi Line 366  fi
366  %config(noreplace) %{_sysconfdir}/clamd.conf  %config(noreplace) %{_sysconfdir}/clamd.conf
367  %config(noreplace) %{_sysconfdir}/logrotate.d/clamav  %config(noreplace) %{_sysconfdir}/logrotate.d/clamav
368  %config %{_initrddir}/clamd  %config %{_initrddir}/clamd
369    %{_unitdir}/clamav-daemon.service
370    %{_unitdir}/clamav-daemon.socket
371  %{_sbindir}/clamd  %{_sbindir}/clamd
372  %{_bindir}/clamconf  %{_bindir}/clamconf
373  %{_bindir}/clamdscan  %{_bindir}/clamdscan
# Line 407  fi Line 417  fi
417  %exclude %{_libdir}/libclamunrar_iface.la  %exclude %{_libdir}/libclamunrar_iface.la
418    
419  %changelog  %changelog
420    * Tue May 3 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99.2-1.sme
421    - Update to 0.99.2 [SME: 9487]
422    - Adapt to use systemd unit [SME: 9487]
423    
424    * Thu Mar 3 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99.1-1.sme
425    - Update to 0.99.1 [SME: 9268]
426    
427    * Tue Jan 12 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99-2.sme
428    - Add pcre-devel to BuildRequires [SME: 9151]
429    
430    * Wed Jan 6 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99-1.sme
431    - Update to release 0.99 [SME: 9151]
432    
433  * Wed May 13 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.98.7-1.sme  * Wed May 13 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.98.7-1.sme
434  - Updated to release 0.98.7 [SME: 8922]  - Updated to release 0.98.7 [SME: 8922]
435    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed