]> git.pld-linux.org Git - packages/python-pyclamav.git/blob - python-pyclamav.spec
- NEW
[packages/python-pyclamav.git] / python-pyclamav.spec
1 Summary:        A Python interface to libclamav
2 Summary(pl):    Interfejs Pythona do libclamav
3 Name:           python-pyclamav
4 Version:        0.2.2
5 Release:        0.1
6 License:        GPL
7 Group:          Libraries/Python
8 Source0:        http://norman.free.fr/norman/python/pyclamav/pyclamav-%{version}.tar.gz
9 # Source0-md5:  0b274b73f71b8e4481c8fb30fd1c2bb2
10 URL:            http://xael.org/norman/python/pyclamav/index.html
11 BuildRequires:  clamav-devel >= 0:0.80
12 BuildRequires:  python
13 BuildRequires:  python-devel >= 1:2.4
14 Requires:       clamav >= 0:0.80
15 Requires:       python
16 %pyrequires_eq  python-modules
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 A Python interface to libclamav.
21
22 %description -l pl
23 Interfejs Pythona do libclamav.
24
25 %prep
26 %setup -q -n pyclamav-%{version}
27
28 %build
29 env CFLAGS="%{rpmcflags}" %{_bindir}/python setup.py build
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 python -- setup.py install \
35         --root=$RPM_BUILD_ROOT \
36         --optimize=2
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc README.txt
44 %attr(755,root,root) %{py_sitedir}/*.so
45 ##%{py_sitedir}/*.py[co]
This page took 0.090997 seconds and 4 git commands to generate.