]> git.pld-linux.org Git - SPECS.git/blob - python-pydspam.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / python-pydspam.spec
1 Summary:        Python interface for dspam library
2 Summary(pl.UTF-8):      Interfejs Pythona do biblioteki dspam
3 %define module  pydspam
4 Name:           python-%{module}
5 Version:        1.1.9
6 Release:        1
7 License:        GPL
8 Group:          Libraries/Python
9 Source0:        http://dl.sourceforge.net/pymilter/%{module}-%{version}.tar.gz
10 # Source0-md5:  1caff10d2fa3968ed8e0def126f74b40
11 Patch0:         %{name}-setup.patch
12 URL:            http://www.bmsi.com/python/dspam.html
13 BuildRequires:  rpmbuild(macros) >= 1.710
14 BuildRequires:  dspam-devel
15 BuildRequires:  python-devel >= 2.2.1
16 %pyrequires_eq  python-modules
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Python interface for dspam library.
21
22 %description -l pl.UTF-8
23 Interfejs Pythona do biblioteki dspam.
24
25 %prep
26 %setup -q -n %{module}-%{version}
27 %patch0 -p1
28
29 %build
30 %py_build
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34
35 %py_install
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc NEWS dspam.html
43 %attr(755,root,root) %{py_sitedir}/*.so
This page took 0.515773 seconds and 3 git commands to generate.