/[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.4 by vip-ire, Tue May 3 19:19:44 2016 UTC Revision 1.8 by dani, Wed Oct 24 11:37:38 2018 UTC
# Line 1  Line 1 
1  # $Id: clamav.spec,v 1.3 2016/03/03 10:30:49 vip-ire Exp $  # $Id: clamav.spec,v 1.7 2018/03/14 12:48:09 dani 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.99.2  Version: 0.100.2
17  Release: 1%{?dist}  Release: 1%{?dist}
18  License: GPL  License: GPL
19  Group: Applications/System  Group: Applications/System
# Line 289  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 316  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    
328  %files  %files
329  %defattr(-, root, root, 0755)  %defattr(-, root, root, 0755)
330  %doc AUTHORS BUGS ChangeLog COPYING FAQ INSTALL NEWS README  %doc ChangeLog.md COPYING* INSTALL.md NEWS.md README.md
331  %doc etc/freshclam.conf.sample  %doc etc/freshclam.conf.sample
332  %doc docs/*.pdf  %doc docs/*.pdf
333  ### Remove test virus documents as they trigger clamav  ### Remove test virus documents as they trigger clamav
# Line 329  fi Line 335  fi
335  %doc %{_mandir}/man1/sigtool.1*  %doc %{_mandir}/man1/sigtool.1*
336  %doc %{_mandir}/man1/clambc.1*  %doc %{_mandir}/man1/clambc.1*
337  %doc %{_mandir}/man1/clamscan.1*  %doc %{_mandir}/man1/clamscan.1*
 %doc %{_mandir}/man1/clamsubmit.1*  
338  %doc %{_mandir}/man1/freshclam.1*  %doc %{_mandir}/man1/freshclam.1*
339  %doc %{_mandir}/man5/freshclam.conf.5*  %doc %{_mandir}/man5/freshclam.conf.5*
340  %config(noreplace) %{_sysconfdir}/freshclam.conf  %config(noreplace) %{_sysconfdir}/freshclam.conf
341    %{_unitdir}/clamav-freshclam.service
342  %{_bindir}/clambc  %{_bindir}/clambc
343  %{_bindir}/clamscan  %{_bindir}/clamscan
344  %{_bindir}/freshclam  %{_bindir}/freshclam
345  %{_bindir}/sigtool  %{_bindir}/sigtool
 %{_bindir}/clamsubmit  
346  %{_libdir}/libclamav.so.*  %{_libdir}/libclamav.so.*
347  %{_libdir}/libclamunrar.so.*  %{_libdir}/libclamunrar.so.*
348  %{_libdir}/libclamunrar_iface.so.*  %{_libdir}/libclamunrar_iface.so.*
349    %{_libdir}/libclammspack.so.*
350  # moved from -devel to here so clamd can work with rars when clamav-devel is not installed.  # moved from -devel to here so clamd can work with rars when clamav-devel is not installed.
351  %{_libdir}/libclamav.so  %{_libdir}/libclamav.so
352  %{_libdir}/libclamunrar.so  %{_libdir}/libclamunrar.so
353  %{_libdir}/libclamunrar_iface.so  %{_libdir}/libclamunrar_iface.so
354    %{_libdir}/libclammspack.so
355  %exclude %{_sysconfdir}/freshclam.conf.sample  %exclude %{_sysconfdir}/freshclam.conf.sample
356    
357  %files -n clamd  %files -n clamd
# Line 359  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 403  fi Line 412  fi
412  %{_bindir}/clamav-config  %{_bindir}/clamav-config
413  %{_includedir}/clamav.h  %{_includedir}/clamav.h
414  %{_libdir}/pkgconfig/libclamav.pc  %{_libdir}/pkgconfig/libclamav.pc
415    %{_libdir}/pkgconfig/libclammspack.pc
416  %exclude %{_libdir}/libclamav.la  %exclude %{_libdir}/libclamav.la
417  %exclude %{_libdir}/libclamunrar.la  %exclude %{_libdir}/libclamunrar.la
418  %exclude %{_libdir}/libclamunrar_iface.la  %exclude %{_libdir}/libclamunrar_iface.la
419    %exclude %{_libdir}/libclammspack.la
420    
421  %changelog  %changelog
422    * Wed Oct 24 2018 Daniel Berteaud <daniel@firewall-services.com> - 0.100.2-1.sme
423    - Update to 0.100.2 [SME: 10578]
424    
425    * Wed Mar 14 2018 Daniel Berteaud <daniel@firewall-services.com> - 0.99.4-1.sme
426    - Update to 0.99.4 [SME: 10528]
427    
428    * Sat Jan 27 2018 Daniel Berteaud <daniel@firewall-services.com> - 0.99.3-1.sme
429    - Update to 0.99.3 [SME: 10500]
430    
431  * Tue May 3 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99.2-1.sme  * Tue May 3 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99.2-1.sme
432  - UPdate to 0.99.2 [SME: 9487]  - Update to 0.99.2 [SME: 9487]
433    - Adapt to use systemd unit [SME: 9487]
434    
435  * Thu Mar 3 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99.1-1.sme  * Thu Mar 3 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99.1-1.sme
436  - Update to 0.99.1 [SME: 9268]  - Update to 0.99.1 [SME: 9268]


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