source: projects/specs/trunk/p/python-pyclamav/python-pyclamav-vl.spec @ 11910

Revision 11910, 1.6 KB checked in by ara_t, 5 years ago (diff)

python-pyclamav: rebuild under current VineSeed environment

Line 
1Summary: a quick hack to use libclamav with python
2Name: python-pyclamav
3Version: 0.4.1
4Release: 4%{?_dist_release}
5License: GPLv2
6Group: Development/Libraries
7URL: http://xael.org/norman/python/pyclamav/
8Source0: pyclamav-%{version}.tar.gz
9## from Debian python-clamav 0.4.1-5
10# http://svn.debian.org/viewsvn/python-modules/packages/python-clamav/trunk/debian/patches/clamav-095-compat.patch?revision=15795&view=markup
11Patch0: clamav-095-compat.patch
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
13
14BuildRequires: python-devel
15BuildRequires: openssl-devel
16BuildRequires: clamav-devel >= 0.95
17
18Vendor: Project Vine
19Distribution: Vine Linux
20
21%description
22pyClamAV is a python binding to libclamav written in C. By using pyClamAV,
23you can add virus detection capabilities to your python software in an
24efficient and easy way.
25
26%prep
27%setup -q -n pyclamav-%{version}
28%patch0 -p1 -b .debian
29
30%build
31%__python setup.py build
32
33%install
34%__rm -rf %{buildroot}
35%__python setup.py install --root %{buildroot}
36
37%clean
38%__rm -rf %{buildroot}
39
40%files
41%defattr(-,root,root,-)
42%doc CHANGELOG README.txt gpl.txt
43%{python_sitearch}/pyclamav*
44
45%changelog
46* Sat Nov 17 2018 Toshiaki Ara <ara_t@384.jp> 0.4.1-4
47- rebuild with VineSeed environment
48- add BuildRequires: openssl-devel
49
50* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-3
51- rebuild with VineSeed environment
52
53* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-2
54- rebuild with python-2.7.2
55
56* Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.4.1-1
57- Initial build.
58- add clamav-095-compat.patch (Patch0) from Debian python-clamav 0.4.1-5
Note: See TracBrowser for help on using the repository browser.