]> git.pld-linux.org Git - packages/python-pyclamav.git/commitdiff
- up to 0.3.1 auto/ac/python-pyclamav-0_3_1-1
authorAndrzej Zawadzki <zawadaa@gmail.com>
Mon, 25 Jul 2005 13:43:38 +0000 (13:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- add example.py

Changed files:
    python-pyclamav.spec -> 1.3

python-pyclamav.spec

index d35ee3b778c7617e34991e4ca1f1f59cc5f3be9d..f70348f6d2e4570c10b7c42058280ae3bf1a3a15 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       A Python interface to libclamav
 Summary(pl):   Interfejs Pythona do libclamav
 Name:          python-pyclamav
-Version:       0.2.2
-Release:       0.1
+Version:       0.3.1
+Release:       1
 License:       GPL
 Group:         Libraries/Python
 Source0:       http://norman.free.fr/norman/python/pyclamav/pyclamav-%{version}.tar.gz
-# Source0-md5: 0b274b73f71b8e4481c8fb30fd1c2bb2
+# Source0-md5: cf8e0e7850c417c76134cb4b11856e2c
 URL:           http://xael.org/norman/python/pyclamav/index.html
 BuildRequires:  clamav-devel >= 0:0.80
 BuildRequires: python
@@ -30,16 +30,21 @@ env CFLAGS="%{rpmcflags}" %{_bindir}/python setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 python -- setup.py install \
        --root=$RPM_BUILD_ROOT \
        --optimize=2
 
+cp -aR example.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.txt
+%doc README.txt CHANGELOG
 %attr(755,root,root) %{py_sitedir}/*.so
+%dir %{_examplesdir}/%{name}-%{version}
+%{_examplesdir}/%{name}-%{version}/example.py
 ##%{py_sitedir}/*.py[co]
This page took 0.029917 seconds and 4 git commands to generate.