# Authority: VIP-ire # Name: Daniel B. Summary: On access AV scanner <<<<<<< HEAD %define name smeserver-webapps-common ======= %define name smeserver-clamrt >>>>>>> c99401afc73e86cc62d04be2dab94651b24af879 Name: %{name} %define version 0.0.1 %define release 1.beta0 Version: %{version} Release: %{release}%{?dist} License: GPL Group: SMEServer/addon Source: %{name}-%{version}.tar.gz URL: http://www.firewall-services.com/ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-base Requires: smeserver-clamav Requires: inotify-tools BuildRequires: e-smith-devtools %description Provides on access AV scan for shares and ibays %changelog %prep %setup %build perl createlinks %{__mkdir_p} root/var/log/clamrt %install /bin/rm -rf $RPM_BUILD_ROOT (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) /bin/rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ --file /var/service/clamrt/run 'attr(0755,root,root)' \ --file /var/service/clamrt/log/run 'attr(0755,root,root)' \ --dir /var/log/clamrt 'attr(0750,smelog,smelog)' \ > %{name}-%{version}-filelist echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist %defattr(-,root,root) %clean rm -rf $RPM_BUILD_ROOT