]> git.pld-linux.org Git - packages/python-pyclamav.git/commitdiff
- NEW
authorAndrzej Zawadzki <zawadaa@gmail.com>
Thu, 17 Mar 2005 11:07:43 +0000 (11:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- works, please people with Python expirience for check
- I need that for SquidClamAV Redirector
- http://www.jackal-net.at/tiki-read_article.php?articleId=1

Changed files:
    python-pyclamav.spec -> 1.1

python-pyclamav.spec [new file with mode: 0644]

diff --git a/python-pyclamav.spec b/python-pyclamav.spec
new file mode 100644 (file)
index 0000000..d35ee3b
--- /dev/null
@@ -0,0 +1,45 @@
+Summary:       A Python interface to libclamav
+Summary(pl):   Interfejs Pythona do libclamav
+Name:          python-pyclamav
+Version:       0.2.2
+Release:       0.1
+License:       GPL
+Group:         Libraries/Python
+Source0:       http://norman.free.fr/norman/python/pyclamav/pyclamav-%{version}.tar.gz
+# Source0-md5: 0b274b73f71b8e4481c8fb30fd1c2bb2
+URL:           http://xael.org/norman/python/pyclamav/index.html
+BuildRequires:  clamav-devel >= 0:0.80
+BuildRequires: python
+BuildRequires: python-devel >= 1:2.4
+Requires:       clamav >= 0:0.80
+Requires:      python
+%pyrequires_eq python-modules
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Python interface to libclamav.
+
+%description -l pl
+Interfejs Pythona do libclamav.
+
+%prep
+%setup -q -n pyclamav-%{version}
+
+%build
+env CFLAGS="%{rpmcflags}" %{_bindir}/python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python -- setup.py install \
+       --root=$RPM_BUILD_ROOT \
+       --optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt
+%attr(755,root,root) %{py_sitedir}/*.so
+##%{py_sitedir}/*.py[co]
This page took 0.055536 seconds and 4 git commands to generate.