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