|
@@ -6,10 +6,12 @@
|
|
%define milter 0
|
|
%define milter 0
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
+%define pcre_cflags %(pcre-config --cflags)
|
|
|
|
+
|
|
Summary: Clam AntiVirus
|
|
Summary: Clam AntiVirus
|
|
Summary(ja): Clamアンチウィルススキャナ
|
|
Summary(ja): Clamアンチウィルススキャナ
|
|
Name: clamav
|
|
Name: clamav
|
|
-Version: 0.99
|
|
|
|
|
|
+Version: 0.99.1
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: GPL
|
|
License: GPL
|
|
Group: Applications/System
|
|
Group: Applications/System
|
|
@@ -83,11 +85,13 @@ perl -pi -e 's|^#PidFile .+$|PidFile /var/run/clamav/clamav-milter.pid|' etc/cla
|
|
perl -pi -e 's|^#LogFile .+$|LogFile /var/log/clamav/clamav-milter.log|' etc/clamav-milter.conf
|
|
perl -pi -e 's|^#LogFile .+$|LogFile /var/log/clamav/clamav-milter.log|' etc/clamav-milter.conf
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
+CFLAGS=%{pcre_cflags} \
|
|
|
|
+%configure \
|
|
|
|
+ --disable-clamav \
|
|
%if %{?milter}
|
|
%if %{?milter}
|
|
-%configure --disable-clamav --enable-milter --with-dbdir=%{dbdir}
|
|
|
|
-%else
|
|
|
|
-%configure --disable-clamav --with-dbdir=%{dbdir}
|
|
|
|
|
|
+ --enable-milter \
|
|
%endif
|
|
%endif
|
|
|
|
+ --with-dbdir=%{dbdir}
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
@@ -217,6 +221,9 @@ fi
|
|
%{_includedir}/*
|
|
%{_includedir}/*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Mar 4 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.99.1-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Thu Dec 3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.99-1
|
|
* Thu Dec 3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.99-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|