automatic version update by autodist [release 1.0.0-1mamba;Wed Feb 01 2023]

This commit is contained in:
Automatic Build System 2024-01-05 21:23:35 +01:00
parent e534188f9a
commit c4578f42f2

View File

@ -6,14 +6,14 @@
%define libname lib%{name} %define libname lib%{name}
Name: clamav Name: clamav
Version: 0.103.3 Version: 1.0.0
Release: 1mamba Release: 1mamba
Summary: Clam AntiVirus is a GPL anti-virus toolkit for UNIX Summary: Clam AntiVirus is a GPL anti-virus toolkit for UNIX
Group: Applications/Security Group: Applications/Security
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.clamav.net URL: https://www.clamav.net/
Source0: http://www.clamav.net/downloads/production/clamav-%{version}.tar.gz Source0: http://www.clamav.net/downloads/production/clamav-%{version}.tar.gz
#Source0: http://downloads.sourceforge.net/sourceforge/clamav/clamav-%{version}.tar.gz #Source0: http://downloads.sourceforge.net/sourceforge/clamav/clamav-%{version}.tar.gz
Source1: %{name}-clamd.initscript Source1: %{name}-clamd.initscript
@ -32,8 +32,6 @@ BuildRequires: libbzip2-devel
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libjson-c-devel BuildRequires: libjson-c-devel
BuildRequires: libltdl-devel
BuildRequires: liblzma-devel
BuildRequires: libncurses-devel BuildRequires: libncurses-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: libpcre2-devel BuildRequires: libpcre2-devel
@ -45,6 +43,7 @@ BuildRequires: libz-devel
BuildRequires: bash BuildRequires: bash
BuildRequires: ldconfig BuildRequires: ldconfig
BuildRequires: pwdutils BuildRequires: pwdutils
BuildRequires: libmilter-devel
Requires: bzip2 Requires: bzip2
Requires: gzip Requires: gzip
Requires: tar Requires: tar
@ -97,16 +96,19 @@ This package contains the static %{libname} library and its header files.
#cp %{SOURCE5} database/daily.cvd #cp %{SOURCE5} database/daily.cvd
%build %build
export SENDMAIL="%{_libdir}/sendmail" %cmake -d build \
%configure \ -DAPP_CONFIG_DIRECTORY=%{_sysconfdir}
--with-dbdir=%{_localstatedir}/lib/clamav/ \
--disable-zlib-vcheck #export SENDMAIL="%{_libdir}/sendmail"
#% configure \
# --with-dbdir=%{_localstatedir}/lib/clamav/ \
# --disable-zlib-vcheck
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall %makeinstall -C build
# log files stuff # log files stuff
install -d %{buildroot}%{_var}/log/%{name} install -d %{buildroot}%{_var}/log/%{name}
@ -123,6 +125,7 @@ install -d %{buildroot}%{_var}/lib/%{name}
mv %{buildroot}%{_sysconfdir}/clamd.conf.sample %{buildroot}%{_sysconfdir}/clamd.conf mv %{buildroot}%{_sysconfdir}/clamd.conf.sample %{buildroot}%{_sysconfdir}/clamd.conf
mv %{buildroot}%{_sysconfdir}/freshclam.conf.sample %{buildroot}%{_sysconfdir}/freshclam.conf mv %{buildroot}%{_sysconfdir}/freshclam.conf.sample %{buildroot}%{_sysconfdir}/freshclam.conf
mv %{buildroot}%{_sysconfdir}/clamav-milter.conf.sample %{buildroot}%{_sysconfdir}/clamav-milter.conf
##install -d %{buildroot}%{_unitdir} ##install -d %{buildroot}%{_unitdir}
#install -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/clamd.service #install -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/clamd.service
@ -180,6 +183,7 @@ fi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/freshclam.conf %config(noreplace) %{_sysconfdir}/freshclam.conf
%config(noreplace) %{_sysconfdir}/clamav-milter.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/freshclam %config(noreplace) %{_sysconfdir}/logrotate.d/freshclam
%{_bindir}/clambc %{_bindir}/clambc
%{_bindir}/clamconf %{_bindir}/clamconf
@ -188,6 +192,7 @@ fi
%{_bindir}/clamsubmit %{_bindir}/clamsubmit
%{_bindir}/freshclam %{_bindir}/freshclam
%{_bindir}/sigtool %{_bindir}/sigtool
%{_sbindir}/clamav-milter
%{_sbindir}/clamonacc %{_sbindir}/clamonacc
%{_unitdir}/clamav-daemon.service %{_unitdir}/clamav-daemon.service
%{_unitdir}/clamav-clamonacc.service %{_unitdir}/clamav-clamonacc.service
@ -233,20 +238,24 @@ fi
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/clamav-config %{_bindir}/clamav-config
%{_includedir}/*.h %{_includedir}/*.h
%{_libdir}/libclamav.la
%{_libdir}/libclamav.so %{_libdir}/libclamav.so
%{_libdir}/libclammspack.la
%{_libdir}/libclammspack.so %{_libdir}/libclammspack.so
%{_libdir}/libclamunrar.la
%{_libdir}/libclamunrar.so %{_libdir}/libclamunrar.so
%{_libdir}/libclamunrar_iface.la
%{_libdir}/libclamunrar_iface.so %{_libdir}/libclamunrar_iface.so
%{_libdir}/libfreshclam.la
%{_libdir}/libfreshclam.so %{_libdir}/libfreshclam.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%dir %{_docdir}/ClamAV
%dir %{_docdir}/ClamAV/html
%{_docdir}/ClamAV/html/*
#% doc BUGS ChangeLog NEWS README #% doc BUGS ChangeLog NEWS README
%changelog %changelog
* Wed Feb 01 2023 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic version update by autodist
* Sun Nov 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.104.1-1mamba
- update to 0.104.1
* Tue Jun 22 2021 Automatic Build System <autodist@mambasoft.it> 0.103.3-1mamba * Tue Jun 22 2021 Automatic Build System <autodist@mambasoft.it> 0.103.3-1mamba
- automatic version update by autodist - automatic version update by autodist