SPECS: python-pyclamav.spec - up to 0.3.1 - add example.py

zawadaa zawadaa at pld-linux.org
Mon Jul 25 15:43:43 CEST 2005


Author: zawadaa                      Date: Mon Jul 25 13:43:43 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.3.1
- add example.py

---- Files affected:
SPECS:
   python-pyclamav.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/python-pyclamav.spec
diff -u SPECS/python-pyclamav.spec:1.2 SPECS/python-pyclamav.spec:1.3
--- SPECS/python-pyclamav.spec:1.2	Thu Mar 17 12:11:20 2005
+++ SPECS/python-pyclamav.spec	Mon Jul 25 15:43:38 2005
@@ -2,12 +2,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
@@ -31,18 +31,23 @@
 
 %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]
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -51,6 +56,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/07/25 13:43:38  zawadaa
+- up to 0.3.1
+- add example.py
+
 Revision 1.2  2005/03/17 11:11:20  spider
 - missing log section
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-pyclamav.spec?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list