]> git.pld-linux.org Git - packages/clamav.git/commitdiff
- updated to 0.50
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 5 Oct 2002 17:32:08 +0000 (17:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    clamav.spec -> 1.20

clamav.spec

index 90dc00e067a5b6d993f367711ec18d9fdeca412c..38316252bd6e60dce6b1a035c50db1bbaeb1c636 100644 (file)
@@ -1,11 +1,13 @@
 Summary:       An anti-virus utility for Unix
 Summary(pl):   Antywirusowe narzêdzie dla Unixów
 Name:          clamav
-Version:       0.24
+Version:       0.50
 Release:       1
 License:       GPL
-Group:         Applications/Mail
+Group:         Applications
 Source0:       http://clamav.elektrapro.com/stable/%{name}-%{version}.tar.gz
+Source1:       %{name}.init
+Source2:       %{name}.sysconfig
 URL:           http://clamav.elektrapro.com/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -24,12 +26,49 @@ wirus
 aktualizacji. Skaner jest wielow±tkowy, napisany w C i zgodny z
 POSIXem.
 
+%package libs
+Summary:        Shared libraries for clamav
+Summary(pl):    Biblioteki dzielone clamav
+Group:          Libraries
+
+%description libs
+Shared libraries for clamav.
+
+%description libs -l pl
+Biblioteki dzielone clamav.
+
+%package devel
+Summary:        clamav - Development header files and libraries
+Summary(pl):    clamav - Pliki nag³ówkowe i biblioteki dla programistów
+Group:          Development/Libraries
+Requires:       %{name}-libs = %{version}
+
+%description devel
+This package contains the development header files and libraries
+necessary to develop clamav client applications.
+
+%description devel -l pl
+Pliki nag³ówkowe i biblioteki konieczne do kompilacji aplikacji
+klienckich clamav.
+
+%package static
+Summary:        clamav staic libraris
+Summary(pl):    Biblioteki statyczne clamav
+Group:          Development/Libraries
+Requires:       %{name}-devel = %{version}
+
+%description static
+clamav static libraris.
+
+%description static -l pl
+Biblioteki statyczne clamav.
+
 %prep
 %setup -q
 
 %build
 rm -f missing
-aclocal
+%{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure \
@@ -38,16 +77,20 @@ aclocal
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/{rc.d/init.d,sysconfig}
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/cron.daily,%{_var}/log}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-echo -e '#!/bin/sh\n%{_bindir}/freshclam --quiet -l %{_var}/log/%{name}.log' \
+echo -e '#!/bin/sh\n%{_bindir}/freshclam --quiet -l %{_var}/log/%{name}.log --daemon-notify' \
        > $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/%{name}
 
 touch $RPM_BUILD_ROOT%{_var}/log/%{name}.log
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/clamd
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/clamd
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -82,12 +125,32 @@ fi
 %post
 touch %{_var}/log/%{name}.log && chmod 640 %{_var}/log/%{name}.log && chown clamav %{_var}/log/%{name}.log
 
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog FAQ NEWS README TODO docs/*.pdf
+%doc AUTHORS ChangeLog FAQ NEWS README TODO docs/html/
 %attr(755,root,root) %{_bindir}/*
 %attr(755,clamav,root) %dir %{_datadir}/%{name}
-%attr(644,clamav,root) %verify(not md5 size mtime) %{_datadir}/%{name}/*.db
+%attr(644,clamav,root) %verify(not md5 size mtime) %{_datadir}/%{name}/*.db*
 %attr(640,clamav,root) %ghost %{_var}/log/%{name}.log
 %attr(750,root,root) %{_sysconfdir}/cron.daily/%{name}
+%attr(644,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/*.conf
+%attr(754,root,root) %{_sysconfdir}/rc.d/init.d/clamd
+%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sysconfig/clamd
 %{_mandir}/man?/*
+
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.la
+%{_includedir}/*.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a
This page took 0.168715 seconds and 4 git commands to generate.