]> git.pld-linux.org Git - packages/clamav.git/blame - clamav.spec
- updated to 0.104.1
[packages/clamav.git] / clamav.spec
CommitLineData
c935072a 1# TODO:
c8321415 2# - Make freshclam package (script and daemon)
d06ef0ed 3# - restart amavis in triggers if group membership was modified?
eba74cc1 4#
5# Conditional build:
d1044716 6%bcond_without milter # milter interface subpackage
da430249 7%if "%{pld_release}" == "ac"
d1044716 8%bcond_with llvm # LLVM support
00f337bd 9%else
d1044716 10%bcond_without llvm # LLVM support
da430249 11%endif
d1044716
JB
12%bcond_without system_libmspack # system libmspack library
13%bcond_with system_llvm # system LLVM (< 3.7)
8cdcf5e0 14%bcond_without static_libs # static libraries
da430249
JR
15
16%ifarch x32
17%undefine with_llvm
9279da12 18%endif
b014d766 19Summary: An anti-virus utility for Unix
8618c36b 20Summary(pl.UTF-8): Narzędzie antywirusowe dla Uniksów
e6c034d3 21Name: clamav
6ff47b89
AG
22Version: 0.104.1
23Release: 1
c81b4cf4 24License: GPL v2+
c3cae60d 25Group: Daemons
d1044716 26#Source0Download: http://www.clamav.net/download
9a0add22 27Source0: http://www.clamav.net/downloads/production/%{name}-%{version}.tar.gz
6ff47b89 28# Source0-md5: 49b9bb94d5b2cafc761f8fbe660d3bfa
4460ff0b
AM
29Source1: %{name}.init
30Source2: %{name}.sysconfig
eba74cc1 31Source3: %{name}-milter.init
719d471d 32Source4: %{name}-cron-updatedb
4a3f68d7 33Source5: %{name}.logrotate
3e84b306 34Source8: %{name}-post-updatedb
eba74cc1 35Source9: %{name}-milter.sysconfig
24adbaa3 36Source10: %{name}.tmpfiles
09a96373 37Source11: clamd.service
e5b99e12
JK
38Source12: cronjob-clamav.timer
39Source13: cronjob-clamav.service.in
1475e7a3 40Patch0: %{name}-pld_config.patch
1ac1f471 41
0d2709fa
AG
42Patch4: x32.patch
43Patch5: %{name}-add-support-for-system-tomsfastmath.patch
182b1736 44URL: http://www.clamav.net/
c3e2478b
JB
45BuildRequires: bzip2-devel >= 1.0.5
46BuildRequires: cmake >= 3.14
4570eb6d 47BuildRequires: check-devel
8cdcf5e0 48BuildRequires: curl-devel >= 7.40
73b401c8 49BuildRequires: gmp-devel
d1044716 50BuildRequires: json-c-devel
bda09b13 51BuildRequires: libltdl-devel
9d42dc39 52%{?with_milter:BuildRequires: libmilter-devel}
d1044716 53%{?with_system_libmspack:BuildRequires: libmspack-devel}
fbdfce83 54BuildRequires: libstdc++-devel >= 5:3.4
dd6d36d5 55%{?with_milter:BuildRequires: libwrap-devel}
d1044716 56BuildRequires: libxml2-devel >= 2
85d2d338 57%{?with_llvm:%{?with_system_llvm:BuildRequires: llvm-devel < 3.7}}
75268608 58BuildRequires: ncurses-devel
d1044716 59BuildRequires: openssl-devel >= 0.9.8
8cdcf5e0 60BuildRequires: pcre2-8-devel >= 10.30
d1044716 61BuildRequires: pkgconfig >= 1:0.16
9e4f09df 62BuildRequires: rpm-build >= 4.6
c3e2478b 63BuildRequires: rpmbuild(macros) >= 1.742
d1044716 64BuildRequires: systemd-devel
7fae6205 65BuildRequires: tomsfastmath-devel >= 0.13.1-2
d1044716 66BuildRequires: zlib-devel >= 1.2.2
dd6d36d5
ER
67Requires(post,preun): /sbin/chkconfig
68Requires(postun): /usr/sbin/groupdel
69Requires(postun): /usr/sbin/userdel
70Requires(postun,pre): /usr/sbin/usermod
0e86f481 71Requires(pre): /bin/id
49797116 72Requires(pre): /usr/bin/getgid
73Requires(pre): /usr/sbin/groupadd
74Requires(pre): /usr/sbin/useradd
28e95a65
ŁK
75Requires(post,preun,postun): systemd-units >= 38
76Requires: systemd-units >= 38
01a1fe23 77Requires(postun): sed >= 4.0
d4117574 78Requires: %{name}-libs = %{epoch}:%{version}-%{release}
dd6d36d5 79Requires: /usr/sbin/usermod
f40f9e2f 80Requires: rc-scripts >= 0.4.1.23
6475233d 81Suggests: clamav-database
4792d085 82Suggests: cronjobs
49797116 83Provides: group(clamav)
84Provides: user(clamav)
d0ecd394 85Conflicts: logrotate < 3.7-4
e6c034d3 86BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
87
e6c034d3 88%description
066e1c29
ER
89Clam AntiVirus is an open source anti-virus toolkit for UNIX, designed
90especially for e-mail scanning on mail gateways. It provides a number
91of utilities including a flexible and scalable multi-threaded daemon,
92a command line scanner and advanced tool for automatic database
93updates. The core of the package is an anti-virus engine available in
693adc85 94a form of shared library (available in clamav-libs).
066e1c29
ER
95
96Here is a list of the main features:
97- command-line scanner
98- fast, multi-threaded daemon with support for on-access scanning
99- milter interface for sendmail
100- advanced database updater with support for scripted updates and
101 digital signatures
102- virus scanner C library
693adc85 103- on-access scanning (Linux and FreeBSD)
066e1c29
ER
104- virus database updated multiple times per day (see home page for
105 total number of signatures)
106- built-in support for various archive formats, including Zip, RAR,
107 Tar, Gzip, Bzip2, OLE2, Cabinet, CHM, BinHex, SIS and others
108- built-in support for almost all mail file formats
109- built-in support for ELF executables and Portable Executable files
110 compressed with UPX, FSG, Petite, NsPack, wwpack32, MEW, Upack and
111 obfuscated with SUE, Y0da Cryptor and others
112- built-in support for popular document formats including MS Office
113 and MacOffice files, HTML, RTF and PDF
e6c034d3 114
d8cf2de3 115%description -l pl.UTF-8
693adc85
JB
116Clam AntiVirus to mające otwarte źródła narzędzie antywirusowe dla
117systemów uniksowych, zaprojektowane szczególnie pod kątem skanowania
118poczty elektronicznej na bramkach pocztowych. Udostępnia wiele
119narzędzi, w tym elastycznego i skalowalnego, multiwątkowego demona,
120skaner działający z linii poleceń oraz zaawansowane narzędzie do
121automatycznej aktualizacji bazy danych. Główna część pakietu to
122silnik antywirusowy dostępny w postaci biblioteki współdzielonej
123(dostępnej w pakiecie clamav-libs).
124
125Lista podstawowych możliwości:
126- skaner działający z linii poleceń
127- szybki, wielowątkowy demon z obsługą skanowania przy odczycie
128- interfejs milter dla sendmaila
129- zaawansowane narzędzie do aktualizacji bazy danych z obsługą
130 aktualizacji oskryptowanych oraz podpisów cyfrowych
131- biblioteka C skanera antywirusowego
132- skanowanie przy odczycie (dla Linuksa i FreeBSD)
133- baza danych wirusów aktualizowana wiele razy dziennie (liczba
134 sygnatur dostępna na stronie projektu)
135- wbudowana obsługa różnych formatów archiwów, w tym Zip, RAR, Tar,
136 Gzip, Bzip2, OLE2, Cabinet, CHM, BinHex, SIS i inne
137- wbudowana obsługa prawie wszystkich formatów plików pocztowych
138- wbudowana obsługa plików wykonywalnych ELF i PE skompresowanych
139 programami UPX, FSG, Petite, NsPack, wwpack32, MEW, Upack oraz
140 zaciemnionych przy użyciu programów SUE, Y0da Cryptor i innych
141- wbudowana obsługa popularnych formatów dokumentów, w tym plików MS
142 Office, MacOffice, HTML, RTF i PDF
e6c034d3 143
4460ff0b 144%package libs
f98d218a 145Summary: Shared libraries for clamav
da5aee7a 146Summary(pl.UTF-8): Biblioteki dzielone clamav
f98d218a 147Group: Libraries
8cdcf5e0
JB
148Requires: bzip2-libs >= 1.0.5
149Requires: curl-libs >= 7.40
150Requires: pcre2-8 >= 10.30
d1044716 151Requires: zlib >= 1.2.2
4460ff0b
AM
152
153%description libs
154Shared libraries for clamav.
155
d8cf2de3 156%description libs -l pl.UTF-8
4460ff0b
AM
157Biblioteki dzielone clamav.
158
486b4f0f
JB
159%package milter
160Summary: ClamAV filter using milter interface
8618c36b 161Summary(pl.UTF-8): Filtr ClamAV korzystający z interfejsu milter
eba74cc1 162Group: Daemons
d4117574 163Requires: %{name} = %{epoch}:%{version}-%{release}
893a866a 164Requires: postfix
7c438a38 165#Requires: sendmail >= 8.11
eba74cc1 166Requires: tcp_wrappers
eba74cc1 167
168%description milter
169ClamAV sendmail filter using MILTER interface.
170
d8cf2de3 171%description milter -l pl.UTF-8
8618c36b 172Filtr ClamAV dla sendmaila korzystający z interfejsu MILTER.
eba74cc1 173
4460ff0b 174%package devel
f98d218a 175Summary: clamav - Development header files and libraries
8618c36b 176Summary(pl.UTF-8): clamav - Pliki nagłówkowe i biblioteki dla programistów
f98d218a 177Group: Development/Libraries
d4117574 178Requires: %{name}-libs = %{epoch}:%{version}-%{release}
8cdcf5e0
JB
179Requires: bzip2-devel >= 1.0.5
180Requires: curl-devel >= 7.40
cc776ef1 181Requires: gmp-devel
d1044716 182Requires: openssl-devel >= 0.9.8
8cdcf5e0 183Requires: pcre2-8-devel >= 10.30
d1044716 184Requires: zlib-devel >= 1.2.2
4460ff0b
AM
185
186%description devel
187This package contains the development header files and libraries
188necessary to develop clamav client applications.
189
d8cf2de3 190%description devel -l pl.UTF-8
8618c36b 191Pliki nagłówkowe i biblioteki konieczne do kompilacji aplikacji
142cc22a 192klienckich clamav.
4460ff0b
AM
193
194%package static
dd6d36d5 195Summary: clamav static libraries
da5aee7a 196Summary(pl.UTF-8): Biblioteki statyczne clamav
f98d218a 197Group: Development/Libraries
d4117574 198Requires: %{name}-devel = %{epoch}:%{version}-%{release}
4460ff0b
AM
199
200%description static
f33eb2df 201clamav static libraries.
4460ff0b 202
d8cf2de3 203%description static -l pl.UTF-8
4460ff0b
AM
204Biblioteki statyczne clamav.
205
c3e2478b
JB
206%package doc
207Summary: ClamAV documentation
208Summary(pl.UTF-8): Dokumentacja do ClamAVa
209Group: Documentation
9e4f09df 210BuildArch: noarch
c3e2478b
JB
211
212%description doc
213ClamAV documentation.
214
215%description doc -l pl.UTF-8
216Dokumentacja do ClamAVa.
217
e6c034d3 218%prep
c81b4cf4 219%setup -q
c935072a 220%patch0 -p1
1ac1f471 221
0d2709fa 222%patch4 -p1
8a36b4bf 223%patch5 -p1
82747f5b 224
e6c034d3 225%build
1ac1f471
AM
226install -d build
227cd build
228%{cmake} \
229 %{cmake_on_off system_libmspack ENABLE_EXTERNAL_MSPACK} \
230 %{cmake_on_off milter ENABLE_MILTER} \
231 %{cmake_on_off static_libs ENABLE_STATIC_LIB} \
232 -DENABLE_APP=ON \
233 -DENABLE_CLAMONACC=ON \
234 -DENABLE_FRESHCLAM_NO_CACHE=ON \
235 -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/%{name} \
236 -DAPP_CONFIG_DIRECTORY=%{_sysconfdir} \
c16cd5f9 237 -DDATABASE_DIRECTORY="/var/lib/%{name}" \
1ac1f471 238 ..
8cdcf5e0 239%{__make}
4d3c9f35 240
e6c034d3 241%install
242rm -rf $RPM_BUILD_ROOT
06e3ab45 243install -d $RPM_BUILD_ROOT/etc/{cron.d,logrotate.d,rc.d/init.d,sysconfig} \
c79a8ed7 244 $RPM_BUILD_ROOT%{_var}/{log,spool/clamav,lib/clamav} \
28e95a65
ŁK
245 $RPM_BUILD_ROOT%{systemdtmpfilesdir} \
246 $RPM_BUILD_ROOT%{systemdunitdir}
92c5ef39 247
1ac1f471 248%{__make} -C build install \
92c5ef39 249 DESTDIR=$RPM_BUILD_ROOT
c3e2478b 250
142cc22a 251%{!?with_milter:rm -f $RPM_BUILD_ROOT%{_mandir}/man8/clamav-milter.8*}
c3e2478b
JB
252# packged as %doc
253%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/html
92c5ef39 254
1ac1f471 255%if %{with static_libs}
c3e2478b
JB
256%{__mv} $RPM_BUILD_ROOT%{_libdir}/libclamav{_static,}.a
257%{__mv} $RPM_BUILD_ROOT%{_libdir}/libfreshclam{_static,}.a
1ac1f471
AM
258%endif
259
d78cc52a 260cat <<'EOF' >$RPM_BUILD_ROOT/etc/cron.d/%{name}
719d471d 2615 * * * * root %{_sbindir}/clamav-cron-updatedb
ca57b115 262EOF
92c5ef39 263
9279da12 264install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/clamd
4381c9a3 265%if %{with milter}
9279da12
ER
266install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/clamav-milter
267cp -p %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/clamav-milter
4381c9a3 268%endif
9279da12
ER
269cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/clamd
270install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sbindir}/clamav-cron-updatedb
5dcc5881
AM
271for i in $RPM_BUILD_ROOT%{_sysconfdir}/*.conf.sample; do
272 mv $i ${i%%.sample}
273done
9279da12 274cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
2b9f3e64 275
9279da12 276install -p %{SOURCE8} $RPM_BUILD_ROOT%{_sbindir}
4460ff0b 277
e335899e 278cp -p %{SOURCE10} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
24adbaa3 279
e335899e 280cp -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}
e5b99e12
JK
281cp -p %{SOURCE12} $RPM_BUILD_ROOT%{systemdunitdir}/cronjob-%{name}.timer
282sed -e's#@sbindir@#%{_sbindir}#' < %{SOURCE13} > $RPM_BUILD_ROOT%{systemdunitdir}/cronjob-%{name}.service
28e95a65 283
c935072a
MK
284# NOTE: clamd uses sane rights to it's clamd.pid file
285# So better keep it dir
286# If it is fixed use of dir will be unecesary
d78cc52a 287install -d $RPM_BUILD_ROOT/var/run/%{name}
c935072a 288
d78cc52a 289:> $RPM_BUILD_ROOT/var/log/freshclam.log
ef21d0fa 290
e6c034d3 291%clean
92c5ef39 292rm -rf $RPM_BUILD_ROOT
e6c034d3 293
c935072a 294%triggerin -- amavis-ng
50d65e20 295%addusertogroup -q clamav amavis
c935072a
MK
296
297%triggerin -- amavisd-new
50d65e20 298%addusertogroup -q clamav amavis
c935072a
MK
299
300%triggerin -- amavisd
50d65e20 301%addusertogroup -q clamav amavis
c935072a 302
e278889f 303%pre
236dddf1
ER
304%groupadd -g 43 clamav
305%useradd -u 43 -d /tmp -s /bin/false -c "Clam Anti Virus Checker" -g clamav clamav
174915c1 306
66d1575d 307%post
66d1575d 308/sbin/chkconfig --add clamd
dd6d36d5 309%service clamd restart "Clam Antivirus daemon"
d78cc52a
ER
310touch /var/log/freshclam.log
311chown clamav:root /var/log/freshclam.log
312chmod 640 /var/log/freshclam.log
e5b99e12 313%systemd_post clamd.service cronjob-clamav.timer
66d1575d 314
66d1575d 315%preun
316if [ "$1" = "0" ]; then
dd6d36d5 317 %service clamd stop
66d1575d 318 /sbin/chkconfig --del clamd
319fi
e5b99e12 320%systemd_preun clamd.service cronjob-clamav.timer
e6c034d3 321
0c8c3ba4 322%postun
174915c1 323if [ "$1" = "0" ]; then
49797116 324 %userremove clamav
325 %groupremove clamav
174915c1 326fi
28e95a65 327%systemd_reload
174915c1 328
01a1fe23 329%triggerpostun -- %{name} < 0.99.2-2
1eab800a 330if [ -f /etc/clamav.conf.rpmsave ]; then
d093ed8c 331 echo "Renaming config to new name /etc/clamd.conf"
332 mv -f /etc/clamd.conf /etc/clamd.conf.rpmnew
333 mv -f /etc/clamav.conf.rpmsave /etc/clamd.conf
d4117574 334 echo "Changing config location in freshclam config"
f12ca2c1
ER
335 %{__sed} -i -e 's/clamav.conf/clamd.conf/' /etc/freshclam.conf
336fi
337
29f80fd8
ER
338%{__cp} -f /etc/clamd.conf{,.rpmsave}
339%{__sed} -i -e '
340 s,^LogSyslog$,& yes,
341 s,^FixStaleSocket$,& yes,
342 s,^AllowSupplementaryGroups$,& yes,
343 s,^ClamukoScanOnOpen$,& yes,
344 s,^ClamukoScanOnClose$,& yes,
345 s,^ClamukoScanOnExec$,& yes,
3bc0b921
AM
346 s,^LogTime$,& yes,
347 s,^ScanPE$,& yes,
29f80fd8
ER
348' /etc/clamd.conf
349%banner -e %{name}-0.90 <<EOF
350ClamAV config was automatically upgraded to 0.90 format. You should review it
351that it's still valid.
352EOF
353#'
354# unfortunately clamd has no configcheck option so we just have to start it
355# once again after config was broken after upgrade
356touch /var/lock/subsys/clamd
357%service -q clamd restart
1eab800a 358
09a96373
ŁK
359%systemd_trigger clamd.service
360
e5b99e12
JK
361%systemd_service_enable cronjob-clamav.timer
362
eba74cc1 363%post milter
364/sbin/chkconfig --add clamav-milter
dd6d36d5 365%service clamav-milter restart "Clam Antivirus daemon"
eba74cc1 366
4c570814 367%preun milter
eba74cc1 368if [ "$1" = "0" ]; then
dd6d36d5 369 %service clamav-milter stop
eba74cc1 370 /sbin/chkconfig --del clamav-milter
371fi
fba342ab 372
1475e7a3 373%post libs -p /sbin/ldconfig
374%postun libs -p /sbin/ldconfig
4460ff0b 375
e6c034d3 376%files
377%defattr(644,root,root,755)
a4e64f4e 378%doc ChangeLog.md NEWS.md README.md
79125c5b 379%attr(755,root,root) %{_bindir}/clambc
24f68046 380%attr(755,root,root) %{_bindir}/clamdscan
40002522 381%attr(755,root,root) %{_bindir}/clamdtop
24f68046 382%attr(755,root,root) %{_bindir}/clamscan
d03f44fa 383%attr(755,root,root) %{_bindir}/clamsubmit
24f68046 384%attr(755,root,root) %{_bindir}/freshclam
385%attr(755,root,root) %{_bindir}/sigtool
d78cc52a 386%attr(755,root,root) %{_bindir}/clamconf
24f68046 387%attr(755,root,root) %{_sbindir}/clamav-cron-updatedb
c8321415 388%attr(755,root,root) %{_sbindir}/clamav-post-updatedb
8cdcf5e0
JB
389%attr(755,root,root) %{_sbindir}/clamd
390%attr(755,root,root) %{_sbindir}/clamonacc
839be9e8 391%{systemdtmpfilesdir}/%{name}.conf
8cdcf5e0 392%{systemdunitdir}/clamav-clamonacc.service
f63e74d3
AG
393%{systemdunitdir}/clamav-daemon.service
394%{systemdunitdir}/clamav-daemon.socket
395%{systemdunitdir}/clamav-freshclam.service
09a96373 396%{systemdunitdir}/clamd.service
e5b99e12
JK
397%{systemdunitdir}/cronjob-clamav.service
398%{systemdunitdir}/cronjob-clamav.timer
ca57b115 399%attr(755,clamav,root) %dir /var/lib/%{name}
d78cc52a
ER
400%attr(640,clamav,root) %ghost /var/log/freshclam.log
401%attr(750,clamav,clamav) %dir /var/run/%{name}
c935072a 402
b5177881 403%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
0e86f481
JB
404%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/clamd.conf
405%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/freshclam.conf
6586d93d 406
05eb87ef 407%attr(754,root,root) /etc/rc.d/init.d/clamd
7c801993
ER
408%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/clamd
409%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/clamav
8cdcf5e0
JB
410%{_mandir}/man1/clambc.1*
411%{_mandir}/man1/clamconf.1*
412%{_mandir}/man1/clamdscan.1*
413%{_mandir}/man1/clamdtop.1*
414%{_mandir}/man1/clamscan.1*
415%{_mandir}/man1/clamsubmit.1*
416%{_mandir}/man1/freshclam.1*
417%{_mandir}/man1/sigtool.1*
418%{_mandir}/man5/clamd.conf.5*
419%{_mandir}/man5/freshclam.conf.5*
420%{_mandir}/man8/clamd.8*
421%{_mandir}/man8/clamonacc.8*
eba74cc1 422
423%if %{with milter}
424%files milter
425%defattr(644,root,root,755)
7c801993 426%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/clamav-milter
a2a93243 427%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/clamav-milter.conf
491eb046 428%attr(754,root,root) /etc/rc.d/init.d/clamav-milter
eba74cc1 429#%attr(755,root,root) %{_sysconfdir}/cron.daily/clamav-milter
a2a93243 430%attr(755,root,root) %{_sbindir}/clamav-milter
8cdcf5e0 431%{_mandir}/man5/clamav-milter.conf.5*
eba74cc1 432%{_mandir}/man8/clamav-milter.8*
0e86f481 433%attr(700,clamav,clamav) /var/spool/clamav
eba74cc1 434%endif
4460ff0b
AM
435
436%files libs
437%defattr(644,root,root,755)
418bf14a 438%attr(755,root,root) %{_libdir}/libclamav.so.*.*.*
f63e74d3 439%attr(755,root,root) %ghost %{_libdir}/libclamav.so.9
d1044716 440%if %{without system_libmspack}
a4e64f4e
AM
441%attr(755,root,root) %{_libdir}/libclammspack.*.*.*
442%attr(755,root,root) %ghost %{_libdir}/libclammspack.so.0
d1044716 443%endif
418bf14a 444%attr(755,root,root) %{_libdir}/libclamunrar.so.*.*.*
f63e74d3 445%attr(755,root,root) %ghost %{_libdir}/libclamunrar.so.9
418bf14a 446%attr(755,root,root) %{_libdir}/libclamunrar_iface.so.*.*.*
f63e74d3 447%attr(755,root,root) %ghost %{_libdir}/libclamunrar_iface.so.9
e63bc447
AG
448%attr(755,root,root) %{_libdir}/libfreshclam.so.*.*.*
449%attr(755,root,root) %ghost %{_libdir}/libfreshclam.so.2
4460ff0b
AM
450
451%files devel
452%defattr(644,root,root,755)
24f68046 453%attr(755,root,root) %{_bindir}/clamav-config
418bf14a 454%attr(755,root,root) %{_libdir}/libclamav.so
d1044716 455%if %{without system_libmspack}
a4e64f4e 456%attr(755,root,root) %{_libdir}/libclammspack.so
d1044716 457%endif
418bf14a 458%attr(755,root,root) %{_libdir}/libclamunrar.so
e63bc447 459%attr(755,root,root) %{_libdir}/libfreshclam.so
418bf14a 460%attr(755,root,root) %{_libdir}/libclamunrar_iface.so
0e6f5de4
AG
461%dir %{_includedir}/clamav
462%{_includedir}/clamav/clamav.h
18033221 463%{_includedir}/clamav/clamav-types.h
e63bc447
AG
464%{_includedir}/clamav/clamav-version.h
465%{_includedir}/clamav/libfreshclam.h
418bf14a 466%{_pkgconfigdir}/libclamav.pc
4460ff0b
AM
467
468%files static
469%defattr(644,root,root,755)
418bf14a 470%{_libdir}/libclamav.a
d1044716 471%if %{without system_libmspack}
a4e64f4e 472%{_libdir}/libclammspack.a
d1044716 473%endif
e63bc447 474%{_libdir}/libfreshclam.a
c3e2478b
JB
475
476%files doc
477%defattr(644,root,root,755)
478%doc docs/html/*
This page took 1.765516 seconds and 4 git commands to generate.