]>
Commit | Line | Data |
---|---|---|
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: | |
418bf14a | 6 | %bcond_without milter # milter interface subpackage |
da430249 | 7 | %if "%{pld_release}" == "ac" |
00f337bd JR |
8 | %bcond_with llvm # LLVM support |
9 | %else | |
10 | %bcond_without llvm # LLVM support | |
da430249 JR |
11 | %endif |
12 | ||
13 | %ifarch x32 | |
14 | %undefine with_llvm | |
9279da12 | 15 | %endif |
df7c34e3 | 16 | |
85d2d338 AM |
17 | %bcond_with system_llvm |
18 | ||
b014d766 | 19 | Summary: An anti-virus utility for Unix |
8618c36b | 20 | Summary(pl.UTF-8): Narzędzie antywirusowe dla Uniksów |
e6c034d3 | 21 | Name: clamav |
85d2d338 AM |
22 | Version: 0.99.1 |
23 | Release: 1 | |
c81b4cf4 | 24 | License: GPL v2+ |
c3cae60d | 25 | Group: Daemons |
2d82c59b | 26 | Source0: http://downloads.sourceforge.net/clamav/%{name}-%{version}.tar.gz |
85d2d338 | 27 | # Source0-md5: cf1f3cbe62a08c9165801f79239166ff |
4460ff0b AM |
28 | Source1: %{name}.init |
29 | Source2: %{name}.sysconfig | |
eba74cc1 | 30 | Source3: %{name}-milter.init |
719d471d | 31 | Source4: %{name}-cron-updatedb |
4a3f68d7 | 32 | Source5: %{name}.logrotate |
3e84b306 | 33 | Source8: %{name}-post-updatedb |
eba74cc1 | 34 | Source9: %{name}-milter.sysconfig |
24adbaa3 | 35 | Source10: %{name}.tmpfiles |
09a96373 | 36 | Source11: clamd.service |
1475e7a3 | 37 | Patch0: %{name}-pld_config.patch |
40002522 | 38 | Patch1: %{name}-nolibs.patch |
e335899e | 39 | %if "%{pld_release}" == "ac" |
453ff8b1 | 40 | Patch2: am-nosilentrules.patch |
e335899e | 41 | %endif |
1337bca5 | 42 | Patch3: ac2.68.patch |
d03f44fa | 43 | Patch4: %{name}-openssl.patch |
e1b3dbcb | 44 | Patch5: %{name}-major.patch |
90b9ff25 | 45 | Patch6: x32.patch |
182b1736 | 46 | URL: http://www.clamav.net/ |
e6c034d3 | 47 | BuildRequires: autoconf |
48 | BuildRequires: automake | |
bc21dbca | 49 | BuildRequires: bzip2-devel |
e335899e | 50 | BuildRequires: curl-devel |
73b401c8 | 51 | BuildRequires: gmp-devel |
bda09b13 | 52 | BuildRequires: libltdl-devel |
9d42dc39 | 53 | %{?with_milter:BuildRequires: libmilter-devel} |
fbdfce83 | 54 | BuildRequires: libstdc++-devel >= 5:3.4 |
2d1a6e1f | 55 | BuildRequires: libtool |
dd6d36d5 | 56 | %{?with_milter:BuildRequires: libwrap-devel} |
85d2d338 | 57 | %{?with_llvm:%{?with_system_llvm:BuildRequires: llvm-devel < 3.7}} |
75268608 | 58 | BuildRequires: ncurses-devel |
e335899e | 59 | BuildRequires: openssl-devel |
9279da12 | 60 | BuildRequires: rpm >= 4.4.9-56 |
09a96373 | 61 | BuildRequires: rpmbuild(macros) >= 1.647 |
e278889f | 62 | BuildRequires: zlib-devel |
dd6d36d5 ER |
63 | Requires(post,preun): /sbin/chkconfig |
64 | Requires(postun): /usr/sbin/groupdel | |
65 | Requires(postun): /usr/sbin/userdel | |
66 | Requires(postun,pre): /usr/sbin/usermod | |
0e86f481 | 67 | Requires(pre): /bin/id |
49797116 | 68 | Requires(pre): /usr/bin/getgid |
69 | Requires(pre): /usr/sbin/groupadd | |
70 | Requires(pre): /usr/sbin/useradd | |
28e95a65 ŁK |
71 | Requires(post,preun,postun): systemd-units >= 38 |
72 | Requires: systemd-units >= 38 | |
d985d248 | 73 | Requires(triggerpostun): sed >= 4.0 |
d4117574 | 74 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
dd6d36d5 | 75 | Requires: /usr/sbin/usermod |
f40f9e2f | 76 | Requires: rc-scripts >= 0.4.1.23 |
6475233d | 77 | Suggests: clamav-database |
b1b5a5c9 | 78 | Suggests: crondaemon |
49797116 | 79 | Provides: group(clamav) |
80 | Provides: user(clamav) | |
d0ecd394 | 81 | Conflicts: logrotate < 3.7-4 |
e6c034d3 | 82 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
83 | ||
e6c034d3 | 84 | %description |
066e1c29 ER |
85 | Clam AntiVirus is an open source anti-virus toolkit for UNIX, designed |
86 | especially for e-mail scanning on mail gateways. It provides a number | |
87 | of utilities including a flexible and scalable multi-threaded daemon, | |
88 | a command line scanner and advanced tool for automatic database | |
89 | updates. The core of the package is an anti-virus engine available in | |
90 | a form of shared library. | |
91 | ||
92 | Here is a list of the main features: | |
93 | - command-line scanner | |
94 | - fast, multi-threaded daemon with support for on-access scanning | |
95 | - milter interface for sendmail | |
96 | - advanced database updater with support for scripted updates and | |
97 | digital signatures | |
98 | - virus scanner C library | |
8618c36b | 99 | - on-access scanning (Linux® and FreeBSD®) |
066e1c29 ER |
100 | - virus database updated multiple times per day (see home page for |
101 | total number of signatures) | |
102 | - built-in support for various archive formats, including Zip, RAR, | |
103 | Tar, Gzip, Bzip2, OLE2, Cabinet, CHM, BinHex, SIS and others | |
104 | - built-in support for almost all mail file formats | |
105 | - built-in support for ELF executables and Portable Executable files | |
106 | compressed with UPX, FSG, Petite, NsPack, wwpack32, MEW, Upack and | |
107 | obfuscated with SUE, Y0da Cryptor and others | |
108 | - built-in support for popular document formats including MS Office | |
109 | and MacOffice files, HTML, RTF and PDF | |
e6c034d3 | 110 | |
d8cf2de3 | 111 | %description -l pl.UTF-8 |
8618c36b | 112 | Clam Antivirus jest potężnym skanerem antywirusowym dla systemów |
eba74cc1 | 113 | uniksowych. Wspiera on AMaViSa, skompresowane pliki, skanowanie |
114 | "on-access" i posiada system bezpiecznej, automatycznej aktualizacji. | |
8618c36b | 115 | Baza wirusów zawiera ponad 90000 sygnatur. Skaner jest wielowątkowy, |
ba45f729 | 116 | napisany w C i zgodny z POSIXem. |
e6c034d3 | 117 | |
4460ff0b | 118 | %package libs |
f98d218a | 119 | Summary: Shared libraries for clamav |
da5aee7a | 120 | Summary(pl.UTF-8): Biblioteki dzielone clamav |
f98d218a | 121 | Group: Libraries |
4460ff0b AM |
122 | |
123 | %description libs | |
124 | Shared libraries for clamav. | |
125 | ||
d8cf2de3 | 126 | %description libs -l pl.UTF-8 |
4460ff0b AM |
127 | Biblioteki dzielone clamav. |
128 | ||
486b4f0f JB |
129 | %package milter |
130 | Summary: ClamAV filter using milter interface | |
8618c36b | 131 | Summary(pl.UTF-8): Filtr ClamAV korzystający z interfejsu milter |
eba74cc1 | 132 | Group: Daemons |
d4117574 | 133 | Requires: %{name} = %{epoch}:%{version}-%{release} |
893a866a | 134 | Requires: postfix |
7c438a38 | 135 | #Requires: sendmail >= 8.11 |
eba74cc1 | 136 | Requires: tcp_wrappers |
eba74cc1 | 137 | |
138 | %description milter | |
139 | ClamAV sendmail filter using MILTER interface. | |
140 | ||
d8cf2de3 | 141 | %description milter -l pl.UTF-8 |
8618c36b | 142 | Filtr ClamAV dla sendmaila korzystający z interfejsu MILTER. |
eba74cc1 | 143 | |
4460ff0b | 144 | %package devel |
f98d218a | 145 | Summary: clamav - Development header files and libraries |
8618c36b | 146 | Summary(pl.UTF-8): clamav - Pliki nagłówkowe i biblioteki dla programistów |
f98d218a | 147 | Group: Development/Libraries |
d4117574 | 148 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
cc776ef1 | 149 | Requires: bzip2-devel |
d03f44fa | 150 | Requires: curl-devel |
cc776ef1 | 151 | Requires: gmp-devel |
d03f44fa | 152 | Requires: openssl-devel |
cc776ef1 | 153 | Requires: zlib-devel |
4460ff0b AM |
154 | |
155 | %description devel | |
156 | This package contains the development header files and libraries | |
157 | necessary to develop clamav client applications. | |
158 | ||
d8cf2de3 | 159 | %description devel -l pl.UTF-8 |
8618c36b | 160 | Pliki nagłówkowe i biblioteki konieczne do kompilacji aplikacji |
142cc22a | 161 | klienckich clamav. |
4460ff0b AM |
162 | |
163 | %package static | |
dd6d36d5 | 164 | Summary: clamav static libraries |
da5aee7a | 165 | Summary(pl.UTF-8): Biblioteki statyczne clamav |
f98d218a | 166 | Group: Development/Libraries |
d4117574 | 167 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
4460ff0b AM |
168 | |
169 | %description static | |
f33eb2df | 170 | clamav static libraries. |
4460ff0b | 171 | |
d8cf2de3 | 172 | %description static -l pl.UTF-8 |
4460ff0b AM |
173 | Biblioteki statyczne clamav. |
174 | ||
e6c034d3 | 175 | %prep |
c81b4cf4 | 176 | %setup -q |
c935072a | 177 | %patch0 -p1 |
83eaf0c7 | 178 | %patch1 -p1 |
e335899e | 179 | %if "%{pld_release}" == "ac" |
453ff8b1 | 180 | %patch2 -p1 |
e335899e | 181 | %endif |
9a33c406 | 182 | %if "%{pld_release}" != "ac" |
1337bca5 | 183 | %patch3 -p1 |
9a33c406 | 184 | %endif |
f0c310ed | 185 | #%patch4 -p1 |
e1b3dbcb | 186 | %patch5 -p1 |
90b9ff25 | 187 | %patch6 -p1 |
82747f5b | 188 | |
e6c034d3 | 189 | %build |
82747f5b | 190 | %{__libtoolize} |
c81b4cf4 | 191 | %{__aclocal} -I m4 |
ed667a13 | 192 | %{__autoconf} |
82747f5b | 193 | %{__autoheader} |
ed667a13 | 194 | %{__automake} |
92c5ef39 | 195 | %configure \ |
5dcc5881 | 196 | --disable-silent-rules \ |
ca57b115 | 197 | --disable-clamav \ |
5dcc5881 | 198 | --enable-clamdtop \ |
85d2d338 | 199 | %{?with_llvm:--enable-llvm %{?with_system_llvm:--with-system-llvm}} \ |
142cc22a | 200 | %{?with_milter:--enable-milter} \ |
20f26031 | 201 | --with-dbdir=/var/lib/%{name} \ |
8635bd29 | 202 | --with-no-cache \ |
839be9e8 | 203 | --with-ltdl-include=%{_includedir} \ |
a811cf23 ER |
204 | --with-ltdl-lib=%{_libdir} |
205 | ||
206 | %{__make} \ | |
839be9e8 | 207 | LIBTOOL=%{_bindir}/libtool |
4d3c9f35 | 208 | |
e6c034d3 | 209 | %install |
210 | rm -rf $RPM_BUILD_ROOT | |
06e3ab45 | 211 | install -d $RPM_BUILD_ROOT/etc/{cron.d,logrotate.d,rc.d/init.d,sysconfig} \ |
c79a8ed7 | 212 | $RPM_BUILD_ROOT%{_var}/{log,spool/clamav,lib/clamav} \ |
28e95a65 ŁK |
213 | $RPM_BUILD_ROOT%{systemdtmpfilesdir} \ |
214 | $RPM_BUILD_ROOT%{systemdunitdir} | |
92c5ef39 AM |
215 | |
216 | %{__make} install \ | |
839be9e8 | 217 | LIBTOOL=%{_bindir}/libtool \ |
92c5ef39 | 218 | DESTDIR=$RPM_BUILD_ROOT |
142cc22a | 219 | %{!?with_milter:rm -f $RPM_BUILD_ROOT%{_mandir}/man8/clamav-milter.8*} |
92c5ef39 | 220 | |
d78cc52a | 221 | cat <<'EOF' >$RPM_BUILD_ROOT/etc/cron.d/%{name} |
719d471d | 222 | 5 * * * * root %{_sbindir}/clamav-cron-updatedb |
ca57b115 | 223 | EOF |
92c5ef39 | 224 | |
9279da12 | 225 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/clamd |
4381c9a3 | 226 | %if %{with milter} |
9279da12 ER |
227 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/clamav-milter |
228 | cp -p %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/clamav-milter | |
4381c9a3 | 229 | %endif |
9279da12 ER |
230 | cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/clamd |
231 | install -p %{SOURCE4} $RPM_BUILD_ROOT%{_sbindir}/clamav-cron-updatedb | |
5dcc5881 AM |
232 | for i in $RPM_BUILD_ROOT%{_sysconfdir}/*.conf.sample; do |
233 | mv $i ${i%%.sample} | |
234 | done | |
9279da12 | 235 | cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/%{name} |
2b9f3e64 | 236 | |
9279da12 | 237 | install -p %{SOURCE8} $RPM_BUILD_ROOT%{_sbindir} |
4460ff0b | 238 | |
e335899e | 239 | cp -p %{SOURCE10} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf |
24adbaa3 | 240 | |
e335899e | 241 | cp -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir} |
28e95a65 | 242 | |
c935072a MK |
243 | # NOTE: clamd uses sane rights to it's clamd.pid file |
244 | # So better keep it dir | |
245 | # If it is fixed use of dir will be unecesary | |
d78cc52a | 246 | install -d $RPM_BUILD_ROOT/var/run/%{name} |
c935072a | 247 | |
d78cc52a | 248 | :> $RPM_BUILD_ROOT/var/log/freshclam.log |
ef21d0fa | 249 | |
e6c034d3 | 250 | %clean |
92c5ef39 | 251 | rm -rf $RPM_BUILD_ROOT |
e6c034d3 | 252 | |
c935072a | 253 | %triggerin -- amavis-ng |
50d65e20 | 254 | %addusertogroup -q clamav amavis |
c935072a MK |
255 | |
256 | %triggerin -- amavisd-new | |
50d65e20 | 257 | %addusertogroup -q clamav amavis |
c935072a MK |
258 | |
259 | %triggerin -- amavisd | |
50d65e20 | 260 | %addusertogroup -q clamav amavis |
c935072a | 261 | |
e278889f | 262 | %pre |
236dddf1 ER |
263 | %groupadd -g 43 clamav |
264 | %useradd -u 43 -d /tmp -s /bin/false -c "Clam Anti Virus Checker" -g clamav clamav | |
174915c1 | 265 | |
66d1575d | 266 | %post |
66d1575d | 267 | /sbin/chkconfig --add clamd |
dd6d36d5 | 268 | %service clamd restart "Clam Antivirus daemon" |
d78cc52a ER |
269 | touch /var/log/freshclam.log |
270 | chown clamav:root /var/log/freshclam.log | |
271 | chmod 640 /var/log/freshclam.log | |
28e95a65 | 272 | %systemd_post clamd.service |
66d1575d | 273 | |
66d1575d | 274 | %preun |
275 | if [ "$1" = "0" ]; then | |
dd6d36d5 | 276 | %service clamd stop |
66d1575d | 277 | /sbin/chkconfig --del clamd |
278 | fi | |
28e95a65 | 279 | %systemd_preun clamd.service |
e6c034d3 | 280 | |
0c8c3ba4 | 281 | %postun |
174915c1 | 282 | if [ "$1" = "0" ]; then |
49797116 | 283 | %userremove clamav |
284 | %groupremove clamav | |
174915c1 | 285 | fi |
28e95a65 | 286 | %systemd_reload |
174915c1 | 287 | |
ed0b0327 | 288 | %triggerpostun -- %{name} < 0.80 |
1eab800a | 289 | if [ -f /etc/clamav.conf.rpmsave ]; then |
d093ed8c | 290 | echo "Renaming config to new name /etc/clamd.conf" |
291 | mv -f /etc/clamd.conf /etc/clamd.conf.rpmnew | |
292 | mv -f /etc/clamav.conf.rpmsave /etc/clamd.conf | |
d4117574 | 293 | echo "Changing config location in freshclam config" |
f12ca2c1 ER |
294 | %{__sed} -i -e 's/clamav.conf/clamd.conf/' /etc/freshclam.conf |
295 | fi | |
296 | ||
29f80fd8 ER |
297 | %triggerpostun -- %{name} < 0.90-0.rc2.0.10 |
298 | %{__cp} -f /etc/clamd.conf{,.rpmsave} | |
299 | %{__sed} -i -e ' | |
300 | s,^LogSyslog$,& yes, | |
301 | s,^FixStaleSocket$,& yes, | |
302 | s,^AllowSupplementaryGroups$,& yes, | |
303 | s,^ClamukoScanOnOpen$,& yes, | |
304 | s,^ClamukoScanOnClose$,& yes, | |
305 | s,^ClamukoScanOnExec$,& yes, | |
3bc0b921 AM |
306 | s,^LogTime$,& yes, |
307 | s,^ScanPE$,& yes, | |
29f80fd8 ER |
308 | ' /etc/clamd.conf |
309 | %banner -e %{name}-0.90 <<EOF | |
310 | ClamAV config was automatically upgraded to 0.90 format. You should review it | |
311 | that it's still valid. | |
312 | EOF | |
313 | #' | |
314 | # unfortunately clamd has no configcheck option so we just have to start it | |
315 | # once again after config was broken after upgrade | |
316 | touch /var/lock/subsys/clamd | |
317 | %service -q clamd restart | |
1eab800a | 318 | |
09a96373 ŁK |
319 | %triggerpostun -- %{name} < 0.97.7-4 |
320 | %systemd_trigger clamd.service | |
321 | ||
eba74cc1 | 322 | %post milter |
323 | /sbin/chkconfig --add clamav-milter | |
dd6d36d5 | 324 | %service clamav-milter restart "Clam Antivirus daemon" |
eba74cc1 | 325 | |
4c570814 | 326 | %preun milter |
eba74cc1 | 327 | if [ "$1" = "0" ]; then |
dd6d36d5 | 328 | %service clamav-milter stop |
eba74cc1 | 329 | /sbin/chkconfig --del clamav-milter |
330 | fi | |
fba342ab | 331 | |
1475e7a3 | 332 | %post libs -p /sbin/ldconfig |
333 | %postun libs -p /sbin/ldconfig | |
4460ff0b | 334 | |
e6c034d3 | 335 | %files |
336 | %defattr(644,root,root,755) | |
c5a8ecb5 | 337 | %doc AUTHORS ChangeLog FAQ NEWS README docs/*.pdf |
79125c5b | 338 | %attr(755,root,root) %{_bindir}/clambc |
24f68046 | 339 | %attr(755,root,root) %{_bindir}/clamdscan |
40002522 | 340 | %attr(755,root,root) %{_bindir}/clamdtop |
24f68046 | 341 | %attr(755,root,root) %{_bindir}/clamscan |
d03f44fa | 342 | %attr(755,root,root) %{_bindir}/clamsubmit |
24f68046 | 343 | %attr(755,root,root) %{_bindir}/freshclam |
344 | %attr(755,root,root) %{_bindir}/sigtool | |
d78cc52a | 345 | %attr(755,root,root) %{_bindir}/clamconf |
24f68046 | 346 | %attr(755,root,root) %{_sbindir}/clamd |
347 | %attr(755,root,root) %{_sbindir}/clamav-cron-updatedb | |
c8321415 | 348 | %attr(755,root,root) %{_sbindir}/clamav-post-updatedb |
839be9e8 | 349 | %{systemdtmpfilesdir}/%{name}.conf |
09a96373 | 350 | %{systemdunitdir}/clamd.service |
ca57b115 | 351 | %attr(755,clamav,root) %dir /var/lib/%{name} |
d78cc52a ER |
352 | %attr(640,clamav,root) %ghost /var/log/freshclam.log |
353 | %attr(750,clamav,clamav) %dir /var/run/%{name} | |
c935072a | 354 | |
b5177881 | 355 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name} |
0e86f481 JB |
356 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/clamd.conf |
357 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/freshclam.conf | |
6586d93d | 358 | |
05eb87ef | 359 | %attr(754,root,root) /etc/rc.d/init.d/clamd |
7c801993 ER |
360 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/clamd |
361 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/clamav | |
eba74cc1 | 362 | %{_mandir}/man[15]/* |
363 | %{_mandir}/man8/clamd* | |
364 | ||
365 | %if %{with milter} | |
366 | %files milter | |
367 | %defattr(644,root,root,755) | |
7c801993 | 368 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/clamav-milter |
9279da12 | 369 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/clamav-milter.conf |
491eb046 | 370 | %attr(754,root,root) /etc/rc.d/init.d/clamav-milter |
eba74cc1 | 371 | #%attr(755,root,root) %{_sysconfdir}/cron.daily/clamav-milter |
372 | #%attr(755,root,root) %{_sysconfdir}/log.d/scripts/services/clamav-milter | |
373 | #%{_sysconfdir}/log.d/conf/services/clamav-milter.conf | |
374 | %attr(755,root,root) %{_sbindir}/clamav-milter | |
375 | %{_mandir}/man8/clamav-milter.8* | |
0e86f481 | 376 | %attr(700,clamav,clamav) /var/spool/clamav |
eba74cc1 | 377 | %endif |
4460ff0b AM |
378 | |
379 | %files libs | |
380 | %defattr(644,root,root,755) | |
418bf14a | 381 | %attr(755,root,root) %{_libdir}/libclamav.so.*.*.* |
85d2d338 | 382 | %attr(755,root,root) %ghost %{_libdir}/libclamav.so.7 |
418bf14a | 383 | %attr(755,root,root) %{_libdir}/libclamunrar.so.*.*.* |
85d2d338 | 384 | %attr(755,root,root) %ghost %{_libdir}/libclamunrar.so.7 |
418bf14a | 385 | %attr(755,root,root) %{_libdir}/libclamunrar_iface.so.*.*.* |
85d2d338 | 386 | %attr(755,root,root) %ghost %{_libdir}/libclamunrar_iface.so.7 |
4460ff0b AM |
387 | |
388 | %files devel | |
389 | %defattr(644,root,root,755) | |
24f68046 | 390 | %attr(755,root,root) %{_bindir}/clamav-config |
418bf14a JB |
391 | %attr(755,root,root) %{_libdir}/libclamav.so |
392 | %attr(755,root,root) %{_libdir}/libclamunrar.so | |
393 | %attr(755,root,root) %{_libdir}/libclamunrar_iface.so | |
394 | %{_libdir}/libclamav.la | |
395 | %{_libdir}/libclamunrar.la | |
396 | %{_libdir}/libclamunrar_iface.la | |
397 | %{_includedir}/clamav.h | |
398 | %{_pkgconfigdir}/libclamav.pc | |
4460ff0b AM |
399 | |
400 | %files static | |
401 | %defattr(644,root,root,755) | |
418bf14a JB |
402 | %{_libdir}/libclamav.a |
403 | %{_libdir}/libclamunrar.a | |
404 | %{_libdir}/libclamunrar_iface.a |