SPECS: python-pydspam.spec (NEW) - new; unfortunately only dspam 2...

arekm arekm at pld-linux.org
Sun Aug 28 00:01:51 CEST 2005


Author: arekm                        Date: Sat Aug 27 22:01:51 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new; unfortunately only dspam 2.x supported

---- Files affected:
SPECS:
   python-pydspam.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-pydspam.spec
diff -u /dev/null SPECS/python-pydspam.spec:1.1
--- /dev/null	Sun Aug 28 00:01:51 2005
+++ SPECS/python-pydspam.spec	Sun Aug 28 00:01:44 2005
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+Summary:	Python interface for dspam library
+Summary(pl):	Interfejs Pythona do biblioteki dspam
+%define	module	pydspam
+Name:		python-%{module}
+Version:	1.1.9
+Release:	1
+License:	GPL
+Group:		Libraries/Python
+Source0:	http://dl.sourceforge.net/pymilter/%{module}-%{version}.tar.gz
+# Source0-md5:	1caff10d2fa3968ed8e0def126f74b40
+Patch0:		%{name}-setup.patch
+URL:		http://www.bmsi.com/python/dspam.html
+BuildRequires:	dspam-devel
+BuildRequires:	python-devel >= 2.2.1
+%pyrequires_eq	python-modules
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python interface for dspam library.
+
+%description -l pl
+Interfejs Pythona do biblioteki dspam
+
+%prep
+%setup -q -n %{module}-%{version}
+%patch0 -p1
+
+%build
+
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS dspam.html
+%attr(755,root,root) %{py_sitedir}/*.so
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/08/27 22:01:44  arekm
+- new; unfortunately only dspam 2.x supported
+
================================================================



More information about the pld-cvs-commit mailing list