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