SPECS: exim-greylist-af.spec (NEW) - initial pld release (ported t...

arekm arekm at pld-linux.org
Thu Sep 1 20:00:46 CEST 2005


Author: arekm                        Date: Thu Sep  1 18:00:46 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial pld release (ported to dlopen version)

---- Files affected:
SPECS:
   exim-greylist-af.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/exim-greylist-af.spec
diff -u /dev/null SPECS/exim-greylist-af.spec:1.1
--- /dev/null	Thu Sep  1 20:00:46 2005
+++ SPECS/exim-greylist-af.spec	Thu Sep  1 20:00:41 2005
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+Summary:	Greylisting for Exim
+Name:		exim-greylist-af
+Version:	0.02
+Release:	1
+License:	GPL
+Group:		Networking/Daemons
+Source0:	http://andrew-ford.com/exim/%{name}-%{version}.tar.gz
+Patch0:		%{name}-dlopen.patch
+URL:		http://andrew-ford.com/exim/
+BuildRequires:	exim-devel
+BuildRequires:	openssl-devel
+BuildRequires:	mysql-devel
+Requires:	exim >= 2:4.52-4
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Greylisting for exim.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+rm -f local_scan.h
+%{__cc} -Wall -DDLOPEN_LOCAL_SCAN=1 %{rpmcflags} %{rpmldflags} -fPIC \
+        -I%{_includedir}/exim -I%{_includedir}/mysql -I%{_includedir}/openssl \
+        -lmysqlclient -lcrypto \
+        -shared local_scan.c -o %{name}.so
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/mail,%{_libdir}/exim}
+
+install %{name}.so $RPM_BUILD_ROOT%{_libdir}/exim/%{name}.so
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc greylisting-localscan.txt *.sql
+%attr(755,root,root) %{_libdir}/exim/%{name}.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/09/01 18:00:41  arekm
+- initial pld release (ported to dlopen version)
+
================================================================



More information about the pld-cvs-commit mailing list